1[
2  {
3    "type": "mapgen",
4    "method": "json",
5    "om_terrain": [ "s_garage" ],
6    "weight": 1000,
7    "object": {
8      "fill_ter": "t_thconc_floor",
9      "rows": [
10        "     EEEEEE    EEEEEE   ",
11        "     EEEEEE    EEEEEE   ",
12        "     EEEEEE    EEEEEE   ",
13        "     EEEEEE    EEEEEE   ",
14        "    eEEEEEE   eEEEEEEEEE",
15        " ----======----======--E",
16        " |S.eM#MM#M...eM#MM#M.|E",
17        " |S..M#MM#M....M#MM#M.|E",
18        " |c..M#MM#M....M#MM#M.|E",
19        " |c..M#MM#M....M#MM#M.|E",
20        " |c..M#MM#M....M#MM#M.|E",
21        " |c..M#MM#M....M#MM#M.|E",
22        " |c..MMMMMMMMMMMMMMMM.|E",
23        " |....................|E",
24        " |---l...........HHHHH|E",
25        " |ts|c...........HLLLL|E",
26        " |-+|p...........Hbbbb|E",
27        "4|...............$....+E",
28        " |^W|............Hhbbb|E",
29        " |xx|cccccSScccccH6LLL|E",
30        " |----::::--::::------|E",
31        "                  EU<UEE",
32        "                  EUEEEE",
33        "                        "
34      ],
35      "terrain": {
36        " ": [ [ "t_region_groundcover_urban", 10 ], "t_region_shrub" ],
37        "E": "t_pavement",
38        "U": "t_pavement",
39        "$": "t_door_glass_c",
40        "+": "t_door_c",
41        "-": "t_brick_wall",
42        ".": "t_thconc_floor",
43        ":": "t_window",
44        "=": "t_door_metal_locked",
45        "A": "t_m_frame",
46        "H": "t_wall_glass",
47        "e": "t_gates_mech_control",
48        "|": "t_brick_wall",
49        "W": "t_chainfence",
50        "^": "t_chaingate_c",
51        "M": "t_metal_floor",
52        "#": "t_grate",
53        "4": "t_gutter_downspout",
54        "<": "t_ladder_up"
55      },
56      "furniture": {
57        "6": "f_console_broken",
58        "A": "f_air_conditioner",
59        "L": "f_locker",
60        "b": "f_bench",
61        "c": "f_counter",
62        "s": "f_sink",
63        "S": "f_utility_shelf",
64        "p": "f_hydraulic_press",
65        "l": "f_heavy_lathe",
66        "t": "f_toilet",
67        "x": "f_utility_shelf",
68        "h": "f_chair",
69        "U": [ "f_dumpster", "f_recycle_bin" ]
70      },
71      "items": {
72        "L": { "item": "clothing_work_set", "chance": 55 },
73        "c": { "item": "mechanics", "chance": 60 },
74        "S": { "item": "mechanics", "chance": 80, "repeat": [ 1, 6 ] },
75        "x": { "item": "SUS_welding_gear", "chance": 80, "repeat": [ 1, 2 ] }
76      },
77      "place_vehicles": [
78        { "vehicle": "garage", "x": [ 8, 8 ], "y": [ 9, 10 ], "chance": 25, "rotation": 90 },
79        { "vehicle": "garage", "x": [ 18, 18 ], "y": [ 9, 10 ], "chance": 25, "rotation": 90 }
80      ],
81      "place_monsters": [ { "monster": "GROUP_FERROUS", "x": [ 5, 20 ], "y": [ 7, 15 ], "chance": 10 } ]
82    }
83  },
84  {
85    "type": "mapgen",
86    "method": "json",
87    "om_terrain": "s_garage_roof",
88    "object": {
89      "fill_ter": "t_flat_roof",
90      "rows": [
91        "                        ",
92        "                        ",
93        "                        ",
94        "                        ",
95        "                        ",
96        " |222222222222222222223 ",
97        " |....................3 ",
98        " |....................3 ",
99        " |....................3 ",
100        " |....................3 ",
101        " |....................3 ",
102        " |....................3 ",
103        " |....................3 ",
104        " |....................3 ",
105        " |....................3 ",
106        " |....................3 ",
107        " |....&...............3 ",
108        " 5....................3 ",
109        " |..........AA........3 ",
110        " |.=..................3 ",
111        " |----------------##### ",
112        "                  ##>## ",
113        "                  ####  ",
114        "                        "
115      ],
116      "palettes": [ "roof_palette" ],
117      "terrain": { ">": "t_ladder_down" },
118      "place_items": [ { "item": "roof_trash", "x": [ 4, 20 ], "y": [ 7, 18 ], "chance": 50, "repeat": [ 1, 3 ] } ],
119      "place_nested": [
120        {
121          "chunks": [ [ "null", 20 ], [ "roof_2x2_utilities_b", 40 ], [ "roof_2x2_utilities_c", 40 ] ],
122          "x": [ 3, 15 ],
123          "y": [ 8, 12 ]
124        }
125      ]
126    }
127  },
128  {
129    "type": "mapgen",
130    "method": "json",
131    "om_terrain": [ "s_garage_1" ],
132    "weight": 1000,
133    "object": {
134      "fill_ter": "t_floor",
135      "rows": [
136        "   ~~~~~~       ~~~~~~  ",
137        "    ~~~~~~    * ~~~~~~  ",
138        "    ~~~~~~      ~~~~~~  ",
139        "    ~~~~~~ *   ~~~~~~  *",
140        "  *  ~~~~~~    ~~~~~~   ",
141        " WWWW~~~~~~WWWW~~~~~~WW ",
142        " Wz  ~~~~~~ *  ~~~~~~ W ",
143        " W*  ~~~~~~    ~~~~~~ W ",
144        " W  z~~~~~~  * ~~~~~~ W ",
145        " W z  ~~~~~~   ~~~~~~ W ",
146        " W  * ~~~~~~   ~~~~~~ W ",
147        " W    ~~~~~~  ~~~~~~  W ",
148        " W J  ~~~~~~  ~~~~~~ *W ",
149        " ^______~~~~~~~~~~~ zzW ",
150        " wwwwww_~~~~~~~~~w6dwww ",
151        " wxxxPw_~~~~~~~~~wdhLLw ",
152        " wSx..w_~~~~~~~~_wd..Lw ",
153        " wS..xD_~~~~~~~~_+....+ ",
154        " wS.x.w_~~~~~~~~_ww+www ",
155        " wccccw4________4ws..tw ",
156        " wwwwwwUUUUUUUUUUwwwwww ",
157        "                        ",
158        "                        ",
159        "                        "
160      ],
161      "terrain": {
162        " ": "t_region_groundcover",
163        "~": [ "t_region_groundcover_barren", [ "t_pavement", 6 ] ],
164        "_": [ "t_region_groundcover_barren", [ "t_sidewalk", 6 ] ],
165        "*": [ [ "t_region_tree_shade", 3 ], "t_region_shrub" ],
166        "J": "t_water_pump",
167        "D": "t_door_locked",
168        "+": "t_door_c",
169        "w": "t_wall_log",
170        "U": "t_brick_wall",
171        ".": "t_floor",
172        ":": "t_window",
173        "W": "t_chainfence",
174        "^": "t_chaingate_c",
175        "z": "t_region_groundcover_barren",
176        "4": "t_gutter_downspout"
177      },
178      "furniture": {
179        "6": "f_console_broken",
180        "L": "f_locker",
181        "c": "f_counter",
182        "s": "f_sink",
183        "S": "f_utility_shelf",
184        "t": "f_toilet",
185        "x": "f_crate_c",
186        "h": "f_chair",
187        "P": "f_hydraulic_press",
188        "d": "f_desk",
189        "z": [ "f_wreckage", "f_toilet", "f_dumpster", "f_sink" ]
190      },
191      "items": {
192        "L": { "item": "clothing_work_set", "chance": 55 },
193        "c": { "item": "mechanics", "chance": 60 },
194        "S": { "item": "mechanics", "chance": 80, "repeat": [ 1, 6 ] },
195        "x": { "item": "mechanics", "chance": 80, "repeat": [ 1, 3 ] }
196      },
197      "place_vehicles": [
198        { "vehicle": "garage", "x": [ 8, 8 ], "y": [ 9, 10 ], "chance": 25, "rotation": 90 },
199        { "vehicle": "garage", "x": [ 18, 18 ], "y": [ 9, 10 ], "chance": 25, "rotation": 90 }
200      ]
201    }
202  },
203  {
204    "type": "mapgen",
205    "method": "json",
206    "om_terrain": "s_garage_roof_1",
207    "object": {
208      "fill_ter": "t_tar_flat_roof",
209      "rows": [
210        "                        ",
211        "                        ",
212        "                        ",
213        "                        ",
214        "                        ",
215        "                        ",
216        "                        ",
217        "                        ",
218        "                        ",
219        "                        ",
220        "                        ",
221        "                        ",
222        "                        ",
223        "                        ",
224        " |22223          |22223 ",
225        " |....3          |....3 ",
226        " |....3          |....3 ",
227        " |....3          |....3 ",
228        " |....3          |....3 ",
229        " |....5          5....3 ",
230        " |----30000000000|----3 ",
231        "                        ",
232        "                        ",
233        "                        "
234      ],
235      "palettes": [ "roof_palette" ],
236      "terrain": { ".": "t_tar_flat_roof", "0": "t_open_air_rooved" }
237    }
238  },
239  {
240    "type": "mapgen",
241    "method": "json",
242    "om_terrain": [ "s_garage_2" ],
243    "weight": 1000,
244    "object": {
245      "fill_ter": "t_thconc_floor",
246      "rows": [
247        "    EEEEEE      XXX     ",
248        "    EEEEEE      XXX     ",
249        "    EEEEEE      XXX     ",
250        "    EEEEEE      XXX     ",
251        "   eEEEEEEXXXXXXXXXXXXXX",
252        " ---======-----HHOHH---X",
253        " |.eM#MM#M..|y.......y|X",
254        " |..M#MM#M..|b........|X",
255        " :..M#MM#M..:b..|-ddd-|X",
256        " :..M#MM#M..:b..|f.h.y|X",
257        " A..M#MM#M..:b..|--.--|X",
258        " |..M#MM#M..+...+...hd|X",
259        " |..MMMMMM..|-+-|f6ddd|X",
260        " |..........|&.s|-----|X",
261        " |---....---|---|LLLLL|X",
262        " |..............|bbbbb|X",
263        " |WWWW..WWWW|...+.....|X",
264        " |c........c|-------+-|X",
265        " |c.xx..xx.p|xx.+T|<..OX",
266        " |l.xx..xx.c|x..-|----|X",
267        " |w.........O..xx|4UUXXX",
268        " |ScccccccwS|----|UXXXXX",
269        " |----------|WWWWWWWWWWW",
270        "                        "
271      ],
272      "terrain": {
273        " ": "t_region_groundcover_urban",
274        "E": "t_pavement",
275        "X": "t_sidewalk",
276        "U": "t_sidewalk",
277        "$": "t_door_glass_c",
278        "+": "t_door_c",
279        "O": "t_door_locked",
280        "-": "t_wall_b",
281        ".": "t_thconc_floor",
282        ":": "t_window",
283        "=": "t_door_metal_locked",
284        "A": "t_m_frame",
285        "H": "t_wall_glass",
286        "e": "t_gates_mech_control",
287        "|": "t_wall_b",
288        "W": "t_chainfence_h",
289        "^": "t_chaingate_c",
290        "M": "t_metal_floor",
291        "#": "t_grate",
292        "4": "t_gutter_downspout",
293        "<": "t_stairs_up"
294      },
295      "toilets": { "&": {  } },
296      "furniture": {
297        "6": "f_console_broken",
298        "A": "f_air_conditioner",
299        "L": "f_locker",
300        "T": "f_rack",
301        "b": "f_bench",
302        "d": "f_desk",
303        "c": "f_counter",
304        "p": "f_hydraulic_press",
305        "l": "f_heavy_lathe",
306        "S": "f_utility_shelf",
307        "s": "f_sink",
308        "t": "f_toilet",
309        "w": "f_utility_shelf",
310        "x": "f_crate_c",
311        "f": "f_filing_cabinet",
312        "h": "f_chair",
313        "U": [ "f_dumpster", "f_recycle_bin" ],
314        "y": [ "f_indoor_plant", "f_indoor_plant_y" ]
315      },
316      "items": {
317        "L": { "item": "clothing_work_set", "chance": 55 },
318        "c": { "item": "mechanics", "chance": 60 },
319        "S": { "item": "mechanics", "chance": 80, "repeat": [ 1, 6 ] },
320        "x": { "item": "mechanics", "chance": 80, "repeat": [ 1, 6 ] },
321        "w": { "item": "SUS_welding_gear", "chance": 80, "repeat": [ 1, 2 ] },
322        "f": { "item": "office", "chance": 70, "repeat": [ 1, 6 ] },
323        "d": { "item": "office", "chance": 70, "repeat": [ 1, 6 ] },
324        "T": { "item": "cleaning", "chance": 70, "repeat": [ 1, 6 ] }
325      },
326      "place_vehicles": [ { "vehicle": "garage", "x": [ 8, 8 ], "y": [ 9, 10 ], "chance": 95, "rotation": 90 } ]
327    }
328  },
329  {
330    "type": "mapgen",
331    "method": "json",
332    "om_terrain": "s_garage_roof_2",
333    "object": {
334      "fill_ter": "t_thconc_floor",
335      "rows": [
336        "                        ",
337        "                        ",
338        "                        ",
339        "                        ",
340        "                        ",
341        " |222222222222222222223 ",
342        " |....................3 ",
343        " |....***************.3 ",
344        " |....8......x..xx..*.3 ",
345        " |....*xxx..........*.3 ",
346        " |....%%%%%%%%%%%+%%%%% ",
347        " |....%yfff%'rr''''%ST% ",
348        " |....WI'''W'''''''%''% ",
349        " |....WIh''W'''CC''%+%% ",
350        " |....WI'''+''C'C''''C% ",
351        " |....%''''W'''''''Y''% ",
352        " |...4%tsst%'rrrrr''''% ",
353        " |....%%%%%%%%%%%%%%+%% ",
354        " |................%>''% ",
355        " |...............5%%%%% ",
356        " |...............3      ",
357        " |..........3----3      ",
358        " |----------3           ",
359        "                        "
360      ],
361      "palettes": [ "roof_palette" ],
362      "terrain": {
363        "%": "t_wall_b",
364        "+": "t_door_locked",
365        ">": "t_stairs_down",
366        "'": "t_thconc_floor",
367        "W": "t_window_domestic",
368        "*": "t_chainfence",
369        "8": "t_chaingate_c",
370        "x": "t_thconc_floor"
371      },
372      "furniture": {
373        "I": "f_desk",
374        "h": "f_chair",
375        "f": "f_filing_cabinet",
376        "x": [ "f_machinery_light", "f_machinery_heavy", "f_machinery_old", "f_machinery_electronic" ]
377      },
378      "items": {
379        "I": { "item": "office", "chance": 30 },
380        "f": { "item": "office_paper", "chance": 30 },
381        "S": { "item": "mechanics", "chance": 20 },
382        "r": { "item": "mechanics", "chance": 20 },
383        "C": { "item": "softdrugs", "chance": 20 }
384      },
385      "place_nested": [
386        {
387          "chunks": [
388            [ "null", 20 ],
389            [ "roof_2x2_utilities_b", 15 ],
390            [ "roof_2x2_utilities_c", 5 ],
391            [ "roof_2x2_utilities_d", 10 ],
392            [ "roof_2x2_utilities", 10 ],
393            [ "roof_2x2_golf", 10 ],
394            [ "roof_3x3_wine", 10 ],
395            [ "roof_4x4_party", 5 ]
396          ],
397          "x": 3,
398          "y": 18
399        }
400      ]
401    }
402  },
403  {
404    "type": "mapgen",
405    "method": "json",
406    "om_terrain": "s_garage_upper_roof_2",
407    "object": {
408      "fill_ter": "t_flat_roof",
409      "rows": [
410        "                        ",
411        "                        ",
412        "                        ",
413        "                        ",
414        "                        ",
415        "                        ",
416        "                        ",
417        "                        ",
418        "                        ",
419        "                        ",
420        "      |2222222222222223 ",
421        "      |...............3 ",
422        "      |....X..........3 ",
423        "      |...............3 ",
424        "      |...............3 ",
425        "      |.........:.....3 ",
426        "      5...............3 ",
427        "      |-----------|...3 ",
428        "                  |...3 ",
429        "                  |---3 ",
430        "                        ",
431        "                        ",
432        "                        ",
433        "                        "
434      ],
435      "palettes": [ "roof_palette" ],
436      "furniture": { ":": "f_cellphone_booster", "X": "f_small_satelitte_dish" }
437    }
438  }
439]
440