[
  {
    "type": "item_group",
    "id": "ranch_nurse_clinic_aspirin",
    "items": [ { "prob": 1, "group": "bottle_otc_painkiller_20" } ]
  },
  {
    "type": "item_group",
    "id": "ranch_doctor_filing_cabinets",
    "items": [ { "item": "book_binder", "prob": 1, "charges": [ 25, 50 ] } ]
  },
  {
    "type": "item_group",
    "id": "ranch_bartender_shot_brandy",
    "items": [ { "item": "brandy", "prob": 1, "container-item": "shot_glass" } ]
  },
  {
    "type": "item_group",
    "id": "ranch_bartender_shot_rum",
    "items": [ { "item": "rum", "prob": 1, "container-item": "shot_glass" } ]
  },
  {
    "type": "item_group",
    "id": "ranch_bartender_shot_whiskey",
    "items": [ { "item": "whiskey", "prob": 1, "container-item": "shot_glass" } ]
  },
  {
    "type": "item_group",
    "id": "ranch_bartender_glass_water",
    "items": [ { "item": "water_clean", "prob": 1, "container-item": "glass" } ]
  },
  {
    "type": "item_group",
    "//": "Subset of surgery item_group with only basic and non quest conflicting items",
    "id": "ranch_nurse_clinic_surgery",
    "items": [
      { "group": "saline_bottle_random", "prob": 20 },
      { "prob": 5, "group": "iodine_bottle_plastic_pill_supplement_1_10" },
      { "prob": 5, "group": "prussian_blue_bottle_plastic_pill_supplement_1_10" },
      { "item": "bandages", "prob": 50, "count": [ 1, 3 ] },
      { "group": "adhesive_bandages_box_used", "prob": 20 },
      { "group": "cotton_ball_bag_used", "prob": 50 },
      { "group": "cotton_ball_bag_full", "prob": 25 },
      [ "mask_dust", 65 ],
      [ "towel", 40 ],
      [ "vacutainer", 10 ],
      { "item": "cotton_patchwork", "prob": 1 },
      { "item": "disinfectant", "prob": 35, "charges": [ 1, 10 ] },
      [ "medical_gauze", 10 ],
      { "group": "medical_tape_roll_part", "prob": 45 },
      [ "jar_glass_sealed", 20 ],
      [ "jar_3l_glass_sealed", 15 ],
      { "item": "oxygen_tank", "prob": 50, "charges": [ 0, 24 ] },
      { "item": "smoxygen_tank", "prob": 25, "charges": [ 0, 12 ] },
      [ "bfipowder", 15 ],
      { "prob": 10, "group": "quikclot_bag_plastic_1_6" }
    ]
  },
  {
    "type": "mapgen",
    "nested_mapgen_id": "tacoma_commune_west_wall_door",
    "object": {
      "mapgensize": [ 2, 2 ],
      "rows": [
        "q+",
        "  "
      ],
      "terrain": { "q": "t_wall_wood", "+": "t_door_c" },
      "flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ]
    }
  },
  {
    "type": "mapgen",
    "nested_mapgen_id": "tacoma_commune_east_wall_door",
    "object": {
      "mapgensize": [ 2, 2 ],
      "rows": [
        "+q",
        "  "
      ],
      "terrain": { "q": "t_wall_wood", "+": "t_door_c" },
      "flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ]
    }
  },
  {
    "type": "mapgen",
    "nested_mapgen_id": "tacoma_commune_makeshift_bed",
    "object": {
      "mapgensize": [ 2, 2 ],
      "rows": [
        "B#",
        "  "
      ],
      "furniture": { "#": "f_makeshift_bed", "B": "f_makeshift_bed" },
      "item": { "B": { "item": "blanket", "faction": "tacoma_commune" } },
      "flags": [ "ALLOW_TERRAIN_UNDER_OTHER_DATA" ]
    }
  },
  {
    "type": "mapgen",
    "nested_mapgen_id": "tacoma_commune_bar_13",
    "object": {
      "mapgensize": [ 20, 20 ],
      "rows": [
        "                    ",
        "                    ",
        "                    ",
        "                    ",
        "                    ",
        "                    ",
        "       ........     ",
        "       ........     ",
        "       ........     ",
        "....................",
        "....................",
        "....................",
        "....................",
        "....................",
        "...............     ",
        "...............     ",
        "...............     ",
        "   ..........       ",
        "   ..........       ",
        "   ..........       "
      ],
      "terrain": { ".": "t_dirt" },
      "flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ]
    }
  },
  {
    "type": "mapgen",
    "nested_mapgen_id": "tacoma_commune_bar_14",
    "object": {
      "mapgensize": [ 20, 20 ],
      "rows": [
        "                    ",
        "                    ",
        "                    ",
        "                    ",
        "                    ",
        "                    ",
        "       w  wwwww     ",
        "       w  w   w     ",
        "       w  w   w     ",
        "wwwwwwww  ww www  ww",
        "w             w    w",
        "w                  w",
        "w             w    w",
        "w             wwwwww",
        "w             w     ",
        "w             w     ",
        "wwww        www     ",
        "            w       ",
        "            w       ",
        "   wwwwwwwwww       "
      ],
      "terrain": { "w": "t_wall_half" },
      "flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ]
    }
  },
  {
    "type": "mapgen",
    "nested_mapgen_id": "tacoma_commune_bar_15_roof",
    "object": {
      "mapgensize": [ 20, 20 ],
      "rows": [
        "                    ",
        "                    ",
        "                    ",
        "                    ",
        "                    ",
        "                    ",
        "       rrrrrrrr     ",
        "       rrrrrrrr     ",
        "       rrrrrrrr     ",
        "rrrrrrrrrrrrrrrrrrrr",
        "rrrrrrrrrrrrrrrrrrrr",
        "rrrrrrrrrrrrrrrrrrrr",
        "rrrrrrrrrrrrrrrrrrrr",
        "rrrrrrrrrrrrrrrrrrrr",
        "rrrrrrrrrrrrrrr     ",
        "rrrrrrrrrrrrrrr     ",
        "rrrrrrrrrrrrrrr     ",
        "   rrrrrrrrrr       ",
        "   rrrrrrrrrr       ",
        "   rrrrrrrrrr       "
      ],
      "terrain": { "r": "t_wood_roof" }
    }
  },
  {
    "type": "mapgen",
    "nested_mapgen_id": "tacoma_commune_bar_15",
    "object": {
      "mapgensize": [ 20, 20 ],
      "rows": [
        "                    ",
        "                    ",
        "                    ",
        "                    ",
        "                    ",
        "                    ",
        "       wffwwwww     ",
        "       w..w...w     ",
        "       w..w...w     ",
        "www00wwwffwwfwwwffww",
        "w.............w....w",
        "w.............f....w",
        "0.............w....w",
        "0.............wwwwww",
        "w.............w     ",
        "w.............w     ",
        "wwww........www     ",
        "   f........w       ",
        "   f........w       ",
        "   wwww00wwww       "
      ],
      "terrain": { "w": "t_wall", ".": "t_dirtfloor", "0": "t_window_empty", "f": "t_door_frame" },
      "place_nested": [ { "chunks": [ "tacoma_commune_bar_15_roof" ], "x": 0, "y": 0, "z": 1 } ],
      "flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ]
    }
  },
  {
    "type": "mapgen",
    "nested_mapgen_id": "tacoma_commune_bar_16_done",
    "object": {
      "mapgensize": [ 20, 20 ],
      "rows": [
        "                    ",
        "                    ",
        "                    ",
        "                    ",
        "                    ",
        "                    ",
        "        ++          ",
        "        .. rrr      ",
        "        .. r.r      ",
        "   ]]   ++  +   ++  ",
        " ............& .... ",
        " CC..CtC...c..+.... ",
        "]tt........c.r vvkk ",
        "]tt.2....2.c.r      ",
        " CC..CtC...c.u      ",
        " ............s      ",
        "    &.C..C..        ",
        "   +..t..t..        ",
        "   +..C..C..        ",
        "       ]]           "
      ],
      "terrain": {
        ".": "t_floor",
        "]": "t_window_boarded_noglass",
        "c": "t_floor",
        "C": "t_floor",
        "t": "t_floor",
        "r": "t_floor",
        "k": "t_floor",
        "v": "t_floor",
        "u": "t_floor",
        "s": "t_floor",
        "&": "t_floor",
        "+": "t_door_c",
        "2": "t_floor_olight"
      },
      "furniture": {
        "c": "f_counter",
        "C": "f_chair",
        "t": "f_table",
        "r": "f_rack",
        "k": "f_wood_keg",
        "v": "f_fvat_empty",
        "u": "f_cupboard",
        "s": "f_sink",
        "&": "f_trashcan"
      },
      "place_zones": [
        { "type": "LOOT_DRINK", "faction": "tacoma_commune", "x": 13, "y": [ 12, 13 ] },
        {
          "type": "LOOT_CUSTOM",
          "faction": "tacoma_commune",
          "x": 13,
          "y": 14,
          "filter": "shot glass,drinking glass"
        },
        { "type": "LOOT_UNSORTED", "faction": "tacoma_commune", "x": 13, "y": [ 7, 8 ] },
        { "type": "LOOT_UNSORTED", "faction": "tacoma_commune", "x": 12, "y": 7 }
      ],
      "place_npcs": [ { "class": "ranch_bartender", "x": 12, "y": 12 }, { "class": "scavenger_merc", "x": 5, "y": 11 } ],
      "place_items": [
        { "item": "cleaning", "x": 11, "y": [ 7, 8 ], "chance": 100, "repeat": [ 2, 3 ], "faction": "tacoma_commune" },
        { "item": "ranch_bartender_glass_water", "x": 6, "y": 11, "chance": 100, "faction": "tacoma_commune" }
      ],
      "place_item": [
        { "item": "shot_glass", "x": 6, "y": 11, "faction": "tacoma_commune" },
        { "item": "tacoma_drink_token", "x": 6, "y": 11, "faction": "tacoma_commune" },
        { "item": "bucket_wood", "x": 13, "y": 15, "faction": "tacoma_commune" },
        { "item": "sponge", "x": 13, "y": 15, "faction": "tacoma_commune" },
        { "item": "cotton_patchwork", "x": 13, "y": 15, "faction": "tacoma_commune", "repeat": [ 2, 4 ] },
        { "item": "glass", "x": 13, "y": 14, "faction": "tacoma_commune", "repeat": [ 15, 30 ] },
        { "item": "shot_glass", "x": 13, "y": 14, "faction": "tacoma_commune", "repeat": [ 10, 20 ] }
      ],
      "flags": [ "ALLOW_TERRAIN_UNDER_OTHER_DATA" ]
    }
  },
  {
    "type": "mapgen",
    "nested_mapgen_id": "tacoma_commune_bar_bartender_1",
    "object": {
      "mapgensize": [ 15, 15 ],
      "rows": [
        "qqqqqqqqqqqqqqq",
        "..............q",
        "..............q",
        "q.............q",
        "q.............q",
        "q.............q",
        "qqqqqqq        ",
        "               ",
        "               ",
        "               ",
        "               ",
        "               ",
        "               ",
        "               ",
        "               "
      ],
      "terrain": { ".": "t_dirt", "q": "t_wall_half" },
      "flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ]
    }
  },
  {
    "type": "mapgen",
    "nested_mapgen_id": "tacoma_commune_bar_bartender_2",
    "object": {
      "mapgensize": [ 20, 20 ],
      "rows": [
        "wwww00www00wwww     ",
        "f             w     ",
        "f             wqqqqq",
        "w             w....q",
        "0             w....q",
        "w             w....q",
        "wwwwwww        ....q",
        "               ....q",
        "               ....q",
        "                    ",
        "                  k ",
        "                    ",
        "                    ",
        "                    ",
        "                    ",
        "                    ",
        "                    ",
        "                    ",
        "                    ",
        "                    "
      ],
      "terrain": { "w": "t_wall", "f": "t_door_frame", ".": "t_dirt", "q": "t_wall_half", "0": "t_window_empty" },
      "furniture": { "k": "f_wood_keg" },
      "flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ]
    }
  },
  {
    "type": "mapgen",
    "nested_mapgen_id": "tacoma_commune_bar_bartender_3_roof",
    "object": {
      "mapgensize": [ 20, 20 ],
      "rows": [
        "rrrrrrrrrrrrrrr     ",
        "rrrrrrrrrrrrrrr     ",
        "rrrrrrrrrrrrrrrrrrrr",
        "rrrrrrrrrrrrrrrrrrrr",
        "rrrrrrrrrrrrrrrrrrrr",
        "rrrrrrrrrrrrrrrrrrrr",
        "rrrrrrr        rrrrr",
        "               rrrrr",
        "               rrrrr",
        "                    ",
        "                    ",
        "                    ",
        "                    ",
        "                    ",
        "                    ",
        "                    ",
        "                    ",
        "                    ",
        "                    ",
        "                    "
      ],
      "terrain": { "r": "t_wood_roof" }
    }
  },
  {
    "type": "mapgen",
    "nested_mapgen_id": "tacoma_commune_bar_bartender_3",
    "object": {
      "mapgensize": [ 20, 20 ],
      "rows": [
        "    ]]   ]]         ",
        "+.............      ",
        "+............. wwwww",
        " ...2.....2... ....w",
        "]............. ....]",
        " ............. ....w",
        "               ....w",
        "               ....w",
        "               ....w",
        "                    ",
        "                    ",
        "                    ",
        "                    ",
        "                    ",
        "                    ",
        "                    ",
        "                    ",
        "                    ",
        "                    ",
        "                    "
      ],
      "terrain": { "w": "t_wall", ".": "t_floor", "]": "t_window_boarded_noglass", "+": "t_door_c", "2": "t_floor_olight" },
      "place_nested": [ { "chunks": [ "tacoma_commune_bar_bartender_3_roof" ], "x": 0, "y": 0, "z": 1 } ],
      "flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ]
    }
  },
  {
    "type": "mapgen",
    "nested_mapgen_id": "tacoma_commune_bar_bartender_4",
    "object": {
      "mapgensize": [ 16, 16 ],
      "rows": [
        "     CttC       ",
        "     CttC       ",
        "CtC         k   ",
        "            k   ",
        "CtC    CtC  k  s",
        "            v  s",
        "            v  s",
        "            v  s",
        "                ",
        "                ",
        "                ",
        "                ",
        "                ",
        "                ",
        "                ",
        "                "
      ],
      "furniture": { "C": "f_chair", "t": "f_table", "k": "f_wood_keg", "v": "f_fvat_empty", "s": "f_standing_tank" },
      "flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ]
    }
  },
  {
    "type": "mapgen",
    "nested_mapgen_id": "tacoma_commune_chopshop_10",
    "object": {
      "mapgensize": [ 20, 20 ],
      "rows": [
        "                    ",
        "                    ",
        "                    ",
        "                    ",
        "wwwwwwwwwwwwwwwwwwww",
        "w..................w",
        "....................",
        "....................",
        "....................",
        "....................",
        "....................",
        "....................",
        "w..................w",
        "wwwwwww.www.wwwwwwww",
        "     w...w...w      ",
        "     w...w...w      ",
        "     wwwwww.ww      ",
        "                    ",
        "                    ",
        "                    "
      ],
      "terrain": { "w": "t_wall_half", ".": "t_dirt" },
      "flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ]
    }
  },
  {
    "type": "mapgen",
    "nested_mapgen_id": "tacoma_commune_chopshop_11",
    "object": {
      "mapgensize": [ 20, 20 ],
      "rows": [
        "                    ",
        "                    ",
        "                    ",
        "                    ",
        "wwwwwwwwwwwwwwwwwwww",
        "w                  w",
        "                    ",
        "                    ",
        "                    ",
        "                    ",
        "                    ",
        "                    ",
        "w                  w",
        "wwwwwww+www+wwwwwwww",
        "     w   w   w      ",
        "     w   w   w      ",
        "     wwwwww+ww      ",
        "                    ",
        "                    ",
        "                    "
      ],
      "terrain": { "w": "t_wall", "+": "t_door_c" },
      "flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ]
    }
  },
  {
    "type": "mapgen",
    "nested_mapgen_id": "tacoma_commune_chopshop_12_roof",
    "object": {
      "mapgensize": [ 20, 20 ],
      "rows": [
        "                    ",
        "                    ",
        "                    ",
        "                    ",
        "rrrrrrrrrrrrrrrrrrrr",
        "rrrrrrrrrrrrrrrrrrrr",
        "rrrrrrrrrrrrrrrrrrrr",
        "rrrrrrrrrrrrrrrrrrrr",
        "rrrrrrrrrrrrrrrrrrrr",
        "rrrrrrrrrrrrrrrrrrrr",
        "rrrrrrrrrrrrrrrrrrrr",
        "rrrrrrrrrrrrrrrrrrrr",
        "rrrrrrrrrrrrrrrrrrrr",
        "rrrrrrrrrrrrrrrrrrrr",
        "     rrrrrrrrr      ",
        "     rrrrrrrrr      ",
        "     rrrrrrrrr      ",
        "                    ",
        "                    ",
        "                    "
      ],
      "terrain": { "r": "t_wood_roof" }
    }
  },
  {
    "type": "mapgen",
    "nested_mapgen_id": "tacoma_commune_chopshop_12_done",
    "object": {
      "mapgensize": [ 20, 20 ],
      "rows": [
        "                    ",
        "                    ",
        "                    ",
        "                    ",
        "wwwwwwwwwwwwwwwwwwww",
        "w..................w",
        "....................",
        "....................",
        "..rrr...cccc........",
        "....................",
        "....................",
        "....................",
        "w..................w",
        "wwwwwww+www+wwwwwwww",
        "     wr.bwr..w      ",
        "     wr.bwr..w      ",
        "     wwwwww+ww      ",
        "                    ",
        "                    ",
        "                    "
      ],
      "terrain": { "w": "t_wall", ".": "t_dirtfloor", "+": "t_door_c", "r": "t_dirtfloor", "c": "t_dirtfloor", "b": "t_dirtfloor" },
      "furniture": { "r": "f_rack", "c": "f_counter", "b": "f_makeshift_bed" },
      "place_vehicles": [ { "vehicle": "armored_car", "rotation": 0, "x": 15, "y": 7, "faction": "tacoma_commune" } ],
      "place_npcs": [ { "class": "ranch_scrapper_1", "x": 13, "y": 12 } ],
      "place_nested": [ { "chunks": [ "tacoma_commune_chopshop_12_roof" ], "x": 0, "y": 0, "z": 1 } ],
      "flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ]
    }
  },
  {
    "type": "mapgen",
    "nested_mapgen_id": "tacoma_commune_clinic_8",
    "object": {
      "mapgensize": [ 19, 19 ],
      "rows": [
        "                   ",
        "                   ",
        "                   ",
        "........   ........",
        "........   ........",
        "...................",
        "...................",
        "...................",
        "...................",
        "...................",
        "........   ........",
        "                   ",
        "                   ",
        "                   ",
        "                   ",
        "                   ",
        "                   ",
        "                   ",
        "                   "
      ],
      "terrain": { ".": "t_dirt" },
      "flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ]
    }
  },
  {
    "type": "mapgen",
    "nested_mapgen_id": "tacoma_commune_clinic_9",
    "object": {
      "mapgensize": [ 19, 19 ],
      "rows": [
        "                   ",
        "                   ",
        "                   ",
        "wwwwwwww   wwwwwwww",
        "w      w   w      w",
        "w      ww ww      w",
        "w      w   w      w",
        "w                 w",
        "w      w   w      w",
        "w      wwwww      w",
        "www  www   wwwwwwww",
        "                   ",
        "                   ",
        "                   ",
        "                   ",
        "                   ",
        "                   ",
        "                   ",
        "                   "
      ],
      "terrain": { "w": "t_wall_half" },
      "place_item": [ { "item": "hammer_sledge", "x": 12, "y": 18, "faction": "tacoma_commune" } ],
      "flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ]
    }
  },
  {
    "type": "mapgen",
    "nested_mapgen_id": "tacoma_commune_clinic_10_1",
    "object": {
      "mapgensize": [ 19, 19 ],
      "rows": [
        "                   ",
        "                   ",
        "                   ",
        "wwwwwwww   wwwwwwww",
        "w      w   w      w",
        "[      wwfww      [",
        "w      w   w      w",
        "w                 w",
        "[      w   w      [",
        "w      wwwww      w",
        "wwwffwww   wwwwwwww",
        "                   ",
        "                   ",
        "                   ",
        "                   ",
        "                   ",
        "                   ",
        "                   ",
        "                   "
      ],
      "terrain": { "w": "t_wall", "[": "t_window_boarded_noglass", "f": "t_door_frame" }
    }
  },
  {
    "type": "mapgen",
    "nested_mapgen_id": "tacoma_commune_clinic_10_roof",
    "object": {
      "mapgensize": [ 19, 19 ],
      "rows": [
        "                   ",
        "                   ",
        "                   ",
        "rrrrrrrr   rrrrrrrr",
        "rrrrrrrr   rrrrrrrr",
        "rrrrrrrrrrrrrrrrrrr",
        "rrrrrrrrrrrrrrrrrrr",
        "rrrrrrrrrrrrrrrrrrr",
        "rrrrrrrrrrrrrrrrrrr",
        "rrrrrrrrrrrrrrrrrrr",
        "rrrrrrrr   rrrrrrrr",
        "                   ",
        "                   ",
        "                   ",
        "                   ",
        "                   ",
        "                   ",
        "                   ",
        "                   "
      ],
      "terrain": { "r": "t_wood_roof" }
    }
  },
  {
    "type": "mapgen",
    "nested_mapgen_id": "tacoma_commune_clinic_10",
    "object": {
      "mapgensize": [ 19, 19 ],
      "rows": [
        "                   ",
        "                   ",
        "                   ",
        "                   ",
        " ......     ...... ",
        " ......  .  ...... ",
        " ...... ... ...... ",
        " ................. ",
        " ...... ... ...... ",
        " ......     ...... ",
        "   ..              ",
        "                   ",
        "                   ",
        "                   ",
        "                   ",
        "                   ",
        "                   ",
        "                   ",
        "                   "
      ],
      "terrain": { ".": "t_dirtfloor" },
      "place_item": [ { "item": "ax", "x": 13, "y": 18, "faction": "tacoma_commune" } ],
      "place_nested": [ { "chunks": [ "tacoma_commune_clinic_10_roof" ], "x": 0, "y": 0, "z": 1 } ],
      "flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ]
    }
  },
  {
    "type": "mapgen",
    "nested_mapgen_id": "tacoma_commune_clinic_11",
    "object": {
      "mapgensize": [ 17, 17 ],
      "rows": [
        "                 ",
        "                 ",
        "                 ",
        "                 ",
        "......     .cccc.",
        "......  +  ..s...",
        "..2... ... ...2..",
        "............tt...",
        "...... ... ......",
        "......     ......",
        "  ++             ",
        "                 ",
        "                 ",
        "                 ",
        "                 ",
        "                 ",
        "                 "
      ],
      "terrain": { "+": "t_door_c", ".": "t_floor", "c": "t_floor", "t": "t_floor", "s": "t_floor", "2": "t_floor_olight" },
      "furniture": { "c": "f_cupboard", "t": "f_table", "s": "f_stool" },
      "place_signs": [ { "signage": "Clinic", "x": 1, "y": 10 } ],
      "place_npcs": [ { "class": "ranch_nurse_1", "x": 4, "y": 6 } ],
      "place_item": [ { "item": "hoe", "x": 14, "y": 18, "faction": "tacoma_commune" } ],
      "flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ]
    }
  },
  {
    "type": "mapgen",
    "nested_mapgen_id": "tacoma_commune_clinic_12a",
    "object": {
      "mapgensize": [ 19, 19 ],
      "rows": [
        "                   ",
        "                   ",
        "                   ",
        "                   ",
        "                   ",
        "                   ",
        "                   ",
        "                   ",
        "                   ",
        "                   ",
        "                   ",
        "wwwwwwww   wwwwwwww",
        "w......wwwww......w",
        "w......w...w......w",
        "w......f...f......w",
        "w......w...w......w",
        "w......w...w......w",
        "w......w...w......w",
        "wwwwwwww...wwwwwwww"
      ],
      "terrain": { ".": "t_dirt", "w": "t_wall_half", "f": "t_door_frame" },
      "flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ]
    }
  },
  {
    "type": "mapgen",
    "nested_mapgen_id": "tacoma_commune_clinic_12b",
    "object": {
      "mapgensize": [ 16, 16 ],
      "rows": [
        " w....w...w....w",
        " w....f...f....w",
        " w....w...w....w",
        "                ",
        "                ",
        "                ",
        "                ",
        "c               ",
        "c    c          ",
        "cc  ct          ",
        "                ",
        "                ",
        "                ",
        "                ",
        "                ",
        "                "
      ],
      "terrain": { ".": "t_dirt", "w": "t_wall_half", "f": "t_door_frame" },
      "furniture": { "c": "f_chair", "t": "f_table" },
      "flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ]
    }
  },
  {
    "type": "mapgen",
    "nested_mapgen_id": "tacoma_commune_clinic_12a_roof",
    "object": {
      "mapgensize": [ 19, 19 ],
      "rows": [
        "                   ",
        "                   ",
        "                   ",
        "                   ",
        "                   ",
        "                   ",
        "                   ",
        "                   ",
        "                   ",
        "                   ",
        "                   ",
        "rrrrrrrr   rrrrrrrr",
        "rrrrrrrrrrrrrrrrrrr",
        "rrrrrrrrrrrrrrrrrrr",
        "rrrrrrrrrrrrrrrrrrr",
        "rrrrrrrrrrrrrrrrrrr",
        "rrrrrrrrrrrrrrrrrrr",
        "rrrrrrrrrrrrrrrrrrr",
        "rrrrrrrrrrrrrrrrrrr"
      ],
      "terrain": { "r": "t_wood_roof" }
    }
  },
  {
    "type": "mapgen",
    "nested_mapgen_id": "tacoma_commune_clinic_12b_roof",
    "object": {
      "mapgensize": [ 16, 16 ],
      "rows": [
        " rrrrrrrrrrrrrrr",
        " rrrrrrrrrrrrrrr",
        " rrrrrrrrrrrrrrr",
        "       rrr      ",
        "       rrr      ",
        "                ",
        "                ",
        "                ",
        "                ",
        "                ",
        "                ",
        "                ",
        "                ",
        "                ",
        "                ",
        "                "
      ],
      "terrain": { "r": "t_wood_roof" }
    }
  },
  {
    "type": "mapgen",
    "nested_mapgen_id": "tacoma_commune_clinic_bed",
    "object": {
      "mapgensize": [ 2, 2 ],
      "rows": [
        "# ",
        "# "
      ],
      "furniture": { "#": "f_makeshift_bed" },
      "flags": [ "ALLOW_TERRAIN_UNDER_OTHER_DATA" ]
    }
  },
  {
    "type": "mapgen",
    "nested_mapgen_id": "tacoma_commune_greenhouse_16",
    "object": {
      "mapgensize": [ 13, 13 ],
      "rows": [
        "wwwww.wwwww  ",
        "w.........w  ",
        "w.........w  ",
        "w.........w  ",
        "w.........w  ",
        "w.........w  ",
        "w.........w  ",
        "w.........w  ",
        "w.........w  ",
        "w.........w  ",
        "w.........w  ",
        "w.........w  ",
        "wwwww.wwwww  "
      ],
      "terrain": { "w": "t_wall_half", ".": "t_dirt" },
      "flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ]
    }
  },
  {
    "type": "mapgen",
    "nested_mapgen_id": "tacoma_commune_greenhouse_17_roof",
    "object": {
      "mapgensize": [ 13, 13 ],
      "rows": [
        "rrrrrrrrrrr  ",
        "rrrrrrrrrrr  ",
        "rrrrrrrrrrr  ",
        "rrrrrrrrrrr  ",
        "rrrrrrrrrrr  ",
        "rrrrrrrrrrr  ",
        "rrrrrrrrrrr  ",
        "rrrrrrrrrrr  ",
        "rrrrrrrrrrr  ",
        "rrrrrrrrrrr  ",
        "rrrrrrrrrrr  ",
        "rrrrrrrrrrr  ",
        "rrrrrrrrrrr  "
      ],
      "terrain": { "r": "t_glass_roof" }
    }
  },
  {
    "type": "mapgen",
    "nested_mapgen_id": "tacoma_commune_greenhouse_17_done",
    "object": {
      "mapgensize": [ 13, 13 ],
      "rows": [
        "wwwww+wwwww  ",
        "w         w  ",
        "w         w  ",
        "w         w  ",
        "w         w  ",
        "w         w  ",
        "w         w  ",
        "w         w  ",
        "w         w  ",
        "w         w  ",
        "w         w  ",
        "w         w  ",
        "wwwww+wwwww  "
      ],
      "terrain": { "w": "t_window", "+": "t_door_c" },
      "place_nested": [ { "chunks": [ "tacoma_commune_greenhouse_17_roof" ], "x": 0, "y": 0, "z": 1 } ]
    }
  },
  {
    "type": "mapgen",
    "nested_mapgen_id": "tacoma_commune_greenhouse_bartender_beets",
    "object": {
      "mapgensize": [ 13, 13 ],
      "rows": [
        "             ",
        " b           ",
        " b           ",
        " b           ",
        " b           ",
        " b           ",
        " r           ",
        " b           ",
        " b           ",
        " b           ",
        " b           ",
        " b           ",
        "             "
      ],
      "furniture": { "r": "f_rack", "b": "f_planter" },
      "sealed_item": { "b": { "item": { "item": "seed_sugar_beet", "chance": 100 }, "furniture": "f_planter_seedling" } },
      "item": { "r": { "item": "g_shovel", "chance": 100 } }
    }
  },
  {
    "type": "mapgen",
    "nested_mapgen_id": "tacoma_commune_junk_shop_12",
    "object": {
      "mapgensize": [ 16, 16 ],
      "rows": [
        "wwwwww          ",
        "w....wwwwwwwwwww",
        "w....w.........w",
        "w..............w",
        "w....w.........w",
        "wwwwww.........w",
        "     w.........w",
        "     ..........w",
        "     w.........w",
        "     www.....www",
        "       w.....w  ",
        "       w.....w  ",
        "       w......  ",
        "       w.....w  ",
        "       wwwwwww  ",
        "                "
      ],
      "terrain": { "w": "t_wall_half", ".": "t_dirt" },
      "flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ]
    }
  },
  {
    "type": "mapgen",
    "nested_mapgen_id": "tacoma_commune_junk_shop_13_roof",
    "object": {
      "mapgensize": [ 16, 16 ],
      "rows": [
        "rrrrrr          ",
        "rrrrrrrrrrrrrrrr",
        "rrrrrrrrrrrrrrrr",
        "rrrrrrrrrrrrrrrr",
        "rrrrrrrrrrrrrrrr",
        "rrrrrrrrrrrrrrrr",
        "     rrrrrrrrrrr",
        "     rrrrrrrrrrr",
        "     rrrrrrrrrrr",
        "     rrrrrrrrrrr",
        "       rrrrrrr  ",
        "       rrrrrrr  ",
        "       rrrrrrr  ",
        "       rrrrrrr  ",
        "       rrrrrrr  ",
        "                "
      ],
      "terrain": { "r": "t_wood_roof" }
    }
  },
  {
    "type": "mapgen",
    "nested_mapgen_id": "tacoma_commune_junk_shop_13",
    "object": {
      "mapgensize": [ 16, 16 ],
      "rows": [
        "wwwwww          ",
        "w....wwww000wwww",
        "0....w.........w",
        "0..............w",
        "w....w.........0",
        "wwwwww.........0",
        "     w.........w",
        "     f.........w",
        "     w.........w",
        "     www.....www",
        "       w.....w  ",
        "       w.....w  ",
        "       0.....f  ",
        "       w.....w  ",
        "       wwwwwww  ",
        "                "
      ],
      "terrain": { "w": "t_wall", ".": "t_dirtfloor", "0": "t_window_empty", "f": "t_door_frame" },
      "place_nested": [ { "chunks": [ "tacoma_commune_junk_shop_13_roof" ], "x": 0, "y": 0, "z": 1 } ],
      "flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ]
    }
  },
  {
    "type": "mapgen",
    "nested_mapgen_id": "tacoma_commune_junk_shop_14_done",
    "object": {
      "mapgensize": [ 16, 16 ],
      "rows": [
        "                ",
        "         [[[    ",
        "[             r ",
        "[    =        r ",
        "        cc cc r[",
        "        cclcc r[",
        "        cc cc r ",
        "     +  cc cc r ",
        "              r ",
        "                ",
        "          l     ",
        "          c     ",
        "       [C c  +  ",
        "        Csc r   ",
        "                ",
        "                "
      ],
      "terrain": { "[": "t_window_boarded_noglass", "+": "t_door_c", "l": "t_dirtfloor_olight", "=": "t_door_curtain_c" },
      "furniture": { "c": "f_counter", "r": "f_rack", "s": "f_safe_o", "C": "f_clothing_rail" },
      "place_zones": [
        { "type": "LOOT_UNSORTED", "faction": "tacoma_commune", "x": [ 1, 4 ], "y": 1 },
        { "type": "LOOT_UNSORTED", "faction": "tacoma_commune", "x": [ 1, 4 ], "y": 4 },
        { "type": "LOOT_UNSORTED", "faction": "tacoma_commune", "x": 10, "y": [ 11, 13 ] },
        { "type": "LOOT_MANUALS", "faction": "tacoma_commune", "x": 12, "y": 13 },
        { "type": "LOOT_CURRENCY", "faction": "tacoma_commune", "x": 9, "y": 13 },
        { "type": "LOOT_ARMOR", "faction": "tacoma_commune", "x": 8, "y": 12 },
        { "type": "LOOT_CLOTHING", "faction": "tacoma_commune", "x": 8, "y": 13 }
      ],
      "place_signs": [
        { "signage": "Extra Supplies.  Take what you need.", "x": 11, "y": 8 },
        { "signage": "Scavenger Storage.  Stay out!", "x": 5, "y": 4 }
      ],
      "place_npcs": [ { "class": "ranch_scavenger_1", "x": 9, "y": 12 } ],
      "flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ]
    }
  },
  {
    "type": "mapgen",
    "nested_mapgen_id": "tacoma_commune_junk_shop_shed_1",
    "object": {
      "mapgensize": [ 4, 4 ],
      "rows": [
        "wfww",
        "w  w",
        "w  w",
        "wwww"
      ],
      "terrain": { "w": "t_wall_half", "f": "t_door_frame" },
      "flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ]
    }
  },
  {
    "type": "mapgen",
    "nested_mapgen_id": "tacoma_commune_junk_shop_shed_2",
    "object": {
      "mapgensize": [ 4, 4 ],
      "rows": [
        "wdww",
        "w..w",
        "w.sw",
        "wwww"
      ],
      "terrain": { "w": "t_wall_wood", "d": "t_door_locked", ".": "t_dirtfloor", "s": "t_dirtfloor" },
      "furniture": { "s": "f_woodstove" },
      "place_item": [ { "item": "log", "x": 2, "y": 1, "amount": [ 3, 5 ] } ],
      "flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ]
    }
  },
  {
    "type": "mapgen",
    "nested_mapgen_id": "tacoma_commune_lumbermill_4",
    "object": {
      "mapgensize": [ 12, 12 ],
      "rows": [
        "..........  ",
        "..........  ",
        "WWW.......  ",
        "W.........  ",
        "W.........  ",
        "..........  ",
        "..........  ",
        "..........  ",
        "..........  ",
        "..........  ",
        "..........  ",
        "..........  "
      ],
      "terrain": { "W": "t_wall_log_half", ".": "t_dirt" },
      "flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ]
    }
  },
  {
    "type": "mapgen",
    "nested_mapgen_id": "tacoma_commune_lumbermill_5_roof",
    "object": {
      "mapgensize": [ 12, 12 ],
      "rows": [
        "            ",
        "            ",
        "rrrrrrrrrr  ",
        "rrrrrrrrrr  ",
        "rrrrrrrrrr  ",
        "rrrrrrrrrr  ",
        "rrrrrrrrrr  ",
        "rrrrrrrrrr  ",
        "rrrrrrrrrr  ",
        "rrrrrrrrrr  ",
        "rrrrrrrrrr  ",
        "rrrrrrrrrr  "
      ],
      "terrain": { "r": "t_wood_roof" }
    }
  },
  {
    "type": "mapgen",
    "nested_mapgen_id": "tacoma_commune_lumbermill_5",
    "object": {
      "mapgensize": [ 12, 12 ],
      "rows": [
        "            ",
        "            ",
        "WWW....WWW  ",
        "W........W  ",
        "W........W  ",
        "W.........  ",
        "W.........  ",
        "W.........  ",
        "W.........  ",
        "W........W  ",
        "W........W  ",
        "WWW....WWW  "
      ],
      "flags": [ "DISMANTLE_ALL_BEFORE_PLACING_TERRAIN" ],
      "terrain": { "W": "t_wall_log", ".": "t_dirtfloor" },
      "place_nested": [ { "chunks": [ "tacoma_commune_lumbermill_5_roof" ], "x": 0, "y": 0, "z": 1 } ]
    }
  },
  {
    "type": "mapgen",
    "nested_mapgen_id": "tacoma_commune_lumbermill_6",
    "object": {
      "mapgensize": [ 12, 12 ],
      "rows": [
        "            ",
        "            ",
        "            ",
        "            ",
        "            ",
        "            ",
        "            ",
        "            ",
        "            ",
        "        r   ",
        "        r   ",
        "            "
      ],
      "terrain": {  },
      "furniture": { "r": "f_rack" },
      "place_item": [
        { "item": "frame", "x": 3, "y": 6, "faction": "tacoma_commune" },
        { "item": "frame", "x": 3, "y": 7, "faction": "tacoma_commune" },
        { "item": "frame", "x": 3, "y": 8, "faction": "tacoma_commune" }
      ]
    }
  },
  {
    "type": "mapgen",
    "nested_mapgen_id": "tacoma_commune_lumbermill_7",
    "object": {
      "mapgensize": [ 12, 12 ],
      "rows": [
        "            ",
        "            ",
        "   c        ",
        "   c    r   ",
        "   c    r   ",
        "   c        ",
        "            ",
        "            ",
        "            ",
        "            ",
        "            ",
        "            "
      ],
      "terrain": { "c": "t_conveyor" },
      "furniture": { "r": "f_rack" },
      "flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ]
    }
  },
  {
    "type": "mapgen",
    "nested_mapgen_id": "tacoma_commune_lumbermill_8_done",
    "object": {
      "mapgensize": [ 12, 12 ],
      "rows": [
        "            ",
        "            ",
        "            ",
        "            ",
        "            ",
        "            ",
        "   m        ",
        "   m        ",
        "   M        ",
        "            ",
        "            ",
        "            "
      ],
      "terrain": {  },
      "furniture": { "m": "f_machinery_old", "M": "f_machinery_heavy" },
      "place_item": [
        { "item": "log", "x": 3, "y": 0 },
        { "item": "log", "x": 3, "y": 1 },
        { "item": "log", "x": 3, "y": 1 },
        { "item": "log", "x": 0, "y": 1, "amount": [ 1, 5 ] },
        { "item": "log", "x": 1, "y": 1, "amount": [ 1, 5 ] },
        { "item": "2x4", "x": 3, "y": 9, "amount": [ 1, 10 ] },
        { "item": "log", "x": 3, "y": 2 }
      ],
      "place_npcs": [ { "class": "ranch_woodcutter_2", "x": 4, "y": 7 } ]
    }
  },
  {
    "type": "mapgen",
    "nested_mapgen_id": "tacoma_commune_outhouse_8",
    "object": {
      "mapgensize": [ 5, 5 ],
      "rows": [
        "wwww ",
        "..0w ",
        "wwww ",
        "..0w ",
        "wwww "
      ],
      "terrain": { "w": "t_wall_half", "0": "t_pit", ".": "t_dirt" },
      "flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ]
    }
  },
  {
    "type": "mapgen",
    "nested_mapgen_id": "tacoma_commune_outhouse_9_roof",
    "object": {
      "mapgensize": [ 5, 5 ],
      "rows": [
        "rrrr ",
        "rrrr ",
        "rrrr ",
        "rrrr ",
        "rrrr "
      ],
      "terrain": { "r": "t_wood_roof" }
    }
  },
  {
    "type": "mapgen",
    "nested_mapgen_id": "tacoma_commune_outhouse_9_done",
    "object": {
      "mapgensize": [ 5, 5 ],
      "rows": [
        "wwww ",
        "+.0w ",
        "wwww ",
        "+.0w ",
        "wwww "
      ],
      "terrain": { "w": "t_wall", "+": "t_door_c", ".": "t_dirtfloor", "0": "t_pit" },
      "place_npcs": [ { "class": "ranch_ill_1", "x": 2, "y": 1 } ],
      "flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ],
      "place_nested": [ { "chunks": [ "tacoma_commune_outhouse_9_roof" ], "x": 0, "y": 0, "z": 1 } ]
    }
  },
  {
    "type": "mapgen",
    "nested_mapgen_id": "tacoma_commune_toolshed_8",
    "object": {
      "mapgensize": [ 6, 6 ],
      "rows": [
        "wwwwww",
        "w....w",
        ".....w",
        "w....w",
        "wwwwww",
        "      "
      ],
      "terrain": { "w": "t_wall_half", ".": "t_dirt" },
      "flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ]
    }
  },
  {
    "type": "mapgen",
    "nested_mapgen_id": "tacoma_commune_toolshed_9_roof",
    "object": {
      "mapgensize": [ 6, 6 ],
      "rows": [
        "rrrrrr",
        "rrrrrr",
        "rrrrrr",
        "rrrrrr",
        "rrrrrr",
        "      "
      ],
      "terrain": { "r": "t_wood_roof" }
    }
  },
  {
    "type": "mapgen",
    "nested_mapgen_id": "tacoma_commune_toolshed_9_done",
    "object": {
      "mapgensize": [ 6, 6 ],
      "rows": [
        "wwwwww",
        "wccccw",
        "+....W",
        "wccccw",
        "wwwwww",
        "      "
      ],
      "terrain": { "w": "t_wall", "+": "t_door_c", "W": "t_window_boarded_noglass", "c": "t_dirtfloor", ".": "t_dirtfloor" },
      "furniture": { "c": "f_counter" },
      "place_nested": [ { "chunks": [ "tacoma_commune_toolshed_9_roof" ], "x": 0, "y": 0, "z": 1 } ],
      "flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ]
    }
  },
  {
    "type": "mapgen",
    "update_mapgen_id": "tacoma_commune_woodcutter_10_logs",
    "object": { "place_item": [ { "item": "log", "x": 7, "y": 15, "amount": 10 } ] }
  },
  {
    "type": "mapgen",
    "update_mapgen_id": "tacoma_commune_woodcutter_100_logs",
    "object": { "place_item": [ { "item": "log", "x": 7, "y": 15, "amount": 100 } ] }
  },
  {
    "type": "mapgen",
    "update_mapgen_id": "tacoma_commune_crop_overseer_field_1_plant",
    "object": {
      "set": [
        { "square": "terrain", "id": "t_dirt", "x": 3, "y": 2, "x2": 16, "y2": 21 },
        { "square": "terrain", "id": "t_dirtmound", "x": 3, "y": 2, "x2": 3, "y2": 9 },
        { "square": "terrain", "id": "t_dirtmound", "x": 3, "y": 14, "x2": 3, "y2": 21 },
        { "square": "terrain", "id": "t_dirtmound", "x": 5, "y": 3, "x2": 5, "y2": 20 },
        { "square": "terrain", "id": "t_dirtmound", "x": 7, "y": 3, "x2": 7, "y2": 20 },
        { "square": "terrain", "id": "t_dirtmound", "x": 9, "y": 3, "x2": 9, "y2": 20 },
        { "square": "terrain", "id": "t_dirtmound", "x": 11, "y": 3, "x2": 11, "y2": 20 },
        { "square": "terrain", "id": "t_dirtmound", "x": 13, "y": 3, "x2": 13, "y2": 20 },
        { "square": "terrain", "id": "t_dirtmound", "x": 15, "y": 3, "x2": 15, "y2": 20 },
        { "square": "terrain", "id": "t_dirtmound", "x": 17, "y": 2, "x2": 17, "y2": 21 }
      ],
      "place_signs": [ { "signage": "Your name is crudely scribbled on the sign with 'Not for commune use' below it.", "x": 0, "y": 9 } ],
      "flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ]
    }
  },
  {
    "type": "mapgen",
    "update_mapgen_id": "tacoma_commune_crop_overseer_field_1_fence",
    "object": {
      "set": [
        { "square": "terrain", "id": "t_fence", "x": 2, "y": 1, "x2": 18, "y2": 1 },
        { "square": "terrain", "id": "t_fence", "x": 2, "y": 22, "x2": 18, "y2": 22 },
        { "square": "terrain", "id": "t_fence", "x": 2, "y": 2, "x2": 2, "y2": 21 },
        { "square": "terrain", "id": "t_fence", "x": 18, "y": 2, "x2": 18, "y2": 21 },
        { "point": "terrain", "id": "t_fencegate_c", "x": 10, "y": 1 },
        { "point": "terrain", "id": "t_fencegate_c", "x": 10, "y": 22 },
        { "square": "terrain", "id": "t_fencegate_c", "x": 2, "y": 11, "x2": 2, "y2": 12 }
      ],
      "flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ]
    }
  },
  {
    "type": "mapgen",
    "update_mapgen_id": "tacoma_commune_shot_brandy",
    "object": {
      "place_items": [ { "item": "ranch_bartender_shot_brandy", "x": 11, "y": 12, "chance": 100 } ],
      "place_item": [ { "item": "tacoma_drink_token", "x": 11, "y": 12 } ]
    }
  },
  {
    "type": "mapgen",
    "update_mapgen_id": "tacoma_commune_shot_rum",
    "object": {
      "place_items": [ { "item": "ranch_bartender_shot_rum", "x": 11, "y": 12, "chance": 100 } ],
      "place_item": [ { "item": "tacoma_drink_token", "x": 11, "y": 12 } ]
    }
  },
  {
    "type": "mapgen",
    "update_mapgen_id": "tacoma_commune_shot_whiskey",
    "object": {
      "place_items": [ { "item": "ranch_bartender_shot_whiskey", "x": 11, "y": 12, "chance": 100 } ],
      "place_item": [ { "item": "tacoma_drink_token", "x": 11, "y": 12 } ]
    }
  },
  {
    "type": "mapgen",
    "update_mapgen_id": "tacoma_commune_glass_water",
    "object": { "place_items": [ { "item": "ranch_bartender_glass_water", "x": 11, "y": 12, "chance": 100 } ] }
  }
]
