robotics
Procs | |
can_control | Check if a user can send a lockdown/detonate command to a specific borg |
---|---|
can_detonate | Checks if a user can detonate a specific cyborg, does a can_control check first. |
can_detonate_any | Checks if a user can detonate any cyborgs at all. |
can_hack | Check if the user is allowed to hack a specific borg |
can_hack_any | Check if the user is the right kind of entity to be able to hack borgs |
console_shows | Does this borg show up in the console |
Proc Details
can_control
Check if a user can send a lockdown/detonate command to a specific borg
Returns TRUE if a user can send the command (does not guarantee it will work) Returns FALSE if a user cannot Arguments:
- user - The /mob to be checked
- R - The /mob/living/silicon/robot to be checked
- telluserwhy - Bool of whether the user should be sent a to_chat message if they don't have access
can_detonate
Checks if a user can detonate a specific cyborg, does a can_control check first.
can_detonate_any
Checks if a user can detonate any cyborgs at all.
can_hack
Check if the user is allowed to hack a specific borg
Returns TRUE if a user can hack the specific cyborg Returns FALSE if a user cannot Arguments:
- user - The /mob to be checked
- R - The /mob/living/silicon/robot to be checked
can_hack_any
Check if the user is the right kind of entity to be able to hack borgs
Returns TRUE if a user is a traitor AI, or aghost Returns FALSE otherwise Arguments:
- user - The /mob to be checked
console_shows
Does this borg show up in the console
Returns TRUE if a robot will show up in the console Returns FALSE if a robot will not show up in the console Arguments:
- R - The /mob/living/silicon/robot to be checked