five-on-it / packages/ai/src/police-drones / DRONES
Variable: DRONES
constDRONES:object
Defined in: packages/ai/src/police-drones.ts:41
The numbers of the police's drone.
Type Declaration
againTicks
readonlyagainTicks:1800=1800
Another is sent this long after one is shot down (ticks: thirty seconds).
cost
readonlycost:1=1
What a drone costs of the room's cap on police actors.
gain
readonlygain:1.2=1.2
It closes on its station this fast, per metre still to go (1/s).
lag
readonlylag:0.4=0.4
It keeps their speed times this behind its player (s)…
leaveRange
readonlyleaveRange:150=150
leaveTicks
readonlyleaveTicks:600=600
A drone no longer needed flies off and is gone after this long (ticks: ten seconds), or once this far from every player (m).
near
readonlynear:6=6
…at least this far, and at most this far (m).
roofReach
readonlyroofReach:6=6
The roofs this far around its station and its player are what it keeps above (m).
sight
readonlysight:80=80
It sees this far (m, through the air).
spawnBack
readonlyspawnBack:60=60
A drone is sent this far from its player, behind them (m).
trail
readonlytrail:10=10
wreckTicks
readonlywreckTicks:1200=1200
Its wreck lies this long before it is taken away (ticks: twenty seconds).