@bendyline/molen-tooling 0.0.9 → 0.0.11

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.
Files changed (95) hide show
  1. package/dist/capture/harness.js +261 -240
  2. package/dist/capture/worldgen-preview.js +309 -309
  3. package/dist/cli.mjs +6 -5
  4. package/dist/docs-src/guide/3d-model-assets.md +13 -0
  5. package/dist/docs-src/guide/adaptive-performance.md +5 -2
  6. package/dist/docs-src/guide/aircraft.md +113 -40
  7. package/dist/docs-src/guide/ambient-life.md +100 -11
  8. package/dist/docs-src/guide/audio.md +1 -1
  9. package/dist/docs-src/guide/boats.md +99 -0
  10. package/dist/docs-src/guide/determinism.md +1 -1
  11. package/dist/docs-src/guide/dioramas.md +167 -0
  12. package/dist/docs-src/guide/earth-view.md +241 -3
  13. package/dist/docs-src/guide/entities.md +32 -1
  14. package/dist/docs-src/guide/figures.md +7 -1
  15. package/dist/docs-src/guide/graphics-performance.md +16 -3
  16. package/dist/docs-src/guide/medium-fi.md +15 -6
  17. package/dist/docs-src/guide/regional-world.md +387 -0
  18. package/dist/docs-src/guide/sky.md +3 -2
  19. package/dist/docs-src/guide/surface-rendering.md +4 -1
  20. package/dist/docs-src/guide/vehicle-interiors.md +40 -2
  21. package/dist/docs-src/guide/vehicles.md +121 -19
  22. package/dist/docs-src/guide/weather.md +45 -3
  23. package/dist/docs-src/guide/worldgen.md +15 -1
  24. package/dist/docs-src/llms.txt +7 -4
  25. package/dist/docs-src/schemas/README.md +3 -0
  26. package/dist/docs-src/schemas/archstyle.md +144 -0
  27. package/dist/docs-src/schemas/components.md +1589 -137
  28. package/dist/docs-src/schemas/ecology-atlas.md +236 -0
  29. package/dist/docs-src/schemas/region-atlas.md +6 -0
  30. package/dist/docs-src/schemas/regional-catalog.md +1436 -0
  31. package/dist/docs-src/schemas/scatter.md +110 -4
  32. package/dist/docs-src/schemas/scene.md +6 -3
  33. package/dist/docs-src/schemas/terrain-package.md +41 -0
  34. package/dist/docs-src/schemas/transport-network.md +4 -2
  35. package/dist/docs-src/schemas/wildlife-ranges.md +251 -0
  36. package/dist/docs-src/schemas/worldgen-batch.md +21 -0
  37. package/dist/index.mjs +1 -1
  38. package/dist/{mcp-BbHk4ibu.mjs → mcp-BbxqqnD1.mjs} +3 -2
  39. package/dist/{ops-CErtZh2t.mjs → ops-b4Pag8U-.mjs} +7 -5
  40. package/dist/templates/city-courier/README.md +18 -0
  41. package/dist/templates/city-courier/gen/molen-types.ts +217 -15
  42. package/dist/templates/city-courier/index.html +1 -1
  43. package/dist/templates/city-courier/scripts/molen-scripts.d.ts +219 -17
  44. package/dist/templates/city-courier/src/audio.ts +26 -4
  45. package/dist/templates/city-courier/src/game-shell.css +7 -3
  46. package/dist/templates/city-courier/src/main.ts +25 -3
  47. package/dist/templates/city-courier/src/shared/accessibility.css +325 -0
  48. package/dist/templates/city-courier/src/shared/game-controls.ts +406 -0
  49. package/dist/templates/city-courier/src/shared/game-descriptions.ts +143 -0
  50. package/dist/templates/city-courier/src/shared/playback.ts +146 -0
  51. package/dist/templates/city-courier/src/worker.ts +5 -1
  52. package/dist/templates/cubes/index.html +6 -1
  53. package/dist/templates/cubes/src/main.ts +25 -2
  54. package/dist/templates/cubes/src/shared/accessibility.css +325 -0
  55. package/dist/templates/cubes/src/shared/playback.ts +146 -0
  56. package/dist/templates/cubes/src/vite-env.d.ts +1 -0
  57. package/dist/templates/cubes/src/worker.ts +1 -0
  58. package/dist/templates/data-viz/README.md +4 -0
  59. package/dist/templates/data-viz/index.html +6 -1
  60. package/dist/templates/data-viz/src/main.ts +53 -11
  61. package/dist/templates/data-viz/src/shared/accessibility.css +325 -0
  62. package/dist/templates/data-viz/src/shared/playback.ts +146 -0
  63. package/dist/templates/data-viz/src/vite-env.d.ts +1 -0
  64. package/dist/templates/data-viz/src/worker.ts +1 -0
  65. package/dist/templates/figures-gallery/index.html +6 -1
  66. package/dist/templates/figures-gallery/src/main.ts +21 -2
  67. package/dist/templates/figures-gallery/src/shared/accessibility.css +325 -0
  68. package/dist/templates/figures-gallery/src/shared/playback.ts +146 -0
  69. package/dist/templates/figures-gallery/src/vite-env.d.ts +1 -0
  70. package/dist/templates/figures-gallery/src/worker.ts +1 -0
  71. package/dist/templates/index.json +36 -16
  72. package/dist/templates/skybound/README.md +18 -0
  73. package/dist/templates/skybound/gen/molen-types.ts +217 -15
  74. package/dist/templates/skybound/index.html +1 -1
  75. package/dist/templates/skybound/scripts/molen-scripts.d.ts +219 -17
  76. package/dist/templates/skybound/src/audio.ts +26 -4
  77. package/dist/templates/skybound/src/game-shell.css +7 -3
  78. package/dist/templates/skybound/src/main.ts +25 -3
  79. package/dist/templates/skybound/src/shared/accessibility.css +325 -0
  80. package/dist/templates/skybound/src/shared/game-controls.ts +406 -0
  81. package/dist/templates/skybound/src/shared/game-descriptions.ts +143 -0
  82. package/dist/templates/skybound/src/shared/playback.ts +146 -0
  83. package/dist/templates/skybound/src/worker.ts +1 -1
  84. package/dist/templates/terrain-flyover/README.md +5 -1
  85. package/dist/templates/terrain-flyover/index.html +4 -1
  86. package/dist/templates/terrain-flyover/src/main.ts +40 -39
  87. package/dist/templates/top-down-arena/index.html +6 -1
  88. package/dist/templates/top-down-arena/scripts/molen-scripts.d.ts +219 -17
  89. package/dist/templates/top-down-arena/src/audio.ts +26 -4
  90. package/dist/templates/top-down-arena/src/gen/molen-types.ts +217 -15
  91. package/dist/templates/top-down-arena/src/main.ts +31 -5
  92. package/dist/templates/top-down-arena/src/shared/accessibility.css +325 -0
  93. package/dist/templates/top-down-arena/src/shared/playback.ts +146 -0
  94. package/dist/templates/top-down-arena/src/worker.ts +1 -1
  95. package/package.json +12 -12
