Ok,I want it so they can't get the same obj,like a sword,they can't get the sword twice,how would I do that without making a var?Thanks for reading.
-Kappa the Imp
ID:266606
Apr 19 2002, 12:04 pm
|
|
Kappa the Imp wrote:
Ok,I want it so they can't get the same obj,like a sword,they can't get the sword twice,how would I do that without making a var?Thanks for reading. if you use set src in oview(1) for your get verb, the verb will not be available after it moves to your mob's contents. |
In response to Skysaw
|
|
oh I saw it as like
having one of each type of item |
In response to Winbiko
|
|
Winbiko wrote:
oh I saw it as like You're probably right. It was a little hard to decipher. |
obj/m // you dont need to create this. This is the obj you are seeing if they have
var/obj/z
for(z in usr.contents)
if(m == z)
usr << "already have [z]"
break