obj
var
equip_head=0
equip_body=0
equip_hands=0
equip_arms=0
equip_feet=0
equip_box=""
mob/proc/UpdateInventory()
for(var/obj/O in src)
if(O.equip_head==1 && O.equip_body==1 && O.equip_hands==1 && O.equip_arms==1 && O.equip_feet==1)
continue
winset(src, "inventory", "current-cell")
src << output(O, "inventory")
obj/items
verb/Get()
set src in oview(1)
if(src in oview(1))
loc = usr
usr.UpdateInventory()
verb/Equip()
for(var/obj/items/O in src)
if(O.equip_box=="Hands")
winset(src, "hands", "current-cell=1,1")//i have also tried "current-cell" and various others
src << output(O, "hands")
obj/items
Sword
icon = 'sword.dmi'
equip_box = "Hands"
Problem description:
Once the item is in the "inventory" grid, when i want to equip the 'sword' item it does not show in the "hands" grid which i have created in the interface.