mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-10 18:02:57 +00:00
86 lines
3.3 KiB
Plaintext
86 lines
3.3 KiB
Plaintext
/*ALL DEFINES FOR AIS, CYBORGS, AND SIMPLE ANIMAL BOTS*/
|
|
|
|
#define DEFAULT_AI_LAWID "default"
|
|
|
|
//Bot defines, placed here so they can be read by other things!
|
|
#define BOT_STEP_DELAY 4 //Delay between movemements
|
|
#define BOT_STEP_MAX_RETRIES 5 //Maximum times a bot will retry to step from its position
|
|
|
|
#define DEFAULT_SCAN_RANGE 7 //default view range for finding targets.
|
|
|
|
//Mode defines. If you add a new one make sure you update mode_name in /mob/living/simple_animal/bot
|
|
#define BOT_IDLE 0 // idle
|
|
#define BOT_HUNT 1 // found target, hunting
|
|
#define BOT_PREP_ARREST 2 // at target, preparing to arrest
|
|
#define BOT_ARREST 3 // arresting target
|
|
#define BOT_START_PATROL 4 // start patrol
|
|
#define BOT_PATROL 5 // patrolling
|
|
#define BOT_SUMMON 6 // summoned by PDA
|
|
#define BOT_CLEANING 7 // cleaning (cleanbots)
|
|
#define BOT_REPAIRING 8 // repairing hull breaches (floorbots)
|
|
#define BOT_MOVING 9 // for clean/floor/med bots, when moving.
|
|
#define BOT_HEALING 10 // healing people (medbots)
|
|
#define BOT_RESPONDING 11 // responding to a call from the AI
|
|
#define BOT_DELIVER 12 // moving to deliver
|
|
#define BOT_GO_HOME 13 // returning to home
|
|
#define BOT_BLOCKED 14 // blocked
|
|
#define BOT_NAV 15 // computing navigation
|
|
#define BOT_WAIT_FOR_NAV 16 // waiting for nav computation
|
|
#define BOT_NO_ROUTE 17 // no destination beacon found (or no route)
|
|
#define BOT_SHOWERSTANCE 18 // cleaning unhygienic humans
|
|
#define BOT_TIPPED 19 // someone tipped a medibot over ;_;
|
|
|
|
//Bot types
|
|
#define SEC_BOT (1<<0) // Secutritrons (Beepsky) and ED-209s
|
|
#define MULE_BOT (1<<1) // MULEbots
|
|
#define FLOOR_BOT (1<<2) // Floorbots
|
|
#define CLEAN_BOT (1<<3) // Cleanbots
|
|
#define MED_BOT (1<<4) // Medibots
|
|
#define HONK_BOT (1<<5) // Honkbots & ED-Honks
|
|
#define FIRE_BOT (1<<6) // Firebots
|
|
#define HYGIENE_BOT (1<<7) // Hygienebots
|
|
|
|
//AI notification defines
|
|
#define NEW_BORG 1
|
|
#define NEW_MODULE 2
|
|
#define RENAME 3
|
|
#define AI_SHELL 4
|
|
#define DISCONNECT 5
|
|
|
|
//Assembly defines
|
|
#define ASSEMBLY_FIRST_STEP 0
|
|
#define ASSEMBLY_SECOND_STEP 1
|
|
#define ASSEMBLY_THIRD_STEP 2
|
|
#define ASSEMBLY_FOURTH_STEP 3
|
|
#define ASSEMBLY_FIFTH_STEP 4
|
|
|
|
//Bot Upgrade defines
|
|
#define UPGRADE_CLEANER_ADVANCED_MOP (1<<0)
|
|
#define UPGRADE_CLEANER_BROOM (1<<1)
|
|
|
|
#define UPGRADE_MEDICAL_HYPOSPRAY (1<<0)
|
|
#define UPGRADE_MEDICAL_CHEM_BOARD (1<<1)
|
|
#define UPGRADE_MEDICAL_CRYO_BOARD (1<<2)
|
|
#define UPGRADE_MEDICAL_CHEM_MASTER (1<<3)
|
|
#define UPGRADE_MEDICAL_SLEEP_BOARD (1<<4)
|
|
#define UPGRADE_MEDICAL_PIERERCING (1<<5)
|
|
|
|
#define UPGRADE_FLOOR_ARTBOX (1<<0)
|
|
#define UPGRADE_FLOOR_SYNDIBOX (1<<1)
|
|
|
|
//Checks to determine borg availability depending on the server's config. These are defines in the interest of reducing copypasta
|
|
#define BORG_SEC_AVAILABLE (!CONFIG_GET(flag/disable_secborg) && GLOB.security_level >= CONFIG_GET(number/minimum_secborg_alert))
|
|
|
|
//silicon_priviledges flags
|
|
#define PRIVILEGES_SILICON (1<<0)
|
|
#define PRIVILEGES_PAI (1<<1)
|
|
#define PRIVILEGES_BOT (1<<2)
|
|
#define PRIVILEGES_DRONE (1<<3)
|
|
|
|
#define BORG_LAMP_CD_RESET -1 //special value to reset cyborg's lamp_cooldown
|
|
|
|
/// Defines for whether or not module slots are broken.
|
|
#define BORG_MODULE_ALL_DISABLED (1<<0)
|
|
#define BORG_MODULE_TWO_DISABLED (1<<1)
|
|
#define BORG_MODULE_THREE_DISABLED (1<<2)
|