Fix: Add missing startCraftingEquipment and cancelEquipmentCrafting actions to craftingStore
Build and Publish Mana Loop Docker Image / build-and-publish (push) Failing after 1m37s

- Added startCraftingEquipment action that validates and initializes equipment crafting
- Added cancelEquipmentCrafting action that cancels crafting and refunds mana
- Used CraftingEquipment functions directly instead of deprecated wrapper actions
- Updated craftingStore imports to include useManaStore and useUIStore
- Fixed crafting/index.tsx barrel file export (removed non-existent type exports)
- Fixed syntax errors in craftingStore.ts (missing commas in function params)

Fixes issue where EquipmentCrafter component couldn't find these actions on craftingStore.
This commit is contained in:
2026-05-06 10:58:58 +02:00
parent a5ff32cb91
commit 17b3571a18
3 changed files with 69 additions and 24 deletions
+4 -4
View File
@@ -1,6 +1,6 @@
// Barrel file for crafting components
export { EnchantmentDesigner, type EnchantmentDesignerProps } from './EnchantmentDesigner';
export { EnchantmentPreparer, type EnchantmentPreparerProps } from './EnchantmentPreparer';
export { EnchantmentApplier, type EnchantmentApplierProps } from './EnchantmentApplier';
export { EquipmentCrafter, type EquipmentCrafterProps } from './EquipmentCrafter';
export { EnchantmentDesigner } from './EnchantmentDesigner';
export { EnchantmentPreparer } from './EnchantmentPreparer';
export { EnchantmentApplier } from './EnchantmentApplier';
export { EquipmentCrafter } from './EquipmentCrafter';