obj/items
// *****Get and Drop*****
Click()
set src in oview(1)
if(usr.item_count >= 2)
usr << "You are holding to many things!"
else
loc = usr
usr.item_count ++
obj/items/verb
drop()
set src in usr
set category = "Object"
loc = usr.loc
usr.item_count --
obj/door
Click()
set src in oview(1)
if(state == 1)
icon_state = icon_open
density = 0
opacity = 0
state = 2
else
icon_state = icon_close
density = 1
opacity = 1
state = 1
Where do I need to look? Any tips?
If the person is more than one tile away, the Click() will stop (via return).