Files
Bubberstation/code/__DEFINES/security.dm
Gaxeer 7468a0fbcf refactor detective scan categories, fix some categories not being shown at all, remove Syndicate scan category (#93138)
## About The Pull Request

Refactor detective scan categories.
Fix some categories not being shown at all.
Remove Syndicate scan category.

<details>
<summary>TGUI</summary>
<img width="514" height="545" alt="image"
src="https://github.com/user-attachments/assets/754ce576-545e-40e5-9fad-86f19d8d2606"
/>
</details>

<details>
<summary>Paper report</summary>
<img width="460" height="609" alt="image"
src="https://github.com/user-attachments/assets/e37e1965-e90a-4e0c-8109-f4384d6a4a79"
/>
</details>


## Why It's Good For The Game

DETSCAN_CATEGORY_SETTINGS, DETSCAN_CATEGORY_HOLY,
DETSCAN_CATEGORY_ILLEGAL and DETSCAN_CATEGORY_NOTES are now shown in
detective scanner ui and printed report.

Cleaner code

## Changelog

🆑
fix: energy dagger pen report will be now shown in detective scanner and
also all items that transform will have additional note about it
/🆑

---------

Co-authored-by: Jeremiah <42397676+jlsnow301@users.noreply.github.com>
2025-10-12 05:44:56 +02:00

61 lines
1.8 KiB
Plaintext

// CATEGORY HEADERS
/// New `/datum/detective_scan_category` must be created when adding new `DETSCAN_CATEGORY`.
/// Macros are sorted by `/datum/detective_scan_category::display_order`
/// 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_REAGENTS "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.
/// The mode that the items in, what kind of item is dispensed, etc
#define DETSCAN_CATEGORY_SETTINGS "Active Settings"
/// praise be
#define DETSCAN_CATEGORY_HOLY "Holy Data"
/// Attributes that might be illegal, can also have ties to syndicate
#define DETSCAN_CATEGORY_ILLEGAL "Illegal Tech"
/// Generic extra information category
#define DETSCAN_CATEGORY_NOTES "Additional 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"
/// Wanted statuses
#define WANTED_ARREST "Arrest"
#define WANTED_DISCHARGED "Discharged"
#define WANTED_NONE "None"
#define WANTED_PAROLE "Parole"
#define WANTED_PRISONER "Incarcerated"
#define WANTED_SUSPECT "Suspected"
/// List of available wanted statuses
#define WANTED_STATUSES(...) list(\
WANTED_NONE, \
WANTED_SUSPECT, \
WANTED_ARREST, \
WANTED_PRISONER, \
WANTED_PAROLE, \
WANTED_DISCHARGED, \
)