Yello! (Using newest repo of TFS 1.4) I'm looking to add storeitem into movements.xml so items moved in/out from can be registered onEquip/onDeEquip.
Anyone willing to point me into the right directions?
As example I'd like to make this item:
As this:
This means that if I'd add regeneration to the item it would register to the player when putting the item into the store container.
Edit: I successfully added 'slotp_store' into sources which made the warnings of unknown slot type to dissapear when adding it into movements, however, non of the attributes on the item will register to the player.
Anyone willing to point me into the right directions?
As example I'd like to make this item:
Lua:
<movevent event="Equip" itemid="2164" slot="ring" function="onEquipItem" />
<movevent event="DeEquip" itemid="2164" slot="ring" function="onDeEquipItem" />
Lua:
<movevent event="Equip" itemid="2164" slot="storeItem" function="onEquipItem" />
<movevent event="DeEquip" itemid="2164" slot="storeItem" function="onDeEquipItem" />
This means that if I'd add regeneration to the item it would register to the player when putting the item into the store container.
Edit: I successfully added 'slotp_store' into sources which made the warnings of unknown slot type to dissapear when adding it into movements, however, non of the attributes on the item will register to the player.
Last edited: