Files
Mana-Loop/src/components/game/tabs/CraftingTab
n8n-gitea 0e1e506213
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m18s
fix: apply Crafting Efficiency cost reduction to all fabrication paths
- Add getCraftingCostReduction() and applyCostReduction() helpers in crafting-fabricator.ts
- Apply cost reduction in deductMaterials() and checkFabricatorCosts()
- Apply cost reduction in startFabricatorCrafting() and cancelEquipmentCrafting() pipeline
- Update canCraftRecipe() in fabricator-recipes.ts to accept costReduction param
- Update FabricatorSubTab and MaterialRecipeCard UIs to display discounted costs
- Spec formula: actualCost = ceil(baseCost × (1 - craftingCostReduction / 100))

Fixes #316
2026-06-07 23:15:55 +02:00
..