[
  {
    "type": "mapgen",
    "nested_mapgen_id": "rubik_store_base",
    "//": "Rubik's store in the Exodii main base",
    "object": {
      "mapgensize": [ 5, 5 ],
      "rows": [
        "T__c_",
        "1__cc",
        "L____",
        "1111T",
        "     "
      ],
      "place_npcs": [ { "class": "exodii_merchant", "x": 2, "y": 1 } ],
      "place_zones": [
        { "type": "LOOT_UNSORTED", "faction": "exodii", "x": [ 0, 0 ], "y": [ 1, 1 ] },
        { "type": "LOOT_BIONICS", "faction": "exodii", "x": [ 0, 0 ], "y": [ 3, 3 ] },
        { "type": "LOOT_ARMOR", "faction": "exodii", "x": [ 1, 1 ], "y": [ 3, 3 ] },
        { "type": "LOOT_AMMO", "faction": "exodii", "x": [ 2, 2 ], "y": [ 3, 3 ] },
        { "type": "LOOT_GUNS", "faction": "exodii", "x": [ 3, 3 ], "y": [ 3, 3 ] }
      ],
      "terrain": { "_": "t_metal_floor", "|": "t_junk_wall", "T": "t_metal_floor" },
      "monster": { "T": { "monster": "mon_exodii_turret" } },
      "mapping": {
        "1": { "terrain": "t_metal_floor", "furniture": "f_locker" },
        "c": { "terrain": "t_metal_floor", "furniture": "f_metal_table" },
        "L": { "terrain": "t_metal_floor", "furniture": "f_exodii_lamp" }
      }
    }
  },
  {
    "type": "mapgen",
    "nested_mapgen_id": "luliya_base",
    "//": "Luliya's area in the Exodii main base",
    "object": {
      "mapgensize": [ 5, 5 ],
      "rows": [
        "T_1__",
        "1___c",
        "L____",
        "_____",
        "_____"
      ],
      "place_npcs": [ { "class": "exodii_materials", "x": 2, "y": 1 } ],
      "terrain": { "_": "t_metal_floor", "|": "t_junk_wall", "T": "t_metal_floor" },
      "item": { "T": { "item": "broken_exodii_quad" } },
      "mapping": {
        "1": { "terrain": "t_metal_floor", "furniture": "f_locker" },
        "c": { "terrain": "t_metal_floor", "furniture": "f_metal_table" },
        "L": { "terrain": "t_metal_floor", "furniture": "f_exodii_lamp" }
      }
    }
  },
  {
    "type": "mapgen",
    "nested_mapgen_id": "weaponmaster_workshop_base",
    "object": {
      "mapgensize": [ 5, 5 ],
      "rows": [
        "b_L__",
        "S_C_c",
        "S_C@c",
        "S_Cbc",
        "|_Lcc"
      ],
      "place_item": [
        { "item": "brogyeki", "x": 0, "y": 1, "chance": 100 },
        { "item": "sapra", "x": 0, "y": 2, "chance": 100 },
        { "item": "spear_dory", "x": 0, "y": 3, "chance": 100 },
        { "item": "khuunaofaai", "x": 0, "y": 1, "chance": 100 },
        { "item": "pamd71z", "x": 0, "y": 2, "chance": 100 },
        { "item": "exodii_plasma_projectile", "x": 0, "y": 3, "chance": 100 },
        { "item": "ree_33", "x": 0, "y": 2, "chance": 100 }
      ],
      "mapping": {
        "|": { "terrain": "t_scrap_wall" },
        "_": { "terrain": "t_scrap_floor" },
        "S": { "terrain": "t_scrap_floor", "furniture": "f_rack_l" },
        "C": { "terrain": "t_scrap_floor", "furniture": "f_workbench" },
        "c": { "terrain": "t_scrap_floor", "furniture": "f_metal_table" },
        "L": { "terrain": "t_scrap_floor", "furniture": "f_exodii_lamp" },
        "b": { "terrain": "t_scrap_floor", "furniture": "f_metal_crate_o" },
        "@": { "terrain": "t_scrap_floor", "furniture": "f_metal_bench", "npcs": { "class": "exodii_weaponmaster" } }
      },
      "items": { "b": { "item": "EXODII_Workshop_Damaged", "chance": 100, "repeat": [ 3, 12 ] } }
    }
  },
  {
    "type": "item_group",
    "id": "EXODII_Workshop_Damaged",
    "subtype": "distribution",
    "items": [
      { "item": "brogyeki", "prob": 20, "damage": [ 1, 4 ] },
      { "item": "brogyaga", "prob": 5, "damage": [ 1, 4 ] },
      { "item": "pamd68", "prob": 60, "damage": [ 1, 4 ] },
      { "item": "pamd71z", "prob": 10, "damage": [ 1, 4 ] },
      { "item": "sapra", "prob": 10, "damage": [ 1, 4 ] },
      { "item": "armor_lorica", "prob": 20, "damage": [ 1, 4 ] },
      { "item": "helmet_corinthian", "prob": 60, "damage": [ 1, 4 ] },
      { "item": "armor_thessalonian", "prob": 80, "damage": [ 1, 4 ] },
      { "item": "leggings_thessalonian", "prob": 80, "damage": [ 1, 4 ] },
      { "item": "sword_xiphos", "prob": 50, "damage": [ 1, 4 ] },
      { "item": "spear_dory", "prob": 30, "damage": [ 1, 4 ] }
    ]
  }
]
