[
  {
    "type": "palette",
    "id": "fbmc_shelter_1_palette",
    "terrain": { ".": "t_dirt" },
    "//": "Dummy terrain entry to satisfy need for non empty terrain section",
    "furniture": { "h": "f_chair", "t": "f_table", "x": "f_coffee_table", "L": "f_locker", "s": "f_sofa", "*": "f_clear" }
  },
  {
    "type": "mapgen",
    "update_mapgen_id": "fbmc_shelter_1_0",
    "method": "json",
    "object": {
      "set": [
        { "point": "terrain", "id": "t_floor", "x": 15, "y": 15 },
        { "point": "furniture", "id": "f_bulletin", "x": 15, "y": 15 }
      ]
    }
  },
  {
    "type": "mapgen",
    "update_mapgen_id": "fbmc_shelter_1_fireplace",
    "method": "json",
    "object": {
      "set": [
        { "point": "furniture", "id": "f_fireplace", "x": 18, "y": 14 },
        { "point": "furniture", "id": "f_table", "x": 18, "y": 15 }
      ],
      "place_loot": [ { "item": "pot", "x": 18, "y": 15, "chance": 100 } ]
    }
  },
  {
    "type": "mapgen",
    "update_mapgen_id": "fbmc_shelter_1_brazier",
    "method": "json",
    "object": {
      "set": [
        { "point": "furniture", "id": "f_brazier", "x": 18, "y": 14 },
        { "point": "furniture", "id": "f_table", "x": 18, "y": 15 }
      ],
      "place_loot": [ { "item": "pot", "x": 18, "y": 15, "chance": 100 } ]
    }
  },
  {
    "type": "mapgen",
    "update_mapgen_id": "fbmc_shelter_1_stove",
    "method": "json",
    "object": {
      "set": [
        { "point": "furniture", "id": "f_woodstove", "x": 18, "y": 14 },
        { "point": "furniture", "id": "f_table", "x": 18, "y": 15 }
      ],
      "place_loot": [ { "item": "pot", "x": 18, "y": 15, "chance": 100 } ]
    }
  },
  {
    "type": "mapgen",
    "update_mapgen_id": "fbmc_shelter_1_well",
    "method": "json",
    "object": { "set": [ { "point": "terrain", "id": "t_water_pump", "x": 16, "y": 18 } ] }
  },
  {
    "type": "mapgen",
    "method": "json",
    "nested_mapgen_id": "fbmc_shelter_1_bed_nw_wall",
    "object": {
      "parameters": {
        "fbmc_bed_palette": {
          "type": "palette_id",
          "scope": "omt",
          "default": { "distribution": [ "fbmc_straw_bed_palette", "fbmc_makeshift_bed_palette", "fbmc_bed_palette" ] }
        }
      },
      "mapgensize": [ 2, 2 ],
      "rows": [
        "bL",
        "b*"
      ],
      "palettes": [ "fbmc_shelter_1_palette", { "param": "fbmc_bed_palette" } ]
    }
  },
  {
    "type": "mapgen",
    "update_mapgen_id": "fbmc_shelter_1_bed_NW",
    "method": "json",
    "object": { "place_nested": [ { "chunks": [ "fbmc_shelter_1_bed_nw_wall" ], "x": 8, "y": 8 } ] }
  },
  {
    "type": "mapgen",
    "method": "json",
    "nested_mapgen_id": "fbmc_shelter_1_bed_w1_wall",
    "object": {
      "parameters": {
        "fbmc_bed_palette": {
          "type": "palette_id",
          "scope": "omt",
          "default": { "distribution": [ "fbmc_straw_bed_palette", "fbmc_makeshift_bed_palette", "fbmc_bed_palette" ] }
        }
      },
      "mapgensize": [ 2, 2 ],
      "rows": [
        "bb",
        "L*"
      ],
      "palettes": [ "fbmc_shelter_1_palette", { "param": "fbmc_bed_palette" } ]
    }
  },
  {
    "type": "mapgen",
    "update_mapgen_id": "fbmc_shelter_1_bed_W1",
    "method": "json",
    "object": { "place_nested": [ { "chunks": [ "fbmc_shelter_1_bed_w1_wall" ], "x": 5, "y": 10 } ] }
  },
  {
    "type": "mapgen",
    "update_mapgen_id": "fbmc_shelter_1_bed_W2",
    "method": "json",
    "object": { "place_nested": [ { "chunks": [ "fbmc_shelter_1_bed_w1_wall" ], "x": 5, "y": 13 } ] }
  },
  {
    "type": "mapgen",
    "update_mapgen_id": "fbmc_shelter_1_bed_W3",
    "method": "json",
    "object": { "place_nested": [ { "chunks": [ "fbmc_shelter_1_bed_w1_wall" ], "x": 5, "y": 16 } ] }
  },
  {
    "type": "mapgen",
    "method": "json",
    "nested_mapgen_id": "fbmc_shelter_1_bed_southwest_wall",
    "object": {
      "parameters": {
        "fbmc_bed_palette": {
          "type": "palette_id",
          "scope": "omt",
          "default": { "distribution": [ "fbmc_straw_bed_palette", "fbmc_makeshift_bed_palette", "fbmc_bed_palette" ] }
        }
      },
      "mapgensize": [ 4, 4 ],
      "rows": [
        "L*  ",
        " *  ",
        "b*  ",
        "bt  "
      ],
      "palettes": [ "fbmc_shelter_1_palette", { "param": "fbmc_bed_palette" } ]
    }
  },
  {
    "type": "mapgen",
    "update_mapgen_id": "fbmc_shelter_1_bed_SW",
    "method": "json",
    "object": { "place_nested": [ { "chunks": [ "fbmc_shelter_1_bed_southwest_wall" ], "x": 5, "y": 19 } ] }
  },
  {
    "type": "mapgen",
    "method": "json",
    "nested_mapgen_id": "fbmc_shelter_1_bed_south1_wall",
    "object": {
      "parameters": {
        "fbmc_bed_palette": {
          "type": "palette_id",
          "scope": "omt",
          "default": { "distribution": [ "fbmc_straw_bed_palette", "fbmc_makeshift_bed_palette", "fbmc_bed_palette" ] }
        }
      },
      "mapgensize": [ 3, 3 ],
      "rows": [
        "L*L",
        "b*b",
        "btb"
      ],
      "palettes": [ "fbmc_shelter_1_palette", { "param": "fbmc_bed_palette" } ]
    }
  },
  {
    "type": "mapgen",
    "update_mapgen_id": "fbmc_shelter_1_bed_S1",
    "method": "json",
    "object": { "place_nested": [ { "chunks": [ "fbmc_shelter_1_bed_south1_wall" ], "x": 8, "y": 20 } ] }
  },
  {
    "type": "mapgen",
    "method": "json",
    "nested_mapgen_id": "fbmc_shelter_1_bed_south2_wall",
    "object": {
      "parameters": {
        "fbmc_bed_palette": {
          "type": "palette_id",
          "scope": "omt",
          "default": { "distribution": [ "fbmc_straw_bed_palette", "fbmc_makeshift_bed_palette", "fbmc_bed_palette" ] }
        }
      },
      "mapgensize": [ 4, 4 ],
      "rows": [
        "   L",
        "  bb",
        "   L",
        "  bb"
      ],
      "palettes": [ "fbmc_shelter_1_palette", { "param": "fbmc_bed_palette" } ]
    }
  },
  {
    "type": "mapgen",
    "update_mapgen_id": "fbmc_shelter_1_bed_S2",
    "method": "json",
    "object": { "place_nested": [ { "chunks": [ "fbmc_shelter_1_bed_south2_wall" ], "x": 11, "y": 19 } ] }
  },
  {
    "type": "mapgen",
    "method": "json",
    "nested_mapgen_id": "fbmc_shelter_1_dining_room",
    "object": {
      "mapgensize": [ 4, 4 ],
      "rows": [
        " hth",
        " hth",
        " hth",
        " hth"
      ],
      "palettes": [ "fbmc_shelter_1_palette" ]
    }
  },
  {
    "type": "mapgen",
    "update_mapgen_id": "fbmc_shelter_1_dining",
    "method": "json",
    "object": { "place_nested": [ { "chunks": [ "fbmc_shelter_1_dining_room" ], "x": 12, "y": 9 } ] }
  },
  {
    "type": "mapgen",
    "method": "json",
    "nested_mapgen_id": "fbmc_shelter_1_living_room",
    "object": {
      "mapgensize": [ 5, 5 ],
      "rows": [
        "***  ",
        " sss ",
        "***  ",
        " xxx ",
        "***  "
      ],
      "palettes": [ "fbmc_shelter_1_palette" ]
    }
  },
  {
    "type": "mapgen",
    "update_mapgen_id": "fbmc_shelter_1_livingroom",
    "method": "json",
    "object": {
      "place_nested": [ { "chunks": [ "fbmc_shelter_1_living_room" ], "x": 8, "y": 11 } ],
      "set": [
        { "point": "furniture", "id": "f_bookcase", "x": 8, "y": 16 },
        { "point": "furniture", "id": "f_bookcase", "x": 9, "y": 16 },
        { "point": "furniture", "id": "f_bookcase", "x": 10, "y": 16 }
      ]
    }
  },
  {
    "type": "mapgen",
    "update_mapgen_id": "fbmc_shelter_1_pantry",
    "method": "json",
    "object": {
      "set": [
        { "point": "furniture", "id": "f_rack_wood", "x": 18, "y": 16 },
        { "point": "furniture", "id": "f_rack_wood", "x": 18, "y": 17 },
        { "point": "furniture", "id": "f_rack_wood", "x": 13, "y": 15 },
        { "point": "furniture", "id": "f_rack_wood", "x": 14, "y": 15 },
        { "point": "furniture", "id": "f_rack_wood", "x": 18, "y": 20 },
        { "point": "furniture", "id": "f_rack_wood", "x": 18, "y": 21 },
        { "point": "furniture", "id": "f_rack_wood", "x": 18, "y": 22 }
      ]
    }
  },
  {
    "type": "mapgen",
    "update_mapgen_id": "fbmc_shelter_1_craftspot",
    "method": "json",
    "object": {
      "set": [
        { "point": "furniture", "id": "f_workbench", "x": 16, "y": 15 },
        { "point": "furniture", "id": "f_workbench", "x": 16, "y": 16 },
        { "point": "furniture", "id": "f_workbench", "x": 17, "y": 11 }
      ]
    }
  },
  {
    "type": "mapgen",
    "update_mapgen_id": "fbmc_shelter_1_radio_console",
    "method": "json",
    "object": {
      "set": [
        { "point": "terrain", "id": "t_radio_tower", "x": 18, "y": 8 },
        { "point": "terrain", "id": "t_radio_controls", "x": 18, "y": 9 }
      ]
    }
  }
]
