ive made a window for my inventory list and the thing is that
for some reason i cant send anything in to it using the output proc and i have no idea why.
here is the code:
obj
verb
Get()
set src in oview(1)
usr.contents+=src
usr.UpdateInventory()
Drop()
set src in usr
src.loc=usr.loc
usr.UpdateInventory()
mob
proc
UpdateInventory()
var/items=0
for(var/obj/O in usr)
winset(usr,"inventory","current-cell=[++items]")
usr << output(O,"inventory")
winset(usr,"inventory","cells=[items]")
this is the run-time error i get:
winset: Parameter inventory.current-cell not found.
winset: Parameter inventory.cells not found.
can someone please help...
**dont know if it help but:
newwindow:
inventory.grid:
current cell:1,1
Show lines:Both
is Small icons=true
is a flexible list of entries=true