1[
2  {
3    "type": "mapgen",
4    "method": "json",
5    "om_terrain": [ "s_gun" ],
6    "weight": 300,
7    "object": {
8      "fill_ter": "t_floor",
9      "rows": [
10        "  ____________________  ",
11        "  *___*___*______*___*  ",
12        "  *___*___*______*___*  ",
13        "  *___*___*______*___*  ",
14        "  *___*___*______*___*  ",
15        "  *___*___*______*___*  ",
16        "  ---:::--------:::---  ",
17        "  |{....#...........{|  ",
18        "  |{..S.?...........{|  ",
19        "  |{....#...{{..{...{|  ",
20        "  |{....#...{{..{...{|  ",
21        "  |---..#...{{..{...{|  ",
22        "  |&N|..............{|  ",
23        "  |..D..........{{{{{|  ",
24        "  |---:::::::::------|  ",
25        " 4|l~~~~~~~~~~~~~~D~<|  ",
26        "  |--H--H--H--H--H-+-|  ",
27        "  |~~~~~~~~~~~~~~~~~~|  ",
28        "  |~~~~~~~~~~~~~~~~~~|  ",
29        "  |~~~~~~~~~~~~~~~~~~|  ",
30        "  |~~~~~~~~~~~~~~~~~~|  ",
31        "  |~~~~~~~~~~~~~~~~~~|  ",
32        "  |ssssssssssssssssss|  ",
33        "  ====================  "
34      ],
35      "place_terrain": [
36        { "ter": "t_door_metal_pickable", "x": [ 11, 14 ], "y": 6 },
37        { "ter": "t_door_metal_pickable", "x": [ 7, 14 ], "y": 14 }
38      ],
39      "terrain": {
40        " ": "t_region_groundcover_urban",
41        "*": "t_pavement_y",
42        "+": "t_door_metal_pickable",
43        "-": "t_wall_w",
44        ".": "t_floor",
45        ":": "t_window_bars_alarm",
46        "=": "t_strconc_wall",
47        "_": "t_pavement",
48        "~": "t_thconc_floor",
49        "H": "t_thconc_floor",
50        "s": "t_thconc_floor",
51        "l": "t_thconc_floor",
52        "|": "t_wall_w",
53        "D": "t_door_c",
54        "<": "t_ladder_up",
55        "4": "t_gutter_downspout"
56      },
57      "toilets": { "&": {  } },
58      "furniture": {
59        "?": "f_console_broken",
60        "#": "f_counter",
61        "H": "f_counter",
62        "S": "f_stool",
63        "l": "f_locker",
64        "s": "f_sandbag_wall",
65        "{": "f_rack",
66        "N": "f_sink"
67      },
68      "place_loot": [
69        { "group": "guns_pistol_common_display", "x": 12, "y": 9, "chance": 95, "repeat": [ 1, 3 ], "magazine": 100 },
70        { "group": "guns_pistol_common_display", "x": 13, "y": 9, "chance": 95, "repeat": [ 1, 3 ], "magazine": 100 },
71        {
72          "group": "guns_pistol_common_display",
73          "x": [ 12, 13 ],
74          "y": 10,
75          "chance": 95,
76          "repeat": [ 1, 3 ],
77          "magazine": 100
78        },
79        { "group": "guns_pistol_rare_display", "x": 12, "y": 11, "chance": 15, "magazine": 100 },
80        { "group": "guns_pistol_rare_display", "x": 13, "y": 11, "chance": 15, "magazine": 100 },
81        { "group": "guns_shotgun_common_display", "x": 16, "y": 9, "chance": 50, "magazine": 100 },
82        { "group": "guns_shotgun_common_display", "x": 16, "y": 10, "chance": 100, "magazine": 100 },
83        { "group": "guns_shotgun_rare_static_display", "x": 16, "y": 11, "chance": 25, "magazine": 100 },
84        { "group": "guns_rifle_common_display", "x": 20, "y": 7, "chance": 25, "magazine": 100 },
85        { "group": "guns_rifle_rare_display", "x": 20, "y": 8, "chance": 25, "magazine": 100 },
86        { "group": "guns_rifle_common_display", "x": 20, "y": 9, "chance": 90, "repeat": [ 1, 3 ], "magazine": 100 },
87        { "group": "guns_rifle_common_display", "x": 20, "y": 10, "chance": 90, "repeat": [ 1, 3 ], "magazine": 100 },
88        { "group": "guns_rifle_common_display", "x": 20, "y": 11, "chance": 90, "repeat": [ 1, 3 ], "magazine": 100 },
89        { "group": "guns_rifle_common_display", "x": 20, "y": 12, "chance": 90, "repeat": [ 1, 3 ], "magazine": 100 },
90        { "group": "guns_smg_common_display", "x": 17, "y": 13, "chance": 85, "repeat": [ 1, 3 ], "magazine": 100 },
91        { "group": "guns_smg_rare_display", "x": 18, "y": 13, "chance": 15, "magazine": 100 },
92        { "group": "ammo_common", "x": 3, "y": [ 7, 10 ], "chance": 100, "repeat": [ 1, 8 ] },
93        { "group": "ammo_pistol_common", "x": 3, "y": 7, "chance": 100, "repeat": [ 1, 8 ] },
94        { "group": "ammo_shotgun_common", "x": 3, "y": 8, "chance": 95, "repeat": [ 1, 8 ] },
95        { "group": "ammo_rifle_common", "x": 3, "y": 9, "chance": 95, "repeat": [ 1, 6 ] },
96        { "group": "mags_common", "x": 3, "y": 10, "chance": 100, "repeat": [ 1, 4 ] },
97        { "group": "mags_pistol_common", "x": 3, "y": 9, "chance": 100, "repeat": [ 1, 4 ] },
98        { "group": "mags_rifle_common", "x": 3, "y": 8, "chance": 75, "repeat": [ 1, 4 ] },
99        { "group": "mags_shotgun_common", "x": 3, "y": 7, "chance": 50, "repeat": [ 1, 4 ] },
100        { "group": "mags_pistol_rare", "x": 3, "y": [ 7, 10 ], "chance": 50 },
101        { "group": "mags_rifle_rare", "x": 3, "y": [ 7, 10 ], "chance": 25 },
102        { "group": "mags_shotgun_rare", "x": 3, "y": [ 7, 10 ], "chance": 10 },
103        { "group": "gun_cases", "x": 8, "y": [ 8, 9 ], "chance": 70, "repeat": [ 1, 2 ] },
104        { "group": "book_gunmags", "x": 8, "y": [ 8, 9 ], "chance": 100, "repeat": [ 1, 8 ] },
105        { "group": "book_gunmags", "x": 8, "y": [ 11, 12 ], "chance": 50, "repeat": [ 1, 8 ] },
106        {
107          "group": "guns_pistol_common",
108          "x": 5,
109          "y": 16,
110          "chance": 50,
111          "repeat": [ 1, 3 ],
112          "ammo": 25,
113          "magazine": 100
114        },
115        { "group": "guns_pistol_rare", "x": 8, "y": 16, "chance": 20, "ammo": 75, "magazine": 100 },
116        { "group": "guns_pistol_obscure", "x": 11, "y": 16, "chance": 20, "ammo": 100, "magazine": 100 },
117        { "group": "guns_pistol_rare", "x": 14, "y": 16, "chance": 20, "ammo": 75, "magazine": 100 },
118        {
119          "group": "guns_pistol_common",
120          "x": 17,
121          "y": 16,
122          "chance": 50,
123          "repeat": [ 1, 3 ],
124          "ammo": 25,
125          "magazine": 100
126        }
127      ],
128      "item": {
129        "l": [ { "item": "ear_plugs", "chance": 50, "repeat": 12 }, { "item": "powered_earmuffs", "chance": 30, "repeat": 3 } ]
130      },
131      "place_monsters": [ { "monster": "GROUP_ZOMBIE", "x": [ 0, 0 ], "y": [ 23, 23 ], "chance": 2, "repeat": [ 2, 3 ] } ]
132    }
133  },
134  {
135    "type": "mapgen",
136    "method": "json",
137    "om_terrain": "s_gun_roof",
138    "object": {
139      "fill_ter": "t_flat_roof",
140      "rows": [
141        "                        ",
142        "                        ",
143        "                        ",
144        "                        ",
145        "                        ",
146        "                        ",
147        "  |2222222222222222223  ",
148        "  |..................3  ",
149        "  |..................3  ",
150        "  |..................3  ",
151        "  |..................3  ",
152        "  |..X...............3  ",
153        "  |..................3  ",
154        "  |..................3  ",
155        "  |...............1113  ",
156        "  5...............1>13  ",
157        "  |...............1013  ",
158        "  |...............1+13  ",
159        "  |..................3  ",
160        "  |..................3  ",
161        "  |..................3  ",
162        "  |..................3  ",
163        "  |..................3  ",
164        "  |------------------3  "
165      ],
166      "palettes": [ "roof_palette" ],
167      "terrain": { ">": "t_ladder_down", "1": "t_wall_w", "+": "t_door_metal_pickable", "0": "t_thconc_floor" },
168      "place_nested": [
169        {
170          "chunks": [
171            [ "null", 20 ],
172            [ "roof_2x2_utilities_b", 15 ],
173            [ "roof_2x2_utilities_c", 5 ],
174            [ "roof_2x2_utilities_d", 30 ],
175            [ "roof_2x2_utilities", 30 ],
176            [ "roof_2x2_golf", 10 ],
177            [ "roof_3x3_wine", 10 ]
178          ],
179          "x": [ 4, 15 ],
180          "y": [ 8, 9 ]
181        },
182        {
183          "chunks": [
184            [ "null", 20 ],
185            [ "roof_4x4_party", 5 ],
186            [ "roof_4x4_holdout", 15 ],
187            [ "roof_4x4_utility", 40 ],
188            [ "roof_4x4_utility_1", 10 ],
189            [ "roof_6x6_survivor", 20 ],
190            [ "roof_6x6_utility", 20 ]
191          ],
192          "x": [ 4, 13 ],
193          "y": [ 11, 16 ]
194        }
195      ]
196    }
197  },
198  {
199    "type": "mapgen",
200    "method": "json",
201    "om_terrain": [ "s_gun_1" ],
202    "//": "Home defense gun store",
203    "weight": 300,
204    "object": {
205      "fill_ter": "t_floor",
206      "rows": [
207        "_ssssssssssssssssssssss_",
208        "_s@@@@@@@_ssss_@@@@@@@s_",
209        "_s||555||_ssss_||555||s_",
210        "_s|#####5_ssss_5#####|s_",
211        "_s|..a..5_ssss_5..a..|s_",
212        "_s|.#?#.5_ssss_5.#?#.|s_",
213        "_s|.....|55++55|.....|s_",
214        "_s|..................|s_",
215        "_s|..................|s_",
216        "_s|....rrr....rrr....|s_",
217        "_s|....rrr....rrr....|s_",
218        "_s|^................^|s_",
219        "_||....rrr....rrr....|s_",
220        "_A|....rrr....rrr....|s_",
221        "_||..................|s_",
222        "_s|..................|s_",
223        "_s||D|*|&&&&&&&&||+|||s_",
224        "_s|;.|.|rr####rr|..cE|s_",
225        "_s|..|.|........*...E|s_",
226        "_s|S.|<|lll##lll|l...|4_",
227        "_s|||||||||||||||||+||s_",
228        "_ssssssssssssssssssssss_",
229        "________________________",
230        "________________________"
231      ],
232      "terrain": {
233        "&": "t_bars",
234        "*": "t_door_locked_alarm",
235        "+": "t_door_metal_pickable",
236        ".": "t_floor",
237        "5": "t_window_bars_alarm",
238        "@": "t_region_shrub_decorative",
239        "A": "t_atm",
240        "D": "t_door_c",
241        "L": "t_door_metal_locked",
242        "_": "t_pavement",
243        "s": "t_sidewalk",
244        "|": "t_wall_w",
245        "<": "t_ladder_up",
246        "4": "t_gutter_downspout"
247      },
248      "furniture": {
249        "?": "f_console_broken",
250        "#": "f_counter",
251        "a": "f_stool",
252        "E": "f_desk",
253        "S": "f_sink",
254        "^": "f_indoor_plant",
255        "c": "f_chair",
256        "l": "f_locker",
257        "r": "f_rack"
258      },
259      "toilets": { ";": {  } },
260      "place_loot": [
261        { "group": "vending_ammo", "x": 8, "y": 17, "chance": 100 },
262        { "group": "vending_ammo", "x": 9, "y": 17, "chance": 100 },
263        { "group": "vending_ammo", "x": 14, "y": 17, "chance": 100 },
264        { "group": "vending_ammo", "x": 15, "y": 17, "chance": 100 },
265        {
266          "group": "guns_pistol_rare_display",
267          "x": [ 8, 10 ],
268          "y": 19,
269          "chance": 100,
270          "repeat": [ 1, 2 ],
271          "magazine": 100
272        },
273        { "group": "guns_shotgun_rare_static_display", "x": [ 8, 10 ], "y": 19, "chance": 80, "magazine": 100 },
274        { "group": "guns_rifle_common_display", "x": [ 13, 15 ], "y": 19, "chance": 100, "magazine": 100 },
275        { "group": "guns_rifle_common_display", "x": [ 13, 15 ], "y": 19, "chance": 80, "magazine": 100 },
276        { "group": "ammo_rare", "x": [ 10, 13 ], "y": 17, "chance": 100, "repeat": [ 1, 4 ] },
277        { "group": "ammo_pistol_common", "x": [ 7, 9 ], "y": [ 9, 10 ], "chance": 100, "repeat": [ 3, 8 ] },
278        { "group": "ammo_rifle_common", "x": [ 7, 9 ], "y": 12, "chance": 100, "repeat": [ 1, 8 ] },
279        { "group": "ammo_shotgun_common", "x": [ 7, 9 ], "y": 13, "chance": 100, "repeat": [ 1, 6 ] },
280        { "group": "guns_pistol_common_display", "x": 14, "y": [ 9, 10 ], "chance": 85, "repeat": [ 1, 3 ] },
281        { "group": "guns_shotgun_common_display", "x": 15, "y": [ 9, 10 ], "chance": 85, "repeat": [ 1, 3 ] },
282        { "group": "guns_rifle_common_display", "x": 15, "y": [ 9, 10 ], "chance": 85, "repeat": [ 1, 3 ] },
283        { "group": "mags_common", "x": [ 14, 16 ], "y": 12, "chance": 100, "repeat": [ 1, 8 ] },
284        { "group": "gun_cases", "x": [ 14, 16 ], "y": 12, "chance": 70, "repeat": [ 1, 2 ] },
285        { "group": "mags_rare", "x": [ 14, 16 ], "y": 13, "chance": 75, "repeat": [ 1, 3 ] }
286      ]
287    }
288  },
289  {
290    "type": "mapgen",
291    "method": "json",
292    "om_terrain": "s_gun_roof_1",
293    "object": {
294      "fill_ter": "t_flat_roof",
295      "rows": [
296        "                        ",
297        "                        ",
298        "  |222223      |222223  ",
299        "  |.....3      |.....3  ",
300        "  |.....3      |.....3  ",
301        "  |.....3      |.....3  ",
302        "  |.....3222222|.....3  ",
303        "  |..................3  ",
304        "  |..................3  ",
305        "  |..................3  ",
306        "  |..................3  ",
307        "  |..................3  ",
308        "  |..................3  ",
309        "  |..................3  ",
310        "  |..................3  ",
311        "  |..................3  ",
312        "  |..................3  ",
313        "  |.1111.............3  ",
314        "  |.+0>1.............3  ",
315        "  |.1111.............5  ",
316        "  |------------------3  ",
317        "                        ",
318        "                        ",
319        "                        "
320      ],
321      "palettes": [ "roof_palette" ],
322      "terrain": { ">": "t_ladder_down", "1": "t_wall_w", "+": "t_door_metal_pickable", "0": "t_thconc_floor" },
323      "place_nested": [
324        {
325          "chunks": [
326            [ "null", 20 ],
327            [ "roof_2x2_utilities_b", 15 ],
328            [ "roof_2x2_utilities_c", 5 ],
329            [ "roof_2x2_utilities_d", 30 ],
330            [ "roof_2x2_utilities", 30 ]
331          ],
332          "x": [ 4, 15 ],
333          "y": [ 7, 8 ]
334        },
335        {
336          "chunks": [
337            [ "null", 20 ],
338            [ "roof_4x4_party", 5 ],
339            [ "roof_4x4_holdout", 15 ],
340            [ "roof_4x4_utility", 40 ],
341            [ "roof_4x4_utility_1", 10 ],
342            [ "roof_6x6_survivor", 20 ],
343            [ "roof_6x6_utility", 20 ]
344          ],
345          "x": [ 4, 13 ],
346          "y": 12
347        }
348      ]
349    }
350  },
351  {
352    "type": "mapgen",
353    "method": "json",
354    "om_terrain": [ "s_gun_2" ],
355    "//": "Public holdout based on Home Defense Gunstore. Uses same roof as s_gunstore_1.",
356    "weight": 100,
357    "object": {
358      "fill_ter": "t_floor",
359      "rows": [
360        "_ssssssssssssssssssssss_",
361        "_s@@xx@@@_ssss_@@@@@@@s_",
362        "_s||5l5||_ssss_||555||s_",
363        "_s|#lll#5_ssss_5#####|s_",
364        "_s|r##r#5_ssss_5l....|s_",
365        "_s|.rr.#5_ssss_5#....|s_",
366        "_s|.....|55++55|#....|s_",
367        "_s|......##ll##......|s_",
368        "_s|..................|s_",
369        "_s|...........r......|s_",
370        "_s|....r.............|s_",
371        "_s|^................^|s_",
372        "_||.......rrrr.......|s_",
373        "_A|......rr..rr....7.|s_",
374        "_||.....rr...........|s_",
375        "_s|....rr..B.B.rrr.r.|s_",
376        "_s||D|D|&&&&&&&&||p|||s_",
377        "_s|;.|.|B.......|..c.|s_",
378        "_s|..|.|........C.#..|s_",
379        "_s|S.|<|B...B...|.EE#|4_",
380        "_s|||||||||||||||||L||s_",
381        "_ssssssssssssssssssssss_",
382        "________________________",
383        "________________________"
384      ],
385      "terrain": {
386        "&": "t_bars",
387        "*": "t_door_locked_alarm",
388        "+": "t_door_metal_pickable",
389        ".": "t_floor",
390        "5": "t_window_bars_alarm",
391        "@": "t_region_shrub_decorative",
392        "A": "t_atm",
393        "C": "t_door_frame",
394        "D": "t_door_o",
395        "L": "t_door_metal_locked",
396        "_": "t_pavement",
397        "p": "t_door_metal_o",
398        "s": "t_sidewalk",
399        "|": "t_wall_w",
400        "x": "t_region_groundcover_barren",
401        "<": "t_ladder_up",
402        "4": "t_gutter_downspout"
403      },
404      "furniture": {
405        "#": "f_counter",
406        "E": "f_desk",
407        "S": "f_sink",
408        "^": "f_indoor_plant",
409        "c": "f_chair",
410        "l": "f_locker",
411        "r": "f_rack",
412        "x": "f_locker"
413      },
414      "toilets": { ";": {  } },
415      "items": { "B": { "item": "bed", "chance": 65, "repeat": [ 1, 3 ] } },
416      "monster": { "7": { "monster": "mon_zombie_cop" } },
417      "place_monsters": [
418        { "monster": "GROUP_ZOMBIE", "x": [ 11, 13 ], "y": [ 17, 19 ], "density": 0.08 },
419        { "monster": "GROUP_ZOMBIE", "x": 18, "y": [ 14, 15 ], "density": 0.08 }
420      ],
421      "place_fields": [
422        { "field": "fd_blood", "x": [ 10, 11 ], "y": [ 14, 15 ], "repeat": [ 2, 4 ] },
423        { "field": "fd_gibs_flesh", "x": 10, "y": 15, "repeat": [ 1, 5 ] },
424        { "field": "fd_blood", "x": 12, "y": [ 14, 15 ], "repeat": [ 2, 3 ] }
425      ],
426      "place_loot": [
427        { "item": "corpse", "x": 10, "y": 14, "chance": 100 },
428        { "item": "corpse", "x": 12, "y": 15, "chance": 100 },
429        {
430          "group": "guns_pistol_common_display",
431          "x": 10,
432          "y": 14,
433          "chance": 100,
434          "repeat": [ 1, 3 ],
435          "magazine": 100
436        },
437        { "group": "guns_shotgun_common_display", "x": 12, "y": 15, "chance": 100, "repeat": [ 1, 3 ] },
438        { "group": "ammo_common", "x": [ 8, 12 ], "y": [ 17, 19 ], "chance": 90, "repeat": [ 1, 8 ] },
439        { "group": "guns_pistol_rare_display", "x": 10, "y": 14, "chance": 10, "magazine": 100 },
440        { "group": "guns_shotgun_rare_static_display", "x": 12, "y": 15, "chance": 10, "magazine": 100 },
441        { "group": "default_zombie_death_drops", "x": 10, "y": 14, "chance": 100 },
442        { "group": "default_zombie_death_drops", "x": 12, "y": 15, "chance": 100 },
443        { "item": "can_food", "x": 8, "y": 18, "chance": 100, "repeat": [ 1, 3 ] },
444        { "item": "can_food", "x": 11, "y": 17, "chance": 100, "repeat": [ 1, 2 ] },
445        { "group": "vending_food_items", "x": [ 11, 13 ], "y": [ 17, 19 ], "chance": 100, "repeat": [ 2, 8 ] },
446        { "item": "bottle_plastic_small", "x": [ 11, 12 ], "y": [ 17, 19 ], "chance": 100, "repeat": [ 1, 3 ] },
447        { "item": "pipe", "x": 18, "y": [ 14, 15 ], "chance": 100, "repeat": [ 6, 18 ] },
448        { "item": "sheet_metal_small", "x": 18, "y": [ 14, 15 ], "chance": 100, "repeat": [ 1, 5 ] },
449        { "item": "pipe", "x": [ 14, 15 ], "y": 14, "chance": 100, "repeat": [ 6, 18 ] },
450        { "item": "sheet_metal_small", "x": [ 14, 15 ], "y": 14, "chance": 100, "repeat": [ 1, 5 ] }
451      ]
452    }
453  },
454  {
455    "method": "json",
456    "om_terrain": "s_gun_3",
457    "type": "mapgen",
458    "weight": 200,
459    "object": {
460      "fill_ter": "t_floor",
461      "rows": [
462        "....d...d....dss..dd.d..",
463        ".......d......ss........",
464        "d.............ssd.d.....",
465        "..d....d..d.dssss......d",
466        "....dwWeaWwwWaffaWwwa...",
467        "d....W{_Cc__^____DDDWu..",
468        "d....ar__D_________Dw...",
469        ".d...|r__D_________D|u.d",
470        "...u4|__cc_________D|u..",
471        "d.||||______DDD__||||...",
472        ".u|{_|||||_______+_C|u.d",
473        ".u|{_+______||+|||_t|...",
474        "d.|{_|___|&_|;_N|i_H|...",
475        "..|||||e|||g|||||||||...",
476        ".u-___________tt_tt_-u..",
477        "du-_________________-u..",
478        "..-b#-bdSSSSbS.SS-Sb-...",
479        "..-ddd..........dddd-..d",
480        "du-ddddd.d.....ddddd-u..",
481        "..-ddddddddddddddddd-..d",
482        ".u-ddddddddddddddddd-..d",
483        "d.-#dTdddddTdddddTd#-u..",
484        "..-#################-...",
485        ".d-------------------.d."
486      ],
487      "terrain": {
488        "#": "t_region_groundcover_barren",
489        "+": "t_door_metal_pickable",
490        "-": "t_brick_wall",
491        ".": "t_region_groundcover_urban",
492        "S": "t_region_groundcover_urban",
493        "T": "t_region_groundcover_barren",
494        "W": "t_wall_w",
495        "_": "t_floor",
496        "a": "t_wall_r",
497        "b": "t_region_groundcover_barren",
498        "d": "t_region_groundcover_barren",
499        "e": "t_window_boarded",
500        "f": "t_door_boarded",
501        "g": "t_door_c",
502        "s": "t_sidewalk",
503        "u": "t_region_shrub",
504        "w": "t_wall_b",
505        "|": "t_wall_w",
506        "4": "t_gutter_downspout"
507      },
508      "toilets": { ";": {  } },
509      "place_item": [ { "item": "corpse", "repeat": 1, "x": 19, "y": 12 } ],
510      "furniture": {
511        "#": "f_sandbag_wall",
512        "&": "f_trashcan",
513        "C": "f_chair",
514        "D": "f_displaycase",
515        "H": "f_armchair",
516        "S": "f_sandbag_half",
517        "T": "f_table",
518        "^": "f_indoor_plant_y",
519        "b": "f_sandbag_half",
520        "c": "f_counter",
521        "i": "f_indoor_plant",
522        "r": "f_rack",
523        "t": "f_table",
524        "N": "f_sink",
525        "{": "f_locker"
526      },
527      "place_items": [
528        { "chance": 99, "item": "corpse_male", "x": 19, "y": 12 },
529        { "chance": 75, "item": "ammo_casings_bulk", "x": [ 14, 15 ], "y": 14 },
530        { "chance": 65, "item": "guns_pistol_common_display", "x": 19, "y": 8 },
531        { "chance": 75, "item": "guns_common_display", "x": 3, "y": 10 },
532        { "chance": 40, "item": "gunmod_rare", "x": 3, "y": 12 },
533        { "chance": 85, "item": "book_gunmags", "x": 9, "y": 8 },
534        { "chance": 5, "item": "guns_pistol_rare_display", "x": 3, "y": 11 },
535        { "chance": 75, "item": "ammo_rifle_common", "x": 18, "y": 14 },
536        { "chance": 75, "item": "ammo_rifle_common", "x": 6, "y": 7 },
537        { "chance": 60, "item": "gunmod_common", "x": [ 12, 14 ], "y": 9 },
538        { "chance": 95, "item": "ammo_common", "x": 6, "y": [ 5, 6 ] },
539        { "chance": 85, "item": "guns_rifle_common_display", "x": [ 17, 18 ], "y": 5 },
540        { "chance": 85, "item": "gun_cases", "x": [ 17, 18 ], "y": 5, "repeat": [ 1, 2 ] },
541        { "chance": 95, "item": "guns_common_display", "x": 9, "y": [ 6, 7 ] },
542        { "chance": 95, "item": "guns_common_display", "x": 19, "y": [ 5, 7 ] },
543        { "chance": 45, "item": "trash", "x": 13, "y": 12 },
544        { "chance": 45, "item": "trash", "x": 10, "y": 12 }
545      ]
546    }
547  },
548  {
549    "type": "mapgen",
550    "method": "json",
551    "om_terrain": "s_gun_roof_3",
552    "object": {
553      "fill_ter": "t_flat_roof",
554      "rows": [
555        "                        ",
556        "                        ",
557        "                        ",
558        "                        ",
559        "     |222222222222223   ",
560        "     |..............3   ",
561        "     |..............3   ",
562        "     |..............3   ",
563        "     |..............3   ",
564        "  |225..............3   ",
565        "  |.................3   ",
566        "  |.................3   ",
567        "  |.................3   ",
568        "  |-----------------3   ",
569        "  ???????????????????   ",
570        "  ???????????????????   ",
571        "  ?  ?           ?  ?   ",
572        "  ?                 ?   ",
573        "  ?                 ?   ",
574        "  ?                 ?   ",
575        "  ?                 ?   ",
576        "  ?                 ?   ",
577        "  ?                 ?   ",
578        "  ???????????????????   "
579      ],
580      "palettes": [ "roof_palette" ],
581      "terrain": { "?": "t_open_air_rooved" },
582      "place_nested": [
583        {
584          "chunks": [
585            [ "null", 20 ],
586            [ "roof_2x2_utilities_b", 15 ],
587            [ "roof_2x2_utilities_c", 5 ],
588            [ "roof_2x2_utilities_d", 40 ],
589            [ "roof_2x2_utilities", 50 ]
590          ],
591          "x": [ 7, 17 ],
592          "y": [ 6, 10 ]
593        }
594      ]
595    }
596  }
597]
598