Flash and flasher refactor/rework (simple mobs no longer immune edition) (#93076)

Co-authored-by: necromanceranne <40847847+necromanceranne@users.noreply.github.com>
This commit is contained in:
Ghom
2025-10-15 04:49:11 +02:00
committed by GitHub
parent d7affe90bd
commit 4e1eb514b5
12 changed files with 164 additions and 127 deletions
@@ -10,10 +10,10 @@
return COMPONENT_INCOMPATIBLE
/datum/component/can_flash_from_behind/RegisterWithParent()
RegisterSignal(parent, COMSIG_MOB_PRE_FLASHED_CARBON, PROC_REF(on_pre_flashed_carbon))
RegisterSignal(parent, COMSIG_MOB_PRE_FLASHED_MOB, PROC_REF(on_pre_flashed_carbon))
/datum/component/can_flash_from_behind/UnregisterFromParent()
UnregisterSignal(parent, COMSIG_MOB_PRE_FLASHED_CARBON)
UnregisterSignal(parent, COMSIG_MOB_PRE_FLASHED_MOB)
/datum/component/can_flash_from_behind/proc/on_pre_flashed_carbon(source, flashed, flash, deviation)
SIGNAL_HANDLER