[MIRROR] Falling down a z-level while standing up can (occasionally) break your legs. Felinids will now always land on their feet (for better or for worse). [MDB IGNORE] (#25407)

* Falling down a z-level while standing up can (occasionally) break your legs. Felinids will now always land on their feet (for better or for worse).

* This whole proc needs to be overridden??

* Update living.dm

* Delete human.dm

---------

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
Co-authored-by: Giz <13398309+vinylspiders@users.noreply.github.com>
This commit is contained in:
SkyratBot
2023-12-03 11:03:14 +00:00
committed by GitHub
co-authored by MrMelbert Giz
parent 9b146e388f
commit 3a400ebc5d
13 changed files with 113 additions and 69 deletions
+8 -4
View File
@@ -476,12 +476,16 @@
UnregisterSignal(mod.wearer, COMSIG_LIVING_Z_IMPACT)
/obj/item/mod/module/longfall/proc/z_impact_react(datum/source, levels, turf/fell_on)
if(!drain_power(use_power_cost*levels))
return
SIGNAL_HANDLER
if(!drain_power(use_power_cost * levels))
return NONE
new /obj/effect/temp_visual/mook_dust(fell_on)
mod.wearer.Stun(levels * 1 SECONDS)
to_chat(mod.wearer, span_notice("[src] protects you from the damage!"))
return NO_Z_IMPACT_DAMAGE
mod.wearer.visible_message(
span_notice("[mod.wearer] lands on [fell_on] safely."),
span_notice("[src] protects you from the damage!"),
)
return ZIMPACT_CANCEL_DAMAGE|ZIMPACT_NO_MESSAGE|ZIMPACT_NO_SPIN
///Thermal Regulator - Regulates the wearer's core temperature.
/obj/item/mod/module/thermal_regulator