Medical Taperolls + Tape Improvements (#10782)

This commit is contained in:
Geeves
2020-12-17 21:38:06 +01:00
committed by GitHub
parent 49d47f0fbc
commit ffbc0b6ee9
31 changed files with 125 additions and 58 deletions
+1 -1
View File
@@ -153,7 +153,7 @@
/datum/brain_trauma/mild/muscle_weakness/on_life()
var/fall_chance = 5
if(owner.m_intent == "run")
if(owner.m_intent == M_RUN)
fall_chance += 15
if(prob(fall_chance) && !owner.lying && !owner.buckled)
to_chat(owner, "<span class='warning'>Your leg gives out!</span>")
+1 -1
View File
@@ -79,7 +79,7 @@
if(owner.stat == UNCONSCIOUS || owner.sleeping > 0)
return
var/sleep_chance = 5
if(owner.m_intent == "run")
if(owner.m_intent == M_RUN)
sleep_chance += 15
if(owner.drowsyness)
sleep_chance += owner.drowsyness + 5