Re-enable sleeping affecting colds after 8 years. (#24480)

This commit is contained in:
Charlie Nolan
2024-03-10 20:17:08 +00:00
committed by GitHub
parent 80a1fe9101
commit e31fb48da5
+4 -8
View File
@@ -16,13 +16,11 @@
return FALSE
switch(stage)
if(2)
/*
if(affected_mob.sleeping && prob(40)) //removed until sleeping is fixed
if(affected_mob.stat == UNCONSCIOUS && prob(40))
to_chat(affected_mob, "<span class='notice'>You feel better.</span>")
cure()
return
*/
if(IS_HORIZONTAL(affected_mob) && prob(40)) //changed FROM prob(10) until sleeping is fixed
if(IS_HORIZONTAL(affected_mob) && prob(10))
to_chat(affected_mob, "<span class='notice'>You feel better.</span>")
cure()
return
@@ -39,13 +37,11 @@
if(prob(1))
to_chat(affected_mob, "<span class='danger'>Mucous runs down the back of your throat.</span>")
if(3)
/*
if(affected_mob.sleeping && prob(25)) //removed until sleeping is fixed
if(affected_mob.stat == UNCONSCIOUS && prob(25))
to_chat(affected_mob, "<span class='notice'>You feel better.</span>")
cure()
return
*/
if(IS_HORIZONTAL(affected_mob) && prob(25)) //changed FROM prob(5) until sleeping is fixed
if(IS_HORIZONTAL(affected_mob) && prob(5))
to_chat(affected_mob, "<span class='notice'>You feel better.</span>")
cure()
return