SkillsTab Modifications (Bugs 9,11,12,13)
Build and Publish Mana Loop Docker Image / build-and-publish (push) Failing after 1m12s

This commit is contained in:
Refactoring Agent
2026-04-27 13:26:02 +02:00
parent 749321d2cb
commit eeb1e3c784
20 changed files with 828 additions and 237 deletions
+3 -1
View File
@@ -99,6 +99,7 @@ export function createEquipmentInstance(typeId: string, name?: string): Equipmen
totalCapacity: typeDef.baseCapacity,
rarity: 'common',
quality: 100, // Full quality for new items
tags: [], // Initialize with empty tags array
};
}
@@ -466,7 +467,7 @@ export const createCraftingSlice: StateCreator<CraftingStore, [], [], CraftingSt
const newProgress = progress.progress + hours;
if (newProgress >= progress.required) {
// Preparation complete - clear enchantments
// Preparation complete - clear enchantments and add 'Ready for Enchantment' tag
set((state) => ({
preparationProgress: null,
equipmentInstances: {
@@ -476,6 +477,7 @@ export const createCraftingSlice: StateCreator<CraftingStore, [], [], CraftingSt
enchantments: [],
usedCapacity: 0,
rarity: 'common',
tags: [...(instance.tags || []), 'Ready for Enchantment'],
},
},
}));