five-on-it / packages/ai/src/nail-strips / STRIPS
Variable: STRIPS
constSTRIPS:object
Defined in: packages/ai/src/nail-strips.ts:50
The numbers of the nail strips.
Type Declaration
ahead
readonlyahead:40=40
…at a junction at least this far ahead along the roads (m)…
apart
readonlyapart:15=15
No strip is laid this near another (m).
back
readonlyback:5=5
How far before the node it lies (m): clear of the junction's box.
carBack
readonlycarBack:7=7
deploySeconds
readonlydeploySeconds:1=1
How long a strip takes to unroll across the road, and to be reeled in (s).
everyTicks
readonlyeveryTicks:480=480
Ticks between two strips for one player: eight seconds.
kerb
readonlykerb:1.2=1.2
How far beyond the road's edge the officer stands (m), and how far back along the kerb its car parks.
leave
readonlyleave:70=70
The unit goes once no player is this near (m)…
leaveTicks
readonlyleaveTicks:1200=1200
…or this long after the strip is in (ticks: twenty seconds).
lifeTicks
readonlylifeTicks:1800=1800
A strip is picked up this long after it was laid (ticks: thirty seconds)…
near
readonlynear:8=8
…or once its player, having come this near it (m)…
passed
readonlypassed:14=14
…is this far from it again (m): they passed it, or turned back.
perPlayer
readonlyperPlayer:1=1
The most strips across the road after one player at a time.
reach
readonlyreach:160=160
…and at most this far; with none, at the first node past ahead (m).
retrieveSeconds
readonlyretrieveSeconds:1.2=1.2
speed
readonlyspeed:8=8
A strip is laid ahead of a player at three stars driving faster than this (m/s)…