five-on-it / packages/ai/src/police-tech / TECH
Variable: TECH
constTECH:object
Defined in: packages/ai/src/police-tech.ts:84
The numbers of the robbers' tech.
Type Declaration
cruiser
readonlycruiser:object
The cruiser hack: its reach (m) and half-cone (rad), the hold, the stall, its cool-down.
cruiser.cone
readonlycone:number
cruiser.coolTicks
readonlycoolTicks:number
cruiser.holdTicks
readonlyholdTicks:number
cruiser.reach
readonlyreach:15=15
cruiser.stallTicks
readonlystallTicks:number
jammer
readonlyjammer:object
The jammer: its reach (m), its battery (ticks of jamming), how fast it charges (per tick off), how long running before the police notice, how long an EMP fries it.
jammer.battery
readonlybattery:number
jammer.burntTicks
readonlyburntTicks:number
jammer.charge
readonlycharge:0.5=0.5
jammer.noticeSeconds
readonlynoticeSeconds:20=20
jammer.noticeTicks
readonlynoticeTicks:number
jammer.radius
readonlyradius:30=30
lawyer
readonlylawyer:object
LawyerUp™: its fee per star ($), and the most stars it takes on.
lawyer.maxStars
readonlymaxStars:7=7
lawyer.perStar
readonlyperStar:500=500
loop
readonlyloop:object
The camera loop: its reach (m), how long the old footage plays, its cool-down.
loop.coolTicks
readonlycoolTicks:number
loop.reach
readonlyreach:200=200
loop.seconds
readonlyseconds:30=30
loop.ticks
readonlyticks:number
scout
readonlyscout:object
The scout drone: its height over the player (m), its time up, how far it sees the police (m), how long the police watch it before they shoot it down, how long its wreck lies.
scout.height
readonlyheight:12=12
scout.lifeTicks
readonlylifeTicks:number
scout.reach
readonlyreach:120=120
scout.watchTicks
readonlywatchTicks:number
scout.wreckTicks
readonlywreckTicks:number
tip
readonlytip:object
The fake tip: how far off it sends the units (m) and for how long.
tip.distance
readonlydistance:400=400
tip.ticks
readonlyticks:number
traffic
readonlytraffic:object
The traffic hack: how long its lights hold, its cool-down, how far it looks behind and ahead (m), how many junctions go green; a police car coming to a red one brakes once it is within its stopping distance (its speed's, at brake m/s²) of stopNear short of it, stopFar at most, and waits there (m).
traffic.ahead
readonlyahead:250=250
traffic.behind
readonlybehind:120=120
traffic.brake
readonlybrake:7=7
traffic.coolTicks
readonlycoolTicks:number
traffic.greens
readonlygreens:3=3
traffic.holdSeconds
readonlyholdSeconds:20=20
traffic.holdTicks
readonlyholdTicks:number
traffic.stopFar
readonlystopFar:80=80
traffic.stopNear
readonlystopNear:10=10
watchedNear
readonlywatchedNear:8=8
A person this near a player sees them change clothes (m).