{
  "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; the doorway stays in the middle (a length-2 wall puts it across the joint of its two units)."
    },
    "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, and a weathered door."
    },
    "lamp": {
      "type": "toggle",
      "default": true,
      "label": "Lamp",
      "describe": "A light beside the doorway on the +Z face: torch (dungeon), upright light bar (scifi) or a lantern (house). Lit at night."
    }
  },
  "presets": {
    "cell door": {
      "style": "dungeon",
      "colorway": "dark",
      "wear": 0.6
    },
    "airlock": {
      "style": "scifi",
      "colorway": "dark",
      "lamp": false
    },
    "front door": {
      "style": "house",
      "colorway": "dark",
      "length": 2
    }
  },
  "night": {
    "lamp": {
      "zone": "lamp",
      "color": "#ffb35a",
      "intensity": 1.6,
      "describe": "Torches, wall lanterns and lamps are lit."
    },
    "light": {
      "zone": "light",
      "color": "#7fe0ff",
      "intensity": 1.4,
      "describe": "Sci-fi light strips, screens and status lights glow cyan."
    }
  }
}