ID:173902
 
...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.
turf
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