@@ -291,6 +291,73 @@ Label-keyed deterministic prop placement (density, clustering, slope and clearan
291
291
  "minimum": 0,
292
292
  "description": "Minimum spacing hint in meters."
293
293
  },
294
+ "rows": {
295
+ "type": "object",
296
+ "properties": {
297
+ "headland": {
298
+ "type": "number",
299
+ "minimum": 0,
300
+ "maximum": 30
301
+ },
302
+ "spacing": {
303
+ "type": "number",
304
+ "minimum": 0.5,
305
+ "maximum": 100,
306
+ "description": "Distance between cultivation rows, meters."
307
+ },
308
+ "interval": {
309
+ "type": "number",
310
+ "minimum": 0.5,
311
+ "maximum": 100,
312
+ "description": "Distance between plants along a row, meters."
313
+ },
314
+ "angle": {
315
+ "default": 0,
316
+ "type": "number",
317
+ "minimum": 0,
318
+ "maximum": 180,
319
+ "description": "Grid rotation in degrees from world X."
320
+ },
321
+ "jitter": {
322
+ "default": 0.04,
323
+ "type": "number",
324
+ "minimum": 0,
325
+ "maximum": 0.2,
326
+ "description": "Fractional cell jitter; 0 gives exact rows."
327
+ }
328
+ },
329
+ "required": [
330
+ "spacing",
331
+ "interval"
332
+ ],
333
+ "additionalProperties": false,
334
+ "description": "Optional world-anchored cultivation grid. Density may thin it, but cannot overfill it."
335
+ },
336
+ "nearWater": {
337
+ "type": "object",
338
+ "properties": {
339
+ "maxDistance": {
340
+ "type": "number",
341
+ "exclusiveMinimum": 0,
342
+ "maximum": 500,
343
+ "description": "Maximum horizontal distance from mapped water edges, meters."
344
+ },
345
+ "classes": {
346
+ "minItems": 1,
347
+ "type": "array",
348
+ "items": {
349
+ "type": "string",
350
+ "minLength": 1
351
+ },
352
+ "description": "Optional water labels; omitted accepts any mapped water."
353
+ }
354
+ },
355
+ "required": [
356
+ "maxDistance"
357
+ ],
358
+ "additionalProperties": false,
359
+ "description": "Require mapped water nearby, at the exclusion raster resolution. Water itself remains excluded."
360
+ },
294
361
  "clustering": {
295
362
  "type": "object",
296
363
  "properties": {
@@ -318,6 +385,17 @@ Label-keyed deterministic prop placement (density, clustering, slope and clearan
318
385
  "minimum": -9007199254740991,
319
386
  "maximum": 9007199254740991,
320
387
  "description": "Decorrelates rules sharing a class."
388
+ },
389
+ "sharedSeed": {
390
+ "type": "integer",
391
+ "minimum": -9007199254740991,
392
+ "maximum": 9007199254740991,
393
+ "description": "Shared density field across layers; does not change placement seeds."
394
+ },
395
+ "detailScale": {
396
+ "type": "number",
397
+ "exclusiveMinimum": 0,
398
+ "description": "Wavelength of smaller clumps inside density patches, meters."
321
399
  }
322
400
  },
323
401
  "required": [
@@ -331,9 +409,11 @@ Label-keyed deterministic prop placement (density, clustering, slope and clearan
331
409
  "type": "string",
332
410
  "enum": [
333
411
  "canopy",
334
- "groundcover"
412
+ "understory",
413
+ "groundcover",
414
+ "agriculture"
335
415
  ],
336
- "description": "Budget pool: canopy (trees, shrubs, rocks) shares the batch instance and model caps; groundcover (knee-high near detail such as tussocks and ferns) has its own, so it never thins the canopy."
416
+ "description": "Budget pool: canopy uses the batch instance and model caps; understory (shrubs and thickets) and groundcover (low patches) have independent caps and never thin canopy trees."
337
417
  },
338
418
  "slopeMax": {
339
419
  "type": "number",
@@ -391,6 +471,31 @@ Label-keyed deterministic prop placement (density, clustering, slope and clearan
391
471
  "maximum": 1000,
392
472
  "description": "Relative weight among sibling entries; 0 disables the entry."
393
473
  },
474
+ "variants": {
475
+ "minItems": 1,
476
+ "maxItems": 16,
477
+ "type": "array",
478
+ "items": {
479
+ "type": "object",
480
+ "properties": {
481
+ "model": {
482
+ "type": "string",
483
+ "pattern": "^(builtin:[a-z][a-z0-9_.]*|[a-z][a-z0-9_]*(\\.[a-z][a-z0-9_]*)+)$"
484
+ },
485
+ "weight": {
486
+ "type": "number",
487
+ "exclusiveMinimum": 0,
488
+ "maximum": 1000
489
+ }
490
+ },
491
+ "required": [
492
+ "model",
493
+ "weight"
494
+ ],
495
+ "additionalProperties": false
496
+ },
497
+ "description": "Interchangeable model forms sampled independently of species. Unretained forms fall back to model under the model budget; all must share habitat and scale bounds."
498
+ },
394
499
  "scale": {
395
500
  "type": "object",
396
501
  "properties": {
@@ -432,9 +537,10 @@ Label-keyed deterministic prop placement (density, clustering, slope and clearan
432
537
  "type": "string",
433
538
  "enum": [
434
539
  "random",
435
- "none"
540
+ "none",
541
+ "rows"
436
542
  ],
437
- "description": "Random heading or fixed."
543
+ "description": "Random, fixed, or aligned with cultivation rows."
438
544
  },
439
545
  "align": {
440
546
  "default": "up",
@@ -1149,7 +1149,8 @@ Root document an experience boots from; instantiates into ECS state at tick 0.
1149
1149
  "car",
1150
1150
  "pedestrian",
1151
1151
  "train",
1152
- "aircraft"
1152
+ "aircraft",
1153
+ "boat"
1153
1154
  ]
1154
1155
  },
1155
1156
  "description": "Which NPC classes run (default ['car'])."
@@ -1162,7 +1163,8 @@ Root document an experience boots from; instantiates into ECS state at tick 0.
1162
1163
  "car",
1163
1164
  "pedestrian",
1164
1165
  "train",
1165
- "aircraft"
1166
+ "aircraft",
1167
+ "boat"
1166
1168
  ]
1167
1169
  },
1168
1170
  "additionalProperties": {
@@ -1197,7 +1199,8 @@ Root document an experience boots from; instantiates into ECS state at tick 0.
1197
1199
  "car",
1198
1200
  "pedestrian",
1199
1201
  "train",
1200
- "aircraft"
1202
+ "aircraft",
1203
+ "boat"
1201
1204
  ]
1202
1205
  },
1203
1206
  "additionalProperties": {
@@ -128,6 +128,47 @@ Installable tiled-world package: coordinate space, elevation, optional semantic
128
128
  "minLength": 1,
129
129
  "description": "Package name."
130
130
  },
131
+ "agriculture": {
132
+ "type": "object",
133
+ "properties": {
134
+ "urlTemplate": {
135
+ "type": "string",
136
+ "minLength": 1,
137
+ "description": "Versioned agricultural JSON tile URL, relative to this package or absolute; {z}/{x}/{y} placeholders."
138
+ },
139
+ "level": {
140
+ "type": "integer",
141
+ "minimum": 0,
142
+ "maximum": 20,
143
+ "description": "Single stored XYZ level; finer views use the corresponding parent grid."
144
+ },
145
+ "source": {
146
+ "type": "string",
147
+ "minLength": 1,
148
+ "description": "Pinned dataset identity, checked against every tile."
149
+ },
150
+ "year": {
151
+ "type": "integer",
152
+ "minimum": 1900,
153
+ "maximum": 2200,
154
+ "description": "Observation year, not the current growing season."
155
+ },
156
+ "maxTileBytes": {
157
+ "type": "integer",
158
+ "minimum": 1024,
159
+ "maximum": 1048576,
160
+ "description": "Uncompressed download bound; default 131072 bytes."
161
+ }
162
+ },
163
+ "required": [
164
+ "urlTemplate",
165
+ "level",
166
+ "source",
167
+ "year"
168
+ ],
169
+ "additionalProperties": false,
170
+ "description": "Optional global or regional agricultural retrieval dataset; missing tiles retain basemap/fallback crops. Include its license in attribution."
171
+ },
131
172
  "version": {
132
173
  "type": "string",
133
174
  "minLength": 1,
@@ -159,7 +159,8 @@ Roads, railways and paths ambient NPCs move on, for scenes without streamed map
159
159
  "road",
160
160
  "rail",
161
161
  "path",
162
- "air"
162
+ "air",
163
+ "water"
163
164
  ],
164
165
  "description": "What moves on it."
165
166
  },
