five-on-it / packages/ai/src/steer-climb / CLIMB
Variable: CLIMB
constCLIMB:object
Defined in: packages/ai/src/steer-climb.ts:35
The numbers of taking the links.
Type Declaration
arrive
readonlyarrive:0.6=0.6
Off a link: feet within this of the floor it leads to (m).
failPenalty
readonlyfailPenalty:20=20
How much dearer a link that failed is to plan over.
failTicks
readonlyfailTicks:600=600
How long a failed link stays dear (ticks).
giveUpSeconds
readonlygiveUpSeconds:8=8
A link not taken within this many seconds of coming near it has failed: a ladder, a drop, a hop.
hopJump
readonlyhopJump:1.7=1.7
A hop's jump is pressed with the wall within this, ahead at knee height (m)…
hopRay
readonlyhopRay:3=3
How far a hop looks for its wall (m).
hopTooNear
readonlyhopTooNear:0.8=0.8
…and stepped back from when it is nearer than this (m).
ladderSlow
readonlyladderSlow:0.6=0.6
Within this of a ladder's climb line or landing (m), it heads there slowly.
liftLevel
readonlyliftLevel:0.05=0.05
A platform within this of a stop's height stands there (m).
liftOn
readonlyliftOn:0.6=0.6
Within this of the platform's middle (m), someone walking onto it is on it.
liftSeconds
readonlyliftSeconds:12=12
The same for a lift, on top of its round (s): waiting for it is part of taking it.
liftSpare
readonlyliftSpare:1.5=1.5
A lift is boarded only with this much of its stop left (s).
liftWait
readonlyliftWait:1=1
Where to wait for a lift: this far beyond its platform's edge (m).
near
readonlynear:3=3
Within this of a link's start (m), the link takes the whole input: no rays, no stuck recovery.
stairsSeconds
readonlystairsSeconds:15=15
The same for narrow stairs (s): a longer walk.