@bendyline/molen-tooling 0.0.8 → 0.0.10

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 (88) hide show
  1. package/dist/capture/harness.js +276 -228
  2. package/dist/capture/worldgen-preview.js +215 -215
  3. package/dist/cli.mjs +6 -5
  4. package/dist/docs-src/guide/3d-art-guidelines.md +15 -11
  5. package/dist/docs-src/guide/adaptive-performance.md +18 -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 +265 -10
  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 +337 -0
  17. package/dist/docs-src/guide/project.md +8 -0
  18. package/dist/docs-src/guide/sky.md +4 -1
  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 +22 -1
  24. package/dist/docs-src/llms.txt +7 -4
  25. package/dist/docs-src/schemas/archstyle.md +114 -0
  26. package/dist/docs-src/schemas/components.md +1592 -139
  27. package/dist/docs-src/schemas/scatter.md +9 -0
  28. package/dist/docs-src/schemas/scene.md +6 -3
  29. package/dist/docs-src/schemas/transport-network.md +4 -2
  30. package/dist/index.mjs +1 -1
  31. package/dist/{mcp-BbHk4ibu.mjs → mcp-BbxqqnD1.mjs} +3 -2
  32. package/dist/{ops-CErtZh2t.mjs → ops-b4Pag8U-.mjs} +7 -5
  33. package/dist/templates/city-courier/README.md +18 -0
  34. package/dist/templates/city-courier/gen/molen-types.ts +218 -16
  35. package/dist/templates/city-courier/index.html +1 -1
  36. package/dist/templates/city-courier/scripts/molen-scripts.d.ts +220 -18
  37. package/dist/templates/city-courier/src/audio.ts +26 -4
  38. package/dist/templates/city-courier/src/game-shell.css +7 -3
  39. package/dist/templates/city-courier/src/main.ts +25 -3
  40. package/dist/templates/city-courier/src/shared/accessibility.css +325 -0
  41. package/dist/templates/city-courier/src/shared/game-controls.ts +406 -0
  42. package/dist/templates/city-courier/src/shared/game-descriptions.ts +143 -0
  43. package/dist/templates/city-courier/src/shared/playback.ts +146 -0
  44. package/dist/templates/city-courier/src/worker.ts +5 -1
  45. package/dist/templates/cubes/index.html +6 -1
  46. package/dist/templates/cubes/src/main.ts +25 -2
  47. package/dist/templates/cubes/src/shared/accessibility.css +325 -0
  48. package/dist/templates/cubes/src/shared/playback.ts +146 -0
  49. package/dist/templates/cubes/src/vite-env.d.ts +1 -0
  50. package/dist/templates/cubes/src/worker.ts +1 -0
  51. package/dist/templates/data-viz/README.md +4 -0
  52. package/dist/templates/data-viz/index.html +6 -1
  53. package/dist/templates/data-viz/src/main.ts +53 -11
  54. package/dist/templates/data-viz/src/shared/accessibility.css +325 -0
  55. package/dist/templates/data-viz/src/shared/playback.ts +146 -0
  56. package/dist/templates/data-viz/src/vite-env.d.ts +1 -0
  57. package/dist/templates/data-viz/src/worker.ts +1 -0
  58. package/dist/templates/figures-gallery/index.html +6 -1
  59. package/dist/templates/figures-gallery/src/main.ts +21 -2
  60. package/dist/templates/figures-gallery/src/shared/accessibility.css +325 -0
  61. package/dist/templates/figures-gallery/src/shared/playback.ts +146 -0
  62. package/dist/templates/figures-gallery/src/vite-env.d.ts +1 -0
  63. package/dist/templates/figures-gallery/src/worker.ts +1 -0
  64. package/dist/templates/index.json +36 -16
  65. package/dist/templates/skybound/README.md +18 -0
  66. package/dist/templates/skybound/gen/molen-types.ts +218 -16
  67. package/dist/templates/skybound/index.html +1 -1
  68. package/dist/templates/skybound/scripts/molen-scripts.d.ts +220 -18
  69. package/dist/templates/skybound/src/audio.ts +26 -4
  70. package/dist/templates/skybound/src/game-shell.css +7 -3
  71. package/dist/templates/skybound/src/main.ts +25 -3
  72. package/dist/templates/skybound/src/shared/accessibility.css +325 -0
  73. package/dist/templates/skybound/src/shared/game-controls.ts +406 -0
  74. package/dist/templates/skybound/src/shared/game-descriptions.ts +143 -0
  75. package/dist/templates/skybound/src/shared/playback.ts +146 -0
  76. package/dist/templates/skybound/src/worker.ts +1 -1
  77. package/dist/templates/terrain-flyover/README.md +5 -1
  78. package/dist/templates/terrain-flyover/index.html +4 -1
  79. package/dist/templates/terrain-flyover/src/main.ts +40 -39
  80. package/dist/templates/top-down-arena/index.html +6 -1
  81. package/dist/templates/top-down-arena/scripts/molen-scripts.d.ts +220 -18
  82. package/dist/templates/top-down-arena/src/audio.ts +26 -4
  83. package/dist/templates/top-down-arena/src/gen/molen-types.ts +218 -16
  84. package/dist/templates/top-down-arena/src/main.ts +31 -5
  85. package/dist/templates/top-down-arena/src/shared/accessibility.css +325 -0
  86. package/dist/templates/top-down-arena/src/shared/playback.ts +146 -0
  87. package/dist/templates/top-down-arena/src/worker.ts +1 -1
  88. package/package.json +12 -12
