Implement Golemancy System and update documentation
Some checks failed
Build and Publish Mana Loop Docker Image / build-and-publish (push) Failing after 1m39s

Golemancy System:
- Add golem data definitions with 9 golem types (Earth, Steel, Crystal, Sand, Lava, Galvanic, Obsidian, Prism, Quicksilver, Voidstone)
- Add golemancy state to GameState for tracking enabled/summoned golems
- Add golemancy actions: toggleGolem, setEnabledGolems
- Add golemancy skills: Golem Mastery, Efficiency, Longevity, Siphon, Advanced Golemancy, Resonance
- Create GolemancyTab UI component for selecting and managing golems
- Golem slots unlock every 2 Fabricator levels (Level 2=1, Level 10=5)

Documentation Updates:
- Add detailed enchanting and golemancy documentation
- Remove all familiar system references
- Add Banned Content section (lifesteal, healing, life/blood/wood/mental/force mana, familiar system)

README.md now reflects current game systems accurately.
This commit is contained in:
Z User
2026-04-01 13:39:35 +00:00
parent 94cc9a179a
commit d91460a4e6
9 changed files with 950 additions and 16 deletions

View File

@@ -551,3 +551,85 @@ Stage Summary:
- Crystal recipe updated to use light instead of mental
- Documentation updated with banned content policy
- All tests pass, lint clean
---
Task ID: 26
Agent: Main
Task: Mobile UX improvements, debug options, and enchanting system fix
Work Log:
- **Moved LootInventoryDisplay to separate LootTab**:
- Created new LootTab.tsx component
- Better mobile UX - materials no longer clutter main page
- Added to tabs in page.tsx
- **Moved AchievementsDisplay to separate AchievementsTab**:
- Created new AchievementsTab.tsx component
- Better mobile UX - achievements have their own space
- Added to tabs in page.tsx
- **Added skill research debug options to DebugTab**:
- "Level Up All Enchanting Skills" button
- "Level Up All Research Skills" button
- "Unlock All Effects" button
- "Max All Skills" button
- **Fixed enchanting system**:
- Disenchant is now ONLY possible in the Prepare stage
- Apply stage no longer shows disenchant/recover buttons
- Apply stage filters out already-enchanted gear
- Shows message "No unenchanted equipment available. Disenchant in Prepare stage first."
- Prepare stage shows disenchant option only for enchanted gear
Stage Summary:
- Mobile UX improved with dedicated tabs for Loot and Achievements
- Debug options added for testing skill research system
- Enchanting system now properly enforces disenchant-only-in-prepare rule
- Cannot apply new enchantments to already enchanted gear
- Committed and pushed to git (94cc9a1)
---
Task ID: 27
Agent: Main
Task: Implement Golemancy System
Work Log:
- **Created golem data definitions** (`src/lib/game/data/golems.ts`):
- Base golem: Earth Golem (unlocks at Fabricator Level 2)
- Elemental variants: Steel (metal), Crystal, Sand golems
- Advanced hybrids (Enchanter 5 + Fabricator 5): Lava, Galvanic, Obsidian, Prism, Quicksilver, Voidstone
- Each golem has unique stats, mana costs, and special abilities
- **Added golemancy types to types.ts**:
- `SummonedGolem` interface for active golems
- `GolemancyState` interface for enabled/summoned golems tracking
- Added `golemancy` to GameState
- **Updated store.ts with golemancy**:
- Initialized golemancy state in `makeInitial()`
- Added `toggleGolem` and `setEnabledGolems` actions
- Added golemancy to persist partialize for save/load
- **Added golemancy skills to constants.ts**:
- Golem Mastery (+10% golem damage)
- Golem Efficiency (+5% attack speed)
- Golem Longevity (+1 floor duration)
- Golem Siphon (-10% maintenance cost)
- Advanced Golemancy (unlock hybrid recipes)
- Golem Resonance (+1 slot at Fabricator 10)
- **Created GolemancyTab component**:
- Displays available golem slots based on Fabricator level
- Shows all unlocked and locked golems
- Displays golem stats, costs, and status
- Toggle golems on/off for summoning
- **Updated README.md**:
- Added golemancy system documentation
- Updated enchanting documentation
- Removed familiar system references
- Added Banned Content section
Stage Summary:
- Golemancy system foundation implemented
- Golems unlock based on Fabricator level and mana types
- UI for selecting and managing golems
- Documentation updated
- Lint passes