Update handle_shock.dm (#33767)

This commit is contained in:
boy2mantwicethefam
2022-12-10 19:01:11 +02:00
committed by GitHub
parent 2140be4a1f
commit 89a7d3e268

View File

@@ -28,18 +28,18 @@
if(pain_shock_stage == 40) if(pain_shock_stage == 40)
to_chat(src, "<span class='danger'>[pick("The pain is excruciating!", "Please, just end the pain!", "Your whole body is going numb!")]</span>") to_chat(src, "<span class='danger'>[pick("The pain is excruciating!", "Please, just end the pain!", "Your whole body is going numb!")]</span>")
if(pain_shock_stage >= 60) if(pain_shock_stage >= 60 && pain_shock_stage < 80)
if(pain_shock_stage == 60) if(pain_shock_stage == 60)
if(!isUnconscious()) if(!isUnconscious())
visible_message("<B>[src]</B>'s body becomes limp.","Your body becomes limp.") visible_message("<B>[src]</B>'s body becomes limp.","Your body becomes limp.")
if(prob(2)) if(prob(2))
to_chat(src, "<span class='danger'>[pick("The pain is excruciating!", "Please, just end the pain!", "Your whole body is going numb!")]</span>") to_chat(src, "<span class='danger'>[pick("The pain is excruciating!", "Please, just end the pain!", "Your whole body is going numb!")]</span>")
Knockdown(20) Knockdown(10)
if(pain_shock_stage >= 80 && pain_shock_stage < 150) if(pain_shock_stage >= 80 && pain_shock_stage < 150)
if(prob(5)) if(prob(5))
to_chat(src, "<span class='danger'>[pick("The pain is excruciating!", "Please, just end the pain!", "Your whole body is going numb!")]</span>") to_chat(src, "<span class='danger'>[pick("The pain is excruciating!", "Please, just end the pain!", "Your whole body is going numb!")]</span>")
Knockdown(20) Knockdown(10)
if(pain_shock_stage >= 120 && pain_shock_stage < 150) if(pain_shock_stage >= 120 && pain_shock_stage < 150)
if(prob(2)) if(prob(2))
@@ -49,12 +49,12 @@
if(pain_shock_stage == 150) if(pain_shock_stage == 150)
if(!isUnconscious()) if(!isUnconscious())
visible_message("<B>[src]</b> can no longer stand, collapsing!","You can no longer stand, you collapse!") visible_message("<B>[src]</b> can no longer stand, collapsing!","You can no longer stand, you collapse!")
Knockdown(20) Knockdown(10)
if(pain_shock_stage >= 150) if(pain_shock_stage >= 150)
if((life_tick % 8) == 0) if((life_tick % 8) == 0)
if(prob(80)) if(prob(80))
Knockdown(9) Knockdown(4)
else//pain goes down else//pain goes down
//treshold messages //treshold messages
if(!isUnconscious()) if(!isUnconscious())