[
  {
    "type": "palette",
    "id": "domestic_general_construction_and_variant_palette",
    "//": "This palette is split from domestic_general_and_variant_palette because the construction palette needs more consideration than the other palettes",
    "parameters": {
      "construction_palette": {
        "type": "palette_id",
        "scope": "overmap_special",
        "default": {
          "distribution": [ [ "standard_domestic_construction_palette", 100 ], [ "domestic_general_and_variant_palette", 9900 ] ]
        }
      }
    },
    "palettes": [ { "param": "construction_palette" } ]
  },
  {
    "type": "palette",
    "id": "domestic_general_and_variant_palette",
    "//": "Standard variant distribution for homes: General: 90%, Abandoned: 5%, Construction: 1.00%, Survivor: 2%, Hoarder: 2%",
    "//2": "Changes to standard_domestic_palette may also need applying to standard_domestic_abandoned_palette & standard_domestic_construction_palette.",
    "parameters": {
      "variant_palette": {
        "type": "palette_id",
        "scope": "overmap_special",
        "default": {
          "distribution": [
            [ "standard_domestic_migration_palette", 9000 ],
            [ "standard_domestic_abandoned_palette", 200 ],
            [ "house_hoarder_palette", 200 ],
            [ "house_survivor_palette", 200 ]
          ]
        }
      }
    },
    "palettes": [ { "param": "variant_palette" }, "parametrized_walls_palette", "no_hope_damage_palette" ]
  },
  {
    "type": "palette",
    "id": "standard_domestic_migration_palette",
    "//": "Palette to replace most standard_domestic_palette use that adds a random level of pre-cata tidyness and post-cata damage.",
    "parameters": {
      "tidyness_palette": {
        "type": "palette_id",
        "scope": "overmap_special",
        "default": { "distribution": [ [ "standard_domestic_untidy_palette", 40 ], [ "standard_domestic_messy_palette", 60 ] ] }
      },
      "damage_palette": {
        "type": "palette_id",
        "scope": "overmap_special",
        "default": { "distribution": [ [ "standard_domestic_damage_palette", 40 ], [ "standard_domestic_damage_large_palette", 60 ] ] }
      },
      "alarm_palette": {
        "type": "palette_id",
        "scope": "overmap_special",
        "//": "Determines if house has alarm",
        "default": { "distribution": [ [ "domestic_alarm_palette", 1 ], [ "domestic_locked_palette", 3 ] ] }
      }
    },
    "palettes": [
      "standard_domestic_palette",
      { "param": "damage_palette" },
      { "param": "alarm_palette" },
      { "param": "tidyness_palette" },
      "parametrized_walls_palette"
    ]
  },
  {
    "type": "palette",
    "id": "standard_domestic_palette_no_items",
    "extending": true,
    "palettes": [ "parametrized_walls_palette" ],
    "//": "Adjusts vanilla palette to make houses not using the above more damaged.",
    "terrain": {
      "+": [ [ "t_door_b", 20 ], [ "t_door_frame", 10 ], [ "t_door_o", 70 ], [ "t_door_c", 5 ], [ "t_door_locked_interior", 3 ] ],
      "*": [
        [ "t_door_b_peep", 20 ],
        [ "t_door_o_peep", 70 ],
        [ "t_door_frame", 10 ],
        [ "t_door_locked_peep", 2 ],
        "t_door_locked_alarm",
        [ "t_door_locked", 5 ],
        "t_door_c"
      ],
      "o": [
        [ "t_window_frame", 5 ],
        [ "t_window_domestic", 5 ],
        "t_window_no_curtains",
        "t_window_open",
        "t_window_no_curtains_open",
        [ "t_curtains", 5 ]
      ]
    }
  },
  {
    "type": "palette",
    "id": "standard_domestic_palette",
    "palettes": [ "standard_domestic_palette_no_items" ],
    "liquids": { "g": { "liquid": "water_clean", "amount": [ 0, 100 ] } },
    "items": {
      "a": { "item": "fireplace_fill", "chance": 30, "repeat": [ 2, 5 ] },
      "d": [
        { "item": "SUS_dresser_mens", "chance": 20, "repeat": [ 1, 2 ] },
        { "item": "SUS_dresser_womens", "chance": 20, "repeat": [ 1, 2 ] }
      ],
      "e": { "item": "pool_table", "chance": 30, "repeat": [ 1, 2 ] },
      "f": [
        { "item": "dishes_dining", "chance": 30 },
        { "item": "tea_dishes", "chance": 10, "repeat": [ 1, 2 ] },
        { "item": "baked_goods", "chance": 5 },
        { "item": "groce_condiment", "chance": 10, "repeat": [ 1, 2 ] },
        { "item": "dining", "chance": 10 }
      ],
      "k": { "item": "stash_wood", "chance": 30, "repeat": [ 2, 5 ] },
      "l": [
        { "item": "elecsto_persele", "chance": 10, "repeat": [ 1, 3 ] },
        { "item": "livingroom", "chance": 10, "repeat": [ 1, 3 ] }
      ],
      "s": [
        { "item": "consumer_electronics", "chance": 10, "repeat": [ 1, 3 ] },
        { "item": "livingroom", "chance": 10, "repeat": [ 1, 3 ] }
      ],
      "m": { "item": "SUS_fridge_healthy_vegan", "chance": 10 },
      "n": { "item": "SUS_dishwasher", "chance": 70 },
      "p": { "item": "mail", "chance": 30, "repeat": [ 2, 5 ] },
      "q": [
        { "item": "tools_home", "chance": 30 },
        { "item": "cleaning", "chance": 30, "repeat": [ 1, 2 ] },
        { "item": "mechanics", "chance": 1, "repeat": [ 1, 2 ] },
        { "item": "camping", "chance": 10 },
        { "item": "tools_survival", "chance": 5, "repeat": [ 1, 2 ] }
      ],
      "r": [ { "item": "SUS_office_desk", "chance": 25 } ],
      "t": { "item": "SUS_toilet", "chance": 10, "repeat": [ 1, 3 ] },
      "v": [
        { "item": "art", "chance": 5 },
        { "item": "home_display_case", "chance": 30 },
        { "item": "harddrugs", "chance": 10, "repeat": [ 1, 2 ] },
        { "item": "maps", "chance": 2 },
        { "item": "guns_pistol_common", "chance": 10 },
        { "item": "gemstones", "chance": 30, "repeat": [ 1, 2 ] }
      ],
      "w": [
        { "item": "shower", "chance": 20 },
        { "item": "cleaning", "chance": 30, "repeat": [ 1, 2 ] },
        { "item": "bed", "chance": 30, "repeat": [ 1, 2 ] }
      ],
      "x": { "item": "consumer_electronics", "chance": 10, "repeat": [ 1, 3 ] },
      "B": { "item": "shower", "chance": 10, "repeat": [ 1, 2 ] },
      "D": [
        { "item": "SUS_wardrobe_mens", "chance": 20, "repeat": [ 1, 2 ] },
        { "item": "SUS_wardrobe_womens", "chance": 20, "repeat": [ 1, 2 ] }
      ],
      "F": { "item": "SUS_fridge_healthy_vegan", "chance": 10 },
      "I": [ { "item": "SUS_desks_bedroom_unisex", "chance": 5 }, { "item": "SUS_office_desk", "chance": 25 } ],
      "J": { "item": "kitchen_counters", "chance": 5 },
      "L": { "item": "unisex_coat_rack", "chance": 30, "repeat": [ 1, 4 ] },
      "M": { "item": "home_display_case", "chance": 20 },
      "N": [
        { "item": "tools_common", "chance": 20, "repeat": [ 1, 2 ] },
        { "item": "hardware", "chance": 30, "repeat": [ 1, 2 ] },
        { "item": "cleaning", "chance": 10, "repeat": [ 1, 2 ] }
      ],
      "O": { "item": "SUS_oven", "chance": 50 },
      "P": { "item": "SUS_office_filing_cabinet", "chance": 80 },
      "Q": [
        { "item": "shower", "chance": 20 },
        { "item": "cleaning", "chance": 30, "repeat": [ 1, 2 ] },
        { "item": "bed", "chance": 30, "repeat": [ 1, 2 ] }
      ],
      "R": [ { "item": "homebooks", "chance": 20, "repeat": [ 1, 4 ] }, { "item": "games", "chance": 20, "repeat": [ 1, 2 ] } ],
      "S": [ { "item": "SUS_bathroom_sink", "chance": 20 }, { "item": "SUS_bathroom_medicine", "chance": 20 } ],
      "U": [
        { "item": "home_hw", "chance": 20, "repeat": [ 1, 2 ] },
        { "item": "cleaning", "chance": 20, "repeat": [ 1, 2 ] },
        { "item": "camping", "chance": 5, "repeat": [ 1, 2 ] }
      ],
      "V": { "item": "home_display_case", "chance": 20 },
      "Y": { "item": "SUS_trash_trashcan", "chance": 30, "repeat": [ 1, 4 ] },
      "1": [ { "item": "SUS_dishes", "chance": 20 }, { "item": "SUS_silverware", "chance": 20 } ],
      "2": { "item": "SUS_cookware", "chance": 20 },
      "3": [ { "item": "SUS_utensils", "chance": 20 }, { "item": "SUS_knife_drawer", "chance": 20 } ],
      "4": { "item": "SUS_junk_drawer", "chance": 20 },
      "5": { "item": "SUS_kitchen_sink", "chance": 20 },
      "6": [ { "item": "SUS_pantry", "chance": 5 }, { "item": "cannedfood", "chance": 5, "repeat": [ 1, 2 ] } ],
      "7": [ { "item": "SUS_breakfast_cupboard", "chance": 5 }, { "item": "SUS_coffee_cupboard", "chance": 5 } ],
      "8": [
        { "item": "SUS_hair_drawer", "chance": 30 },
        { "item": "SUS_bathroom_cabinet", "chance": 30 },
        { "item": "SUS_bathroom_medicine", "chance": 20 },
        { "item": "harddrugs", "chance": 2 }
      ],
      "9": { "item": "shower", "chance": 30, "repeat": [ 1, 2 ] },
      "@": { "item": "bed", "chance": 20 },
      "Z": { "item": "laundry", "chance": 20 },
      "W": { "item": "laundry", "chance": 20 },
      "z": [
        { "item": "allsporting", "chance": 20, "repeat": [ 1, 2 ] },
        { "item": "chem_home", "chance": 20, "repeat": [ 1, 2 ] },
        { "item": "child_items", "chance": 30, "repeat": [ 1, 2 ] },
        { "item": "stash_drugs", "chance": 1 },
        { "item": "maps", "chance": 7 }
      ],
      "≠": [
        { "item": "toy_box", "chance": 30, "repeat": [ 1, 2 ] },
        { "item": "games", "chance": 5, "repeat": [ 1, 2 ] },
        { "item": "allsporting", "chance": 5 }
      ]
    },
    "mapping": { "÷": { "item": { "item": "doormat", "chance": 55 } } }
  }
]