@@ -258,7 +259,8 @@ Roads, railways and paths ambient NPCs move on, for scenes without streamed map
258
259
  "type": "string",
259
260
  "enum": [
260
261
  "rail",
261
- "bus"
262
+ "bus",
263
+ "ferry"
262
264
  ]
263
265
  },
264
266
  "dwell": {
@@ -0,0 +1,251 @@
1
+ # Wildlife country range limits (`molen/wildlife-ranges@1`)
2
+
3
+ Attributed coarse country membership for supported taxa. Combine with ecology and mapped habitat; not occurrence data.
4
+
5
+ ## Example
6
+
7
+ ```json
8
+ {
9
+ "format": "molen/wildlife-ranges@1",
10
+ "id": "example.ranges",
11
+ "version": 1,
12
+ "title": "Range example",
13
+ "cellDegrees": 10,
14
+ "countries": [],
15
+ "rows": [
16
+ [
17
+ 36,
18
+ 0
19
+ ],
20
+ [
21
+ 36,
22
+ 0
23
+ ],
24
+ [
25
+ 36,
26
+ 0
27
+ ],
28
+ [
29
+ 36,
30
+ 0
31
+ ],
32
+ [
33
+ 36,
34
+ 0
35
+ ],
36
+ [
37
+ 36,
38
+ 0
39
+ ],
40
+ [
41
+ 36,
42
+ 0
43
+ ],
44
+ [
45
+ 36,
46
+ 0
47
+ ],
48
+ [
49
+ 36,
50
+ 0
51
+ ],
52
+ [
53
+ 36,
54
+ 0
55
+ ],
56
+ [
57
+ 36,
58
+ 0
59
+ ],
60
+ [
61
+ 36,
62
+ 0
63
+ ],
64
+ [
65
+ 36,
66
+ 0
67
+ ],
68
+ [
69
+ 36,
70
+ 0
71
+ ],
72
+ [
73
+ 36,
74
+ 0
75
+ ],
76
+ [
77
+ 36,
78
+ 0
79
+ ],
80
+ [
81
+ 36,
82
+ 0
83
+ ],
84
+ [
85
+ 36,
86
+ 0
87
+ ]
88
+ ],
89
+ "taxa": [],
90
+ "sources": [
91
+ {
92
+ "title": "Example source",
93
+ "url": "https://example.com",
94
+ "license": "CC0-1.0",
95
+ "sha256": "sha256:0000000000000000000000000000000000000000000000000000000000000000",
96
+ "interpretation": "Example only."
97
+ }
98
+ ]
99
+ }
100
+ ```
101
+
102
+ ## JSON Schema
103
+
104
+ ```json
105
+ {
106
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
107
+ "type": "object",
108
+ "properties": {
109
+ "format": {
110
+ "type": "string",
111
+ "const": "molen/wildlife-ranges@1"
112
+ },
113
+ "id": {
114
+ "type": "string",
115
+ "minLength": 1
116
+ },
117
+ "version": {
118
+ "type": "integer",
119
+ "exclusiveMinimum": 0,
120
+ "maximum": 9007199254740991
121
+ },
122
+ "title": {
123
+ "type": "string",
124
+ "minLength": 1
125
+ },
126
+ "cellDegrees": {
127
+ "type": "number",
128
+ "minimum": 0.05,
129
+ "maximum": 10
130
+ },
131
+ "countries": {
132
+ "maxItems": 65534,
133
+ "type": "array",
134
+ "items": {
135
+ "type": "object",
136
+ "properties": {
137
+ "code": {
138
+ "type": "string",
139
+ "minLength": 2,
140
+ "maxLength": 3
141
+ },
142
+ "name": {
143
+ "type": "string",
144
+ "minLength": 1
145
+ }
146
+ },
147
+ "required": [
148
+ "code",
149
+ "name"
150
+ ],
151
+ "additionalProperties": false
152
+ }
153
+ },
154
+ "rows": {
155
+ "type": "array",
156
+ "items": {
157
+ "type": "array",
158
+ "items": {
159
+ "type": "integer",
160
+ "minimum": 0,
161
+ "maximum": 9007199254740991
162
+ }
163
+ }
164
+ },
165
+ "taxa": {
166
+ "type": "array",
167
+ "items": {
168
+ "type": "object",
169
+ "properties": {
170
+ "id": {
171
+ "type": "string",
172
+ "minLength": 1
173
+ },
174
+ "sourceId": {
175
+ "type": "string",
176
+ "minLength": 1
177
+ },
178
+ "name": {
179
+ "type": "string",
180
+ "minLength": 1
181
+ },
182
+ "countries": {
183
+ "type": "array",
184
+ "items": {
185
+ "type": "string",
186
+ "minLength": 2,
187
+ "maxLength": 3
188
+ }
189
+ }
190
+ },
191
+ "required": [
192
+ "id",
193
+ "sourceId",
194
+ "name",
195
+ "countries"
196
+ ],
197
+ "additionalProperties": false
198
+ }
199
+ },
200
+ "sources": {
201
+ "minItems": 1,
202
+ "type": "array",
203
+ "items": {
204
+ "type": "object",
205
+ "properties": {
206
+ "title": {
207
+ "type": "string",
208
+ "minLength": 1
209
+ },
210
+ "url": {
211
+ "type": "string",
212
+ "format": "uri"
213
+ },
214
+ "license": {
215
+ "type": "string",
216
+ "minLength": 1
217
+ },
218
+ "sha256": {
219
+ "type": "string",
220
+ "pattern": "^sha256:[a-f0-9]{64}$"
221
+ },
222
+ "interpretation": {
223
+ "type": "string",
224
+ "minLength": 1
225
+ }
226
+ },
227
+ "required": [
228
+ "title",
229
+ "url",
230
+ "license",
231
+ "sha256",
232
+ "interpretation"
233
+ ],
234
+ "additionalProperties": false
235
+ }
236
+ }
237
+ },
238
+ "required": [
239
+ "format",
240
+ "id",
241
+ "version",
242
+ "title",
243
+ "cellDegrees",
244
+ "countries",
245
+ "rows",
246
+ "taxa",
247
+ "sources"
248
+ ],
249
+ "additionalProperties": false
250
+ }
251
+ ```
@@ -408,6 +408,23 @@ A serialized generation request: labeled building outlines, optional labeled pol
408
408
  },
