Some checks failed
Build and Publish Mana Loop Docker Image / build-and-publish (push) Has been cancelled
Major changes: - Created docs/skills.md with comprehensive skill system documentation - Rewrote skill-evolution.ts with new upgrade tree structure: - Upgrades organized in branching paths with prerequisites - Each choice can lead to upgraded versions at future milestones - Support for upgrade children and requirement chains - Added getBaseSkillId and generateTierSkillDef helper functions - Fixed getFloorElement to use FLOOR_ELEM_CYCLE.length - Updated test files to match current skill definitions - Removed tests for non-existent skills Skill system now supports: - Levels 1-10 for most skills, level 5 caps for specialized, level 1 for research - Tier up system: Tier N Level 1 = Tier N-1 Level 10 in power - Milestone upgrades at levels 5 and 10 with branching upgrade trees - Attunement requirements for skill access and tier up - Study costs and time for leveling
32 lines
1.4 KiB
Plaintext
Executable File
32 lines
1.4 KiB
Plaintext
Executable File
|
|
## Crafting and Equipment System - Implementation Notes
|
|
|
|
### Date: $(date)
|
|
|
|
### Completed Tasks:
|
|
1. ✅ Fixed CraftingTab icon imports (Ring → Circle, HandMetal → Hand)
|
|
2. ✅ Removed combat skill evolution paths from skill-evolution.ts:
|
|
- Removed COMBAT_TRAIN_TIER1_UPGRADES_L5 upgrade definitions
|
|
- Removed COMBAT_TRAIN_TIER1_UPGRADES_L10 upgrade definitions
|
|
- Removed combatTrain evolution path (all 5 tiers)
|
|
|
|
### System Architecture:
|
|
- **Equipment System**: 8 slots (mainHand, offHand, head, body, hands, feet, accessory1, accessory2)
|
|
- **Equipment Types**: Different categories (caster, shield, catalyst, head, body, hands, feet, accessory)
|
|
- **Capacity System**: Each equipment has base capacity, effects cost capacity
|
|
- **Enchantment Effects**: 7 categories (spell, mana, combat, elemental, defense, utility, special)
|
|
- **Starting Equipment**: Basic Staff (with Mana Bolt), Civilian Shirt/Gloves/Shoes
|
|
|
|
### Key Files:
|
|
- `/src/lib/game/data/equipment.ts` - Equipment types and capacity system
|
|
- `/src/lib/game/data/enchantment-effects.ts` - Enchantment effect catalogue
|
|
- `/src/lib/game/store/craftingSlice.ts` - Crafting store slice
|
|
- `/src/components/game/tabs/CraftingTab.tsx` - Crafting UI component
|
|
- `/src/lib/game/skill-evolution.ts` - Skill evolution paths (combat skills removed)
|
|
|
|
### Remaining Tasks:
|
|
- Update SpellsTab to work with equipment-granted spells
|
|
- Add evolution paths for crafting skills (optional)
|
|
- Add tests for new crafting system
|
|
|