mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-27 06:54:18 +01:00
Cleaning up some runtimes (#16027)
This commit is contained in:
@@ -447,6 +447,10 @@
|
||||
|
||||
return TRUE
|
||||
|
||||
/mob/living/carbon/get_shock()
|
||||
if(can_feel_pain())
|
||||
return ..()
|
||||
|
||||
/mob/living/carbon/proc/need_breathe()
|
||||
return
|
||||
|
||||
|
||||
@@ -465,7 +465,7 @@ This function restores all organs.
|
||||
rads = rads * species.radiation_mod
|
||||
..(rads)
|
||||
|
||||
/mob/living/carbon/human/proc/get_shock()
|
||||
/mob/living/carbon/human/get_shock()
|
||||
if(!can_feel_pain())
|
||||
return 0
|
||||
|
||||
|
||||
@@ -562,7 +562,7 @@
|
||||
for(var/overlay in H.equipment_overlays)
|
||||
H.client.screen |= overlay
|
||||
|
||||
var/obj/item/organ/internal/eyes/night/NE = H.internal_organs_by_name[BP_EYES]
|
||||
var/obj/item/organ/internal/eyes/night/NE = H.get_eyes()
|
||||
if(istype(NE) && NE.night_vision && NE.can_change_invisible())
|
||||
H.set_see_invisible(SEE_INVISIBLE_NOLIGHTING)
|
||||
|
||||
|
||||
@@ -113,12 +113,6 @@
|
||||
|
||||
alterable_internal_organs = list(BP_HEART, BP_EYES, BP_LUNGS, BP_LIVER, BP_KIDNEYS, BP_STOMACH)
|
||||
|
||||
pain_emotes_with_pain_level = list(
|
||||
list(/singleton/emote/audible/wheeze, /singleton/emote/audible/roar, /singleton/emote/audible/bellow) = 80,
|
||||
list(/singleton/emote/audible/grunt, /singleton/emote/audible/groan, /singleton/emote/audible/wheeze, /singleton/emote/audible/hiss) = 50,
|
||||
list(/singleton/emote/audible/grunt, /singleton/emote/audible/groan, /singleton/emote/audible/hiss) = 20,
|
||||
)
|
||||
|
||||
pain_messages = list("It hurts so much", "You really need some painkillers", "Ancestors, it hurts")
|
||||
|
||||
move_trail = /obj/effect/decal/cleanable/blood/tracks/claw
|
||||
|
||||
@@ -298,6 +298,9 @@ default behaviour is:
|
||||
/mob/living/proc/getHalLoss()
|
||||
return 0
|
||||
|
||||
/mob/living/proc/get_shock()
|
||||
return getHalLoss()
|
||||
|
||||
/mob/living/proc/getCloneLoss()
|
||||
return 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user