@bendyline/molen-tooling 0.0.3 → 0.0.5

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 (50) hide show
  1. package/README.md +4 -4
  2. package/dist/capture/harness.js +231 -231
  3. package/dist/capture/worldgen-preview.js +206 -206
  4. package/dist/cli.mjs +54 -2
  5. package/dist/docs-src/guide/adaptive-performance.md +5 -2
  6. package/dist/docs-src/guide/aircraft.md +12 -0
  7. package/dist/docs-src/guide/ambient-life.md +389 -0
  8. package/dist/docs-src/guide/browser-mount.md +5 -0
  9. package/dist/docs-src/guide/capability-authoring.md +5 -0
  10. package/dist/docs-src/guide/determinism.md +24 -16
  11. package/dist/docs-src/guide/earth-view.md +108 -20
  12. package/dist/docs-src/guide/entities.md +8 -0
  13. package/dist/docs-src/guide/examples.md +4 -1
  14. package/dist/docs-src/guide/figures.md +3 -0
  15. package/dist/docs-src/guide/game-samples.md +1 -1
  16. package/dist/docs-src/guide/markers.md +7 -1
  17. package/dist/docs-src/guide/navigation.md +10 -1
  18. package/dist/docs-src/guide/sky.md +5 -0
  19. package/dist/docs-src/guide/surface-rendering.md +7 -4
  20. package/dist/docs-src/guide/terrain.md +58 -3
  21. package/dist/docs-src/guide/vehicles.md +14 -1
  22. package/dist/docs-src/guide/worldgen.md +30 -17
  23. package/dist/docs-src/llms.txt +7 -4
  24. package/dist/docs-src/schemas/README.md +1 -0
  25. package/dist/docs-src/schemas/components.md +530 -1
  26. package/dist/docs-src/schemas/scene.md +105 -0
  27. package/dist/docs-src/schemas/terrain-package.md +102 -0
  28. package/dist/docs-src/schemas/transport-network.md +351 -0
  29. package/dist/index.d.mts +44 -1
  30. package/dist/index.mjs +81 -4
  31. package/dist/{mcp-BTVwVKFb.mjs → mcp-DKm1h9hD.mjs} +22 -1
  32. package/dist/{ops-BPdHodFR.mjs → ops-DHyZWZUE.mjs} +291 -66
  33. package/dist/templates/city-courier/README.md +1 -1
  34. package/dist/templates/city-courier/delivery-run.replay.json +151 -151
  35. package/dist/templates/city-courier/gen/molen-types.ts +82 -2
  36. package/dist/templates/city-courier/package.json +1 -0
  37. package/dist/templates/city-courier/scene.json +99 -282
  38. package/dist/templates/city-courier/scripts/game.ts +2 -14
  39. package/dist/templates/city-courier/scripts/molen-scripts.d.ts +86 -13
  40. package/dist/templates/city-courier/src/worker.ts +3 -1
  41. package/dist/templates/city-courier/test/headless.test.ts +3 -2
  42. package/dist/templates/data-viz/README.md +1 -1
  43. package/dist/templates/index.json +19 -1
  44. package/dist/templates/skybound/gen/molen-types.ts +82 -2
  45. package/dist/templates/skybound/scripts/molen-scripts.d.ts +81 -1
  46. package/dist/templates/terrain-flyover/README.md +2 -2
  47. package/dist/templates/top-down-arena/README.md +1 -1
  48. package/dist/templates/top-down-arena/scripts/molen-scripts.d.ts +81 -1
  49. package/dist/templates/top-down-arena/src/gen/molen-types.ts +82 -2
  50. package/package.json +13 -12
@@ -37,6 +37,10 @@ with `registerComponent(name, zodSchema, meta)` from `@bendyline/molen-schema`.
37
37
  | `aircraft` | kernel/aircraft | External airplane/helicopter instance. Y up, Z forward; landing-contact origin. |
38
38
  | `aircraftInput` | kernel/aircraft | Pilot flight controls. Power is retained when input keys are released. |
39
39
  | `aircraftState` | kernel/aircraft | Deterministic flight state, including rotor phase and engine spool, preserved by keyframes. |
