[
  {
    "//": [
      "HOW THE KEYS OF THESE PALLETES ARE ASSIGNED.",
      "Structural and common immovable elements (aka doors, bathroom fixtures) are keyed to symbols.",
      "Common fixtures (use this term because some furniture style elements are actually terrains for game purposes) use letters",
      "Numbers and tilded characters deliberatedly left unocuppied so that individual pieces of mapgen can use them to spawn custom stuff."
    ],
    "type": "palette",
    "id": "afs_habitat_structure",
    "toilets": { "&": {  } },
    "terrain": {
      " ": "t_region_groundcover_urban",
      ".": "t_metal_floor",
      ",": "t_metal_floor_olight",
      "/": "t_wall_prefab_metal",
      "=": [
        [ "t_wall_prefab_glass", 2 ],
        [ "t_wall_prefab_glass_shutters", 2 ],
        [ "t_wall_prefab_bglass_shutters", 4 ],
        [ "t_wall_prefab_bglass", 5 ]
      ],
      "-": "t_wall_metal",
      "|": "t_concrete_wall",
      ")": "t_reinforced_glass",
      "]": [ [ "t_door_glass_c", 5 ], "t_door_glass_o", 5 ],
      "+": [ [ "t_door_locked", 1 ], [ "t_door_c", 5 ], [ "t_door_o", 1 ] ],
      ":": [ [ "t_door_locked_interior", 1 ], [ "t_door_c", 5 ], [ "t_door_o", 5 ] ],
      "!": [ [ "t_door_metal_c", 5 ], [ "t_door_metal_pickable", 3 ], [ "t_door_metal_locked", 1 ], [ "t_door_metal_o", 5 ] ],
      "#": "t_metal_ventilation_shutter",
      ">": "t_stairs_down",
      "<": "t_stairs_up"
    },
    "furniture": { "~": "f_habitat_bathroom", "^": "f_sink", "*": "f_sink", "%": "f_fireman_cabinet" }
  },
  {
    "type": "palette",
    "id": "afs_habitat_connection_tube",
    "terrain": {
      ".": "t_metal_floor",
      "/": "t_wall_prefab_metal",
      "=": [
        [ "t_wall_prefab_glass", 2 ],
        [ "t_wall_prefab_glass_shutters", 2 ],
        [ "t_wall_prefab_bglass_shutters", 4 ],
        [ "t_wall_prefab_bglass", 5 ]
      ],
      "]": [ [ "t_door_glass_c", 5 ], "t_door_glass_o", 5 ]
    },
    "furniture": { ".": "f_null", "/": "f_null", "=": "f_null", "]": "f_null" }
  },
  {
    "type": "palette",
    "id": "afs_habitat_mech_furnishing",
    "terrain": { "p": "t_sewage_pipe" },
    "furniture": {
      "@": "f_bed",
      "f": "f_workbench",
      "y": "f_workbench",
      "c": "f_console_broken",
      "h": "f_chair",
      "P": "f_water_purifier",
      "W": "f_water_heater",
      "A": "f_air_filter",
      "E": "f_machinery_electronic",
      "L": "f_machinery_light",
      "H": "f_machinery_heavy",
      "O": "f_ECU",
      "T": "f_cryofluid_pump",
      "p": "f_solar_unit",
      "F": "f_fridge",
      "j": "f_counter",
      "q": "f_rack",
      "r": "f_bookcase",
      "v": "f_trashcan",
      "l": "f_locker",
      "k": "f_desk"
    },
    "liquids": { "W": { "liquid": "water_clean", "amount": [ 0, 100 ] } },
    "items": {
      "y": [ { "item": "afs_tools_electric_repair", "chance": 20, "repeat": [ 2, 5 ] } ],
      "q": [
        { "item": "tools_robotics", "chance": 5, "repeat": [ 2, 5 ] },
        { "item": "afs_tools_structural_repair", "chance": 20, "repeat": [ 2, 5 ] }
      ],
      "k": { "item": "SUS_office_desk", "chance": 60 },
      "l": { "item": "afs_frontier_cryo_g", "chance": 50 },
      "@": { "item": "bed", "chance": 50 },
      "v": { "item": "trash", "chance": 30, "repeat": [ 1, 4 ] },
      "%": { "item": "afs_tools_space_emergency" }
    }
  },
  {
    "type": "palette",
    "id": "afs_habitat_residential_furnishing",
    "furniture": {
      "@": "f_bed",
      "f": "f_workbench",
      "y": "f_table",
      "c": "f_console_broken",
      "h": "f_chair",
      "j": "f_counter",
      "o": "f_habitat_kitchenette",
      "W": "f_habitat_storage_board",
      "U": "f_habitat_storage_board",
      "n": "f_screenmirror",
      "q": "f_rack",
      "v": "f_trashcan",
      "l": "f_locker",
      "k": "f_desk"
    },
    "items": {
      "o": { "item": "afs_kitchenette", "chance": 60 },
      "U": { "item": "afs_old_food_storage", "chance": 60 },
      "W": { "item": "afs_colonist_outfit", "chance": 60 },
      "l": { "item": "afs_frontier_cryo_g", "chance": 50 },
      "@": { "item": "bed", "chance": 50 },
      "v": { "item": "trash", "chance": 30, "repeat": [ 1, 4 ] }
    }
  }
]
