Task: Add material crafting recipes to Fabricator #156
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
The Fabricator needs a material crafting section that lets players craft intermediate materials needed for equipment recipes.
New Recipes to Add
Additional Attuned Crystal Variants
Similar to Earth Attuned Mana Crystal, add recipes for:
Implementation
src/lib/game/data/loot-drops.ts(if not already present)src/lib/game/data/fabricator-recipes.ts(or a new material-recipes file)FabricatorSubTab.tsxwith its own recipe listAffected Files
src/lib/game/data/loot-drops.ts— add new material definitionssrc/lib/game/data/fabricator-recipes.ts— add material crafting recipessrc/components/game/tabs/CraftingTab/FabricatorSubTab.tsx— add Materials section UIStarting work on #156 — Add material crafting recipes to Fabricator. This depends on #157 (just completed) which added the attuned shard materials. Will add:
Plus a Materials subsection in the FabricatorSubTab UI.
Fixed #156 — Added material crafting recipes to Fabricator.
New material recipes (12 total):
New material types added to loot-drops: manaCrystal, fireCrystal, waterCrystal, airCrystal, earthCrystal, lightCrystal, darkCrystal, metalCrystal, crystalCrystal
Architecture changes:
FabricatorRecipeinterface andMANA_TYPE_LABELStofabricator-recipe-types.ts(shared types file, eliminates circular dependency)MATERIAL_RECIPESas separate export fromfabricator-recipes.tsMaterialRecipeCardcomponent in separate filecraftMaterialaction incrafting-material-actions.tsAll 902 tests pass. Committed and pushed as
9a2da67.