mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-19 20:06:28 +01:00
Fixes losebreath typo (lung bug) (#7526)
This commit is contained in:
@@ -228,7 +228,7 @@
|
||||
spawn (0)
|
||||
user.visible_message("<b>[user]</b> checks [src]'s pulse.", "You check [src]'s pulse.")
|
||||
if (do_mob(user, src, 15))
|
||||
if(!is_pulse_present())
|
||||
if(pulse() == PULSE_NONE)
|
||||
to_chat(user, "<span class='deadsay'>[T.He] [T.has] no pulse[src.client ? "" : " and [T.his] soul has departed"]...</span>")
|
||||
else
|
||||
to_chat(user, "<span class='deadsay'>[T.He] [T.has] a pulse!</span>")
|
||||
|
||||
@@ -1184,7 +1184,7 @@
|
||||
usr.visible_message("<span class='notice'>[usr] begins counting their pulse.</span>",\
|
||||
"You begin counting your pulse.")
|
||||
|
||||
if(is_pulse_present())
|
||||
if(pulse())
|
||||
to_chat(usr, "<span class='notice'>[self ? "You have a" : "[src] has a"] pulse! Counting...</span>")
|
||||
else
|
||||
to_chat(usr, "<span class='danger'>[src] has no pulse!</span>") //it is REALLY UNLIKELY that a dead person would check his own pulse)
|
||||
@@ -1623,9 +1623,6 @@
|
||||
else
|
||||
return "0"
|
||||
|
||||
/mob/living/carbon/human/proc/is_pulse_present()
|
||||
var/obj/item/organ/internal/heart/heart = internal_organs_by_name[BP_HEART]
|
||||
if(heart)
|
||||
return heart.pulse
|
||||
else
|
||||
return FALSE
|
||||
/mob/living/carbon/human/proc/pulse()
|
||||
var/obj/item/organ/internal/heart/H = internal_organs_by_name[BP_HEART]
|
||||
return H ? H.pulse : PULSE_NONE
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
owner.drip(10)
|
||||
if(prob(4))
|
||||
spawn owner.emote("me", 1, "gasps for air!")
|
||||
owner.losebreath += 15
|
||||
owner.losebreath = 1
|
||||
|
||||
if(is_bruised() && rescued)
|
||||
if(prob(4))
|
||||
|
||||
Reference in New Issue
Block a user