cl add: Circuits integrity, charge, and overall circuit composition is displayed on diagnostic huds. If the assembly has dangerous circuits then the status icon will display exclamation points, if the assembly can communicate with something far away a wifi icon will appear next to the status icon, and if the circuit can not operate the status icon will display an 'X'. add: AR interface circuit which can modify the status icon if it is not displaying the exclamation points or the 'X'. tweak: Locomotive circuits can no longer be added to assemblies that can't use them. spellcheck: Fixed a typo in the grenade primer description. code: Added flags to circuits that help group subsets of circuits and regulate them. /cl The diagnostic hud addition is meant to allow more counter play to circuits by seeing the assemblies's healths and how dangerous they are. The flags are a useful addition to the code because players shouldn't be able to put circuits in assemblies if the assembly can't use that circuit (this can also be used later for other assemblies which could use unique circuits). The following circuits are flagged as dangerous: weapon firing mechanism grenade primer thrower The following circuits are flagged as long range: NTNet networking circuit integrated signaler video camera circuit possible AR interface displays: default alert move
58 lines
2.3 KiB
Plaintext
58 lines
2.3 KiB
Plaintext
// for secHUDs and medHUDs and variants. The number is the location of the image on the list hud_list
|
|
// note: if you add more HUDs, even for non-human atoms, make sure to use unique numbers for the defines!
|
|
// /datum/atom_hud expects these to be unique
|
|
// these need to be strings in order to make them associative lists
|
|
#define HEALTH_HUD "1" // dead, alive, sick, health status
|
|
#define STATUS_HUD "2" // a simple line rounding the mob's number health
|
|
#define ID_HUD "3" // the job asigned to your ID
|
|
#define WANTED_HUD "4" // wanted, released, parroled, security status
|
|
#define IMPLOYAL_HUD "5" // loyality implant
|
|
#define IMPCHEM_HUD "6" // chemical implant
|
|
#define IMPTRACK_HUD "7" // tracking implant
|
|
#define DIAG_STAT_HUD "8" // Silicon/Mech/Circuit Status
|
|
#define DIAG_HUD "9" // Silicon health bar
|
|
#define DIAG_BATT_HUD "10"// Borg/Mech/Circutry power meter
|
|
#define DIAG_MECH_HUD "11"// Mech health bar
|
|
#define DIAG_BOT_HUD "12"// Bot HUDs
|
|
#define DIAG_CIRCUIT_HUD "13"// Circuit assembly health bar
|
|
#define DIAG_TRACK_HUD "14"// Mech/Silicon tracking beacon, Circutry long range icon
|
|
#define DIAG_AIRLOCK_HUD "15"//Airlock shock overlay
|
|
#define DIAG_PATH_HUD "16"//Bot path indicators
|
|
#define GLAND_HUD "17"//Gland indicators for abductors
|
|
//for antag huds. these are used at the /mob level
|
|
#define ANTAG_HUD "18"
|
|
|
|
//by default everything in the hud_list of an atom is an image
|
|
//a value in hud_list with one of these will change that behavior
|
|
#define HUD_LIST_LIST 1
|
|
|
|
//data HUD (medhud, sechud) defines
|
|
//Don't forget to update human/New() if you change these!
|
|
#define DATA_HUD_SECURITY_BASIC 1
|
|
#define DATA_HUD_SECURITY_ADVANCED 2
|
|
#define DATA_HUD_MEDICAL_BASIC 3
|
|
#define DATA_HUD_MEDICAL_ADVANCED 4
|
|
#define DATA_HUD_DIAGNOSTIC_BASIC 5
|
|
#define DATA_HUD_DIAGNOSTIC_ADVANCED 6
|
|
#define DATA_HUD_ABDUCTOR 7
|
|
//antag HUD defines
|
|
#define ANTAG_HUD_CULT 8
|
|
#define ANTAG_HUD_REV 9
|
|
#define ANTAG_HUD_OPS 10
|
|
#define ANTAG_HUD_WIZ 11
|
|
#define ANTAG_HUD_SHADOW 12
|
|
#define ANTAG_HUD_TRAITOR 13
|
|
#define ANTAG_HUD_NINJA 14
|
|
#define ANTAG_HUD_CHANGELING 15
|
|
#define ANTAG_HUD_ABDUCTOR 16
|
|
#define ANTAG_HUD_DEVIL 17
|
|
#define ANTAG_HUD_SINTOUCHED 18
|
|
#define ANTAG_HUD_SOULLESS 19
|
|
#define ANTAG_HUD_CLOCKWORK 20
|
|
#define ANTAG_HUD_BROTHER 21
|
|
|
|
// Notification action types
|
|
#define NOTIFY_JUMP "jump"
|
|
#define NOTIFY_ATTACK "attack"
|
|
#define NOTIFY_ORBIT "orbit"
|