@bendyline/molen-tooling 0.0.11 → 0.0.13
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/capture/harness.js +682 -293
- package/dist/capture/worldgen-preview.js +396 -298
- package/dist/cli.mjs +2 -2
- package/dist/docs-src/guide/3d-art-guidelines.md +34 -10
- package/dist/docs-src/guide/3d-model-assets.md +27 -2
- package/dist/docs-src/guide/adaptive-performance.md +42 -7
- package/dist/docs-src/guide/aircraft.md +249 -27
- package/dist/docs-src/guide/ambient-life.md +28 -5
- package/dist/docs-src/guide/audio.md +19 -5
- package/dist/docs-src/guide/boats.md +9 -4
- package/dist/docs-src/guide/boost-mode.md +64 -0
- package/dist/docs-src/guide/building-interiors.md +7 -2
- package/dist/docs-src/guide/determinism.md +1 -1
- package/dist/docs-src/guide/dioramas.md +17 -4
- package/dist/docs-src/guide/earth-view.md +225 -24
- package/dist/docs-src/guide/entities.md +87 -5
- package/dist/docs-src/guide/figures.md +31 -7
- package/dist/docs-src/guide/graphics-performance.md +203 -24
- package/dist/docs-src/guide/input.md +34 -1
- package/dist/docs-src/guide/liveries.md +167 -0
- package/dist/docs-src/guide/livery-catalog.md +2659 -0
- package/dist/docs-src/guide/livery-gallery.md +2684 -0
- package/dist/docs-src/guide/medium-fi.md +279 -27
- package/dist/docs-src/guide/navigation.md +5 -2
- package/dist/docs-src/guide/night-lighting.md +96 -0
- package/dist/docs-src/guide/project.md +6 -1
- package/dist/docs-src/guide/recognizable-places.md +6 -0
- package/dist/docs-src/guide/regional-fleets.md +94 -0
- package/dist/docs-src/guide/regional-world.md +19 -6
- package/dist/docs-src/guide/rendering-backends.md +6 -2
- package/dist/docs-src/guide/sky.md +36 -3
- package/dist/docs-src/guide/structure-library.md +4 -1
- package/dist/docs-src/guide/surface-rendering.md +276 -2
- package/dist/docs-src/guide/terrain.md +43 -0
- package/dist/docs-src/guide/typography.md +105 -0
- package/dist/docs-src/guide/vehicle-interiors.md +169 -9
- package/dist/docs-src/guide/vehicles.md +26 -3
- package/dist/docs-src/guide/weather.md +15 -8
- package/dist/docs-src/guide/worldgen.md +100 -13
- package/dist/docs-src/llms.txt +9 -1
- package/dist/docs-src/schemas/README.md +3 -0
- package/dist/docs-src/schemas/archstyle.md +65 -0
- package/dist/docs-src/schemas/components.md +2009 -213
- package/dist/docs-src/schemas/fleet-catalog.md +113 -0
- package/dist/docs-src/schemas/landmark.md +10 -0
- package/dist/docs-src/schemas/matgraph.md +11 -1
- package/dist/docs-src/schemas/pack-source.md +11 -1
- package/dist/docs-src/schemas/pack.md +1 -1
- package/dist/docs-src/schemas/project.md +1 -1
- package/dist/docs-src/schemas/regional-catalog.md +39 -0
- package/dist/docs-src/schemas/scatter.md +36 -0
- package/dist/docs-src/schemas/structure-placement-data.md +753 -0
- package/dist/docs-src/schemas/structure-placement-index.md +87 -0
- package/dist/docs-src/schemas/structure-placements.md +274 -0
- package/dist/docs-src/schemas/transport-network.md +8 -0
- package/dist/docs-src/schemas/types.md +1 -1
- package/dist/docs-src/schemas/worldgen-batch.md +145 -0
- package/dist/index.d.mts +2 -0
- package/dist/index.mjs +1 -1
- package/dist/{mcp-BbxqqnD1.mjs → mcp-BXaK46X-.mjs} +1 -1
- package/dist/{ops-b4Pag8U-.mjs → ops-Cm7WNvb9.mjs} +55 -22
- package/dist/templates/city-courier/gen/molen-types.ts +240 -17
- package/dist/templates/city-courier/scripts/molen-scripts.d.ts +240 -17
- package/dist/templates/figures-gallery/test/headless.test.ts +2 -1
- package/dist/templates/index.json +17 -17
- package/dist/templates/skybound/gen/molen-types.ts +240 -17
- package/dist/templates/skybound/scripts/molen-scripts.d.ts +240 -17
- package/dist/templates/top-down-arena/scripts/molen-scripts.d.ts +240 -17
- package/dist/templates/top-down-arena/src/gen/molen-types.ts +240 -17
- package/package.json +13 -13
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
# Regional vehicle fleet (`molen/fleet-catalog@1`)
|
|
2
|
+
|
|
3
|
+
Shared vehicle IDs with inherited regional spawn weights and a global fallback.
|
|
4
|
+
|
|
5
|
+
## Example
|
|
6
|
+
|
|
7
|
+
```json
|
|
8
|
+
{
|
|
9
|
+
"format": "molen/fleet-catalog@1",
|
|
10
|
+
"id": "example.fleet",
|
|
11
|
+
"version": 1,
|
|
12
|
+
"description": "Illustrative visual mixture",
|
|
13
|
+
"fallback": "global",
|
|
14
|
+
"regions": {},
|
|
15
|
+
"profiles": [
|
|
16
|
+
{
|
|
17
|
+
"id": "global",
|
|
18
|
+
"title": "Global",
|
|
19
|
+
"weights": {
|
|
20
|
+
"example.car": 1
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
]
|
|
24
|
+
}
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## JSON Schema
|
|
28
|
+
|
|
29
|
+
```json
|
|
30
|
+
{
|
|
31
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
32
|
+
"type": "object",
|
|
33
|
+
"properties": {
|
|
34
|
+
"format": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"const": "molen/fleet-catalog@1"
|
|
37
|
+
},
|
|
38
|
+
"id": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"minLength": 1
|
|
41
|
+
},
|
|
42
|
+
"version": {
|
|
43
|
+
"type": "integer",
|
|
44
|
+
"exclusiveMinimum": 0,
|
|
45
|
+
"maximum": 9007199254740991
|
|
46
|
+
},
|
|
47
|
+
"description": {
|
|
48
|
+
"type": "string"
|
|
49
|
+
},
|
|
50
|
+
"fallback": {
|
|
51
|
+
"type": "string",
|
|
52
|
+
"minLength": 1
|
|
53
|
+
},
|
|
54
|
+
"regions": {
|
|
55
|
+
"type": "object",
|
|
56
|
+
"propertyNames": {
|
|
57
|
+
"type": "string"
|
|
58
|
+
},
|
|
59
|
+
"additionalProperties": {
|
|
60
|
+
"type": "string",
|
|
61
|
+
"minLength": 1
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"profiles": {
|
|
65
|
+
"minItems": 1,
|
|
66
|
+
"type": "array",
|
|
67
|
+
"items": {
|
|
68
|
+
"type": "object",
|
|
69
|
+
"properties": {
|
|
70
|
+
"id": {
|
|
71
|
+
"type": "string",
|
|
72
|
+
"minLength": 1
|
|
73
|
+
},
|
|
74
|
+
"title": {
|
|
75
|
+
"type": "string",
|
|
76
|
+
"minLength": 1
|
|
77
|
+
},
|
|
78
|
+
"extends": {
|
|
79
|
+
"type": "string"
|
|
80
|
+
},
|
|
81
|
+
"weights": {
|
|
82
|
+
"type": "object",
|
|
83
|
+
"propertyNames": {
|
|
84
|
+
"type": "string",
|
|
85
|
+
"minLength": 1
|
|
86
|
+
},
|
|
87
|
+
"additionalProperties": {
|
|
88
|
+
"type": "number",
|
|
89
|
+
"minimum": 0
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"required": [
|
|
94
|
+
"id",
|
|
95
|
+
"title",
|
|
96
|
+
"weights"
|
|
97
|
+
],
|
|
98
|
+
"additionalProperties": false
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"required": [
|
|
103
|
+
"format",
|
|
104
|
+
"id",
|
|
105
|
+
"version",
|
|
106
|
+
"description",
|
|
107
|
+
"fallback",
|
|
108
|
+
"regions",
|
|
109
|
+
"profiles"
|
|
110
|
+
],
|
|
111
|
+
"additionalProperties": false
|
|
112
|
+
}
|
|
113
|
+
```
|
|
@@ -64,6 +64,16 @@ Reusable sign or furniture geometry recipe, with colors, facade appearance and d
|
|
|
64
64
|
"sign": {
|
|
65
65
|
"type": "object",
|
|
66
66
|
"properties": {
|
|
67
|
+
"font": {
|
|
68
|
+
"type": "string",
|
|
69
|
+
"minLength": 1,
|
|
70
|
+
"maxLength": 100
|
|
71
|
+
},
|
|
72
|
+
"letterSpacing": {
|
|
73
|
+
"type": "number",
|
|
74
|
+
"minimum": 0,
|
|
75
|
+
"maximum": 16
|
|
76
|
+
},
|
|
67
77
|
"text": {
|
|
68
78
|
"type": "string",
|
|
69
79
|
"minLength": 1,
|
|
@@ -559,7 +559,7 @@ A small node graph (noise, gradients, ramps, blends) CPU-rasterized to textures.
|
|
|
559
559
|
"type": {
|
|
560
560
|
"type": "string",
|
|
561
561
|
"const": "bricks",
|
|
562
|
-
"description": "
|
|
562
|
+
"description": "Running-bond bricks: a brick/mortar mask, a per-brick random value or the position within a row."
|
|
563
563
|
},
|
|
564
564
|
"params": {
|
|
565
565
|
"type": "object",
|
|
@@ -591,6 +591,16 @@ A small node graph (noise, gradients, ramps, blends) CPU-rasterized to textures.
|
|
|
591
591
|
"minimum": 0,
|
|
592
592
|
"maximum": 1,
|
|
593
593
|
"description": "Horizontal shift of alternate rows as a fraction of a brick, 0..1 (default 0.5)."
|
|
594
|
+
},
|
|
595
|
+
"output": {
|
|
596
|
+
"default": "mask",
|
|
597
|
+
"type": "string",
|
|
598
|
+
"enum": [
|
|
599
|
+
"mask",
|
|
600
|
+
"random",
|
|
601
|
+
"row"
|
|
602
|
+
],
|
|
603
|
+
"description": "mask (default): 1 on a brick, 0 on mortar. random: a stable 0..1 value per brick (0 on mortar), for per-tile tone variation. row: position within the row, 0 at its top (v) edge to 1 at its bottom, for course shading and normals."
|
|
594
604
|
}
|
|
595
605
|
},
|
|
596
606
|
"additionalProperties": false,
|
|
@@ -88,7 +88,7 @@ Build settings for a content pack, kept as molen-pack.source.json in the directo
|
|
|
88
88
|
"type": "object",
|
|
89
89
|
"propertyNames": {
|
|
90
90
|
"type": "string",
|
|
91
|
-
"pattern": "^[a-z][a-z0-9_]*(\\.[a-
|
|
91
|
+
"pattern": "^[a-z][a-z0-9_]*(\\.[a-z0-9][a-z0-9_]*)*$"
|
|
92
92
|
},
|
|
93
93
|
"additionalProperties": {
|
|
94
94
|
"type": "string",
|
|
@@ -123,6 +123,16 @@ Build settings for a content pack, kept as molen-pack.source.json in the directo
|
|
|
123
123
|
},
|
|
124
124
|
"description": "Role (e.g. types, stylepack, stars) to the file or files that provide it."
|
|
125
125
|
},
|
|
126
|
+
"independent": {
|
|
127
|
+
"default": [],
|
|
128
|
+
"type": "array",
|
|
129
|
+
"items": {
|
|
130
|
+
"type": "string",
|
|
131
|
+
"minLength": 1,
|
|
132
|
+
"pattern": "^(?![A-Za-z]:|[/\\\\])(?!.*\\\\)(?!.*(?:^|\\/)\\.\\.?(?:\\/|$)).+$"
|
|
133
|
+
},
|
|
134
|
+
"description": "Files or directory prefixes ending / kept independently readable."
|
|
135
|
+
},
|
|
126
136
|
"solid": {
|
|
127
137
|
"default": true,
|
|
128
138
|
"type": "boolean",
|
|
@@ -113,7 +113,7 @@ Manifest inside a content pack: a zip file carrying models, documents and catalo
|
|
|
113
113
|
"type": "object",
|
|
114
114
|
"propertyNames": {
|
|
115
115
|
"type": "string",
|
|
116
|
-
"pattern": "^[a-z][a-z0-9_]*(\\.[a-
|
|
116
|
+
"pattern": "^[a-z][a-z0-9_]*(\\.[a-z0-9][a-z0-9_]*)*$"
|
|
117
117
|
},
|
|
118
118
|
"additionalProperties": {
|
|
119
119
|
"type": "string",
|
|
@@ -86,7 +86,7 @@ Binds an experience project together: scenes by name, type-registry documents, i
|
|
|
86
86
|
"type": "object",
|
|
87
87
|
"propertyNames": {
|
|
88
88
|
"type": "string",
|
|
89
|
-
"pattern": "^[a-z][a-z0-9_]*(\\.[a-
|
|
89
|
+
"pattern": "^[a-z][a-z0-9_]*(\\.[a-z0-9][a-z0-9_]*)*$"
|
|
90
90
|
},
|
|
91
91
|
"additionalProperties": {
|
|
92
92
|
"type": "string",
|
|
@@ -413,6 +413,31 @@ Composable ecological and architectural channels with explicit dependency versio
|
|
|
413
413
|
"pattern": "^#[0-9a-fA-F]{6}$"
|
|
414
414
|
},
|
|
415
415
|
"description": "Label pattern to '#rrggbb' surface color (exact, then word match)."
|
|
416
|
+
},
|
|
417
|
+
"detail": {
|
|
418
|
+
"description": "Exact label to [brush, bare] ground detail, each 0..1: the share of dark shrub speckle the ground shows where single shrubs are too small or too many to place (from the air, scrubland is its sum), and how often lighter bare-soil patches (vacant lots, worn ground) break it up.",
|
|
419
|
+
"type": "object",
|
|
420
|
+
"propertyNames": {
|
|
421
|
+
"type": "string"
|
|
422
|
+
},
|
|
423
|
+
"additionalProperties": {
|
|
424
|
+
"type": "array",
|
|
425
|
+
"prefixItems": [
|
|
426
|
+
{
|
|
427
|
+
"type": "number",
|
|
428
|
+
"minimum": 0,
|
|
429
|
+
"maximum": 1
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
"type": "number",
|
|
433
|
+
"minimum": 0,
|
|
434
|
+
"maximum": 1
|
|
435
|
+
}
|
|
436
|
+
],
|
|
437
|
+
"items": false,
|
|
438
|
+
"minItems": 2,
|
|
439
|
+
"maxItems": 2
|
|
440
|
+
}
|
|
416
441
|
}
|
|
417
442
|
},
|
|
418
443
|
"required": [
|
|
@@ -475,6 +500,12 @@ Composable ecological and architectural channels with explicit dependency versio
|
|
|
475
500
|
"exclusiveMinimum": 0,
|
|
476
501
|
"maximum": 9007199254740991,
|
|
477
502
|
"description": "Hard cap per batch for this rule."
|
|
503
|
+
},
|
|
504
|
+
"coverGrowth": {
|
|
505
|
+
"description": "Largest crown widening that holds canopy and understory cover while a coarser tier or an instance budget thins them: kept instances widen by 1/sqrt(kept share) up to this factor and grow by its square root in height. Default 1 (none).",
|
|
506
|
+
"type": "number",
|
|
507
|
+
"minimum": 1,
|
|
508
|
+
"maximum": 4
|
|
478
509
|
}
|
|
479
510
|
},
|
|
480
511
|
"required": [
|
|
@@ -866,6 +897,11 @@ Composable ecological and architectural channels with explicit dependency versio
|
|
|
866
897
|
"type": "integer",
|
|
867
898
|
"exclusiveMinimum": 0,
|
|
868
899
|
"maximum": 9007199254740991
|
|
900
|
+
},
|
|
901
|
+
"coverGrowth": {
|
|
902
|
+
"type": "number",
|
|
903
|
+
"minimum": 1,
|
|
904
|
+
"maximum": 4
|
|
869
905
|
}
|
|
870
906
|
},
|
|
871
907
|
"additionalProperties": false,
|
|
@@ -1238,7 +1274,10 @@ Composable ecological and architectural channels with explicit dependency versio
|
|
|
1238
1274
|
"type": "string",
|
|
1239
1275
|
"enum": [
|
|
1240
1276
|
"antlers",
|
|
1277
|
+
"palmate",
|
|
1241
1278
|
"horns",
|
|
1279
|
+
"straight-horns",
|
|
1280
|
+
"mane",
|
|
1242
1281
|
"long-neck",
|
|
1243
1282
|
"bushy-tail",
|
|
1244
1283
|
"stripes",
|
|
@@ -174,6 +174,31 @@ Label-keyed deterministic prop placement (density, clustering, slope and clearan
|
|
|
174
174
|
"pattern": "^#[0-9a-fA-F]{6}$"
|
|
175
175
|
},
|
|
176
176
|
"description": "Label pattern to '#rrggbb' surface color (exact, then word match)."
|
|
177
|
+
},
|
|
178
|
+
"detail": {
|
|
179
|
+
"description": "Exact label to [brush, bare] ground detail, each 0..1: the share of dark shrub speckle the ground shows where single shrubs are too small or too many to place (from the air, scrubland is its sum), and how often lighter bare-soil patches (vacant lots, worn ground) break it up.",
|
|
180
|
+
"type": "object",
|
|
181
|
+
"propertyNames": {
|
|
182
|
+
"type": "string"
|
|
183
|
+
},
|
|
184
|
+
"additionalProperties": {
|
|
185
|
+
"type": "array",
|
|
186
|
+
"prefixItems": [
|
|
187
|
+
{
|
|
188
|
+
"type": "number",
|
|
189
|
+
"minimum": 0,
|
|
190
|
+
"maximum": 1
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"type": "number",
|
|
194
|
+
"minimum": 0,
|
|
195
|
+
"maximum": 1
|
|
196
|
+
}
|
|
197
|
+
],
|
|
198
|
+
"items": false,
|
|
199
|
+
"minItems": 2,
|
|
200
|
+
"maxItems": 2
|
|
201
|
+
}
|
|
177
202
|
}
|
|
178
203
|
},
|
|
179
204
|
"required": [
|
|
@@ -236,6 +261,12 @@ Label-keyed deterministic prop placement (density, clustering, slope and clearan
|
|
|
236
261
|
"exclusiveMinimum": 0,
|
|
237
262
|
"maximum": 9007199254740991,
|
|
238
263
|
"description": "Hard cap per batch for this rule."
|
|
264
|
+
},
|
|
265
|
+
"coverGrowth": {
|
|
266
|
+
"description": "Largest crown widening that holds canopy and understory cover while a coarser tier or an instance budget thins them: kept instances widen by 1/sqrt(kept share) up to this factor and grow by its square root in height. Default 1 (none).",
|
|
267
|
+
"type": "number",
|
|
268
|
+
"minimum": 1,
|
|
269
|
+
"maximum": 4
|
|
239
270
|
}
|
|
240
271
|
},
|
|
241
272
|
"required": [
|
|
@@ -627,6 +658,11 @@ Label-keyed deterministic prop placement (density, clustering, slope and clearan
|
|
|
627
658
|
"type": "integer",
|
|
628
659
|
"exclusiveMinimum": 0,
|
|
629
660
|
"maximum": 9007199254740991
|
|
661
|
+
},
|
|
662
|
+
"coverGrowth": {
|
|
663
|
+
"type": "number",
|
|
664
|
+
"minimum": 1,
|
|
665
|
+
"maximum": 4
|
|
630
666
|
}
|
|
631
667
|
},
|
|
632
668
|
"additionalProperties": false,
|