409
409
  "description": "Open ring of [x, z] points (no repeated closing point)."
410
410
  },
411
+ "holes": {
412
+ "type": "array",
413
+ "items": {
414
+ "minItems": 3,
415
+ "type": "array",
416
+ "items": {
417
+ "minItems": 2,
418
+ "maxItems": 2,
419
+ "type": "array",
420
+ "items": {
421
+ "type": "number"
422
+ },
423
+ "description": "[x, z] in local meters."
424
+ },
425
+ "description": "Open ring of [x, z] points (no repeated closing point)."
426
+ }
427
+ },
411
428
  "polyline": {
412
429
  "minItems": 2,
413
430
  "type": "array",
@@ -421,6 +438,10 @@ A serialized generation request: labeled building outlines, optional labeled pol
421
438
  "description": "[x, z] in local meters."
422
439
  }
423
440
  },
441
+ "label": {
442
+ "type": "string",
443
+ "minLength": 1
444
+ },
424
445
  "width": {
425
446
  "type": "number",
426
447
  "minimum": 0,
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { A as inspectContentPack, B as searchDocs, C as checkTypesOp, D as buildContentPack, E as reserveNamespace, G as schemaToTsType, H as describeOps, L as exportFrames, N as generateTypes, O as extractContentPack, P as renderTypesModule, R as driveScene, S as rasterizeMaterial, T as projectInfo, U as formatOp, V as OPS_CATALOG, W as checkScripts, X as stageAssets, Y as ASSET_INDEX_FILE, Z as screenshotAsset, a as lineupBatchDoc, at as findProjectFile, b as diffSnapshots, c as validateAsset, ct as loadSetupLike, d as runSimulation, dt as playExperience, et as packAsset, f as screenshotScene, ft as registerExperiencePlaySchema, g as listSchemasOp, h as listComponentsOp, i as bakeWorldgen, it as importAsset, j as verifyContentPack, k as fetchContentPack, l as applyUvPaintOp, lt as updateProjectFile, m as getSchemaOp, n as worldgenStats, nt as listAssets, o as loadStylePackFromDisk, ot as loadProject, p as getComponentOp, r as previewWorldgen, rt as assetFileIndex, s as simWatch, st as loadSceneDocument, tt as inspectAsset, u as testTypes, ut as parseExperiencePlayScenario, v as scaffoldExperience, w as listTypes, x as runReplayFile, y as listTemplates, z as locateDocsRoot } from "./ops-CErtZh2t.mjs";
1
+ import { A as inspectContentPack, B as searchDocs, C as checkTypesOp, D as buildContentPack, E as reserveNamespace, G as schemaToTsType, H as describeOps, L as exportFrames, N as generateTypes, O as extractContentPack, P as renderTypesModule, R as driveScene, S as rasterizeMaterial, T as projectInfo, U as formatOp, V as OPS_CATALOG, W as checkScripts, X as stageAssets, Y as ASSET_INDEX_FILE, Z as screenshotAsset, a as lineupBatchDoc, at as findProjectFile, b as diffSnapshots, c as validateAsset, ct as loadSetupLike, d as runSimulation, dt as playExperience, et as packAsset, f as screenshotScene, ft as registerExperiencePlaySchema, g as listSchemasOp, h as listComponentsOp, i as bakeWorldgen, it as importAsset, j as verifyContentPack, k as fetchContentPack, l as applyUvPaintOp, lt as updateProjectFile, m as getSchemaOp, n as worldgenStats, nt as listAssets, o as loadStylePackFromDisk, ot as loadProject, p as getComponentOp, r as previewWorldgen, rt as assetFileIndex, s as simWatch, st as loadSceneDocument, tt as inspectAsset, u as testTypes, ut as parseExperiencePlayScenario, v as scaffoldExperience, w as listTypes, x as runReplayFile, y as listTemplates, z as locateDocsRoot } from "./ops-b4Pag8U-.mjs";
2
2
  import { access, copyFile, mkdir, readFile, writeFile } from "node:fs/promises";
3
3
  import { PNG } from "pngjs";
4
4
  import { dirname } from "node:path";
@@ -1,4 +1,4 @@
1
- import { $ as formatPacked, A as inspectContentPack, B as searchDocs, C as checkTypesOp, D as buildContentPack, E as reserveNamespace, F as previewFigure, H as describeOps, I as listFigurePresets, J as checkSoundbank, K as planAudio, L as exportFrames, M as bakeNetwork, N as generateTypes, O as extractContentPack, R as driveScene, S as rasterizeMaterial, T as projectInfo, U as formatOp, W as checkScripts, X as stageAssets, Z as screenshotAsset, _ as loadComponentRegistry, b as diffSnapshots, c as validateAsset, d as runSimulation, dt as playExperience, et as packAsset, f as screenshotScene, g as listSchemasOp, h as listComponentsOp, i as bakeWorldgen, it as importAsset, j as verifyContentPack, k as fetchContentPack, l as applyUvPaintOp, m as getSchemaOp, n as worldgenStats, nt as listAssets, p as getComponentOp, q as importSound, r as previewWorldgen, tt as inspectAsset, u as testTypes, v as scaffoldExperience, w as listTypes, x as runReplayFile, y as listTemplates } from "./ops-CErtZh2t.mjs";
1
+ import { $ as formatPacked, A as inspectContentPack, B as searchDocs, C as checkTypesOp, D as buildContentPack, E as reserveNamespace, F as previewFigure, H as describeOps, I as listFigurePresets, J as checkSoundbank, K as planAudio, L as exportFrames, M as bakeNetwork, N as generateTypes, O as extractContentPack, R as driveScene, S as rasterizeMaterial, T as projectInfo, U as formatOp, W as checkScripts, X as stageAssets, Z as screenshotAsset, _ as loadComponentRegistry, b as diffSnapshots, c as validateAsset, d as runSimulation, dt as playExperience, et as packAsset, f as screenshotScene, g as listSchemasOp, h as listComponentsOp, i as bakeWorldgen, it as importAsset, j as verifyContentPack, k as fetchContentPack, l as applyUvPaintOp, m as getSchemaOp, n as worldgenStats, nt as listAssets, p as getComponentOp, q as importSound, r as previewWorldgen, tt as inspectAsset, u as testTypes, v as scaffoldExperience, w as listTypes, x as runReplayFile, y as listTemplates } from "./ops-b4Pag8U-.mjs";
2
2
  import { mkdtemp, readFile, rm } from "node:fs/promises";
3
3
  import { join } from "node:path";
4
4
  import { z } from "zod";
@@ -480,7 +480,8 @@ function createMcpServer() {
480
480
  classes: z.array(z.enum([
481
481
  "road",
482
482
  "rail",
483
- "path"
483
+ "path",
484
+ "water"
484
485
  ])).optional(),
485
486
  outPath: z.string(),
486
487
  heights: z.boolean().optional()
@@ -4212,15 +4212,15 @@ const OPS_CATALOG = [
4212
4212
  },
4213
4213
  {
4214
4214
  name: "network_bake",
4215
- summary: "Bake the roads, railways and paths of a local terrain package into a molen/transport-network@1 document for ambient traffic in scenes without map tiles.",
4216
- cli: "molen network bake <terrain-package.json> (--tile z/x/y [--radius n] | --bbox w,s,e,n) --out network.json [--classes road,rail,path] [--heights] [--json]",
4215
+ summary: "Bake the roads, railways, paths and ferry routes of a local terrain package into a molen/transport-network@1 document for ambient traffic in scenes without map tiles.",
4216
+ cli: "molen network bake <terrain-package.json> (--tile z/x/y [--radius n] | --bbox w,s,e,n) --out network.json [--classes road,rail,path,water] [--heights] [--json]",
4217
4217
  mcpTool: "network_bake",
4218
4218
  params: [
4219
4219
  p("packagePath", "string", true, "terrain-package.json path (local PMTiles archives)."),
4220
4220
  p("tile", "string", false, "Centre tile \"z/x/y\" at the finest features level."),
4221
4221
  p("radius", "number", false, "Tiles around the centre tile to include (default 0)."),
4222
4222
  p("bbox", "number[4]", false, "Area [west, south, east, north] in degrees, instead of tile."),
4223
- p("classes", "string[]", false, "Classes to keep: 'road', 'rail', 'path' (default all)."),
4223
+ p("classes", "string[]", false, "Classes to keep: 'road', 'rail', 'path', 'water' (default all)."),
4224
4224
  p("outPath", "string", true, "Write the transport-network document here."),
4225
4225
  p("heights", "boolean", false, "Include surface heights from the elevation (default flat).")
4226
4226
  ]
@@ -5308,12 +5308,14 @@ async function bakeNetworkImpl(input) {
5308
5308
  const classes = new Set(input.classes ?? [
5309
5309
  "road",
5310
5310
  "rail",
5311
- "path"
5311
+ "path",
5312
+ "water"
5312
5313
  ]);
5313
5314
  const network = new TransportNetwork({ classes: [
5314
5315
  ...classes.has("road") ? ["road"] : [],
5315
5316
  ...classes.has("rail") ? ["rail"] : [],
5316
- ...classes.has("path") ? ["walk"] : []
5317
+ ...classes.has("path") ? ["walk"] : [],
5318
+ ...classes.has("water") ? ["water"] : []
5317
5319
  ] });
5318
5320
  let loaded = 0;
5319
5321
  for (const [i, address] of addresses.entries()) {
@@ -18,6 +18,24 @@ npm run dev
18
18
 
19
19
  W/S or Up/Down: accelerate and reverse. A/D or Left/Right: steer. Space: handbrake. R: restart.
20
20
 
21
+ ## Accessible play
22
+
23
+ The game offers **Pause animation**, **Touch controls**, and **Text play** beside the HUD.
24
+ Touch buttons support simultaneous holds (move while jumping, steering, or striking); releasing,
25
+ cancelling, hiding the page, or pausing releases every held action. Touch controls appear by default
26
+ on devices with a coarse pointer and can also be enabled manually.
27
+
28
+ Reduced-motion preferences start the game paused. Pausing stops the simulation, camera, rendering,
29
+ and audio; returning from a hidden page requires an explicit resume. The world also waits for its
30
+ initial snapshot and assets before play starts.
31
+
32
+ **Text play** (or `?text=1`) describes the actual world: position, objectives, nearby hazards and
33
+ resources. Named buttons advance short turns, then pause so reading takes no game time. Precise
34
+ actions use two ticks, including the release tick. Keyboard and assistive activation work on the
35
+ same buttons. The dungeon additionally offers compass and target-facing controls. Visual play can
36
+ be resumed from the same state. These controls change input and pacing; the game's collisions,
37
+ combat, collectibles, time limit and win conditions remain in its scene scripts.
38
+
21
39
  ## Authoring map
22
40
 
23
41
  - `scene.json`: validated prefabs, level entities, component schemas, command payloads, input bindings, camera, physics, and gameplay configuration.