{
  "params": {
    "kind": {
      "type": "choice",
      "options": [
        "pistol",
        "rifle"
      ],
      "default": "pistol",
      "label": "Kind",
      "describe": "pistol (a chunky one-handed blaster about 30 cm long with a glowing cell on the side) or rifle (a 90 cm two-handed energy rifle with a shoulder stock, a cooled barrel and an underslung cell)."
    },
    "colorway": {
      "type": "choice",
      "options": [
        "explorer",
        "military",
        "raider",
        "alien"
      ],
      "default": "explorer",
      "label": "Colours",
      "describe": "Shell colours: explorer (off-white with orange trim, clean space-explorer look), military (gunmetal with brass), raider (black with red, outlaw) or alien (moss green with violet)."
    },
    "glow": {
      "type": "color",
      "default": "#4fd8ff",
      "label": "Energy",
      "describe": "Colour of the energy cells, coils and muzzle. #4fd8ff cyan, #7dff6a green, #ff4a5a red, #ffb02e amber, #c070ff violet."
    },
    "scope": {
      "type": "toggle",
      "default": true,
      "label": "Scope",
      "describe": "A sight on top: a long scope on the rifle, a small holo sight on the pistol."
    }
  },
  "presets": {
    "space ranger pistol": {
      "kind": "pistol",
      "colorway": "explorer",
      "glow": "#4fd8ff"
    },
    "outlaw blaster": {
      "kind": "pistol",
      "colorway": "raider",
      "glow": "#ff4a5a",
      "scope": false
    },
    "plasma rifle": {
      "kind": "rifle",
      "colorway": "military",
      "glow": "#7dff6a"
    }
  },
  "night": {
    "glow": {
      "zone": "glow",
      "intensity": 1.6,
      "describe": "Energy cells, coils and the muzzle glow in the energy colour."
    }
  }
}