ID:158703
![]() Jul 13 2009, 12:39 pm
|
|
How can i make a food that you eat and then gets removed form your inventory?
|
in this case it will be the food, you didn't use set src in world set src in oview(0) or anything like that, or i didn't at least...so it should be the item...
|
actually it should always be the item, not the person using it.
unless your putting it under mob/verb, and we defined it under the object instead. |
Food
verb
Eat()
world<<"<b><font color=red>THE FOOD HAS BEEN EATEN AND DESTROYED, HE ATE HIS VEGGGIES AND NOW HAS SUPERPOWERS-BEWARE."
del(src)