Securitron

Vars | |
baton_charge_duration | How long these batons hold a charge |
---|---|
baton_charged | Set by the stun action bar if the target isnt in range, grants a brief window for a free zap next time they try to attack |
baton_charging | Busy charging |
chatspam_cooldown | Lots of bots say lots of things. Let's space them out since most of it is just guff |
container_cool_off_counter | How long has the bot been sitting in the time-out locker? (process cycles spent inside a locked/welded storage object) |
container_cool_off_max | When the bot's been stuck in a locker this long, they'll forget who they were mad at Note, this is in process() calls, not seconds, so it could vary quite a bit |
cuff_threat_threshold | How much of a threat does something have to be for us to actually cuff them? |
cuffing | So we dont try to cuff someone while we're cuffing someone |
guard_area | Set a bot to guard an area, and they'll go there and mill around |
guard_area_lockdown | Arrest anyone who arent security / heads if they're in this area? |
guard_mill_cooldown | How often should the bot try to wander around their guard post? |
guard_start_no_announce | Was on guard duty, apprehended someone, then went to return to guard duty? Keep it to yourself please |
helpme_cooldown | Secbots send a message when attacked. How long after this message should they send another? |
last_target_cooldown | Time after giving up on assaulting someone before they'll consider assaulting them again |
lockdown_permit | Who is exempt from our wrath while locking down an area? |
warn_minor_crime | Obey the threat threshold. Otherwise, just cuff em |
weeooing | One WEEOOWEEOO at a time, please |
Procs | |
KillPathAndGiveUp | Every 5 tiles, look for someone to kill If we happen to be chasing someone and get in batonning range, let's stop and maybe try to hit them |
YellAtPerp | Already engaging someone! |
assault_target | Makes the bot chase perps, hit them, and cuff them |
baton_attack | Hits someone with our baton, or charges it if it isnt |
charge_baton | Makes the bot able to baton people, then makes them unable to baton people after a while |
find_patrol_target | finds a new patrol target |
guard_target | No guard orders, start patrol if allowed, also look for people to heck up No guard orders, engaging target, seeking to arrest them On guard duty, returning from distraction On guard duty, check if we're in the place we're supposed to be Makes bots go to an area, mill around, and maybe attack people who shouldnt be there |
look_for_perp | Current mode determines what we're supposed to go back to when we're done Tango never up to begin with? Or some kind of not-human? Eh whatever give up Tango hidden inside something or someone? Welp, can't hit them through a locker, so may as well give up! Tango down or tango hecked off or tango behind a bunch of stuff, give up and get back to work Finish what you're doing first! We inside something? Tango! Tango in batonning distance? Are they good and downed, and are we allowed to cuff em? No? Well, make em good and downed then Tango in charging distance? Charge em! Tango outside of charging distance? |
move_the_bot | Sends the bot on to a patrol target. Or Summon target, if that's what patrol_target is set to |
Var Details
baton_charge_duration

How long these batons hold a charge
baton_charged

Set by the stun action bar if the target isnt in range, grants a brief window for a free zap next time they try to attack
baton_charging

Busy charging
chatspam_cooldown

Lots of bots say lots of things. Let's space them out since most of it is just guff
container_cool_off_counter

How long has the bot been sitting in the time-out locker? (process cycles spent inside a locked/welded storage object)
container_cool_off_max

When the bot's been stuck in a locker this long, they'll forget who they were mad at Note, this is in process() calls, not seconds, so it could vary quite a bit
cuff_threat_threshold

How much of a threat does something have to be for us to actually cuff them?
cuffing

So we dont try to cuff someone while we're cuffing someone
guard_area

Set a bot to guard an area, and they'll go there and mill around
guard_area_lockdown

Arrest anyone who arent security / heads if they're in this area?
guard_mill_cooldown

How often should the bot try to wander around their guard post?
guard_start_no_announce

Was on guard duty, apprehended someone, then went to return to guard duty? Keep it to yourself please
helpme_cooldown

Secbots send a message when attacked. How long after this message should they send another?
last_target_cooldown

Time after giving up on assaulting someone before they'll consider assaulting them again
lockdown_permit

Who is exempt from our wrath while locking down an area?
warn_minor_crime

Obey the threat threshold. Otherwise, just cuff em
weeooing

One WEEOOWEEOO at a time, please
Proc Details
KillPathAndGiveUp
Every 5 tiles, look for someone to kill If we happen to be chasing someone and get in batonning range, let's stop and maybe try to hit them
YellAtPerp
Already engaging someone!
assault_target
Makes the bot chase perps, hit them, and cuff them
baton_attack
Hits someone with our baton, or charges it if it isnt
charge_baton
Makes the bot able to baton people, then makes them unable to baton people after a while
find_patrol_target
finds a new patrol target
guard_target
No guard orders, start patrol if allowed, also look for people to heck up No guard orders, engaging target, seeking to arrest them On guard duty, returning from distraction On guard duty, check if we're in the place we're supposed to be Makes bots go to an area, mill around, and maybe attack people who shouldnt be there
look_for_perp
Current mode determines what we're supposed to go back to when we're done Tango never up to begin with? Or some kind of not-human? Eh whatever give up Tango hidden inside something or someone? Welp, can't hit them through a locker, so may as well give up! Tango down or tango hecked off or tango behind a bunch of stuff, give up and get back to work Finish what you're doing first! We inside something? Tango! Tango in batonning distance? Are they good and downed, and are we allowed to cuff em? No? Well, make em good and downed then Tango in charging distance? Charge em! Tango outside of charging distance?
move_the_bot
Sends the bot on to a patrol target. Or Summon target, if that's what patrol_target is set to