@@ -53,8 +53,15 @@ external data with `weatherSchema.parse` before using it in typed code.
53
53
  | `clouds.baseAltitude`, `thickness`, `scale` | Absolute base Y, layer separation, and horizontal pattern repeat size in meters. |
54
54
  | `precipitation.kind`, `intensity` | Explicit none/rain/snow and 0–1 visual intensity; not calibrated mm/hour. |
55
55
  | `visibility` | Approximate visual fade distance in meters, independent of clouds and precipitation. |
56
+ | `wind.referenceHeight` | Height above ground in meters where `windVelocity` applies; default 10. |
57
+ | `wind.shear` | Power-law exponent of wind speed with height, to 600 m; default 0 (uniform). About 0.14 over open country, 0.3 over cities. |
58
+ | `wind.turbulence` | 0–1 intensity; default 0. About 0.15 light chop, 0.4 moderate, 0.8 severe. |
59
+ | `wind.gusts` | 0–1 along-wind gust swing as a fraction of the mean wind; default 0. |
60
+ | `wind.terrain` | 0–1 strength of slope flow: lift up windward hillsides, sink and rougher air in the lee; default 0. |
56
61
 
57
62
  Presets are starting points, not classifications that constrain these independent parameters.
63
+ Every preset includes a `wind` block: light chop and gusts for sunny skies, rougher air in rain,
64
+ and nearly still, strongly sheared air in fog.
58
65
 
59
66
  ## Simulation and physics
60
67
 
@@ -76,9 +83,44 @@ temperature lapse rate or fluid simulation.
76
83
 
77
84
  `installAircraft` reads the world's weather each physics tick. Wind changes airspeed, and
78
85
  temperature/pressure change aerodynamic density. Explicit `AircraftEnvironment.weather`
