from this code, or if theirs something better out there
mob
var
resting = 0
verb
rest()
resting = 1
usr<<"You sit down to rest..."
icon = 'base.dmi'
icon_state = "rest"
sleep(30)
usr<<"You finished resting"
sleep(10)
usr<<"You stand up again"
usr.HP=maxHP
resting = 0
return
As for changing their icon state back to normal, just put at the end of the verb
icon_state="normal"