mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
[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:
co-authored by
MrMelbert
Giz
parent
9b146e388f
commit
3a400ebc5d
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user