Task: Replace Arcane Shard with elementally attuned materials in Fabricator recipes #157
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
All 12 Fabricator recipes currently use a generic
arcaneShardmaterial. They should use elementally attuned mana crystals matching the recipe's element (e.g., earth attuned for earth recipes, metal attuned for metal recipes).Current State
Every recipe in
src/lib/game/data/fabricator-recipes.tsusesarcaneShardas a material. ThearcaneShardis defined inloot-drops.tslines 15-20.Fix Required
earthShard,metalShard,crystalShard,sandShard)arcaneShardloot-drops.tswith the new material definitionsarcaneShardAffected Files
src/lib/game/data/fabricator-recipes.ts— all 12 recipes (lines 38, 51, 64, 79, 92, 105, 120, 133, 146, 161, 174, 187)src/lib/game/data/loot-drops.ts— add new material typessrc/lib/game/__tests__/crafting-utils-recipe.test.ts— update test fixturesStarting work on #157 — Replace Arcane Shard with elementally attuned materials in Fabricator recipes. Will read fabricator-recipes.ts, loot-drops.ts, and test fixtures first.
Fixed #157 — Replaced arcaneShard with elementally attuned materials in all 12 Fabricator recipes.
Changes:
loot-drops.ts— Added 4 new material types: earthShard, metalShard, crystalShard, sandShard (with appropriate rarities and drop chances)fabricator-recipes.ts— Replaced arcaneShard with the correct attuned shard per recipe:crafting-utils-recipe.test.ts— Updated test fixtures to use earthShard instead of arcaneShardAll 902 tests pass. Committed and pushed as
cbeb0b5.