Dark and Light Elves

Joint Equip Items

This component creates creates and equips the specified items in the specified slots. If there are other items already equipped in those slots, the old items are placed into inventory.

In general, the script allows the creation of item "groups", that can be used to equip or remove multiple items when one of them is equipped (like those magical hero costumes in cartoons).

I think the component could still use some improvements, but it works for its intended purpose, which is to spawn a pair of gloves in the glove slot for spellcasting gauntlets.

Files

Dependencies