mob
verb
Anger2()
set name = "Raise Anger"
set category = "Commands"
var/title2 = "Raise Anger"
var/text2 = "What do you wish to raise your anger to? "
var/anger_level = input(usr, text2, title2) as text
usr.levelanger = anger_level
if(usr.levelanger == "10")
oview(6) <<"[src.name]'s power increases..."
usr <<"[usr.name]: AHHHH!!!!!!! Arrrrrrrrrr..."
usr.icon_state = "powerup"
sleep(30)
usr <<"AHHHHHHHHHHH!!!!!!!!"
Problem description:
When I run my game, i get no errors, and no runtimes, but when use the verb that the code above is part of, the icon state doesnt change for the player's icon. It doesnt change at all, not even to a blank state. The state name is correct, and the icon is correct. What could the problem be?