ID:165903
 
Hey, I was wandering how to make a code so that you can only pick this object up after you talked to this guy?

Thanks!
I guess I could try

mob/var/p=0

mob/guy
icon=whatever
DblClick()
usr<<"Guy: Ok, go pick that thing up"
usr.p=1
mob/verb
GetThing(obj/o as obj in oview(1))
if(src.p)
o.Move(src)
else
src<<"You dumb, foo"
return
In response to Evidence
mob/var/quest1=0

mob/Guy
verb/Talk()
set src in oview(1)
usr<<"You can now pick up the item"
usr.quest1=1

obj/Item
verb/Get()
set src in oview(1)
if(usr.quest1)
usr<<"You got the item!"
src.loc=usr
else
usr<<"You must talk to the Guy first!"