[
  {
    "type": "palette",
    "id": "fbmc_shelter_palette",
    "terrain": { ".": "t_dirt" },
    "//": "Dummy terrain entry to satisfy need for non empty terrain section",
    "furniture": { "h": "f_chair", "t": "f_table", "L": "f_locker", "s": "f_sofa", "C": "f_armchair", "x": "f_clear" }
  },
  {
    "type": "mapgen",
    "update_mapgen_id": "fbmc_shelter_0",
    "object": {
      "set": [
        { "point": "terrain", "id": "t_floor", "x": 9, "y": 9 },
        { "point": "furniture", "id": "f_bulletin", "x": 9, "y": 9 }
      ]
    }
  },
  {
    "type": "mapgen",
    "update_mapgen_id": "fbmc_shelter_fireplace",
    "object": {
      "set": [
        { "point": "furniture", "id": "f_fireplace", "x": 18, "y": 11, "z": 0 },
        { "point": "furniture", "id": "f_chimney", "x": 18, "y": 11, "z": 1 },
        { "point": "furniture", "id": "f_table", "x": 18, "y": 12, "z": 0 }
      ],
      "place_loot": [ { "item": "pot", "x": 18, "y": 12, "chance": 100 } ]
    }
  },
  {
    "type": "mapgen",
    "update_mapgen_id": "fbmc_shelter_brazier",
    "object": {
      "set": [
        { "point": "furniture", "id": "f_brazier", "x": 18, "y": 11 },
        { "point": "furniture", "id": "f_table", "x": 18, "y": 12 }
      ],
      "place_loot": [ { "item": "pot", "x": 18, "y": 12, "chance": 100 } ]
    }
  },
  {
    "type": "mapgen",
    "update_mapgen_id": "fbmc_shelter_stove",
    "object": {
      "set": [
        { "point": "furniture", "id": "f_woodstove", "x": 18, "y": 11, "z": 0 },
        { "point": "furniture", "id": "f_vent_pipe", "x": 18, "y": 11, "z": 1 },
        { "point": "furniture", "id": "f_table", "x": 18, "y": 12, "z": 0 }
      ],
      "place_loot": [ { "item": "pot", "x": 18, "y": 12, "chance": 100 } ]
    }
  },
  {
    "type": "mapgen",
    "update_mapgen_id": "fbmc_shelter_well",
    "object": { "set": [ { "point": "terrain", "id": "t_water_pump", "x": 16, "y": 9 } ] }
  },
  {
    "type": "mapgen",
    "nested_mapgen_id": "fbmc_shelter_bed_east_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": [
        "Lbb",
        "xxt",
        "Lbb"
      ],
      "palettes": [ "fbmc_shelter_palette", { "param": "fbmc_bed_palette" } ]
    }
  },
  {
    "type": "mapgen",
    "update_mapgen_id": "fbmc_shelter_beds_SE",
    "object": { "place_nested": [ { "chunks": [ "fbmc_shelter_bed_east_wall" ], "x": 16, "y": 20 } ] }
  },
  {
    "type": "mapgen",
    "update_mapgen_id": "fbmc_shelter_beds_E",
    "object": { "place_nested": [ { "chunks": [ "fbmc_shelter_bed_east_wall" ], "x": 16, "y": 16 } ] }
  },
  {
    "type": "mapgen",
    "nested_mapgen_id": "fbmc_shelter_bed_west_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": [
        "bbL",
        "txx",
        "bbL"
      ],
      "palettes": [ "fbmc_shelter_palette", { "param": "fbmc_bed_palette" } ]
    }
  },
  {
    "type": "mapgen",
    "update_mapgen_id": "fbmc_shelter_beds_SW",
    "object": { "place_nested": [ { "chunks": [ "fbmc_shelter_bed_west_wall" ], "x": 5, "y": 17 } ] }
  },
  {
    "type": "mapgen",
    "update_mapgen_id": "fbmc_shelter_beds_W",
    "object": { "place_nested": [ { "chunks": [ "fbmc_shelter_bed_west_wall" ], "x": 5, "y": 13 } ] }
  },
  {
    "type": "mapgen",
    "update_mapgen_id": "fbmc_shelter_beds_NW",
    "object": { "place_nested": [ { "chunks": [ "fbmc_shelter_bed_west_wall" ], "x": 5, "y": 9 } ] }
  },
  {
    "type": "mapgen",
    "nested_mapgen_id": "fbmc_shelter_dining_room",
    "object": {
      "mapgensize": [ 4, 4 ],
      "rows": [
        " hth",
        " hth",
        " hth",
        " hth"
      ],
      "palettes": [ "fbmc_shelter_palette" ]
    }
  },
  {
    "type": "mapgen",
    "update_mapgen_id": "fbmc_shelter_dining",
    "object": { "place_nested": [ { "chunks": [ "fbmc_shelter_dining_room" ], "x": 10, "y": 10 } ] }
  },
  {
    "type": "mapgen",
    "nested_mapgen_id": "fbmc_shelter_living_room",
    "object": {
      "mapgensize": [ 4, 4 ],
      "rows": [
        "tsss",
        "    ",
        "    ",
        " CtC"
      ],
      "palettes": [ "fbmc_shelter_palette" ]
    }
  },
  {
    "type": "mapgen",
    "update_mapgen_id": "fbmc_shelter_livingroom",
    "object": {
      "place_nested": [ { "chunks": [ "fbmc_shelter_living_room" ], "x": 10, "y": 18 } ],
      "set": [
        { "point": "furniture", "id": "f_bookcase", "x": 7, "y": 21 },
        { "point": "furniture", "id": "f_bookcase", "x": 8, "y": 21 }
      ]
    }
  },
  {
    "type": "mapgen",
    "update_mapgen_id": "fbmc_shelter_pantry",
    "object": {
      "set": [
        { "point": "furniture", "id": "f_rack_wood", "x": 15, "y": 9 },
        { "point": "furniture", "id": "f_rack_wood", "x": 15, "y": 14 },
        { "point": "furniture", "id": "f_rack_wood", "x": 16, "y": 14 },
        { "point": "furniture", "id": "f_rack_wood", "x": 17, "y": 14 },
        { "point": "furniture", "id": "f_rack_wood", "x": 18, "y": 14 }
      ]
    }
  },
  {
    "type": "mapgen",
    "update_mapgen_id": "fbmc_shelter_craftspot",
    "object": {
      "set": [
        { "point": "furniture", "id": "f_workbench", "x": 16, "y": 11 },
        { "point": "furniture", "id": "f_workbench", "x": 16, "y": 12 }
      ]
    }
  },
  {
    "type": "mapgen",
    "update_mapgen_id": "fbmc_shelter_radio_console",
    "object": {
      "set": [
        { "point": "terrain", "id": "t_radio_tower", "x": 5, "y": 7 },
        { "point": "terrain", "id": "t_radio_controls", "x": 6, "y": 7 }
      ]
    }
  }
]
