The code is as follows, but nothing but the rejuvination is executed.
Potion
icon = 'life.dmi'
verb
Heal()
set src in oview(1)
if(usr.HP == 100)
usr << "You can't be any stronger!"
else
usr << "You heal!"
usr.HP = 100
world << "[usr] is invigerated!"
src.icon = 'fairy.dmi'
del(src)
usr << "Fare thee well, and look for my brothers and sisters..."
ID:149178
Jun 22 2002, 11:59 am
|
|
In response to Skysaw
|
|
Hmm... Good point, Skysaw. I'll have to put a sleep between the deleting and the icon changing.
|
Just switch the last two lines.
By the way, why does the potion's icon change to 'fairy.dmi' just before you delete it?? Sounds like a strange potion indeed!