79
- overrides the component; explicit `wind` overrides its wind. `stepAircraft` accepts the same
80
- optional weather value. Without weather, aircraft retain their existing altitude-density
81
- model exactly. Ground friction and character temperature exposure are not implicitly changed.
86
+ overrides the component; explicit `wind` overrides its wind with a uniform velocity. `stepAircraft`
87
+ accepts the same optional weather value and a `time`. Without weather, aircraft retain their
88
+ existing altitude-density model exactly. Ground friction and character temperature exposure are
89
+ not implicitly changed.
90
+
91
+ ## Wind shear, turbulence and gusts
92
+
93
+ The `wind` block shapes the air around the mean `windVelocity`. `windField(weather)` returns its
94
+ deterministic field, and `sampleWind(weather, position, time, groundHeight?)` samples it, both
95
+ from `@bendyline/molen-kernel`:
96
+
97
+ ```ts
98
+ import { sampleWind, weatherOf } from '@bendyline/molen-kernel';
99
+
100
+ world.addSystem((w, ctx) => {
101
+ const weather = weatherOf(w);
102
+ if (!weather) return;
103
+ // Air velocity in m/s at a point, on the world clock, over the world's terrain.
104
+ const air = sampleWind(weather, [0, 120, 0], ctx.tick * ctx.dt, (x, z) => ground(x, z));
105
+ });
106
+ ```
107
+
108
+ - **Shear.** The mean wind's horizontal speed follows `(height / referenceHeight) ^ shear` with
109
+ height above the ground beneath the point, up to 600 m. Below the reference height it is
110
+ lighter.
111
+ - **Turbulence.** Eddies from 20 m to 1.2 km across, with the -5/3 energy spectrum of real air,
112
+ are carried downwind with the mean wind and slowly evolve. Their strength grows with
113
+ `turbulence` and with wind speed, comes in patches a few kilometers across, fades above the
114
+ 1 km boundary layer, and near the ground loses its vertical part.
115
+ - **Gusts.** Along-wind speed swings of up to `gusts` times the mean, in fronts a few hundred
116
+ meters apart that sweep past with the wind.
117
+ - **Terrain.** With a ground-height function, wind blowing up a slope rises and wind blowing
118
+ down one sinks, fading over a few hundred meters of height; the lee side is also rougher.
119
+
120
+ The field is a pure function of the weather, the point and simulation time, so it needs no state
121
+ in snapshots and consumes no simulation random numbers; `seed` varies the pattern. Two aircraft
122
+ crossing the same air feel the same bump, and a replay feels every bump again. The renderer's
123
+ clouds and precipitation still drift with the mean wind; audio's wind level follows the mean too.
82
124
 
83
125
  ## Rendering and clocks
84
126
 
@@ -151,6 +151,14 @@ the sampled palette color multiplies the texture, so pack textures are authored
151
151
  default pack asserts a mean luminance of at least 0.55 for every tinted material). Windows use
152
152
  `tint: 'none'` and `uv: 'cell'`: every window is one texture repeat.
153
153
 
154
+ A material choice may name its own `palette`, which replaces the part's palette when that choice
155
+ is picked. The material and the color are otherwise independent picks, so without it a brick wall
156
+ can draw a concrete grey and a concrete panel can draw brick red. `materials.flatRoof` is an
157
+ optional roof material used only when the style resolves a flat roof (a flat choice or the
158
+ wide-footprint fallback). A pitched style keeps shingles or tile on its slopes and puts light
159
+ membrane or gravel on its flat tops. Tile-edge cuts and dropped roof shapes keep `roof`, so a
160
+ clipped house still matches its neighbors from above.
161
+
154
162
  `facade.windows` places windows per bay and floor: `punched` (one window per bay, seeded
155
163
  `probabilityPerBay`), `ribbon` (one strip per floor), `grid` (glazing filling the bay), or
156
164
  `none`; `groundFloor: 'storefront'` adds ground-floor glazing even when upper windows are
@@ -231,6 +239,17 @@ levels and can be frustum-culled independently; no per-frame placement uploads a
231
239
  `propLod: false` disables this camera LOD, and the explorer exposes `?propLod=0` for comparison.
232
240
  The explorer's `AssetCache` still resolves authored GLBs for custom packs and building props.
233
241
 
242
+ Ground cover is the knee-high layer under all of this: `builtin:groundcover.tuft` (a grass
243
+ tussock) and `builtin:groundcover.fern`, each under 70 triangles, plus small shrubs and stones.
244
+ A rule joins it with `"layer": "groundcover"`, which gives it its own instance and model budget
245
+ (`maxGroundCoverInstances`, `maxGroundCoverModels`), so thousands of clumps never thin the trees
246
+ or take their model slots. Ground cover models draw only at the near level; the medium and far
247
+ levels are empty, so the clumps fade out about 400 meters away instead of shimmering. The Earth
248
+ adapter labels land that no map polygon covers `open_ground` (the `OPEN_GROUND_LABEL` export), as a
249
+ tile-wide polygon that every mapped polygon paints over, so verges and unmapped meadows can carry
250
+ ground cover too. The default packs place it in meadows, parks, yards, forest floors and open
251
+ ground, on the finest tile level only, and not at Economy quality.
252
+
234
253
  A population's optional `widthScale: { min: 0.8, max: 1.25 }` multiplies X/Z independently of
235
254
  its uniform `scale`, allowing tall narrow trees, broad bushy trees, and spreading shrubs in the
