mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-29 02:51:41 +00:00
* Medical/Security records now use the max/min age. * merge conflict * Refactors crew records (#72725) I have attempted or otherwise started this project at least 4 times. I am sick of it being on my calendar. The code needs it. I need it. - This makes crew records a proper datum rather than assigning properties record.fields. - General, medical, and security records are merged. - Did some slight refactoring here and there for things that looked obvious. - Wanted states are now defined (and you can suspect someone through sechud) - pAI (unrelated but annoying) had some poorly named exported types that i made more specific - Job icons are moved back to the JS side (I wanted to get icons for initial rank without passing trim) <details> <summary>previews</summary> Editable fields & security console  Medical records  Look and feel of the more current version  </details> TGUI'd some of the worst UIs in the game. Creating new records is made much simpler. Manifest_inject is made readable. Probably bug fixes 🆑 refactor: Crew records have been refactored. refactor: Medical records -> TGUI refactor: Security records -> TGUI refactor: Warrants console -> TGUI qol: Players are now alerted when their fines are paid off. qol: Cleaned up sec hud examination text. qol: Adding and deleting crimes is easier. qol: Writing crimes in the console sets players to arrest. qol: You can now mark someone as a suspect through sec hud. /🆑 Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com> * I've got something that now actually works Just got to incorporate the records into what players can actually see. * Turns out that client has already been transferred after all * Adds the past records in the TGUI records (they're kinda ugly but it works, so y'know) * Whoops * Hate you too sometimes Prettier * Fixes ghost roles using LITERAL records, which caused problems * Fixes the leaks caused by ghost roles not getting their name right because of the stupid freaking special() proc * I hate list operations man they're so stupid * Fixes the stars on the crew manifest! --------- Co-authored-by: NamelessFairy <40036527+NamelessFairy@users.noreply.github.com> Co-authored-by: KathrinBailey <53862927+KathrinBailey@users.noreply.github.com> Co-authored-by: Jeremiah <42397676+jlsnow301@users.noreply.github.com> Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com> Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
75 lines
2.3 KiB
Plaintext
75 lines
2.3 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"
|
|
|
|
/// 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, \
|
|
)
|