mob
verb
Meditate()
if(usr.med == 0)
src.icon_state ="meditate"
usr.doing =1
usr.meditate =1
usr.med =1
usr <<"You sit down and flow into a deep sleep."
usr.medit()
if(usr.meditate == 1 && usr.med ==1)
src.icon_state =""
usr.meditate =0
usr.med =0
usr.doing =0
usr.med = 0
Problem description:My code works fine but when they are meditating they are able to move. I tried putting move =0 thinking that its a built in var, but nothing will work.
Hope this helps