PilotLap

A value shape that methods take or return.

Group
player
Methods
None
Fields
4

Fields

FieldTypeDescription
coursestringWhere everything a lap may do lies, a line each (# a comment; a line that starts with any other word is yours, and passed over): `start x…
seastringWhat is open water: base x y, size w h, grid, then a row a line from y = base y up, # a tile that is not.
orderstringThe order the lap takes the course's objectives in, words apart: a crate's number, a click's name, a portal's name.
plans{ [number]: string }The planned laps, by the hull's base speed each was planned for (fine units a tick, e.g. 256): the one for the fastest base not above the…

Field details

course

course: string

Where everything a lap may do lies, a line each (# a comment; a line that starts with any other word is yours, and passed over): start x,y heading (the boat at rest there, facing heading step 0-15: 0 south, 4 west, 8 north, 12 east); crates x,y ... (numbered from 1 as given); rapids <stacks> x,y ... (each rapid's middle tile, a crossing adding the stacks); click <name> x,y (a target you click from the boat, by a name of yours); pools x,y ... (tiles that slow a boat on them unless a boost begun a few moves before protects it); pickups x,y ... (passed over by the pilot); portal <name> sw_x,sw_y ne_x,ne_y exit_x,exit_y heading (a teleport area, and where it puts the boat, facing the heading step); runout <ticks> (ticks the game takes to end a sailed lap, the boat kept clear meanwhile; 12 when not given).

plans

plans: { [number]: string }

The planned laps, by the hull's base speed each was planned for (fine units a tick, e.g. 256): the one for the fastest base not above the boat's is sailed. A line a tick: x y orientation heading (fine units, the move's heading step), and 1 (a trim) or 2 (a wind mote) after it on a tick one is clicked for.