Files
Bubberstation/code/__DEFINES/security.dm
SkyratBot 6200a50094 [MIRROR] Modularizes the forensics scanner, and letting items modify it. [MDB IGNORE] (#18081)
* Modularizes the forensics scanner, and letting items modify it. (#71109)

Overhauls the fornesics scanner system, letting items modify the readout
and adding additional information through the COMSIG_DET_SCANNED signal.

Buffs the forensics scanner by letting it reveal more info, makes the
code look nicer, and allows for a bit more flavour text to be added to
items.

* Modularizes the forensics scanner, and letting items modify it.

Co-authored-by: texan-down-under <73374039+etherware-novice@users.noreply.github.com>
2022-12-11 18:56:19 +00:00

57 lines
1.9 KiB
Plaintext

// CATEGORY HEADERS
/// Fingerpints detected
#define DETSCAN_CATEGORY_FINGERS "Prints"
/// Displays any bloodprints found and their uefi
#define DETSCAN_CATEGORY_BLOOD "Blood"
/// Clothing and glove fibers
#define DETSCAN_CATEGORY_FIBER "Fibers"
/// Liquids detected
#define DETSCAN_CATEGORY_DRINK "Reagents"
/// ID Access
#define DETSCAN_CATEGORY_ACCESS "ID Access"
// The categories below do not have hard rules on what info is displayed, and are for categorizing info thematically.
/// Generic extra information category
#define DETSCAN_CATEGORY_NOTES "Additional Notes"
/// Attributes that might be illegal, but don't have ties to syndicate/aren't exclusively produced by them
#define DETSCAN_CATEGORY_ILLEGAL "Illegal Tech"
/// The emags and other in-house technology from the syndicate
#define DETSCAN_CATEGORY_SYNDIE "Syndicate Tech"
/// praise be
#define DETSCAN_CATEGORY_HOLY "Holy Data"
/// The mode that the items in, what kind of item is dispensed, etc
#define DETSCAN_CATEGORY_SETTINGS "Active Settings"
// If your category is not in this list it WILL NOT BE DISPLAYED
/// defines the order categories are displayed, with the original categories, then custom ones, then finally the extra info.
#define DETSCAN_DEFAULT_ORDER(...) list(\
DETSCAN_CATEGORY_FINGERS, \
DETSCAN_CATEGORY_BLOOD, \
DETSCAN_CATEGORY_FIBER, \
DETSCAN_CATEGORY_DRINK, \
DETSCAN_CATEGORY_ACCESS, \
DETSCAN_CATEGORY_SETTINGS, \
DETSCAN_CATEGORY_HOLY, \
DETSCAN_CATEGORY_ILLEGAL, \
DETSCAN_CATEGORY_SYNDIE, \
DETSCAN_CATEGORY_NOTES, \
)
/// the order departments show up in for the id scan (its sorted by red to blue on the color wheel)
#define DETSCAN_ACCESS_ORDER(...) list(\
REGION_SECURITY, \
REGION_ENGINEERING, \
REGION_SUPPLY, \
REGION_GENERAL, \
REGION_MEDBAY, \
REGION_COMMAND, \
REGION_RESEARCH, \
REGION_CENTCOM, \
)
/// if any categories list has this entry, it will be hidden
#define DETSCAN_BLOCK "DETSCAN_BLOCK"