40
+ | `ambientAgent` | ambient | Kernel-owned state of an ambient NPC (car, pedestrian, train car or aircraft): its lane, position along it, speed and routing. Read it; the ambient systems write it. |
41
+ | `ambientObserver` | ambient | Marks the entity ambient NPCs spawn around (usually the player or camera rig), with optional radius and density overrides. |
42
+ | `ambientRole` | ambient | On an entity type: makes it an ambient NPC candidate (car, bus, rail car or aircraft) with dimensions, speeds and spawn weight. |
43
+ | `ambientState` | ambient | Kernel-owned ambient bookkeeping on the `$ambient` entity: observer, spawn sequence and policy overrides. |
40
44
  | `audioEnvironment` | audio | Singleton soundscape rules: bus gains, ambience layers gated on weather/sky/listener signals, music playlist, event → sound mappings and listener footsteps. |
41
45
  | `audioSource` | audio | Sound emitter on an entity: a sound-bank id, loop/autoplay, gain and pitch driven by signals (vehicleState.speed, listener.distance…), and one-shot triggers. Positional when the entity has a transform. Render-side only; see guide/audio.md. |
42
46
  | `audioZone` | audio | Area ambience: a looping sound that fades in as the listener enters a sphere or box around the entity (a waterfall, a machine room, a market). |
@@ -79,6 +83,530 @@ with `registerComponent(name, zodSchema, meta)` from `@bendyline/molen-schema`.
79
83
  | `weather` | | Singleton physical atmosphere and visual weather: temperature, pressure, humidity, wind, independent cloud cover, precipitation and visibility. Readable by scripts and physics; see guide/weather.md. |
80
84
  | `worldgenBuilding` | worldgen | A building generated at runtime from an outline in the entity frame, styled by a molen/archstyle@1 in the loaded pack; rendered by the worldgen client entity layer. |
81
85
 
