How do you only allow a verb to work if the usr is in a certain area/turf and he/she has a certain object? Here is my code so far:
Till()
set src in view(0)
if(usr.contents)
tilled = 1
icon_state= "soil"
else usr << "You don't have a hoe!"
ID:177008
Nov 20 2002, 9:58 am (Edited on Nov 20 2002, 10:05 am)
|
|
What you'll need is if(locate(/obj/hoe) in usr).
Lummox JR