mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-09 16:05:07 +00:00
* Converts some notify_ghosts args to bitflags, multilines all notify_ghosts calls * Update supermatter.dm * Modular * More modular * Update cortical_borer_egg.dm --------- Co-authored-by: Rhials <28870487+Rhials@users.noreply.github.com> Co-authored-by: Bloop <13398309+vinylspiders@users.noreply.github.com>
13 lines
714 B
Plaintext
13 lines
714 B
Plaintext
// Various flags for notify_ghosts ghost popups.
|
|
/// Determines if the notification will not run if called during mapload.
|
|
#define GHOST_NOTIFY_IGNORE_MAPLOAD (1<<0)
|
|
/// Determines if the notification will flash the Byond window.
|
|
#define GHOST_NOTIFY_FLASH_WINDOW (1<<1)
|
|
/// Determines if the notification will notify suiciders.
|
|
#define GHOST_NOTIFY_NOTIFY_SUICIDERS (1<<2)
|
|
|
|
/// The default set of flags to be passed into a notify_ghosts call.
|
|
#define NOTIFY_CATEGORY_DEFAULT (GHOST_NOTIFY_FLASH_WINDOW | GHOST_NOTIFY_IGNORE_MAPLOAD | GHOST_NOTIFY_NOTIFY_SUICIDERS)
|
|
/// The default set of flags, without the flash_window flag.
|
|
#define NOTIFY_CATEGORY_NOFLASH (NOTIFY_CATEGORY_DEFAULT & ~GHOST_NOTIFY_FLASH_WINDOW)
|