86
+ ## Owner: ambient
87
+
88
+ ### `ambientAgent`
89
+
90
+ Kernel-owned state of an ambient NPC (car, pedestrian, train car or aircraft): its lane, position along it, speed and routing. Read it; the ambient systems write it.
91
+
92
+ Required: `kind`, `type`, `lane`, `s`, `speed`, `seed`, `length`, `width`, `state`, `since`, `hops`, `spawnedTick`
93
+
94
+ ```json
95
+ {
96
+ "kind": "car",
97
+ "type": "molen.entities.vehicle.sedan",
98
+ "color": "#4d76b8",
99
+ "lane": "15/5245/11443#k3j9x2>f0",
100
+ "s": 42.5,
101
+ "speed": 11.2,
102
+ "seed": 1964432,
103
+ "length": 4.65,
104
+ "width": 1.82,
105
+ "state": "move",
106
+ "since": 1200,
107
+ "hops": 3,
108
+ "spawnedTick": 1180
109
+ }
110
+ ```
111
+
112
+ <details>
113
+ <summary>JSON Schema</summary>
114
+
115
+ ```json
116
+ {
117
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
118
+ "type": "object",
119
+ "properties": {
120
+ "kind": {
121
+ "type": "string",
122
+ "enum": [
123
+ "car",
124
+ "pedestrian",
125
+ "train",
126
+ "aircraft"
127
+ ],
128
+ "description": "Agent class."
129
+ },
130
+ "type": {
131
+ "type": "string",
132
+ "description": "Content type id (e.g. molen.entities.vehicle.sedan), figure preset, or \"proxy\"."
133
+ },
134
+ "color": {
135
+ "type": "string",
136
+ "description": "Body colour (#rrggbb)."
137
+ },
138
+ "lane": {
139
+ "type": "string",
140
+ "description": "Lane id the agent is on (\"\" for aircraft)."
141
+ },
142
+ "s": {
143
+ "type": "number",
144
+ "description": "Metres along the lane; negative while on the connector into it."
145
+ },
146
+ "speed": {
147
+ "type": "number",
148
+ "minimum": 0,
149
+ "description": "Speed along the lane in m/s."
150
+ },
151
+ "prev": {
152
+ "type": "string",
153
+ "description": "Previous lane (its connector leads onto `lane`)."
154
+ },
155
+ "next": {
156
+ "type": "string",
157
+ "description": "Chosen next lane."
158
+ },
159
+ "seed": {
160
+ "type": "integer",
161
+ "minimum": 0,
162
+ "maximum": 9007199254740991,
163
+ "description": "Per-agent seed for every random choice it makes."
164
+ },
165
+ "length": {
166
+ "type": "number",
167
+ "exclusiveMinimum": 0,
168
+ "description": "Body length in metres."
169
+ },
170
+ "width": {
171
+ "type": "number",
172
+ "exclusiveMinimum": 0,
173
+ "description": "Body width in metres."
174
+ },
175
+ "state": {
176
+ "type": "string",
177
+ "enum": [
178
+ "move",
179
+ "wait",
180
+ "dwell",
181
+ "idle"
182
+ ],
183
+ "description": "Moving, waiting (queue, signal, crossing), dwelling at a stop, or idling."
184
+ },
185
+ "since": {
186
+ "type": "integer",
187
+ "minimum": 0,
188
+ "maximum": 9007199254740991,
189
+ "description": "Tick the current state began."
190
+ },
191
+ "hops": {
192
+ "type": "integer",
193
+ "minimum": 0,
194
+ "maximum": 9007199254740991,
195
+ "description": "Lane transitions so far (routing draw stream)."
196
+ },
197
+ "hidden": {
198
+ "type": "boolean",
199
+ "description": "Inside a tunnel: simulated but not drawn."
200
+ },
201
+ "consist": {
202
+ "type": "string",
203
+ "description": "Train cars: the lead agent of the consist."
204
+ },
205
+ "carIndex": {
206
+ "type": "integer",
207
+ "exclusiveMinimum": 0,
208
+ "maximum": 9007199254740991,
209
+ "description": "Train cars: position behind the lead (1 = first)."
210
+ },
211
+ "trail": {
212
+ "type": "array",
213
+ "items": {
214
+ "type": "string"
215
+ },
216
+ "description": "Train leads: the lanes behind the lead, most recent first."
217
+ },
218
+ "served": {
219
+ "type": "string",
220
+ "description": "The last stop served (not stopped at again)."
221
+ },
222
+ "air": {
223
+ "type": "object",
224
+ "properties": {
225
+ "x": {
226
+ "type": "number",
227
+ "description": "Corridor start X."
228
+ },
229
+ "z": {
230
+ "type": "number",
231
+ "description": "Corridor start Z."
232
+ },
233
+ "dx": {
234
+ "type": "number",
235
+ "description": "Unit heading X."
236
+ },
237
+ "dz": {
238
+ "type": "number",
239
+ "description": "Unit heading Z."
240
+ },
241
+ "y0": {
242
+ "type": "number",
243
+ "description": "Altitude at the start."
244
+ },
245
+ "y1": {
246
+ "type": "number",
247
+ "description": "Altitude at the end."
248
+ },
249
+ "length": {
250
+ "type": "number",
251
+ "exclusiveMinimum": 0,
252
+ "description": "Corridor length in metres."
253
+ }
254
+ },
255
+ "required": [
256
+ "x",
257
+ "z",
258
+ "dx",
259
+ "dz",
260
+ "y0",
261
+ "y1",
262
+ "length"
263
+ ],
264
+ "additionalProperties": false,
265
+ "description": "Aircraft: the straight corridor flown (s runs along it)."
266
+ },
267
+ "spawnedTick": {
268
+ "type": "integer",
269
+ "minimum": 0,
270
+ "maximum": 9007199254740991,
271
+ "description": "Tick the agent appeared (clients fade it in)."
272
+ }
273
+ },
274
+ "required": [
275
+ "kind",
276
+ "type",
277
+ "lane",
278
+ "s",
279
+ "speed",
280
+ "seed",
281
+ "length",
282
+ "width",
283
+ "state",
284
+ "since",
285
+ "hops",
286
+ "spawnedTick"
287
+ ],
288
+ "additionalProperties": false
289
+ }
290
+ ```
291
+
292
+ </details>
293
+
294
+ ### `ambientObserver`
295
+
296
+ Marks the entity ambient NPCs spawn around (usually the player or camera rig), with optional radius and density overrides.
297
+
298
+ Required: none
299
+
300
+ ```json
301
+ {}
302
+ ```
303
+
304
+ <details>
305
+ <summary>JSON Schema</summary>
306
+
307
+ ```json
308
+ {
309
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
310
+ "type": "object",
311
+ "properties": {
312
+ "radius": {
313
+ "type": "number",
314
+ "exclusiveMinimum": 0,
315
+ "description": "Override the car spawn radius in metres."
316
+ },
317
+ "despawnRadius": {
318
+ "type": "number",
319
+ "exclusiveMinimum": 0,
320
+ "description": "Override the car despawn radius in metres."
321
+ },
322
+ "density": {
323
+ "type": "number",
324
+ "minimum": 0,
325
+ "description": "Scale every class density (1 = default)."
326
+ }
327
+ },
328
+ "additionalProperties": false
329
+ }
330
+ ```
331
+
332
+ </details>
333
+
334
+ ### `ambientRole`
335
+
336
+ On an entity type: makes it an ambient NPC candidate (car, bus, rail car or aircraft) with dimensions, speeds and spawn weight.
337
+
338
+ Required: `role`
339
+
340
+ ```json
341
+ {
342
+ "role": "car",
343
+ "cruise": 13,
344
+ "max": 25
345
+ }
346
+ ```
347
+
348
+ <details>
349
+ <summary>JSON Schema</summary>
350
+
351
+ ```json
352
+ {
353
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
354
+ "type": "object",
355
+ "properties": {
356
+ "role": {
357
+ "type": "string",
358
+ "enum": [
359
+ "car",
360
+ "bus",
361
+ "rail",
362
+ "aircraft"
363
+ ],
364
+ "description": "Which ambient pool the type joins (buses drive with cars)."
365
+ },
366
+ "length": {
367
+ "type": "number",
368
+ "exclusiveMinimum": 0,
369
+ "description": "Body length in metres (default from vehicle.spec)."
370
+ },
371
+ "width": {
372
+ "type": "number",
373
+ "exclusiveMinimum": 0,
374
+ "description": "Body width in metres (default from vehicle.spec)."
375
+ },
376
+ "height": {
377
+ "type": "number",
378
+ "exclusiveMinimum": 0,
379
+ "description": "Body height in metres (default from vehicle.spec)."
380
+ },
381
+ "cruise": {
382
+ "type": "number",
383
+ "exclusiveMinimum": 0,
384
+ "description": "Preferred cruise speed in m/s."
385
+ },
386
+ "max": {
387
+ "type": "number",
388
+ "exclusiveMinimum": 0,
389
+ "description": "Top speed in m/s."
390
+ },
391
+ "weight": {
392
+ "type": "number",
393
+ "minimum": 0,
394
+ "description": "Relative spawn weight within its pool (default 1)."
395
+ },
396
+ "cars": {
397
+ "type": "integer",
398
+ "exclusiveMinimum": 0,
399
+ "maximum": 9007199254740991,
400
+ "description": "Rail: cars per consist (default 2)."
401
+ },
402
+ "colors": {
403
+ "minItems": 1,
404
+ "type": "array",
405
+ "items": {
406
+ "type": "string"
407
+ },
408
+ "description": "Paint colours spawned agents pick from (#rrggbb)."
409
+ },
410
+ "visual": {
411
+ "type": "object",
412
+ "properties": {
413
+ "wheelNodes": {
414
+ "type": "array",
415
+ "items": {
416
+ "type": "string"
417
+ },
418
+ "description": "Wheel nodes (their first child spins)."
419
+ },
420
+ "frontWheelNodes": {
421
+ "type": "array",
422
+ "items": {
423
+ "type": "string"
424
+ },
425
+ "description": "Wheel nodes that steer."
426
+ },
427
+ "paintMaterial": {
428
+ "type": "string",
429
+ "description": "Material name tinted with the agent colour."
430
+ },
431
+ "wheelRadius": {
432
+ "type": "number",
433
+ "exclusiveMinimum": 0,
434
+ "description": "Wheel radius in metres."
435
+ },
436
+ "wheelbase": {
437
+ "type": "number",
438
+ "exclusiveMinimum": 0,
439
+ "description": "Axle spacing in metres."
440
+ },
441
+ "rotors": {
442
+ "type": "array",
443
+ "items": {
444
+ "type": "string"
445
+ },
446
+ "description": "Aircraft: nodes spun about Z (fans, propellers)."
447
+ },
448
+ "gearNodes": {
449
+ "type": "array",
450
+ "items": {
451
+ "type": "string"
452
+ },
453
+ "description": "Aircraft: landing gear shown on approach."
454
+ }
455
+ },
456
+ "additionalProperties": false,
457
+ "description": "How the model animates when drawn in full near the camera (types without a vehicle component)."
458
+ }
459
+ },
460
+ "required": [
461
+ "role"
462
+ ],
463
+ "additionalProperties": false
464
+ }
465
+ ```
466
+
467
+ </details>
468
+
469
+ ### `ambientState`
470
+
471
+ Kernel-owned ambient bookkeeping on the `$ambient` entity: observer, spawn sequence and policy overrides.
472
+
473
+ Required: `nextSeq`, `spawned`, `despawned`
474
+
475
+ ```json
476
+ {
477
+ "nextSeq": 12,
478
+ "spawned": 12,
479
+ "despawned": 3,
480
+ "observer": {
481
+ "pos": [
482
+ 0,
483
+ 0,
484
+ 0
485
+ ],
486
+ "setAtTick": 0
487
+ }
488
+ }
489
+ ```
490
+
491
+ <details>
492
+ <summary>JSON Schema</summary>
493
+
494
+ ```json
495
+ {
496
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
497
+ "type": "object",
498
+ "properties": {
499
+ "observer": {
500
+ "type": "object",
501
+ "properties": {
502
+ "pos": {
503
+ "minItems": 3,
504
+ "maxItems": 3,
505
+ "type": "array",
506
+ "items": {
507
+ "type": "number"
508
+ },
509
+ "description": "Observer position."
510
+ },
511
+ "forward": {
512
+ "minItems": 2,
513
+ "maxItems": 2,
514
+ "type": "array",
515
+ "items": {
516
+ "type": "number"
517
+ },
518
+ "description": "Unit view direction [x, z]; spawns avoid the view cone near it."
519
+ },
520
+ "entity": {
521
+ "type": "string",
522
+ "description": "Entity whose transform is the observer."
523
+ },
524
+ "setAtTick": {
525
+ "type": "integer",
526
+ "minimum": 0,
527
+ "maximum": 9007199254740991,
528
+ "description": "Tick the observer was last set."
529
+ }
530
+ },
531
+ "required": [
532
+ "setAtTick"
533
+ ],
534
+ "additionalProperties": false,
535
+ "description": "Where agents spawn around."
536
+ },
537
+ "nextSeq": {
538
+ "type": "integer",
539
+ "minimum": 0,
540
+ "maximum": 9007199254740991,
541
+ "description": "Sequence number of the next spawned agent."
542
+ },
543
+ "spawned": {
544
+ "type": "integer",
545
+ "minimum": 0,
546
+ "maximum": 9007199254740991,
547
+ "description": "Agents spawned so far."
548
+ },
549
+ "despawned": {
550
+ "type": "integer",
551
+ "minimum": 0,
552
+ "maximum": 9007199254740991,
553
+ "description": "Agents removed so far."
554
+ },
555
+ "policy": {
556
+ "type": "object",
557
+ "propertyNames": {
558
+ "type": "string"
559
+ },
560
+ "additionalProperties": {
561
+ "$ref": "#/$defs/__schema0"
562
+ },
563
+ "description": "Policy overrides set by the ambient.policy command."
564
+ }
565
+ },
566
+ "required": [
567
+ "nextSeq",
568
+ "spawned",
569
+ "despawned"
570
+ ],
571
+ "additionalProperties": false,
572
+ "$defs": {
573
+ "__schema0": {
574
+ "anyOf": [
575
+ {
576
+ "type": "string"
577
+ },
578
+ {
579
+ "type": "number"
580
+ },
581
+ {
582
+ "type": "boolean"
583
+ },
584
+ {
585
+ "type": "null"
586
+ },
587
+ {
588
+ "type": "array",
589
+ "items": {
590
+ "$ref": "#/$defs/__schema0"
591
+ }
592
+ },
593
+ {
594
+ "type": "object",
595
+ "propertyNames": {
596
+ "type": "string"
597
+ },
598
+ "additionalProperties": {
599
+ "$ref": "#/$defs/__schema0"
600
+ }
601
+ }
602
+ ]
603
+ }
604
+ }
605
+ }
606
+ ```
607
+
608
+ </details>
609
+
82
610
  ## Owner: audio