236
255
  same draw. Width uses its own cell-hash stream, so changing it preserves positions, heights,
@@ -378,7 +397,9 @@ the instances, two levels below keeps a sparse hint, and coarser tiles carry no
378
397
  cells draw only their active LOD; keep `maxPropModels` small because each model needs a draw per
379
398
  visible cell. The per-tile placement budgets still bound the resident instance data. Balanced quality
380
399
  allows 6,000 nearby placements, 1,200 one level below, and 250 two levels below. Economy uses
381
- 2,200 / 400 / 0; high uses 9,000 / 1,800 / 350. The forest rules fill nearby crowns while
400
+ 2,200 / 400 / 0; high uses 9,000 / 1,800 / 350. Ground cover has its own budget on the finest
401
+ level only: 5,000 placements and 3 models at Balanced, 8,000 and 4 at High, none at Economy.
402
+ The forest rules fill nearby crowns while
382
403
  understory is limited to the finest tier; parks and yards retain lower densities and all
383
404
  placements retain road, building, and water clearances.
384
405
 
@@ -4,7 +4,7 @@
4
4
  > three.js rendering client, authored through JSON schemas, a small typed API, and a headless
5
5
  > dev loop. This bundle is version-locked to the engine release.
6
6
 
7
- Engine version: 0.0.5. three.js peer range: >=0.184.0 <0.187.0 (developed against 0.184.0). Node ≥ 22.13, ESM only.
7
+ Engine version: 0.0.7. three.js peer range: >=0.184.0 <0.187.0 (developed against 0.184.0). Node ≥ 22.13, ESM only.
8
8
 
9
9
  ## Start here
10
10
 
@@ -46,15 +46,18 @@ downloads them into a project and pins them in project.json.
46
46
  - [Recognizable places](guide/recognizable-places.md): store identity matching, reusable signs, tenant facades and mapped outdoor props.
47
47
  - [Building interiors](guide/building-interiors.md): deterministic layouts by use, real entrances and frontage windows, lazy rendering and walk collision.
48
48
  - [3D art guidelines](guide/3d-art-guidelines.md): shared polygonal fidelity, scale, material library, LOD and visual review for static and procedural models.
49
+ - [Medium-fi style guide](guide/medium-fi.md): the Earth view's target look (a bright polygonal model railroad), the shared light rig, palette bands, polygon budgets per LOD, landmark recognition rules, rendering modes and the review checklist for any new model or style.
49
50
  - [Materials](guide/materials.md): palette and procedural material-graph textures.
50
51
  - [3D model assets](guide/3d-model-assets.md): prompt-to-glTF authoring, PBR texture conventions, import, visual QA, and browser hosting.
51
52
  - [Logical source bundles](guide/source-bundles.md): one copyable folder per entity, structure, vehicle, prop, or other authored thing, with all definitions and source files listed in `source.json`.
52
53
  - [Components](schemas/components.md): the component vocabulary `molen validate` checks against.
53
54
  - [Mountable vehicles](guide/vehicles.md): stable parking entities, driver seats, deterministic vehicle physics, safe exits, and cockpit/chase views.
55
+ - [Boats and water](guide/boats.md): powered hulls, helm controls, passengers, boarding points, swells, currents and Earth-view water coverage.
54
56
  - [Aircraft](guide/aircraft.md): P-51D and OH-6 assets, flight physics, cockpit instruments, practice airfield and controls.
55
- - [Vehicle interiors and model signals](guide/vehicle-interiors.md): model-owned cabins, declarative simulation-to-GLB bindings, script-owned telemetry, and nearby detail loading.
57
+ - [Vehicle interiors and model signals](guide/vehicle-interiors.md): model-owned cabins, declarative simulation-to-GLB bindings, keyframed exterior animation (landing gear, doors, control surfaces), script-owned telemetry, and nearby detail loading.
56
58
  - [Figures](guide/figures.md): stylized humans, bipeds and quadrupeds: presets and descriptors, canonical rigs and sockets, deterministic gaits, `figureAttachment` accessories, riders, and `molen figure preview`.
