@dreadwood-types/types 0.1.191 → 0.1.192
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lanternWakeTown.d.ts +3 -2
- package/dist/lanternWakeTown.d.ts.map +1 -1
- package/dist/lanternWakeTown.js +15 -9
- package/dist/lanternWakeTown.js.map +1 -1
- package/dist/messages.d.ts +7 -0
- package/dist/messages.d.ts.map +1 -1
- package/dist/westernTrain.d.ts +247 -100
- package/dist/westernTrain.d.ts.map +1 -1
- package/dist/westernTrain.js +460 -166
- package/dist/westernTrain.js.map +1 -1
- package/package.json +2 -2
package/dist/westernTrain.d.ts
CHANGED
|
@@ -132,13 +132,13 @@ export declare const WESTERN_ISLE_CAUSEWAY: {
|
|
|
132
132
|
readonly maxZ: number;
|
|
133
133
|
};
|
|
134
134
|
export declare function westernIsleCausewayHeight(x: number): number;
|
|
135
|
-
type
|
|
135
|
+
export type WesternTrainBox = {
|
|
136
136
|
minX: number;
|
|
137
137
|
maxX: number;
|
|
138
138
|
minZ: number;
|
|
139
139
|
maxZ: number;
|
|
140
140
|
};
|
|
141
|
-
export declare const WESTERN_ISLE_PLATFORM:
|
|
141
|
+
export declare const WESTERN_ISLE_PLATFORM: WesternTrainBox;
|
|
142
142
|
export declare const WESTERN_ISLE_PLATFORM_PIECES: (readonly [number, number])[];
|
|
143
143
|
export declare const WESTERN_ISLE_GAP_ROW: {
|
|
144
144
|
readonly minX: number;
|
|
@@ -151,7 +151,7 @@ export declare const WESTERN_ISLE_SEA_KERB: {
|
|
|
151
151
|
readonly z: number;
|
|
152
152
|
};
|
|
153
153
|
/** The rock cap the line runs into (the home knoll's box, moved), and the portal on its east face. */
|
|
154
|
-
export declare const WESTERN_ISLE_KNOLL:
|
|
154
|
+
export declare const WESTERN_ISLE_KNOLL: WesternTrainBox;
|
|
155
155
|
export declare const WESTERN_ISLE_MOUTH: {
|
|
156
156
|
readonly x: number;
|
|
157
157
|
readonly z: number;
|
|
@@ -172,8 +172,53 @@ export declare const WESTERN_ISLE_STAND: {
|
|
|
172
172
|
readonly z: number;
|
|
173
173
|
};
|
|
174
174
|
export declare function inWesternIsleStub(x: number, z: number): boolean;
|
|
175
|
+
/** Every train counts from this instant (a fixed date, so a restart never moves a train). */
|
|
176
|
+
export declare const WESTERN_TRAIN_EPOCH_MS: number;
|
|
177
|
+
/** Cruising speed (tiles a second) and the rate it gets up to it and slows from it. */
|
|
178
|
+
export declare const WESTERN_TRAIN_TOP_SPEED = 6;
|
|
179
|
+
export declare const WESTERN_TRAIN_ACCEL = 0.5;
|
|
180
|
+
/** The bell rings this long before a departure; the step plates shut this long before it. */
|
|
181
|
+
export declare const WESTERN_TRAIN_BELL_BEFORE_MS = 15000;
|
|
182
|
+
export declare const WESTERN_TRAIN_DOORS_SHUT_BEFORE_MS = 5000;
|
|
183
|
+
/** The whistle and the bell are heard this far (tiles) from the loco. */
|
|
184
|
+
export declare const WESTERN_TRAIN_SOUND_RANGE = 40;
|
|
185
|
+
export declare const WESTERN_TRAIN_MOVING_TEXT = "The train is moving.";
|
|
186
|
+
export declare const WESTERN_TRAIN_DOORS_SHUT_TEXT = "The doors are shut: the train is about to leave.";
|
|
187
|
+
export declare const WESTERN_TRAIN_ABOARD_COMBAT_TEXT = "There is no fighting aboard the train.";
|
|
188
|
+
export declare const WESTERN_TRAIN_ALIGHT_MOVING_TEXT = "The train is moving. Wait until it stops at the platform.";
|
|
189
|
+
/** A stop's arriving announcement goes to its riders this long before the train stands there. */
|
|
190
|
+
export declare const WESTERN_TRAIN_ANNOUNCE_BEFORE_MS = 10000;
|
|
191
|
+
export declare const WESTERN_TRAIN_MEMBERS_ONLY_TEXT = "Only members may step off here. Stay aboard: the train runs on to the next stop.";
|
|
192
|
+
export type WesternBore = {
|
|
193
|
+
id: string;
|
|
194
|
+
/** The line's x down the middle, the first row and how many rows it runs. */
|
|
195
|
+
x: number;
|
|
196
|
+
z0: number;
|
|
197
|
+
length: number;
|
|
198
|
+
/** Tiles of floor either side of the line (the walls are the next tile out). */
|
|
199
|
+
halfWidth: number;
|
|
200
|
+
floorHeight: number;
|
|
201
|
+
/** A wall sconce every this many rows down each side, staggered. */
|
|
202
|
+
sconceEvery: number;
|
|
203
|
+
/** Entity id prefix of its rails and sconces: `<prefix>-rail-<z>`, `<prefix>-sconce-w-<z>`. */
|
|
204
|
+
idPrefix: string;
|
|
205
|
+
};
|
|
206
|
+
export declare const WESTERN_BORE_A: WesternBore;
|
|
207
|
+
/** A bore's floor tiles, walls excluded (bore A's is WESTERN_TUNNEL_BOX). */
|
|
208
|
+
export declare function westernBoreBox(bore: WesternBore): WesternTrainBox;
|
|
209
|
+
/** The loading cover a rider sees when the train carries them onto a leg from far away (AREA_TRANSITIONS ids). */
|
|
210
|
+
export type WesternTrainCover = {
|
|
211
|
+
area: 'western-line' | 'western-kingdoms-train';
|
|
212
|
+
title?: string;
|
|
213
|
+
};
|
|
214
|
+
/**
|
|
215
|
+
* One straight leg of a circuit. `surface` legs climb a causeway out of the sea at their x0 (the home line's profile,
|
|
216
|
+
* heading west); `bore` legs run level on their bore's floor. The lateral axis is (dz, -dx): docked z minus the track row,
|
|
217
|
+
* so the platform (docked z < the track row) is on the left of the direction of travel.
|
|
218
|
+
*/
|
|
175
219
|
export type WesternTrainSegment = {
|
|
176
|
-
id:
|
|
220
|
+
id: string;
|
|
221
|
+
kind: 'surface' | 'bore';
|
|
177
222
|
/** The first c on this leg and how many tiles it runs. */
|
|
178
223
|
c0: number;
|
|
179
224
|
length: number;
|
|
@@ -182,36 +227,167 @@ export type WesternTrainSegment = {
|
|
|
182
227
|
z0: number;
|
|
183
228
|
dx: number;
|
|
184
229
|
dz: number;
|
|
230
|
+
/** A bore leg's bore. */
|
|
231
|
+
bore?: WesternBore;
|
|
232
|
+
/** What a rider sees when the train carries them onto this leg from another region or farther than the view ring. */
|
|
233
|
+
cover: WesternTrainCover;
|
|
234
|
+
/** Tiles the client draws a piece past the leg's start and end (into the sea or the rock that hides it). */
|
|
235
|
+
drawBefore: number;
|
|
236
|
+
drawAfter: number;
|
|
237
|
+
};
|
|
238
|
+
export type WesternTrainSegmentDef = Omit<WesternTrainSegment, 'c0' | 'drawBefore' | 'drawAfter'> & {
|
|
239
|
+
drawBefore?: number;
|
|
240
|
+
drawAfter?: number;
|
|
185
241
|
};
|
|
186
|
-
export declare const WESTERN_TRAIN_SEGMENTS: readonly WesternTrainSegment[];
|
|
187
242
|
/** c of the nose when the train stands at the isle stub (the nose on the platform's west end, as at home). */
|
|
188
243
|
export declare const WESTERN_ISLE_STOP_C: number;
|
|
189
|
-
export declare const WESTERN_TRAIN_CIRCUIT_LENGTH: number;
|
|
190
244
|
/** c of the nose when the train stands at the platform (loco's nose at x 30). */
|
|
191
245
|
export declare const WESTERN_TRAIN_PLATFORM_C: number;
|
|
246
|
+
/** The surface leg's x range the rake is drawn on (the mouth hides it to the west, the sea to the east). */
|
|
247
|
+
export declare const WESTERN_TRAIN_SURFACE_DRAW: {
|
|
248
|
+
readonly minX: 18;
|
|
249
|
+
readonly maxX: number;
|
|
250
|
+
};
|
|
192
251
|
/** The yaw (radians, three.js about +y) that turns the docked frame (heading -x) to this leg's heading. */
|
|
193
252
|
export declare function westernTrainSegmentYaw(seg: WesternTrainSegment): number;
|
|
194
|
-
|
|
195
|
-
|
|
253
|
+
/**
|
|
254
|
+
* The stops, in the order the train reaches them. `home` is the station whose rake IS the docked frame (the Western
|
|
255
|
+
* Entrance's platform): the only stop with the 'boarding' phase, the docked rake's own plates. `steps`: the stop has its
|
|
256
|
+
* own step plates on its own platform (westernStopSteps): riders step off there and people on that platform board there,
|
|
257
|
+
* while the train stands with its doors open.
|
|
258
|
+
*/
|
|
259
|
+
export type WesternTrainStop = {
|
|
260
|
+
id: string;
|
|
261
|
+
name: string;
|
|
262
|
+
c: number;
|
|
263
|
+
dwellMs: number;
|
|
264
|
+
enabled: boolean;
|
|
265
|
+
note: string;
|
|
266
|
+
home?: boolean;
|
|
267
|
+
steps?: boolean;
|
|
268
|
+
/** The id prefix of the stop's own step plates (default `<id>-step`): `<prefix>-<car>`. */
|
|
269
|
+
stepPrefix?: string;
|
|
270
|
+
/** Only members may step off here (James: members-only stops later); a non-member rides on. */
|
|
271
|
+
membersOnly?: boolean;
|
|
272
|
+
/** What riders are told: `next` as the train leaves the stop before this one, `arriving` shortly before it stands here. */
|
|
273
|
+
announce?: {
|
|
274
|
+
next?: string;
|
|
275
|
+
arriving?: string;
|
|
276
|
+
};
|
|
277
|
+
/** A closed place reached only by this stop's train (a hall off a bore): someone saved in it while the stop is not running wakes at home. */
|
|
278
|
+
pocket?: WesternTrainBox;
|
|
279
|
+
};
|
|
280
|
+
/** Duration (ms) of a run of D tiles from a stop to a stop: up to speed, cruise, slow to a stand. */
|
|
281
|
+
export declare function westernTrainRunMs(distance: number): number;
|
|
282
|
+
/** Tiles covered after t ms of a run of D tiles. */
|
|
283
|
+
export declare function westernTrainRunTiles(distance: number, tMs: number): number;
|
|
284
|
+
export type WesternTrainLeg = {
|
|
285
|
+
stop: WesternTrainStop;
|
|
286
|
+
startMs: number;
|
|
287
|
+
departMs: number;
|
|
288
|
+
runTiles: number;
|
|
289
|
+
endMs: number;
|
|
290
|
+
};
|
|
291
|
+
export type WesternTrainTimetable = {
|
|
292
|
+
cycleMs: number;
|
|
293
|
+
legs: WesternTrainLeg[];
|
|
294
|
+
};
|
|
295
|
+
/**
|
|
296
|
+
* A whole circuit: its legs, stops, how many trains run it and the timetable they keep. The SERVER runs one
|
|
297
|
+
* (WESTERN_TRAIN_CIRCUIT) and sends its `key` with the clock (messages trainCircuit); the client draws and times the
|
|
298
|
+
* circuit with that key (westernCircuitForKey), so a game deployed before the backend is released never draws trains
|
|
299
|
+
* the server is not running. A circuit, once on master, is frozen: a change to its track, stops, dwells or train count
|
|
300
|
+
* is a NEW version (defineWesternCircuit), and the old one stays in WESTERN_TRAIN_CIRCUITS for clients of an older server.
|
|
301
|
+
*/
|
|
302
|
+
export type WesternTrainCircuit = {
|
|
303
|
+
version: number;
|
|
304
|
+
/** `v<version>-<hash of everything that moves a train>`: what the server sends, what the client looks up. */
|
|
305
|
+
key: string;
|
|
306
|
+
segments: readonly WesternTrainSegment[];
|
|
307
|
+
length: number;
|
|
308
|
+
stops: readonly WesternTrainStop[];
|
|
309
|
+
trainCount: number;
|
|
310
|
+
timetable: WesternTrainTimetable;
|
|
311
|
+
/** The home station (its rake is the docked frame) and the leg it stands on. */
|
|
312
|
+
home: WesternTrainStop;
|
|
313
|
+
homeLeg: WesternTrainSegment;
|
|
314
|
+
/** Every running stop's own step plates (not the home platform's). */
|
|
315
|
+
stopSteps: readonly WesternStopStep[];
|
|
316
|
+
/** The bores its legs run through, in leg order. */
|
|
317
|
+
bores: readonly WesternBore[];
|
|
318
|
+
};
|
|
319
|
+
/** Only the track: what the position sums need (a circuit, or one being defined). */
|
|
320
|
+
type Track = Pick<WesternTrainCircuit, 'segments' | 'length'>;
|
|
321
|
+
/**
|
|
322
|
+
* Build and check a circuit. Throws on a circuit the line cannot run: legs that are not unit steps along x or z, a
|
|
323
|
+
* surface leg not heading west (the causeway profile is the home line's), stops off the track or on the same c, no home
|
|
324
|
+
* stop or more than one, a home stop whose rake is not the docked frame itself, a train count outside 1-8.
|
|
325
|
+
*/
|
|
326
|
+
export declare function defineWesternCircuit(def: {
|
|
327
|
+
version: number;
|
|
328
|
+
segments: readonly WesternTrainSegmentDef[];
|
|
329
|
+
stops: readonly WesternTrainStop[];
|
|
330
|
+
trainCount: number;
|
|
331
|
+
}): WesternTrainCircuit;
|
|
332
|
+
/**
|
|
333
|
+
* VERSION 1: the line as it ran from 2026-10-10 (the moving train) and 2026-10-10 (Lantern Wake): the home platform's
|
|
334
|
+
* surface leg, bore A south under the sea, Lantern Wake's leg west into its rock cap, two trains. Frozen: never edit.
|
|
335
|
+
*/
|
|
336
|
+
export declare const WESTERN_TRAIN_CIRCUIT_V1: WesternTrainCircuit;
|
|
337
|
+
/** Every circuit this build knows, oldest first: a client follows whichever of them its server runs. */
|
|
338
|
+
export declare const WESTERN_TRAIN_CIRCUITS: readonly WesternTrainCircuit[];
|
|
339
|
+
/** The circuit this build's SERVER runs (the client's default before the server has said). */
|
|
340
|
+
export declare const WESTERN_TRAIN_CIRCUIT: WesternTrainCircuit;
|
|
341
|
+
/** Every bore of every known circuit (lighting and sounds: a bore the server has not cut is never reached). */
|
|
342
|
+
export declare const WESTERN_BORES: readonly WesternBore[];
|
|
343
|
+
/** In a bore (its floor or its wall tiles), of every known circuit or the bores given. */
|
|
344
|
+
export declare function inWesternBore(x: number, z: number, bores?: readonly WesternBore[]): boolean;
|
|
345
|
+
/** The version a key names (`v3-...` is 3), or null for a key that is not one. */
|
|
346
|
+
export declare function westernCircuitVersionOf(key: string | null | undefined): number | null;
|
|
347
|
+
/**
|
|
348
|
+
* The circuit a server runs, from the key it sent: no key is a server from before the version (slice 2-0), which runs
|
|
349
|
+
* version 1; a key this build knows is that circuit; anything else is null (a newer server than this page, or a circuit
|
|
350
|
+
* changed without a new version): the client then draws no moving train and asks for a reload.
|
|
351
|
+
*/
|
|
352
|
+
export declare function westernCircuitForKey(key: string | null | undefined, known?: readonly WesternTrainCircuit[]): WesternTrainCircuit | null;
|
|
353
|
+
/**
|
|
354
|
+
* How this build stands with the server's circuit: `same` (the one it would run), `older` (the server runs an older
|
|
355
|
+
* circuit this build still knows: follow it), `newer` (the server runs a later version than any this build knows: reload),
|
|
356
|
+
* `unknown` (a version this build knows with different numbers: someone changed a circuit without a new version).
|
|
357
|
+
*/
|
|
358
|
+
export declare function westernCircuitAgreement(key: string | null | undefined, own?: WesternTrainCircuit, known?: readonly WesternTrainCircuit[]): {
|
|
359
|
+
status: 'same' | 'older' | 'newer' | 'unknown';
|
|
360
|
+
circuit: WesternTrainCircuit | null;
|
|
361
|
+
};
|
|
362
|
+
/** What a client tells its player when it cannot follow the server's circuit. */
|
|
363
|
+
export declare const WESTERN_TRAIN_RELOAD_TEXT = "The Western Line has changed since this page loaded. Reload the page to see the trains.";
|
|
364
|
+
export declare const WESTERN_TRAIN_SEGMENTS: readonly WesternTrainSegment[];
|
|
365
|
+
export declare const WESTERN_TRAIN_CIRCUIT_LENGTH: number;
|
|
366
|
+
/** How many trains run the circuit, evenly spaced in time (James: "1-3 trains running constantly"). */
|
|
367
|
+
export declare const WESTERN_TRAIN_COUNT: number;
|
|
368
|
+
export declare const WESTERN_TRAIN_STOPS: readonly WesternTrainStop[];
|
|
369
|
+
export declare const WESTERN_TRAIN_CYCLE_MS: number;
|
|
370
|
+
export declare function wrapWesternC(c: number, circuit?: Track): number;
|
|
371
|
+
export declare function westernTrainSegmentAt(c: number, circuit?: Track): WesternTrainSegment;
|
|
196
372
|
/** A point on a leg (c may run past its ends: the client extrapolates a piece into the sea or the rock). */
|
|
197
373
|
export declare function westernTrainPointOn(seg: WesternTrainSegment, c: number, lateral: number): {
|
|
198
374
|
x: number;
|
|
199
375
|
z: number;
|
|
200
376
|
};
|
|
201
377
|
/** The world point of track coordinate c (wrapped) and a lateral offset (docked z - track z). */
|
|
202
|
-
export declare function westernTrainWorldPoint(c: number, lateral: number): {
|
|
378
|
+
export declare function westernTrainWorldPoint(c: number, lateral: number, circuit?: Track): {
|
|
203
379
|
x: number;
|
|
204
380
|
z: number;
|
|
205
381
|
segment: WesternTrainSegment;
|
|
206
382
|
};
|
|
207
|
-
/** The ground under the track at c on a leg
|
|
383
|
+
/** The ground under the track at c on a leg: a bore's floor, or the causeway stepping down to the waterline, then the sea. */
|
|
208
384
|
export declare function westernTrainGroundHeight(seg: WesternTrainSegment, c: number): number;
|
|
209
385
|
/** Metres: the deck a rider stands on at c (the ground plus the kit's deck height). */
|
|
210
386
|
export declare function westernTrainDeckY(seg: WesternTrainSegment, c: number): number;
|
|
211
387
|
/** A docked tile (rider or piece) to its c, given the nose's c. */
|
|
212
388
|
export declare function westernDockedC(noseC: number, dockedX: number): number;
|
|
213
389
|
/** The world tile of a docked tile when the nose stands at integer c (the server's step). */
|
|
214
|
-
export declare function westernRiderWorldTile(noseC: number, dockedX: number, dockedZ: number): {
|
|
390
|
+
export declare function westernRiderWorldTile(noseC: number, dockedX: number, dockedZ: number, circuit?: Track): {
|
|
215
391
|
x: number;
|
|
216
392
|
y: number;
|
|
217
393
|
};
|
|
@@ -219,72 +395,33 @@ export declare function westernRiderWorldTile(noseC: number, dockedX: number, do
|
|
|
219
395
|
* A world tile back to the docked frame of a train whose nose is at c (a rider's click on the moving deck), or null when
|
|
220
396
|
* the tile is not on the rake.
|
|
221
397
|
*/
|
|
222
|
-
export declare function westernWorldToDocked(noseC: number, x: number, z: number): {
|
|
398
|
+
export declare function westernWorldToDocked(noseC: number, x: number, z: number, circuit?: Track): {
|
|
223
399
|
x: number;
|
|
224
400
|
y: number;
|
|
225
401
|
} | null;
|
|
226
|
-
/**
|
|
227
|
-
export declare
|
|
228
|
-
/** How
|
|
229
|
-
export declare const
|
|
230
|
-
/** Cruising speed (tiles a second) and the rate it gets up to it and slows from it. */
|
|
231
|
-
export declare const WESTERN_TRAIN_TOP_SPEED = 6;
|
|
232
|
-
export declare const WESTERN_TRAIN_ACCEL = 0.5;
|
|
233
|
-
/** The bell rings this long before a departure; the step plates shut this long before it. */
|
|
234
|
-
export declare const WESTERN_TRAIN_BELL_BEFORE_MS = 15000;
|
|
235
|
-
export declare const WESTERN_TRAIN_DOORS_SHUT_BEFORE_MS = 5000;
|
|
236
|
-
/** The whistle and the bell are heard this far (tiles) from the loco. */
|
|
237
|
-
export declare const WESTERN_TRAIN_SOUND_RANGE = 40;
|
|
238
|
-
export declare const WESTERN_TRAIN_MOVING_TEXT = "The train is moving.";
|
|
239
|
-
export declare const WESTERN_TRAIN_DOORS_SHUT_TEXT = "The doors are shut: the train is about to leave.";
|
|
240
|
-
export declare const WESTERN_TRAIN_ABOARD_COMBAT_TEXT = "There is no fighting aboard the train.";
|
|
241
|
-
export declare const WESTERN_TRAIN_ALIGHT_MOVING_TEXT = "The train is moving. Wait until it stops at the platform.";
|
|
242
|
-
/**
|
|
243
|
-
* The stops, in the order the train reaches them. The platform is the only one running in version one; the others are
|
|
244
|
-
* placed on the tunnel leg as data so switching one on is one flag once its place exists:
|
|
245
|
-
* - the Western Isle (James: "it stops at the new island to the west"): the land is not built (NEXT_STEPS, the Western
|
|
246
|
-
* Lands); its halt needs a platform and a way up to the island;
|
|
247
|
-
* - the dwarf dungeon ("an underground dwarf dungeon, its exit blocked for now"): an underground hall beside the bore;
|
|
248
|
-
* - the Capital: surveyed 2026-10-10 and NOT reachable in version one. The city (types capital.ts) stands at x 480-760,
|
|
249
|
-
* z 76-244, about 900 rows north of the line's z 1153 across the built world, so no surface line can reach it, and
|
|
250
|
-
* the underground strip lies east of the map (x 928 on), not under the city. It needs its own halt: an underground
|
|
251
|
-
* platform in the strip on this bore, reached from the city by a stair or lift (a cave entrance in the city's south
|
|
252
|
-
* quarter, the way the Rat Tunnel is reached), placed when that stair is built.
|
|
253
|
-
*/
|
|
402
|
+
/** The compass side of the track a stop's platform is on (the docked platform side, turned with the leg). */
|
|
403
|
+
export declare function westernStopPlatformSide(stop: WesternTrainStop, circuit?: Track): 'north' | 'east' | 'south' | 'west';
|
|
404
|
+
/** How far (tiles, Chebyshev) a rider may be carried in one step before it counts as a jump needing the cover: the view ring. */
|
|
405
|
+
export declare const WESTERN_TRAIN_JUMP_TILES: number;
|
|
254
406
|
/**
|
|
255
|
-
*
|
|
256
|
-
*
|
|
257
|
-
*
|
|
407
|
+
* A rider's tile carried from one server step to the next: a JUMP (the loading cover first) when it lands in another
|
|
408
|
+
* region of the grid OR farther than the view ring (two bores in the same region, slice 2-0), with the cover of the leg
|
|
409
|
+
* it lands on; null for an ordinary step.
|
|
258
410
|
*/
|
|
259
|
-
export
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
/** Duration (ms) of a run of D tiles from a stop to a stop: up to speed, cruise, slow to a stand. */
|
|
272
|
-
export declare function westernTrainRunMs(distance: number): number;
|
|
273
|
-
/** Tiles covered after t ms of a run of D tiles. */
|
|
274
|
-
export declare function westernTrainRunTiles(distance: number, tMs: number): number;
|
|
275
|
-
export type WesternTrainLeg = {
|
|
276
|
-
stop: WesternTrainStop;
|
|
277
|
-
startMs: number;
|
|
278
|
-
departMs: number;
|
|
279
|
-
runTiles: number;
|
|
280
|
-
endMs: number;
|
|
281
|
-
};
|
|
411
|
+
export declare function westernRiderJump(prevNoseStep: number, noseStep: number, dockedX: number, dockedZ: number, circuit?: Track): {
|
|
412
|
+
from: {
|
|
413
|
+
x: number;
|
|
414
|
+
y: number;
|
|
415
|
+
};
|
|
416
|
+
to: {
|
|
417
|
+
x: number;
|
|
418
|
+
y: number;
|
|
419
|
+
};
|
|
420
|
+
segment: WesternTrainSegment;
|
|
421
|
+
cover: WesternTrainCover;
|
|
422
|
+
} | null;
|
|
282
423
|
/** The cycle: for each running stop in order, its dwell then the run to the next running stop (wrapping). */
|
|
283
|
-
export declare function westernTrainTimetable(stops?: readonly WesternTrainStop[]):
|
|
284
|
-
cycleMs: number;
|
|
285
|
-
legs: WesternTrainLeg[];
|
|
286
|
-
};
|
|
287
|
-
export declare const WESTERN_TRAIN_CYCLE_MS: number;
|
|
424
|
+
export declare function westernTrainTimetable(stops?: readonly WesternTrainStop[], length?: number): WesternTrainTimetable;
|
|
288
425
|
export type WesternTrainState = {
|
|
289
426
|
train: number;
|
|
290
427
|
/** The nose's track coordinate, continuous, wrapped to [0, circuit). */
|
|
@@ -297,36 +434,44 @@ export type WesternTrainState = {
|
|
|
297
434
|
stopId: string | null;
|
|
298
435
|
/** While standing: ms until it leaves. */
|
|
299
436
|
msToDepart: number | null;
|
|
300
|
-
/** Ms until it next stands at the platform (0 while it is there). */
|
|
437
|
+
/** Ms until it next stands at the home platform (0 while it is there). */
|
|
301
438
|
msToPlatform: number;
|
|
302
439
|
/** Where in the cycle (ms), for the sounds' edge detection. */
|
|
303
440
|
cycleMs: number;
|
|
441
|
+
/** The stop it stands at or is running to, and ms until it stands there (0 while standing). */
|
|
442
|
+
nextStopId: string;
|
|
443
|
+
msToNextStop: number;
|
|
304
444
|
};
|
|
305
|
-
/** Where train `train` (0-based) is at server time `nowMs
|
|
306
|
-
export declare function westernTrainAt(nowMs: number, train?: number,
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
445
|
+
/** Where train `train` (0-based) is at server time `nowMs`, on a circuit (the server's by default). */
|
|
446
|
+
export declare function westernTrainAt(nowMs: number, train?: number, circuit?: WesternTrainCircuit): WesternTrainState;
|
|
447
|
+
/** Every train of a circuit at `nowMs`. */
|
|
448
|
+
export declare function westernTrainsAt(nowMs: number, circuit?: WesternTrainCircuit): WesternTrainState[];
|
|
449
|
+
/** The stop a train stands at, or the next running stop it reaches. */
|
|
450
|
+
export declare function westernNextStop(state: WesternTrainState, circuit?: WesternTrainCircuit): WesternTrainStop | null;
|
|
451
|
+
/** The running stop after this one (wrapping). */
|
|
452
|
+
export declare function westernStopAfter(stopId: string, circuit?: WesternTrainCircuit): WesternTrainStop | null;
|
|
453
|
+
/** A stop's name as said mid-sentence ("for the Western Entrance"). */
|
|
454
|
+
export declare function westernStopNamePhrase(stop: Pick<WesternTrainStop, 'name'>): string;
|
|
455
|
+
/**
|
|
456
|
+
* The closest two trains come on a circuit (tiles from one's nose to the tail ahead of it, along the line), sampled over
|
|
457
|
+
* a cycle; Infinity with one train. The line's own test wants at least 20.
|
|
458
|
+
*/
|
|
459
|
+
export declare function westernTrainMinGap(circuit?: WesternTrainCircuit, stepMs?: number): number;
|
|
460
|
+
/** The train standing at the home platform at `nowMs`, or null. */
|
|
461
|
+
export declare function westernTrainAtPlatform(nowMs: number, circuit?: WesternTrainCircuit): WesternTrainState | null;
|
|
312
462
|
/** Ms until the next train stands at the platform (0 if one is there). */
|
|
313
|
-
export declare function westernTrainNextArrivalMs(nowMs: number): number;
|
|
463
|
+
export declare function westernTrainNextArrivalMs(nowMs: number, circuit?: WesternTrainCircuit): number;
|
|
314
464
|
/** The refusal text for the step plates while no train can be boarded. */
|
|
315
|
-
export declare function westernTrainNoBoardingText(nowMs: number): string;
|
|
465
|
+
export declare function westernTrainNoBoardingText(nowMs: number, circuit?: WesternTrainCircuit): string;
|
|
316
466
|
/**
|
|
317
467
|
* The station's word on the next train (the station hub, 2026-10-10: the All Aboard board's click and the station
|
|
318
468
|
* master's "Next train?"): a train standing with its doors open, shut, or the next one due.
|
|
319
469
|
*/
|
|
320
|
-
export declare function westernStationNextTrainText(nowMs: number): string;
|
|
470
|
+
export declare function westernStationNextTrainText(nowMs: number, circuit?: WesternTrainCircuit): string;
|
|
321
471
|
/** What the All Aboard board says: the line's rules from the timetable, then the next train. */
|
|
322
|
-
export declare function westernStationNoticeText(nowMs: number): string;
|
|
472
|
+
export declare function westernStationNoticeText(nowMs: number, circuit?: WesternTrainCircuit): string;
|
|
323
473
|
/** Can the step plates be used at `nowMs` (a train standing, more than the shut time to go)? */
|
|
324
|
-
export declare function westernTrainDoorsOpen(nowMs: number): boolean;
|
|
325
|
-
/** The surface leg's x range the rake is drawn on (the mouth hides it to the west, the sea to the east). */
|
|
326
|
-
export declare const WESTERN_TRAIN_SURFACE_DRAW: {
|
|
327
|
-
readonly minX: 18;
|
|
328
|
-
readonly maxX: number;
|
|
329
|
-
};
|
|
474
|
+
export declare function westernTrainDoorsOpen(nowMs: number, circuit?: WesternTrainCircuit): boolean;
|
|
330
475
|
/** The platform tile in front of the nearest step plate to a docked x (where someone left on the docked rake is put). */
|
|
331
476
|
export declare function westernPlatformTileNear(x: number): {
|
|
332
477
|
x: number;
|
|
@@ -352,24 +497,26 @@ export type WesternStopStep = {
|
|
|
352
497
|
y: number;
|
|
353
498
|
};
|
|
354
499
|
};
|
|
355
|
-
export declare function westernStopSteps(stop: WesternTrainStop): WesternStopStep[];
|
|
356
|
-
/** Every running stop's own plates (not the home platform's). */
|
|
500
|
+
export declare function westernStopSteps(stop: WesternTrainStop, circuit?: Track): WesternStopStep[];
|
|
501
|
+
/** Every running stop's own plates (not the home platform's), on the server's circuit. */
|
|
357
502
|
export declare const WESTERN_STOP_STEPS: readonly WesternStopStep[];
|
|
358
|
-
export declare function westernStopStepAt(x: number, z: number): WesternStopStep | null;
|
|
359
|
-
export declare function westernStopStepById(id: string | undefined): WesternStopStep | null;
|
|
503
|
+
export declare function westernStopStepAt(x: number, z: number, circuit?: WesternTrainCircuit): WesternStopStep | null;
|
|
504
|
+
export declare function westernStopStepById(id: string | undefined, circuit?: WesternTrainCircuit): WesternStopStep | null;
|
|
360
505
|
/** The train standing at a stop (not the home platform) at `nowMs`, or null. */
|
|
361
|
-
export declare function westernTrainAtStop(nowMs: number, stopId: string): WesternTrainState | null;
|
|
506
|
+
export declare function westernTrainAtStop(nowMs: number, stopId: string, circuit?: WesternTrainCircuit): WesternTrainState | null;
|
|
362
507
|
/** The train at a stop with its doors open (more than the shut time to go), or null. */
|
|
363
|
-
export declare function westernStopDoorsOpen(nowMs: number, stopId: string): WesternTrainState | null;
|
|
508
|
+
export declare function westernStopDoorsOpen(nowMs: number, stopId: string, circuit?: WesternTrainCircuit): WesternTrainState | null;
|
|
364
509
|
/**
|
|
365
510
|
* Ms until the next train stands at a stop (0 while one stands there), from the timetable; Infinity for a stop that is
|
|
366
511
|
* not running. The station master's sum for the home platform is westernTrainNextArrivalMs.
|
|
367
512
|
*/
|
|
368
|
-
export declare function westernStopNextArrivalMs(nowMs: number, stopId: string,
|
|
369
|
-
cycleMs: number;
|
|
370
|
-
legs: WesternTrainLeg[];
|
|
371
|
-
}): number;
|
|
513
|
+
export declare function westernStopNextArrivalMs(nowMs: number, stopId: string, circuit?: WesternTrainCircuit): number;
|
|
372
514
|
/** Why a stop's plates refuse at `nowMs`. */
|
|
373
|
-
export declare function westernStopNoBoardingText(nowMs: number, stopId: string): string;
|
|
515
|
+
export declare function westernStopNoBoardingText(nowMs: number, stopId: string, circuit?: WesternTrainCircuit): string;
|
|
516
|
+
/**
|
|
517
|
+
* A stop of any known circuit whose closed pocket (a hall reached only by its train) holds this tile and which the given
|
|
518
|
+
* circuit does not run: someone saved there wakes at home (the stop was switched off, or the server runs an older circuit).
|
|
519
|
+
*/
|
|
520
|
+
export declare function westernClosedPocketAt(x: number, z: number, circuit?: WesternTrainCircuit, known?: readonly WesternTrainCircuit[]): WesternTrainStop | null;
|
|
374
521
|
export {};
|
|
375
522
|
//# sourceMappingURL=westernTrain.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"westernTrain.d.ts","sourceRoot":"","sources":["../src/westernTrain.ts"],"names":[],"mappings":"AAiDA,MAAM,MAAM,iBAAiB,GAAG,aAAa,GAAG,UAAU,GAAG,WAAW,GAAG,MAAM,CAAC;AAMlF,uGAAuG;AACvG,eAAO,MAAM,oBAAoB,QAA8B,CAAC;AAChE,4FAA4F;AAC5F,eAAO,MAAM,oBAAoB,QAA8D,CAAC;AAChG,6DAA6D;AAC7D,eAAO,MAAM,yBAAyB,QAAkD,CAAC;AACzF,gFAAgF;AAChF,eAAO,MAAM,yBAAyB,IAAI,CAAC;AAC3C,gHAAgH;AAChH,eAAO,MAAM,sBAAsB;;;;;CAKzB,CAAC;AACX,wBAAgB,qBAAqB,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,OAAO,CAGnE;AAED;;;;;GAKG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AACnF,eAAO,MAAM,mBAAmB,EAAE,SAAS,gBAAgB,EAgBvD,CAAC;AAEL,iGAAiG;AACjG,wBAAgB,oBAAoB,CAAC,EAAE,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAEpE;AAMD;;;;;;;;GAQG;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