fjallnari / morii-vtt

Web-based half-vtt for playing TTRPGs. Currently supports 5E, Cairn and Shadowdark.
https://moriivtt.com/
MIT License
12 stars 1 forks source link

Items that add slots or don't take up slots #91

Closed ptaranat closed 1 year ago

ptaranat commented 1 year ago

There are a few items in the equipment lists that behave differently than what we currently support.

Items that add slots:

Carts definitely take up 2 existing slots, as well as add 4 slots. Physically, this is represented by a 2x3 card, where 2 slots are the cart handles, and 4 slots are free.

But it is unclear how Horses, Mules, and Wagons should work as they appear to be vehicles. We should add the support of slotless items, using mdi:checkbox-blank-off-outline icon, denoting that a slot should not be used for this item. This will allow the user to store important items in the inventory, rather than in notes. It will also let GMs rule whether certain small items should be slotless or not. Currently, we support stacking, but that can take up space, unlike slotless.

As part of this change, we should add some logic to automatically add slots for certain items. We should do it if the name contains "+N slots", since it is better than adding a new field like bulky or stacks.