83
611
 
84
612
  ### `audioEnvironment`
@@ -2015,9 +2543,10 @@ Required: `kind`, `ref`
2015
2543
  "enum": [
2016
2544
  "primitive",
2017
2545
  "gltf",
2546
+ "ambient-vehicle",
2018
2547
  "figure"
2019
2548
  ],
2020
- "description": "Render source: 'primitive' (built-in geometry named by ref), 'gltf' (an imported project asset), 'figure' (a procedural skinned figure body from the entity `figure` component)."
2549
+ "description": "Render source: 'primitive' (built-in geometry named by ref), 'gltf' (an imported project asset), 'ambient-vehicle' (an ambient NPC vehicle: an instanced proxy from its `ambientAgent` dimensions, or the content model named by `ref` near the camera), 'figure' (a procedural skinned figure body from the entity `figure` component)."
2021
2550
  },
2022
2551
  "ref": {
2023
2552
  "type": "string",
@@ -1108,6 +1108,111 @@ Root document an experience boots from; instantiates into ECS state at tick 0.
1108
1108
  ],
1109
1109
  "additionalProperties": false,
1110
1110
  "description": "Physics engine selection and settings."
1111
+ },
1112
+ "ambient": {
1113
+ "type": "object",
1114
+ "properties": {
1115
+ "network": {
1116
+ "anyOf": [
1117
+ {
1118
+ "type": "string",
1119
+ "minLength": 1,
1120
+ "pattern": "^(?![A-Za-z]:|[/\\\\])(?!.*\\\\)(?!.*(?:^|\\/)\\.\\.(?:\\/|$)).+$"
1121
+ },
1122
+ {
1123
+ "type": "object",
1124
+ "properties": {
1125
+ "format": {
1126
+ "type": "string",
1127
+ "const": "molen/transport-network@1",
1128
+ "description": "Format envelope; always 'molen/transport-network@1'."
1129
+ }
1130
+ },
1131
+ "required": [
1132
+ "format"
1133
+ ],
1134
+ "additionalProperties": {}
1135
+ }
1136
+ ],
1137
+ "description": "The road, rail and path network NPCs move on: a scene-relative path to a molen/transport-network@1 document, or the document inline."
1138
+ },
1139
+ "observer": {
1140
+ "type": "string",
1141
+ "minLength": 1,
1142
+ "description": "Entity whose position drives the spawn ring (default: the entity carrying ambientObserver, else the ambient.observer command)."
1143
+ },
1144
+ "classes": {
1145
+ "type": "array",
1146
+ "items": {
1147
+ "type": "string",
1148
+ "enum": [
1149
+ "car",
1150
+ "pedestrian",
1151
+ "train",
1152
+ "aircraft"
1153
+ ]
1154
+ },
1155
+ "description": "Which NPC classes run (default ['car'])."
1156
+ },
1157
+ "density": {
1158
+ "type": "object",
1159
+ "propertyNames": {
1160
+ "type": "string",
1161
+ "enum": [
1162
+ "car",
1163
+ "pedestrian",
1164
+ "train",
1165
+ "aircraft"
1166
+ ]
1167
+ },
1168
+ "additionalProperties": {
1169
+ "type": "number",
1170
+ "minimum": 0
1171
+ },
1172
+ "description": "Target agents per kilometre of lane near the observer, per class."
1173
+ },
1174
+ "drivingSide": {
1175
+ "type": "string",
1176
+ "enum": [
1177
+ "right",
1178
+ "left"
1179
+ ],
1180
+ "description": "Which side of the road traffic keeps to (default 'right')."
1181
+ },
1182
+ "radius": {
1183
+ "type": "number",
1184
+ "exclusiveMinimum": 0,
1185
+ "description": "Outer spawn radius in metres for cars (other classes scale from it)."
1186
+ },
1187
+ "despawnRadius": {
1188
+ "type": "number",
1189
+ "exclusiveMinimum": 0,
1190
+ "description": "Distance in metres beyond which cars are removed (must exceed radius)."
1191
+ },
1192
+ "templates": {
1193
+ "type": "object",
1194
+ "propertyNames": {
1195
+ "type": "string",
1196
+ "enum": [
1197
+ "car",
1198
+ "pedestrian",
1199
+ "train",
1200
+ "aircraft"
1201
+ ]
1202
+ },
1203
+ "additionalProperties": {
1204
+ "type": "string",
1205
+ "minLength": 1
1206
+ },
1207
+ "description": "Prefab name per class whose components every spawned agent receives."
1208
+ },
1209
+ "seedSalt": {
1210
+ "type": "string",
1211
+ "description": "Mixed into the scene seed for ambient draws, to vary traffic without reseeding."
1212
+ }
1213
+ },
1214
+ "additionalProperties": false,
1215
+ "description": "Ambient life: NPC cars, pedestrians, trains and aircraft that spawn around an observer on a transport network (needs @bendyline/molen-ambient)."
1111
1216
  }
1112
1217
  },
1113
1218
  "required": [