I made a mushroom that I want to heal the player's character, but I don't know how to add HP to the character!
Here's what I have:
obj
mushroom
verb
eatMushroom()
usr << "WHOOOOAAA the colors MAAN!"
usr << "You gain 5 HP!"
del src
(here is where I need to add the 5 HP but I don't know how to do it.)
Copyright © 2024 BYOND Software.
All rights reserved.
Before the 'del src' line add usr.HP += 5