{
  "params": {
    "size": {
      "type": "range",
      "min": 0.5,
      "max": 2,
      "step": 0.1,
      "default": 1,
      "label": "Size",
      "describe": "Scale of the hoard: 0.5 a small stash (60 cm), 1 a treasure-room pile (1.2 m), 2 a dragon hoard (2.4 m). More coins and gems as it grows."
    },
    "gems": {
      "type": "choice",
      "options": [
        "royal",
        "ice",
        "fire",
        "amethyst"
      ],
      "default": "royal",
      "label": "Gems",
      "describe": "Gem colours: royal (ruby, sapphire, emerald), ice (diamond and aquamarine), fire (orange, amber, garnet), amethyst (purples). They glow at night."
    },
    "metal": {
      "type": "choice",
      "options": [
        "gold",
        "silver",
        "mixed"
      ],
      "default": "gold",
      "label": "Metal",
      "describe": "Coin metal: gold, silver (a pirate or dwarf stash), or mixed gold and silver."
    },
    "seed": {
      "type": "range",
      "min": 1,
      "max": 50,
      "step": 1,
      "default": 6,
      "label": "Seed",
      "describe": "Reshuffles the heap shape and where the coins, goblets, gems and circlet land."
    }
  },
  "presets": {
    "dragon hoard": {
      "size": 2,
      "gems": "fire",
      "seed": 21
    },
    "pirate stash": {
      "size": 0.6,
      "metal": "silver",
      "gems": "ice"
    },
    "royal vault": {
      "size": 1.4,
      "gems": "amethyst",
      "metal": "mixed"
    }
  },
  "night": {
    "gem": {
      "zone": "gem",
      "intensity": 1.3,
      "describe": "Every gem glints in its own colour after dark."
    }
  }
}