[
  {
    "type" : "item_group",
    "id" : "gunsmith_tools",
    "items":[
      ["glasses_safety", 60],
      ["screwdriver",70],
      ["hammer",70],
      ["boltcutters",50],
      ["crucible",40],
      ["pot",50],
      ["anvil",50],
      ["tongs",50],
      ["swage",50],
      ["hacksaw",40],
      ["welder",40],
      ["goggles_welding",60],
      ["wrench",70],
      ["extinguisher",90],
      ["puller",90],
      ["press",90],
      ["chemistry_set",30],
      ["hotplate",50],
      ["small_repairkit", 20],
      ["large_repairkit", 50],
      ["forge",30]
    ]
  },{
    "type" : "item_group",
    "id" : "gunsmith_mat",
    "items":[
      ["rag",30],
      ["plastic_chunk",60],
      ["scrap",90],
      ["steel_chunk",60],
      ["steel_lump",20],
      ["cable",60],
      ["duct_tape",60],
      ["pipe",70],
      ["2x4",90],
      ["spring",70],
      ["string_6",10],
      ["string_36",40],
      ["superglue",40],
      ["cu_pipe",40],
      ["battery",30],
      ["nail",40]
    ]
  },{
    "type" : "item_group",
    "id" : "gunsmith_hazmat",
    "items":[
      ["gunpowder",80],
      ["oxy_powder",60],
      ["lead",90],
      ["incendiary",30],
      ["battery",70],
      ["sugar",60],
      ["charcoal",70],
      ["ammonia",50],
      ["bleach",50],
      ["lye_powder",30],
      ["shotgun_primer", 30],
      ["smpistol_primer", 40],
      ["lgpistol_primer", 40],
      ["smrifle_primer", 20],
      ["lgrifle_primer", 20]
    ]
  },{
    "type" : "item_group",
    "id" : "gunsmith_gunparts",
    "items":[
      ["bayonet", 20],
      ["pistol_bayonet", 10],
      ["sword_bayonet", 5],
      ["suppressor", 15],
      ["grip", 24],
      ["pistol_grip", 24],
      ["adjustable_stock", 24],
      ["pistol_stock", 12],
      ["barrel_big", 20],
      ["barrel_small", 12],
      ["barrel_rifled", 10],
      ["barrel_ported", 10],
      ["muzzle_brake", 5],
      ["conversion_battle", 1],
      ["conversion_sniper", 1],
      ["clip", 16],
      ["spare_mag", 30],
      ["clip2", 8],
      ["stabilizer", 4],
      ["blowback", 3],
      ["autofire", 2],
      ["retool_45", 5],
      ["retool_9mm", 5],
      ["retool_22", 5],
      ["retool_57", 5],
      ["retool_46", 5],
      ["retool_308", 5],
      ["retool_223", 5],
      ["brass_catcher", 30],
      ["laser_sight", 15],
      ["red_dot_sight", 18],
      ["holo_sight", 20],
      ["rifle_scope", 18],
      ["pistol_scope", 12],
      ["waterproof_gunmod", 8],
      ["tuned_mechanism", 10],
      ["match_trigger", 15],
      ["recoil_stock", 15],
      ["improve_sights", 40]
    ]
  },{
    "type" : "item_group",
    "id" : "gunsmith_casings",
    "items":[
      ["22_casing", 24],
      ["shot_hull", 12],
      ["9mm_casing", 18],
      ["38_casing", 10],
      ["40_casing", 12],
      ["44_casing", 10],
      ["45_casing", 18],
      ["454_casing", 3],
      ["500_casing", 3],
      ["57mm_casing", 12],
      ["46mm_casing", 12],
      ["762_casing", 10],
      ["223_casing", 10],
      ["3006_casing", 10],
      ["308_casing", 10]
    ]
 },{
    "type": "mapgen",
    "om_terrain": [
      "s_gun"
    ],
    "method": "json",
    "weight": 100,
    "object": {
      "rows": [
        "__________________sss___",
        "_,___,___,___,___,sss_%_",
        "_,___,___,___,___,sss_%_",
        "_,___,___,___,___,sss_%_",
        "_,___,___,___,___,sss_%_",
        "_,___,___,___,___,sss___",
        "ssssssssssssssssssssssss",
        "s--5555--5555--+--55555s",
        "s|r..rrrrrr...^.^|rrrr8s",
        "s8r..............L...r8s",
        "s8r..rrrrrr...###|----|_",
        "s8r..rrrrrr...x..rrrrr|_",
        "s8r...........#......r|_",
        "s|r..rrrrrr...#......r|_",
        "s|---------D--------+-|_",
        "s|#######|...|tccEc..^|_",
        "s|#.c..c#|...|t.xEc...w_",
        "sL...c...L...D........w_",
        "_|l.###.l|..^|##FCC...|_",
        "_|l.rrr.l|-L-------D-D|_",
        "_|l.rrr.l|ssss____WS|SW_",
        "_|l.....l|s__,_dd_|T|T|_",
        "_--WW-WW--s__,_dd_-----_",
        "__________s__,_dd_______"
      ],
      "terrain": {
        "_": "t_pavement",
        ",": "t_pavement_y",
        "s": "t_sidewalk",
        "-": "t_wall_h",
        "|": "t_wall_v",
        "5": "t_wall_glass_h",
        "8": "t_wall_glass_v",
        ".": "t_floor",
        "+": "t_door_glass_c",
        "D": "t_door_c",
        "L": "t_door_locked",
        "w": "t_window_domestic",
        "W": "t_curtains",
        "%": "t_shrub",
        "x": "t_console_broken",
        "^": "t_floor",
        "r": "t_floor",
        "l": "t_floor",
        "#": "t_floor",
        "E": "t_floor",
        "t": "t_floor",
        "c": "t_floor",
        "C": "t_floor",
        "F": "t_floor",
        "S": "t_floor",
        "T": "t_floor",
        "d": "t_pavement"
      },
      "furniture": {
        "_": "f_null",
        ",": "f_null",
        "s": "f_null",
        "-": "f_null",
        "|": "f_null",
        "5": "f_null",
        "8": "f_null",
        ".": "f_null",
        "+": "f_null",
        "D": "f_null",
        "L": "f_null",
        "w": "f_null",
        "W": "f_null",
        "%": "f_null",
        "x": "f_null",
        "^": "f_indoor_plant",
        "r": "f_rack",
        "l": "f_locker",
        "#": "f_counter",
        "E": "f_desk",
        "t": "f_table",
        "c": "f_chair",
        "C": "f_sofa",
        "F": "f_fridge",
        "S": "f_sink",
        "T": "f_toilet",
        "d": "f_dumpster"
      },
      "place_specials": [
        { "type": "toilet", "x": 19, "y": 21 },
        { "type": "toilet", "x": 21, "y": 21 }
      ],
      "set": [
        { "point": "terrain", "id": "t_tree_young",
          "x": 22, "y": [ 1, 4 ], "chance": 10, "repeat" : [ 1, 3 ] },
        { "point": "terrain", "id": "t_tree_apple",
           "x": 22, "y": [ 1, 4 ], "chance": 30, "repeat": [ 1, 2 ] }
      ],
      "add": [
        { "item": "television", "x": 14, "y": 16, "chance": 60 },
        { "item": "laptop", "x": 17, "y": 15, "chance": 30 }
      ],
      "place_groups": [
        { "item": "fridgesnacks", "chance": 70, "x": 16, "y": 18, "repeat": [ 1, 2 ] },
        { "item": "ammo", "chance": 75, "x": 21, "y": [ 11, 13 ], "repeat": [ 1, 5 ] },
        { "item": "allguns", "chance": 60, "x": [ 17, 20 ], "y": 11, "repeat": [ 1, 4 ] },
        { "item": "gunxtras", "chance": 70, "x": [ 18, 21 ], "y": [ 8, 9 ], "repeat": [ 3, 6 ] },
        { "item": "gunxtras", "chance": 50, "x": 2, "y": [ 8, 13 ], "repeat": [ 1, 4 ] },
        { "item": "gunxtras", "chance": 50, "x": [ 5, 10 ], "y": 8, "repeat": [ 1, 4 ] },
        { "item": "gunxtras", "chance": 50, "x": [ 5, 10 ], "y": 10, "repeat": [ 1, 4 ] },
        { "item": "gunxtras", "chance": 50, "x": [ 5, 10 ], "y": 11, "repeat": [ 1, 4 ] },
        { "item": "gunxtras", "chance": 50, "x": [ 5, 10 ], "y": 13, "repeat": [ 1, 4 ] },
        { "item": "gunsmith_tools", "chance": 80, "x": [ 2, 8 ] , "y": 15 , "repeat": [ 4, 6 ] },
        { "item": "gunsmith_mat", "chance": 90, "x": [ 4, 6], "y": [ 19, 20 ], "repeat": [ 4, 8 ] },
        { "item": "gunsmith_hazmat", "chance": 75, "x": 2, "y": [ 18, 21 ], "repeat": [ 2, 6 ] },
        { "item": "gunsmith_hazmat", "chance": 75, "x": 8, "y": [ 18, 21 ], "repeat": [ 2, 6 ] },
        { "item": "gunsmith_gunparts", "chance": 40, "x": [ 4, 6 ], "y": 18, "repeat": [ 3, 4 ] },
        { "item": "gunsmith_casings", "chance": 75, "x": 2, "y": 16, "repeat": [ 3, 5 ] },
        { "item": "gunsmith_casings", "chance": 75, "x": 8, "y": 16, "repeat": [ 3, 5 ] }
      ]
    },
    "comment": "end of mapgen entry ---v"
  }
]
