alejandro762
Well-Known Member
- Joined
- Sep 6, 2021
- Messages
- 225
- Reaction score
- 64
I followed this tutorial: TFS 1.X+ - Help new inventory slot TFS 1.3 and OTClient (https://otland.net/threads/help-new-inventory-slot-tfs-1-3-and-otclient.264537/)
Everything seems correct ( also i have added the slot to movements & luascript )
Using TFS 1.4
OnEquip / DeEquip works, slot is showed up but picture of the item is not showing,, what could be ?
Solved:
id was incorrect as i revert with hotkey the code i just add the correct id on creature.h
Everything seems correct ( also i have added the slot to movements & luascript )
Using TFS 1.4
OnEquip / DeEquip works, slot is showed up but picture of the item is not showing,, what could be ?
Lua:
Ring2Slot < InventoryItem
id: slot12
image-source: /images/game/slots/finger
&position: {x=65535, y=12, z=0}
$on:
image-source: /images/game/slots/finger-blessed
RingSlot
anchors.top: prev.bottom
anchors.horizontalCenter: prev.horizontalCenter
margin-top: 3
InventorySlotRing2 = 12
InventorySlotFirst = 1
InventorySlotLast = 12
Solved:
id was incorrect as i revert with hotkey the code i just add the correct id on creature.h
Last edited: