obj
icon='Items.dmi'
Health
icon_state="1"
mouse_opacity=2
Click(src)
set src in oview(1)
if(usr.Hp>=usr.MaxHp)
del src
else
if(usr.Hp<=usr.MaxHp)
usr.Hp+=20
if(usr.Hp>=usr.MaxHp)
usr.Hp=usr.MaxHp
usr.HP()
del src
Amps
icon_state="2"
mouse_opacity=2
Click(src)
set src in oview(1)
if(usr.Amp>=usr.MaxAmp)
del src
else
if(usr.Amp<=usr.MaxAmp)
usr.Amp+=20
if(usr.Amp>=usr.MaxAmp)
usr.Amp=usr.MaxAmp
usr.Amp()
del src
Problem description:Click is not working for me. It use to work before i updated. I added mouse opacity and still nothing. Whats wrong, school me.
I'm going to take this one literally and read it as 'educate/teach me'.
So, I'll simply teach you how to help yourself.
First step when you encounter a problem, add debugging messages/information to see where results differ from expectations.