mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-09 16:12:17 +00:00
[MIRROR] Airlocks trying to autoclose are no longer blocked by phased shadekin, nore do they crush them (#11033)
Co-authored-by: Will <7099514+Willburd@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
84a9803b2f
commit
e0906bc868
@@ -1381,7 +1381,7 @@ About the new airlock wires panel:
|
||||
return 0
|
||||
|
||||
/mob/living/blocks_airlock()
|
||||
return 1
|
||||
return !is_incorporeal()
|
||||
|
||||
/atom/movable/proc/airlock_crush(var/crush_damage)
|
||||
return 0
|
||||
@@ -1402,6 +1402,8 @@ About the new airlock wires panel:
|
||||
return 1
|
||||
|
||||
/mob/living/airlock_crush(var/crush_damage)
|
||||
if(is_incorporeal())
|
||||
return 0
|
||||
. = ..()
|
||||
var/turf/T = get_turf(src)
|
||||
adjustBruteLoss(crush_damage)
|
||||
@@ -1413,7 +1415,7 @@ About the new airlock wires panel:
|
||||
|
||||
/mob/living/carbon/airlock_crush(var/crush_damage)
|
||||
. = ..()
|
||||
if(can_feel_pain())
|
||||
if(. && can_feel_pain()) // Only scream if actually crushed!
|
||||
emote("scream")
|
||||
|
||||
/mob/living/silicon/robot/airlock_crush(var/crush_damage)
|
||||
|
||||
Reference in New Issue
Block a user