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 13:49:11 +11:00
committed by GitHub
co-authored by necromanceranne
parent d7affe90bd
commit 4e1eb514b5
12 changed files with 164 additions and 127 deletions
@@ -226,12 +226,12 @@
///from living/flash_act(), when a mob is successfully flashed.
#define COMSIG_MOB_FLASHED "mob_flashed"
/// from /obj/item/assembly/flash/flash_carbon, to the mob being flashed
/// from /obj/item/assembly/flash/flash_mob, to the mob being flashed
#define COMSIG_MOB_FLASH_OVERRIDE_CHECK "mob_flash_override_check"
/// Has the flash effect been overridden?
#define FLASH_OVERRIDDEN (1<<0)
/// from /obj/item/assembly/flash/flash_carbon, to the mob flashing another carbon
#define COMSIG_MOB_PRE_FLASHED_CARBON "mob_pre_flashed_carbon"
#define COMSIG_MOB_PRE_FLASHED_MOB "mob_pre_flashed_mob"
/// Return to override deviation to be full deviation (fail the flash, usually)
#define DEVIATION_OVERRIDE_FULL (1<<0)
/// Return to override deviation to be partial deviation
@@ -240,9 +240,9 @@
#define DEVIATION_OVERRIDE_NONE (1<<2)
/// Return to stop the flash entirely
#define STOP_FLASH (1<<3)
/// from /obj/item/assembly/flash/flash_carbon, to the mob flashing another carbon
/// from /obj/item/assembly/flash/flash_mob, to the mob flashing another carbon
/// (mob/living/carbon/flashed, obj/item/assembly/flash/flash, deviation (from code/__DEFINES/mobs.dm))
#define COMSIG_MOB_SUCCESSFUL_FLASHED_CARBON "mob_success_flashed_carbon"
#define COMSIG_MOB_SUCCESSFUL_FLASHED_MOB "mob_success_flashed_mob"
/// from mob/get_status_tab_items(): (list/items)
#define COMSIG_MOB_GET_STATUS_TAB_ITEMS "mob_get_status_tab_items"