Files
Paradise/code/__DEFINES/bots.dm
Deniz 5c71a3f558 [TGUI] AI Bot Access (#24837)
* stash

* aa

* ,

* many edits

* thanou prettier

* edits b

* botref

* checkpoint reached

* Procs

* if on

* procs back to datum

* discord suggestions + help

* get data

* testing

* testing

* testing more

* test test

* tab based bots

* IT WORKS

* draft time?

* TGUI

* TGUI

* TGUI

* cleanup

* name and mode

* bsod

* colors

* botref tgui

* fixes

* it works

* ITS ALIVE

* less checks

* griefsky didnt have type nor model

* oops

* general

* stack

* color

* security tab

* no bot found

* deletes webui

* test

* bundle go die in a ditch

* Aylong shortening ty

Co-authored-by: Aylong <69762909+AyIong@users.noreply.github.com>

* bot_type defines, security tab

* Remove href interface

* Status Messages

* Build and update tgui

* Update colors

Arrest to blue

* mapped modes

* Build and update tgui

* chmod

* Typo

* Build and update tgui

* remove prettier edit from pr

* SEAN reviews

* interact to state

Wonder what problems this brought on

Co-authored-by: Charlie Nolan <funnyman3595@gmail.com>
Signed-off-by: Deniz <66401072+Oyu07@users.noreply.github.com>

* modeRange -> mode

* CI + mode -> modes

* some comments that make me insane

* Build and update tgui

* forgot ,

* It compiled

Has not been tested
##TESTING will be updated properly today or tomorrow

* define and commits

* Revert "It compiled"

This reverts commit eec57190ea.

* bundle

* switch case changed

* Update botcall.dm

Co-authored-by: Charlie Nolan <funnyman3595@gmail.com>
Signed-off-by: Deniz <66401072+Oyu07@users.noreply.github.com>

* Update code/modules/mob/living/silicon/ai/ai_verbs/botcall.dm

Co-authored-by: Charlie Nolan <funnyman3595@gmail.com>
Signed-off-by: Deniz <66401072+Oyu07@users.noreply.github.com>

* Bundle + Comment

* format edit no change

---------

Signed-off-by: Deniz <66401072+Oyu07@users.noreply.github.com>
Co-authored-by: Aylong <69762909+AyIong@users.noreply.github.com>
Co-authored-by: /tg/ui <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Charlie Nolan <funnyman3595@gmail.com>
Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com>
2024-05-15 13:49:45 +00:00

45 lines
1.8 KiB
Plaintext

//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
#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_MAKE_TILE 18 // converting metal into tiles (floorbots)
#define BOT_EAT_TILE 19 // adding said tiles to inventory (floorbots)
//Bot types
#define SEC_BOT "Security" // Secutritrons (Beepsky) and ED-209s
#define MULE_BOT "Mule" // MULEbots
#define FLOOR_BOT "Floorbot" // Floorbots
#define CLEAN_BOT "Cleanbot" // Cleanbots
#define MED_BOT "Medibot" // Medibots
#define HONK_BOT "Honkbot" // Honkbots
#define GRIEF_BOT "Grief" // Griefsky
//Sentience types
#define SENTIENCE_ORGANIC 1
#define SENTIENCE_ARTIFICIAL 2
#define SENTIENCE_OTHER 3
#define SENTIENCE_MINEBOT 4
#define SENTIENCE_BOSS 5