[
  {
    "type": "mapgen",
    "method": "json",
    "nested_mapgen_id": "mi-go_encampment1_room1",
    "object": {
      "mapgensize": [ 7, 7 ],
      "rotation": [ 0, 3 ],
      "rows": [
        ";||||..",
        "||T +..",
        "|& P|..",
        "||  |..",
        ";| T|..",
        ";| ||..",
        ";|+||.."
      ],
      "flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ],
      "place_monsters": [ { "monster": "GROUP_MI-GO_BASE_COMMON", "x": [ 2, 3 ], "y": [ 1, 4 ], "density": 0.02, "repeat": [ 0, 2 ] } ],
      "palettes": [ "mi-go_palette" ]
    }
  },
  {
    "type": "mapgen",
    "method": "json",
    "nested_mapgen_id": "mi-go_encampment1_room2",
    "object": {
      "mapgensize": [ 8, 8 ],
      "rotation": [ 0, 3 ],
      "rows": [
        ";||||||;",
        "||PPPP||",
        "+   i P|",
        "|  &   +",
        "|P    P|",
        "||PPPP||",
        "|||||||.",
        "........"
      ],
      "flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ],
      "place_monsters": [ { "monster": "GROUP_MI-GO_BASE_COMMON", "x": [ 1, 6 ], "y": [ 2, 4 ], "density": 0.01, "repeat": [ 1, 3 ] } ],
      "palettes": [ "mi-go_palette" ]
    }
  },
  {
    "type": "mapgen",
    "method": "json",
    "nested_mapgen_id": "mi-go_encampment1_room3",
    "object": {
      "mapgensize": [ 8, 8 ],
      "rotation": [ 0, 3 ],
      "rows": [
        "||#....|",
        "+ #####|",
        "|    iT+",
        "||PFPV||",
        ".||||||.",
        "........",
        "........",
        "........"
      ],
      "flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ],
      "place_monsters": [ { "monster": "GROUP_MI-GO_BASE_CAPTORS", "x": [ 1, 6 ], "y": 2, "density": 0.01, "repeat": [ 1, 2 ] } ],
      "palettes": [ "mi-go_palette" ]
    }
  },
  {
    "type": "mapgen",
    "method": "json",
    "nested_mapgen_id": "mi-go_encampment1_room4",
    "//": "Observation room with zombies",
    "object": {
      "mapgensize": [ 7, 7 ],
      "rotation": [ 0, 3 ],
      "rows": [
        ";;||;;;",
        "||||||;",
        "|V # ||",
        "|# #  |",
        ".#####|",
        ".......",
        "......."
      ],
      "flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ],
      "place_monster": [
        {
          "monster": [ "mon_zombie_brute", "mon_zombie_screecher", "mon_zombie_hollow", "mon_zombie", "mon_zombie_fungus" ],
          "x": 1,
          "y": 2
        },
        {
          "monster": [ "mon_skeleton", "mon_zombear", "mon_zombie_child", "mon_zombie", "mon_zombie_runner" ],
          "x": 4,
          "y": 2
        }
      ],
      "palettes": [ "mi-go_palette" ]
    }
  },
  {
    "type": "mapgen",
    "method": "json",
    "nested_mapgen_id": "mi-go_encampment1_room5",
    "object": {
      "mapgensize": [ 7, 7 ],
      "rotation": [ 0, 3 ],
      "rows": [
        ";|||||.",
        "|| P  .",
        "+     .",
        "|  &F .",
        "| P   .",
        "||   i.",
        ".|+|||."
      ],
      "flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ],
      "place_monsters": [ { "monster": "GROUP_MI-GO_BASE_COMMON", "x": [ 2, 5 ], "y": [ 1, 5 ], "density": 0.02, "repeat": [ 1, 3 ] } ],
      "palettes": [ "mi-go_palette" ]
    }
  },
  {
    "type": "mapgen",
    "method": "json",
    "nested_mapgen_id": "mi-go_encampment1_room6",
    "//": "Mi-go surgical suite",
    "object": {
      "mapgensize": [ 18, 18 ],
      "rotation": [ 0, 3 ],
      "rows": [
        ";;;;;;;;||;;;;;;;;",
        ";;;;;;||||||;;;;;;",
        ";;;;|||PPPP|||;;;;",
        ";;|||PP    #1|||;;",
        "|||&P  i   ### ||;",
        "|<       P   #2 |;",
        "||  TnT    i ###||",
        ".|i nnn        #3|",
        ".|i nnn &i     # |",
        ".+  TnT      ###||",
        "||        i  #4 |;",
        "|P    P ###  ###|;",
        "+  i    # ####5||;",
        "|||VPPP #7#6 |||;;",
        "..||||||||# ||;;;;",
        ".||;;;;;;||||;;;;;",
        "..................",
        ".................."
      ],
      "flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ],
      "palettes": [ "mi-go_palette" ],
      "npcs": {
        "1": { "class": "mi-go_prisoner" },
        "2": { "class": "mi-go_prisoner" },
        "3": { "class": "mi-go_prisoner" },
        "4": { "class": "mi-go_prisoner" },
        "5": { "class": "apis" },
        "6": { "class": "mi-go_prisoner" },
        "7": { "class": "mi-go_prisoner" }
      },
      "place_monsters": [
        { "monster": "GROUP_MI-GO_BASE_CAPTORS", "x": [ 2, 12 ], "y": [ 5, 10 ], "density": 0.02, "repeat": [ 2, 3 ] },
        { "monster": "GROUP_MI-GO_BASE_BOSS", "x": [ 12, 13 ], "y": [ 7, 8 ], "density": 0.01, "repeat": [ 0, 1 ] }
      ]
    }
  },
  {
    "type": "mapgen",
    "method": "json",
    "nested_mapgen_id": "mi-go_encampment1_room7",
    "object": {
      "mapgensize": [ 8, 8 ],
      "rotation": [ 0, 3 ],
      "rows": [
        ";|+|||||",
        "||    ||",
        "|T  i  |",
        "|i  &i |",
        "|T     +",
        "||PPPP||",
        ";|||||||",
        "........"
      ],
      "flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ],
      "place_monsters": [ { "monster": "GROUP_MI-GO_BASE_COMMON", "x": [ 2, 5 ], "y": [ 1, 4 ], "density": 0.01, "repeat": [ 0, 3 ] } ],
      "palettes": [ "mi-go_palette" ]
    }
  },
  {
    "type": "mapgen",
    "method": "json",
    "nested_mapgen_id": "mi-go_encampment1_room8",
    "//": "Menagerie",
    "object": {
      "mapgensize": [ 8, 8 ],
      "rotation": [ 0, 3 ],
      "rows": [
        "|||| |||",
        "|| ### |",
        "|P   ###",
        "|P iT # ",
        "|P &P #|",
        "+     ||",
        "|###|+|.",
        "|| ||..."
      ],
      "flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ],
      "place_monsters": [
        { "monster": "GROUP_MI-GO_BASE_CAPTORS", "x": [ 2, 4 ], "y": [ 2, 5 ], "density": 0.01, "repeat": [ 1, 2 ] },
        { "monster": "GROUP_DOMESTIC", "x": 4, "y": 0, "density": 0.01 },
        { "monster": "GROUP_FOREST", "x": 6, "y": 1, "density": 0.01 },
        { "monster": "GROUP_SWAMP", "x": 7, "y": 3, "density": 0.01 },
        { "monster": "GROUP_CAVE", "x": 2, "y": 7, "density": 0.01 }
      ],
      "palettes": [ "mi-go_palette" ]
    }
  },
  {
    "type": "mapgen",
    "method": "json",
    "nested_mapgen_id": "mi-go_encampment1_room9",
    "//": "Storage room, left side",
    "object": {
      "mapgensize": [ 9, 9 ],
      "rotation": [ 0, 3 ],
      "rows": [
        "|||P|+|||",
        "|P    PPP",
        "|P P  i  ",
        "| T      ",
        "|    &   ",
        "|T P     ",
        "|||T  P  ",
        "..|||T V ",
        "....||||+"
      ],
      "flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ],
      "place_monsters": [ { "monster": "GROUP_MI-GO_BASE_COMMON", "x": [ 1, 8 ], "y": [ 3, 5 ], "density": 0.01, "repeat": [ 0, 2 ] } ],
      "palettes": [ "mi-go_palette" ]
    }
  },
  {
    "type": "mapgen",
    "method": "json",
    "nested_mapgen_id": "mi-go_encampment1_room9a",
    "//": "Storage room, right side, split across map boundaries",
    "object": {
      "mapgensize": [ 9, 9 ],
      "rotation": [ 0, 3 ],
      "rows": [
        "|||;||...",
        "PP|||<...",
        "   P||...",
        "i PTP|...",
        "V P P|...",
        "i    +...",
        "  PP||...",
        "P&|||....",
        "|||.+...."
      ],
      "flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ],
      "place_monsters": [ { "monster": "GROUP_MI-GO_BASE_COMMON", "x": [ 0, 3 ], "y": [ 2, 5 ], "density": 0.01, "repeat": [ 0, 2 ] } ],
      "palettes": [ "mi-go_palette" ]
    }
  },
  {
    "type": "mapgen",
    "method": "json",
    "nested_mapgen_id": "mi-go_encampment1_room10",
    "//": "Left entry",
    "object": {
      "mapgensize": [ 6, 6 ],
      "rotation": [ 0, 3 ],
      "rows": [
        ";||||.",
        "||Ti|.",
        "|V  +.",
        "|   ||",
        "||i  |",
        ";|||+|"
      ],
      "flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ],
      "palettes": [ "mi-go_palette" ]
    }
  },
  {
    "type": "mapgen",
    "method": "json",
    "nested_mapgen_id": "mi-go_encampment1_room11",
    "object": {
      "mapgensize": [ 8, 8 ],
      "rotation": [ 0, 3 ],
      "rows": [
        "|||||||.",
        "||TiT ||",
        "|  &   +",
        "|  ||  |",
        "+     i|",
        "||P V ||",
        ".||||+||",
        "........"
      ],
      "flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ],
      "place_monsters": [ { "monster": "GROUP_MI-GO_BASE_COMMON", "x": [ 1, 3 ], "y": [ 2, 5 ], "density": 0.01, "repeat": [ 0, 2 ] } ],
      "palettes": [ "mi-go_palette" ]
    }
  },
  {
    "type": "mapgen",
    "method": "json",
    "nested_mapgen_id": "mi-go_encampment1_room12",
    "object": {
      "mapgensize": [ 10, 10 ],
      "rotation": [ 0, 3 ],
      "rows": [
        ".|+|P|||..",
        "||     |||",
        "|P   i  P|",
        "||  i&i ||",
        ".+      |.",
        ".|+||T  +.",
        ".|..|||||.",
        "..........",
        "..........",
        ".........."
      ],
      "flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ],
      "place_monsters": [ { "monster": "GROUP_MI-GO_BASE_COMMON", "x": [ 2, 6 ], "y": [ 1, 4 ], "density": 0.01, "repeat": [ 0, 1 ] } ],
      "palettes": [ "mi-go_palette" ]
    }
  },
  {
    "type": "mapgen",
    "method": "json",
    "nested_mapgen_id": "mi-go_encampment1_room13",
    "object": {
      "mapgensize": [ 8, 8 ],
      "rotation": [ 0, 3 ],
      "rows": [
        ".||||+..",
        "||T   ..",
        "| PT  ..",
        "+   i&..",
        "| PT  ..",
        "||T   ..",
        "||||||..",
        "........"
      ],
      "flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ],
      "palettes": [ "mi-go_palette" ]
    }
  },
  {
    "type": "mapgen",
    "method": "json",
    "nested_mapgen_id": "mi-go_encampment1_room14",
    "//": "Large monster holding cell",
    "object": {
      "mapgensize": [ 6, 6 ],
      "rotation": [ 0, 3 ],
      "rows": [
        ".|||..",
        "|| +..",
        "|##|||",
        "|1  P|",
        "|  1||",
        "|||||;"
      ],
      "flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ],
      "palettes": [ "mi-go_palette" ],
      "place_monsters": [ { "monster": "GROUP_ZOMBIE_BRUTE", "x": [ 1, 3 ], "y": [ 3, 4 ], "repeat": [ 1, 2 ] } ]
    }
  },
  {
    "type": "mapgen",
    "method": "json",
    "nested_mapgen_id": "mi-go_encampment1_room15",
    "//": "Roomfull of zaps",
    "object": {
      "mapgensize": [ 8, 8 ],
      "rotation": [ 0, 3 ],
      "rows": [
        "|+||...+",
        "| F|||||",
        "|     P|",
        "||F  F||",
        ".||||||;",
        "........",
        "........",
        "........"
      ],
      "flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ],
      "palettes": [ "mi-go_palette" ]
    }
  },
  {
    "type": "mapgen",
    "method": "json",
    "nested_mapgen_id": "mi-go_encampment1_room16",
    "//": "Right side entrance",
    "object": {
      "mapgensize": [ 5, 5 ],
      "rotation": [ 0, 3 ],
      "rows": [
        "|+|||",
        "|   |",
        "|||+|",
        ".....",
        "....."
      ],
      "flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ],
      "palettes": [ "mi-go_palette" ]
    }
  },
  {
    "type": "mapgen",
    "method": "json",
    "nested_mapgen_id": "mi-go_encampment1_room17",
    "//": "Large monster holding cell",
    "object": {
      "mapgensize": [ 6, 6 ],
      "rotation": [ 0, 3 ],
      "rows": [
        ".|||..",
        "|| +..",
        "|##|||",
        "|1  P|",
        "|  1||",
        "|||||v"
      ],
      "flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ],
      "palettes": [ "mi-go_palette" ],
      "place_monsters": [ { "monster": "GROUP_ZOMBIE_BRUTE", "x": [ 1, 3 ], "y": [ 3, 4 ], "repeat": [ 1, 2 ] } ]
    }
  },
  {
    "type": "mapgen",
    "method": "json",
    "nested_mapgen_id": "mi-go_scout_tower_cells",
    "//": "Mi-go surgical suite and prisoner cells for upper z levels",
    "object": {
      "mapgensize": [ 18, 18 ],
      "rotation": [ 0, 3 ],
      "rows": [
        "vvvvvvvv||vvvvvvvv",
        "vvvvvv||||||vvvvvv",
        "vvvv|||PPPP|||vvvv",
        "vv|||PP    #1|||vv",
        "|||VP  i   ### ||v",
        "|<       P   #2 |v",
        "|>  TnT    i ###||",
        ".|i nnn        #3|",
        ".|i nnn &      # |",
        ".|  TnT      ###||",
        "||        i  #4 |v",
        "|P    P ###  ###|v",
        "|  i    # ####5||v",
        "|||VPPP #7#6 |||vv",
        "..||||||||# ||vvvv",
        ".||vvvvvv||||vvvvv",
        ".vvv..............",
        ".................."
      ],
      "flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ],
      "palettes": [ "mi-go_palette" ],
      "npcs": {
        "1": { "class": "mi-go_prisoner" },
        "2": { "class": "mi-go_prisoner" },
        "3": { "class": "mi-go_prisoner" },
        "4": { "class": "mi-go_prisoner" },
        "6": { "class": "mi-go_prisoner" },
        "7": { "class": "mi-go_prisoner" }
      }
    }
  }
]
