vagabond-rpg-foundryvtt/packs/_source
Cal Corum 1a36139387 Add slotsWhenEquipped system and equipment Active Effect sync
- Add getTotalSlots() method to base-item.mjs as unified interface
- Add slotsWhenEquipped field to weapon, armor, and equipment schemas
- Implement getTotalSlots() in each item type respecting equipped state
- Update actor slot calculation to use getTotalSlots() uniformly
- Add _onUpdate hook to sync equipment effects with equipped state
- Update backpack with slotsWhenEquipped: 0 and +2 slot bonus effect

Backpack now correctly:
- Costs 1 slot when unequipped, 0 when equipped
- Grants +2 max item slots via Active Effect when equipped

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-17 00:34:16 -06:00
..
ancestries Implement Active Effects automation (Phase 11) 2025-12-16 22:13:18 -06:00
armor Add complete equipment compendium (368 items) + fix Silver Standard values 2025-12-16 23:59:18 -06:00
classes Implement Active Effects automation (Phase 11) 2025-12-16 22:13:18 -06:00
equipment Add slotsWhenEquipped system and equipment Active Effect sync 2025-12-17 00:34:16 -06:00
perks Add complete perks compendium (103 perks) 2025-12-16 23:08:29 -06:00
spells Add complete spells compendium (58 spells) 2025-12-16 22:48:26 -06:00
weapons Add complete equipment compendium (368 items) + fix Silver Standard values 2025-12-16 23:59:18 -06:00
REVIEW_CHECKLIST.md Add compendium data review requirement and checklist 2025-12-16 14:49:40 -06:00