Files
Paradise/code/__DEFINES/bots.dm
T
c49f362039 Yet another bots refactor (#23162)
* initial test commit

* 2nd stage

* hull breach bug found

* 3rd small

* Master Merge

* fml

* one more time

* Merge failed incredibly bad, except commits

* 4th small

* 5th - Hull breach auto/replace tile bug fixed

* sleep

* avoid to avoid_bot

* indentation

* get_turf()

* even more comments

* Define edits

* eat tile order edit

* ui goes big

* Minor edits

* suggestions

* S Floor

* S Weapons check

* review

* I dont want TGUI on this

* Missed one

* review IF

* Returned the Return

* if error

* mode ==

* Reviews, Ty contra

* we shall NAG

* review

* Reviews

* Oppsie fixed

* tgui typo*

* TGUI Backend *fixed*

* Revert tgui backend edit, oopsie, small text edits

* Reviews

* emag autodoc + else if hateboner

* revert a change, non relevant

* undef

* revert tgui window size edit

* cleanbot cleanable list

* minor edit

* Review isspaceturf

Co-authored-by: Ryan <80364400+Sirryan2002@users.noreply.github.com>

* List

* Emagged 1/0

* Cleanbot list edit

* emagged 1/0 2

* removed comment

* emag_act revert

* didnt commit?

---------

Co-authored-by: Ryan <80364400+Sirryan2002@users.noreply.github.com>
2023-12-31 10:18:31 +00:00

44 lines
1.7 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 1 // Secutritrons (Beepsky) and ED-209s
#define MULE_BOT 2 // MULEbots
#define FLOOR_BOT 4 // Floorbots
#define CLEAN_BOT 8 // Cleanbots
#define MED_BOT 16 // Medibots
#define HONK_BOT 32 // Honkbots
//Sentience types
#define SENTIENCE_ORGANIC 1
#define SENTIENCE_ARTIFICIAL 2
#define SENTIENCE_OTHER 3
#define SENTIENCE_MINEBOT 4
#define SENTIENCE_BOSS 5