{
  "params": {
    "piece": {
      "type": "choice",
      "options": [
        "both",
        "key",
        "door"
      ],
      "default": "both",
      "label": "Piece",
      "describe": "both (the door with its key floating 1.6 m in front of it), key (the key pickup on its own), door (the locked door on its own, a 2 x 1 grid piece)."
    },
    "color": {
      "type": "choice",
      "options": [
        "gold",
        "silver",
        "red",
        "blue",
        "green"
      ],
      "default": "gold",
      "label": "Colour",
      "describe": "Colour shared by the key and its lock, so players match them: gold, silver, red, blue or green."
    },
    "open": {
      "type": "range",
      "min": 0,
      "max": 1,
      "step": 0.05,
      "default": 0,
      "label": "Open",
      "describe": "How far the gate has swung open, inward away from the viewer. 0 locked shut, 1 fully open (100 degrees)."
    },
    "frame": {
      "type": "choice",
      "options": [
        "stone",
        "wood"
      ],
      "default": "stone",
      "label": "Frame",
      "describe": "stone (castle blocks with a lintel) or wood (heavy timber posts and beam, for a mine or a forest hut)."
    }
  },
  "presets": {
    "red key door": {
      "color": "red"
    },
    "blue key": {
      "piece": "key",
      "color": "blue"
    },
    "opened gate": {
      "piece": "door",
      "open": 1,
      "color": "green",
      "frame": "wood"
    }
  },
  "night": {
    "glow": {
      "zone": "glow",
      "intensity": 1.1,
      "describe": "The key and the lock plate glow in their colour."
    }
  }
}