vagabond-rpg-foundryvtt/module
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
..
applications Complete P2-P5: Perks, Feature Choices, Ancestry Traits, Caster Progression 2025-12-16 14:23:44 -06:00
data Add slotsWhenEquipped system and equipment Active Effect sync 2025-12-17 00:34:16 -06:00
dice Implement attack and save roll systems with difficulty fix 2025-12-13 19:52:28 -06:00
documents Add slotsWhenEquipped system and equipment Active Effect sync 2025-12-17 00:34:16 -06:00
helpers Implement Active Effects automation (Phase 11) 2025-12-16 22:13:18 -06:00
sheets Complete P2-P5: Perks, Feature Choices, Ancestry Traits, Caster Progression 2025-12-16 14:23:44 -06:00
tests Style Magic and Biography tabs, update senses system 2025-12-14 22:36:11 -06:00
vagabond.mjs Add missing Handlebars join helper for item sheet templates 2025-12-16 14:46:20 -06:00