{
  "params": {
    "style": {
      "type": "choice",
      "options": [
        "dungeon",
        "scifi",
        "house"
      ],
      "default": "dungeon",
      "label": "Style",
      "describe": "Shared by every Modular Level Kit piece: dungeon (coursed stone blocks, iron and oak), scifi (bolted panels, trims and glowing light strips), house (plaster over wood or brick wainscot, timber trim). Use one value across a level."
    },
    "colorway": {
      "type": "choice",
      "options": [
        "classic",
        "dark",
        "warm"
      ],
      "default": "classic",
      "label": "Colourway",
      "describe": "Palette within the style, shared across the kit: classic (dungeon grey granite, scifi light grey with orange, house cream plaster and brown wood), dark (basalt, gunmetal with yellow, white plaster with black timber), warm (sandstone, beige retro with teal, ochre plaster with honey wood and brick)."
    },
    "length": {
      "type": "range",
      "min": 1,
      "max": 3,
      "step": 1,
      "default": 1,
      "label": "Length",
      "describe": "Length in 2 m grid units, one window centred in each unit (3 = a 6 m wall with three windows)."
    },
    "glazing": {
      "type": "choice",
      "options": [
        "glass",
        "shutters",
        "bars",
        "open"
      ],
      "default": "glass",
      "label": "Glazing",
      "describe": "glass (leaded lattice, a cross-barred viewport or a casement), shutters (the glass plus a pair of open shutters on the +Z face; scifi gets a half-lowered blast shutter), bars (iron bars, a prison or cellar window), open (an empty opening, a serving hatch or a ruin)."
    },
    "wear": {
      "type": "range",
      "min": 0,
      "max": 1,
      "step": 0.1,
      "default": 0.3,
      "label": "Wear",
      "describe": "0 = new; higher adds cracks, moss and missing blocks, grime and dead lights, stains and fallen plaster."
    }
  },
  "presets": {
    "prison cell": {
      "style": "dungeon",
      "glazing": "bars",
      "colorway": "dark",
      "wear": 0.6
    },
    "observation deck": {
      "style": "scifi",
      "length": 3
    },
    "cottage window": {
      "style": "house",
      "glazing": "shutters",
      "colorway": "warm"
    }
  },
  "night": {
    "window": {
      "zone": "window",
      "color": "#ffcf87",
      "intensity": 1,
      "describe": "Window glass glows warm, as if the room behind is lit."
    },
    "light": {
      "zone": "light",
      "color": "#7fe0ff",
      "intensity": 1.4,
      "describe": "Sci-fi light strips, screens and status lights glow cyan."
    }
  }
}