Files
Bubberstation/code/__DEFINES/pai.dm
T
Jeremiah 86e801987e Reworks pAIs (#68241)
A pretty heavy refactor for pAIs that just spilled into a rework.

Attempts to fully document and organize backend code.
Fixes a large number of bugs left untouched for a decade.
Breaks down the frontend into subcomponents.
Rebalances their software modules.
(should) fix pAI faces get removed if you activate them during alert #68242
2022-07-24 16:18:59 +01:00

32 lines
949 B
Plaintext

/// Time between fold out
#define HOLOCHASSIS_COOLDOWN (5 SECONDS)
/// Time it takes a new pAI to fold out
#define HOLOCHASSIS_INIT_TIME (40 SECONDS)
/// Overloaded or emagged foldout cooldown
#define HOLOCHASSIS_OVERLOAD_COOLDOWN (10 SECONDS)
/// Regeneration rate for the holochassis
#define HOLOCHASSIS_REGEN_PER_SECOND 1.25
/// The max health of the holochassis
#define HOLOCHASSIS_MAX_HEALTH 20
/// The amount of time between spamming for pAI candidates
#define PAI_SPAM_TIME (40 SECONDS)
/// UI action to toggle huds
#define PAI_TOGGLE_MEDICAL_HUD 0
#define PAI_TOGGLE_SECURITY_HUD 1
/// UI action to use integrated scanner on target
#define PAI_SCAN_TARGET 0
#define PAI_SCAN_MASTER 1
/// UI actions for door jack
#define PAI_DOOR_JACK_CABLE 0
#define PAI_DOOR_JACK_HACK 1
#define PAI_DOOR_JACK_CANCEL 2
/// UI actions for photography module
#define PAI_PHOTO_MODE_CAMERA 0
#define PAI_PHOTO_MODE_PRINTER 1
#define PAI_PHOTO_MODE_ZOOM 2