secbot ![code/modules/mob/living/simple_animal/bot/secbot.dm 1](git.png)
Vars | |
baton_type | The type of baton this Secbot will use |
---|---|
commissioned | Whether this secbot is considered 'commissioned' and given the trait on Initialize. |
cuff_type | The type of cuffs we use on criminals after making arrests |
fair_market_price_arrest | On arrest, charges the violator this much. If they don't have that much in their account, they will get beaten instead |
fair_market_price_detain | Charged each time the violator is stunned on detain |
last_found | Time since last seeing their perpetrator |
oldtarget_name | Name of their last target to prevent spamming |
payment_department | The department the secbot will deposit collected money into |
security_mode_flags | Flags SecBOTs use on what to check on targets when arresting, and whether they should announce it to security/handcuff their target |
target | Their current target |
target_lastloc | The last location their target was seen at |
threatlevel | The threat level of the BOT, will arrest anyone at threatlevel 4 or above |
weapon | The weapon (from baton_type) that will be used to make arrests. |
weapon_force | Force of the harmbaton used on them |
Procs | |
check_nap_violations | Returns false if the current target is unable to pay the fair_market_price for being arrested/detained |
nap_violation | Does nothing |
threat_react | React to detecting criminal scum by making some kind of noise |
Var Details
baton_type ![code/modules/mob/living/simple_animal/bot/secbot.dm 39](git.png)
The type of baton this Secbot will use
commissioned ![code/modules/mob/living/simple_animal/bot/secbot.dm 37](git.png)
Whether this secbot is considered 'commissioned' and given the trait on Initialize.
cuff_type ![code/modules/mob/living/simple_animal/bot/secbot.dm 41](git.png)
The type of cuffs we use on criminals after making arrests
fair_market_price_arrest ![code/modules/mob/living/simple_animal/bot/secbot.dm 60](git.png)
On arrest, charges the violator this much. If they don't have that much in their account, they will get beaten instead
fair_market_price_detain ![code/modules/mob/living/simple_animal/bot/secbot.dm 62](git.png)
Charged each time the violator is stunned on detain
last_found ![code/modules/mob/living/simple_animal/bot/secbot.dm 53](git.png)
Time since last seeing their perpetrator
oldtarget_name ![code/modules/mob/living/simple_animal/bot/secbot.dm 47](git.png)
Name of their last target to prevent spamming
payment_department ![code/modules/mob/living/simple_animal/bot/secbot.dm 66](git.png)
The department the secbot will deposit collected money into
security_mode_flags ![code/modules/mob/living/simple_animal/bot/secbot.dm 56](git.png)
Flags SecBOTs use on what to check on targets when arresting, and whether they should announce it to security/handcuff their target
target ![code/modules/mob/living/simple_animal/bot/secbot.dm 45](git.png)
Their current target
target_lastloc ![code/modules/mob/living/simple_animal/bot/secbot.dm 51](git.png)
The last location their target was seen at
threatlevel ![code/modules/mob/living/simple_animal/bot/secbot.dm 49](git.png)
The threat level of the BOT, will arrest anyone at threatlevel 4 or above
weapon ![code/modules/mob/living/simple_animal/bot/secbot.dm 43](git.png)
The weapon (from baton_type) that will be used to make arrests.
weapon_force ![code/modules/mob/living/simple_animal/bot/secbot.dm 64](git.png)
Force of the harmbaton used on them
Proc Details
check_nap_violations
Returns false if the current target is unable to pay the fair_market_price for being arrested/detained
nap_violation
Does nothing
threat_react
React to detecting criminal scum by making some kind of noise