actually when i click rest nothing happens >_>
seems that your proc works better >_>
<dm>
client/Move()
if(mob.frozen) return
..()
mob/var/frozen = 0
mob
var
resting = 0
verb
rest()
resting = 1
usr<<"<font color=White>You sit down to rest...</font>"
var/mob/M //that should fix it
if(istype(M,/mob/Male))
icon = 'rest.dmi'
icon_state = "rest"
usr.frozen=0
sleep(30)
usr<<"<font color=White>You finished resting</font>"
sleep(10)
usr<<"<font color=White>You stand up again</font>"
usr.HP=maxHP
resting = 0
icon = 'Base.dmi'
usr.frozen=1
if(istype(M,/mob/Female))
icon = 'rest.dmi'
icon_state = "restf"
usr.frozen=0
sleep(30)
usr<<"<font color=White>You finished resting</font>"
sleep(10)
usr<<"<font color=White>You stand up again</font>"
usr.HP=maxHP
resting = 0
icon = 'BaseF.dmi'
usr.frozen=1
if(istype(M,/mob/Neuter))
icon = 'rest.dmi'
icon_state = "restn"
usr.frozen=0
sleep(30)
usr<<"<font color=White>You finished resting</font>"
sleep(10)
usr<<"<font color=White>You stand up again</font>"
usr.HP=maxHP
resting = 0
icon = 'BaseN.dmi'
usr.frozen=1
Problem description:
ok, either i cant get the freeze proc to work or the rest verb wont work HELP
also using font color=white is crazy :P on the white background you can't see text AND the black background's deafult text should be white ;P