Files
Bubberstation/code/modules
oranges d6b323bcfa Refactors threat assessment for security bots
They don't share a common ancestor type so they were relying on the
secbot having identical vars to the ed209, this is brittle and ugly, so
instead a bitflag of criteria is passed through the mob assess_threat
proc so it can choose how to react to each criteria

As well as that, the weaponscheck proc used by the bots is now passed
through as a callback, more things can now implement their own
weapons checking for threat assessment if they need

This means more things can now utilise the assess_threat proc if they so
wanted to, as they no longer need to map 1 -> 1 to the ed209's vars

Also fixed a runtime where the secbot didn't pass through itself to the
assess_threat proc (what I originally wanted to fix)
2017-06-22 21:05:22 +00:00
..
2017-06-19 14:47:35 -04:00
2017-06-20 15:08:01 -03:00
2017-06-11 16:05:17 -03:00
2017-06-17 18:50:47 -07:00
2017-06-10 22:44:46 -03:00
2017-06-13 04:58:22 -07:00
2017-06-19 14:47:35 -04:00
2017-06-21 10:47:02 +02:00