1[
2  {
3    "type": "mapgen",
4    "method": "json",
5    "om_terrain": [ "s_gun_4" ],
6    "weight": 300,
7    "object": {
8      "fill_ter": "t_floor",
9      "rows": [
10        "__________________sss___",
11        "_,___,___,___,___,sss_%_",
12        "_,___,___,___,___,sss_%_",
13        "_,___,___,___,___,sss_%_",
14        "_,___,___,___,___,sss_%_",
15        "_,___,___,___,___,sss___",
16        "ssssssssssssssssssssssss",
17        "s--5555--5555--+--55555s",
18        "s|r..rrrrrr...^.^|rrrr8s",
19        "s8r..............L...r8s",
20        "s8r..rrrrrr...###|----|_",
21        "s8r..rrrrrr...xb.rrrrr|_",
22        "s8r...........#......r|_",
23        "s|r..rrrrrr...#rr....r|_",
24        "s|----------D-------+-|_",
25        "s|#######|<|.|tccEc..^|_",
26        "s|#.c..c#|D|.|t.xEc...w_",
27        "sL...c...L...D........w_",
28        "_|l.###.l|..^|##FCC...|_",
29        "_|l.rrr.l|-L-------D-D|_",
30        "_|l.rrr.l|ssss___4WS|SW_",
31        "_|l.....l|s__,_dd_|T|T|_",
32        "_--WW-WW--s__,_dd_-----_",
33        "__________s__,_dd_______"
34      ],
35      "set": [
36        { "point": "terrain", "id": "t_tree_young", "x": 22, "y": [ 1, 4 ], "chance": 10, "repeat": [ 1, 3 ] },
37        { "point": "terrain", "id": "t_tree_apple", "x": 22, "y": [ 1, 4 ], "chance": 30, "repeat": [ 1, 2 ] }
38      ],
39      "terrain": {
40        "#": "t_floor",
41        "%": "t_region_shrub",
42        "+": "t_door_metal_pickable",
43        ",": "t_pavement_y",
44        "-": "t_wall_w",
45        ".": "t_floor",
46        "5": "t_window_bars_alarm",
47        "8": "t_window_bars_alarm",
48        "D": "t_door_c",
49        "L": "t_door_metal_pickable",
50        "W": "t_window_bars_alarm",
51        "_": "t_pavement",
52        "d": "t_pavement",
53        "s": "t_sidewalk",
54        "w": "t_window_bars_alarm",
55        "|": "t_wall_w",
56        "<": "t_stairs_up",
57        "4": "t_gutter_downspout"
58      },
59      "furniture": {
60        "x": "f_console_broken",
61        "#": "f_counter",
62        "C": "f_sofa",
63        "E": "f_desk",
64        "F": "f_fridge",
65        "S": "f_sink",
66        "^": "f_indoor_plant",
67        "b": "f_stool",
68        "c": "f_chair",
69        "d": "f_dumpster",
70        "l": "f_locker",
71        "r": "f_rack",
72        "t": "f_table"
73      },
74      "toilets": { "T": {  } },
75      "place_loot": [
76        { "group": "gunmod_common", "x": [ 5, 10 ], "y": 10, "chance": 100, "repeat": [ 3, 6 ] },
77        { "group": "gunmod_rare", "x": [ 5, 10 ], "y": 11, "chance": 100, "repeat": [ 1, 3 ] },
78        { "group": "ammo_casings_bulk", "x": [ 5, 10 ], "y": 13, "chance": 100, "repeat": [ 3, 6 ] },
79        { "group": "gun_cases", "x": [ 5, 10 ], "y": 13, "chance": 70, "repeat": [ 1, 3 ] },
80        { "group": "book_gunref", "x": 2, "y": [ 8, 13 ], "chance": 100, "repeat": [ 1, 4 ] },
81        { "group": "mags_pistol_rare", "x": 17, "y": 11, "chance": 80 },
82        { "group": "mags_pistol_rare", "x": 18, "y": 11, "chance": 20 },
83        { "group": "mags_rifle_common", "x": 19, "y": 11, "chance": 60 },
84        { "group": "mags_rifle_common", "x": 21, "y": 12, "chance": 80 },
85        { "group": "mags_rifle_common", "x": 21, "y": 13, "chance": 90 },
86        { "group": "ammo_obscure", "x": [ 15, 16 ], "y": 13, "chance": 80 },
87        { "group": "ammo_obscure", "x": [ 15, 16 ], "y": 13, "chance": 70, "repeat": [ 1, 2 ] },
88        { "group": "guns_pistol_obscure", "x": 18, "y": 8, "chance": 30, "magazine": 80 },
89        { "group": "guns_shotgun_milspec", "x": 19, "y": 8, "chance": 30, "magazine": 80 },
90        { "group": "guns_rifle_common", "x": 20, "y": 8, "chance": 30, "magazine": 80 },
91        { "group": "guns_smg_obscure", "x": [ 3, 6 ], "y": 15, "chance": 30, "magazine": 80 },
92        { "group": "fridgesnacks", "x": 16, "y": 18, "chance": 70, "repeat": [ 4, 12 ] },
93        { "group": "tools_common", "x": [ 3, 4 ], "y": 15, "chance": 100, "repeat": [ 3, 6 ] },
94        { "group": "tools_blacksmith", "x": [ 5, 6 ], "y": 15, "chance": 80, "repeat": [ 1, 2 ] },
95        { "group": "ammo_parts", "x": [ 4, 6 ], "y": [ 19, 20 ], "chance": 100, "repeat": [ 4, 8 ] },
96        { "item": "forge", "x": 4, "y": 18, "chance": 30 },
97        { "item": "puller", "x": 5, "y": 18, "chance": 100 },
98        { "item": "press", "x": 6, "y": 18, "chance": 100 },
99        { "item": "welder", "x": 7, "y": 15, "chance": 30 },
100        { "item": "goggles_welding", "x": 7, "y": 15, "chance": 30 },
101        { "item": "small_repairkit", "x": [ 5, 6 ], "y": 8, "chance": 100 },
102        { "item": "small_repairkit", "x": [ 7, 8 ], "y": 8, "chance": 30 },
103        { "item": "large_repairkit", "x": [ 9, 10 ], "y": 8, "chance": 30 },
104        { "item": "television", "x": 14, "y": 16, "chance": 60 },
105        { "item": "laptop", "x": 17, "y": 15, "chance": 30 }
106      ]
107    }
108  },
109  {
110    "type": "mapgen",
111    "method": "json",
112    "om_terrain": "s_gun_2ndfloor_4",
113    "object": {
114      "fill_ter": "t_flat_roof",
115      "rows": [
116        "                        ",
117        "                        ",
118        "                        ",
119        "                        ",
120        "                        ",
121        "                        ",
122        "                        ",
123        " |222222222222222222223 ",
124        " |....................3 ",
125        " |....................3 ",
126        " |.....%%%%%%%%%%%%...3 ",
127        " |.....%;;rrrrrr;;%...3 ",
128        " |.....%;;;;;;;;;;%...3 ",
129        " |.....%;;;;;;C;C;%...3 ",
130        " |.VVVV%%+%%;;;CC;%...3 ",
131        " |.VAA.+;;>%;;C;;;%4..3 ",
132        " |.V...%;;;%;;;;W;%...3 ",
133        " |.V^VV%%%%%%%%%%%%...3 ",
134        " |....................3 ",
135        " |.......3--------5...3 ",
136        " |.X.....3        |.=.3 ",
137        " |.....:.3        |...3 ",
138        " |-------3        |---3 ",
139        "                        "
140      ],
141      "palettes": [ "roof_palette" ],
142      "terrain": {
143        ";": "t_floor",
144        "r": "t_floor",
145        "C": "t_floor",
146        "W": "t_floor",
147        "%": "t_wall_w",
148        "V": "t_chainfence",
149        "^": "t_chaingate_l",
150        ">": "t_stairs_down",
151        "+": "t_door_metal_pickable"
152      },
153      "furniture": { "W": "f_water_heater" },
154      "liquids": { "W": { "liquid": "water_clean", "amount": [ 0, 100 ] } },
155      "items": { "C": { "item": "ammo_common", "chance": 30 }, "r": { "item": "tools_blacksmith", "chance": 30 } }
156    }
157  },
158  {
159    "type": "mapgen",
160    "method": "json",
161    "om_terrain": "s_gun_roof_4",
162    "object": {
163      "fill_ter": "t_flat_roof",
164      "rows": [
165        "                        ",
166        "                        ",
167        "                        ",
168        "                        ",
169        "                        ",
170        "                        ",
171        "                        ",
172        "                        ",
173        "                        ",
174        "                        ",
175        "       |22222222223     ",
176        "       |..........3     ",
177        "       |..........3     ",
178        "       |.......&..3     ",
179        "       |..........3     ",
180        "       |..........5     ",
181        "       |..........3     ",
182        "       |----------3     ",
183        "                        ",
184        "                        ",
185        "                        ",
186        "                        ",
187        "                        ",
188        "                        "
189      ],
190      "palettes": [ "roof_palette" ]
191    }
192  }
193]
194