...have a turf that when a player is next to it, a player can use a verb that when used, checks to see if a certain item is in the player's inventory, then does something if it is?
I'm having a buncha simple problems lately. Thanks for any help in advance.
ID:173902
Oct 30 2003, 11:50 am
|
|
the_turf
icon = 'whatever.dmi'
verb
check_for_item()
set src in oview(1)
var/obj/O = locate(/obj/the_object) in usr
if(O)
//do whatever cause they got the item.
else
usr <<"You need THE_OBJECT!"
Siientx