57
- - [Ambient life](guide/ambient-life.md): NPC cars, pedestrians, trains and aircraft that spawn around an observer on a transport network (the scene `ambient` block, `molen/transport-network@1`, `molen.ambient.*`, the Earth view's `ambient` option, `ambientRole` content).
59
+ - [Ambient life](guide/ambient-life.md): NPC cars, pedestrians, trains, aircraft and watercraft that spawn around an observer on a transport network (the scene `ambient` block, `molen/transport-network@1`, `molen.ambient.*`, the Earth view's `ambient` option, `ambientRole` content).
60
+ - [Dioramas](guide/dioramas.md): bounded scripted set pieces loaded near the viewer; local deterministic scenes, schedules, lazy playback, football choreography, and geographic Earth placements.
58
61
  - [Complete game samples](guide/game-samples.md): city driving, first-person dungeon, and platformer; shared follow cameras and XY platform physics.
59
62
  - [Samples gallery](guide/examples.md): every sample with its molen.dev/play link and `--template` id, plus the capability layers (kinematics,
60
63
  character, pathfinding, physics-rapier, terrain) — copy-and-modify starting points.
@@ -89,7 +92,7 @@ with `molen validate <file>`, which prints precise, fixable errors. The shipped
89
92
  Schema + example, generated from the registry) live in [schemas/](schemas/README.md):
90
93
 
91
94
  - [Scene manifest](schemas/scene.md) (`molen/scene@3`: entities, prefabs, `commands`, `components`, camera, input, physics, terrain, ambient)
92
- - [Transport network](schemas/transport-network.md) (`molen/transport-network@1`: roads, railways and paths for ambient traffic)
95
+ - [Transport network](schemas/transport-network.md) (`molen/transport-network@1`: roads, railways, paths and water routes for ambient traffic)
93
96
  - [Command envelope](schemas/command.md) · [Assertions](schemas/assert.md)
94
97
  - [Keyframe](schemas/keyframe.md) · [Delta](schemas/delta.md) · [Replay](schemas/replay.md)
95
98
  - [Components](schemas/components.md) — every component with units and axis conventions
@@ -1547,6 +1547,11 @@ How to turn any outline into a styled building: massing, roof grammar, facade rh
1547
1547
  "minimum": 0,
1548
1548
  "maximum": 1000,
1549
1549
  "description": "Relative weight among sibling entries; 0 disables the entry."
1550
+ },
1551
+ "palette": {
1552
+ "type": "string",
1553
+ "minLength": 1,
1554
+ "description": "Key of `palettes` that tints this choice instead of the part palette, so brick stays brick-colored and concrete stays concrete-colored."
1550
1555
  }
1551
1556
  },
1552
1557
  "required": [
@@ -1630,6 +1635,11 @@ How to turn any outline into a styled building: massing, roof grammar, facade rh
1630
1635
  "minimum": 0,
1631
1636
  "maximum": 1000,
1632
1637
  "description": "Relative weight among sibling entries; 0 disables the entry."
1638
+ },
1639
+ "palette": {
1640
+ "type": "string",
1641
+ "minLength": 1,
1642
+ "description": "Key of `palettes` that tints this choice instead of the part palette, so brick stays brick-colored and concrete stays concrete-colored."
1633
1643
  }
1634
1644
  },
1635
1645
  "required": [
@@ -1694,6 +1704,95 @@ How to turn any outline into a styled building: massing, roof grammar, facade rh
1694
1704
  ],
1695
1705
  "additionalProperties": false
1696
1706
  },
