Files
fulpstation/code/__DEFINES/observers.dm
John Willard 7199947c08 [MDB IGNORE] [IDB IGNORE] WIP TGU (#1427)
Several months worth of updates.

---------

Co-authored-by: A miscellaneous Fern <80640114+FernandoJ8@users.noreply.github.com>
Co-authored-by: Pepsilawn <reisenrui@gmail.com>
Co-authored-by: Ray <64306407+OneAsianTortoise@users.noreply.github.com>
Co-authored-by: Cure221 <106662180+Cure221@users.noreply.github.com>
2025-11-06 08:20:20 -05:00

21 lines
983 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)
///Assoc List of types of ghost lightings & the player-facing name.
GLOBAL_LIST_INIT(ghost_lightings, list(
"Normal" = LIGHTING_CUTOFF_VISIBLE,
"Darker" = LIGHTING_CUTOFF_MEDIUM,
"Night Vision" = LIGHTING_CUTOFF_HIGH,
"Fullbright" = LIGHTING_CUTOFF_FULLBRIGHT,
))