1707
+ "flatRoof": {
1708
+ "type": "object",
1709
+ "properties": {
1710
+ "choices": {
1711
+ "minItems": 1,
1712
+ "type": "array",
1713
+ "items": {
1714
+ "type": "object",
1715
+ "properties": {
1716
+ "ref": {
1717
+ "type": "string",
1718
+ "pattern": "^(palette:#[0-9a-fA-F]{6}|matgraph:\\S+|pixelgrid:\\S+)$",
1719
+ "description": "materialRef: 'palette:#rrggbb', 'matgraph:<pack material id or path>', or 'pixelgrid:<id or path>'."
1720
+ },
1721
+ "weight": {
1722
+ "type": "number",
1723
+ "minimum": 0,
1724
+ "maximum": 1000,
1725
+ "description": "Relative weight among sibling entries; 0 disables the entry."
1726
+ },
1727
+ "palette": {
1728
+ "type": "string",
1729
+ "minLength": 1,
1730
+ "description": "Key of `palettes` that tints this choice instead of the part palette, so brick stays brick-colored and concrete stays concrete-colored."
1731
+ }
1732
+ },
1733
+ "required": [
1734
+ "ref",
1735
+ "weight"
1736
+ ],
1737
+ "additionalProperties": false
1738
+ },
1739
+ "description": "Weighted materials; one is picked per building."
1740
+ },
1741
+ "palette": {
1742
+ "type": "string",
1743
+ "minLength": 1,
1744
+ "description": "Key of `palettes` used to tint this part."
1745
+ },
1746
+ "tint": {
1747
+ "default": "multiply",
1748
+ "type": "string",
1749
+ "enum": [
1750
+ "multiply",
1751
+ "none"
1752
+ ],
1753
+ "description": "'multiply' = vertex color times texture (author textures light); 'none' = texture as is."
1754
+ },
1755
+ "uv": {
1756
+ "default": "meters",
1757
+ "type": "string",
1758
+ "enum": [
1759
+ "meters",
1760
+ "cell"
1761
+ ],
1762
+ "description": "'meters': world-metric UVs; 'cell': one repeat per (bay, floor) facade cell."
1763
+ },
1764
+ "uvScale": {
1765
+ "minItems": 2,
1766
+ "maxItems": 2,
1767
+ "type": "array",
1768
+ "items": {
1769
+ "type": "number",
1770
+ "exclusiveMinimum": 0
1771
+ },
1772
+ "description": "Meters per texture repeat [u, v] when uv is meters."
1773
+ },
1774
+ "uvOffset": {
1775
+ "default": "meters",
1776
+ "type": "string",
1777
+ "enum": [
1778
+ "cell",
1779
+ "meters",
1780
+ "none"
1781
+ ],
1782
+ "description": "Seeded per-building UV shift so neighbours never align."
1783
+ },
1784
+ "uvMirror": {
1785
+ "default": false,
1786
+ "type": "boolean",
1787
+ "description": "Allow a seeded horizontal flip."
1788
+ }
1789
+ },
1790
+ "required": [
1791
+ "choices"
1792
+ ],
1793
+ "additionalProperties": false,
1794
+ "description": "Replaces `roof` when the style resolves a flat roof (a flat choice or the flat fallback), so a pitched style keeps shingles on its slopes but light membrane or gravel on flat tops."
1795
+ },
1697
1796
  "trim": {
1698
1797
  "type": "object",
1699
1798
  "properties": {
@@ -1713,6 +1812,11 @@ How to turn any outline into a styled building: massing, roof grammar, facade rh
1713
1812
  "minimum": 0,
1714
1813
  "maximum": 1000,
1715
1814
  "description": "Relative weight among sibling entries; 0 disables the entry."
1815
+ },
1816
+ "palette": {
1817
+ "type": "string",
1818
+ "minLength": 1,
1819
+ "description": "Key of `palettes` that tints this choice instead of the part palette, so brick stays brick-colored and concrete stays concrete-colored."
1716
1820
  }
1717
1821
  },
1718
1822
  "required": [
@@ -1796,6 +1900,11 @@ How to turn any outline into a styled building: massing, roof grammar, facade rh
1796
1900
  "minimum": 0,
1797
1901
  "maximum": 1000,
1798
1902
  "description": "Relative weight among sibling entries; 0 disables the entry."
1903
+ },
1904
+ "palette": {
1905
+ "type": "string",
1906
+ "minLength": 1,
1907
+ "description": "Key of `palettes` that tints this choice instead of the part palette, so brick stays brick-colored and concrete stays concrete-colored."
1799
1908
  }
1800
1909
  },
1801
1910
  "required": [
@@ -1879,6 +1988,11 @@ How to turn any outline into a styled building: massing, roof grammar, facade rh
1879
1988
  "minimum": 0,
1880
1989
  "maximum": 1000,
1881
1990
  "description": "Relative weight among sibling entries; 0 disables the entry."
1991
+ },
1992
+ "palette": {
1993
+ "type": "string",
1994
+ "minLength": 1,
1995
+ "description": "Key of `palettes` that tints this choice instead of the part palette, so brick stays brick-colored and concrete stays concrete-colored."
1882
1996
  }
1883
1997
  },
1884
1998
  "required": [