1[
2  {
3    "type": "mapgen",
4    "method": "json",
5    "om_terrain": [ "s_restaurant_fast" ],
6    "weight": 250,
7    "object": {
8      "fill_ter": "t_floor",
9      "rows": [
10        ",_____ssssssssssss_____,",
11        ",__,__#### ss ####__,__,",
12        ",_,,,_#ssssssssss#__,__,",
13        ",__,__#HTHssssHTH#__,__,",
14        ",__,__#ssssssssss#_,,,_,",
15        ",__,__|-555++555-|__,__,",
16        ",_____|.HH....HH.%_____,",
17        ",_____%.TT....TT.%_____,",
18        ",_____%.TT....TT.%_____,",
19        ",_____%.HH....HH.|_____,",
20        ",_____|..........%_____,",
21        ",,,,,,|g.........+_____,",
22        ",_____|ccxccxc|..%_____,",
23        ",_____ow=w=w=w+..|_____,",
24        ",_____|ewccOwc|t-|_____,",
25        ",_____|l=w=w=S|=S|_____,",
26        ",_____||eercwx|P||_____,",
27        ",_____#|----o---|4_____,",
28        ",________,_____________,",
29        ",________,_____________,",
30        ",________,_____________,",
31        " ,_______,____________, ",
32        "  ,,,,,,,,,,,,,,,,,,,,  ",
33        "   dd                   "
34      ],
35      "set": [
36        { "point": "terrain", "id": "t_dirt", "x": [ 0, 23 ], "y": 23, "repeat": [ 5, 15 ] },
37        { "line": "terrain", "id": "t_sidewalk", "x": 7, "x2": 9, "y": 3, "y2": 3 },
38        { "line": "terrain", "id": "t_sidewalk", "x": 14, "x2": 16, "y": 3, "y2": 3 },
39        { "line": "trap", "id": "tr_beartrap", "x": 14, "x2": 16, "y": 13, "y2": 13, "chance": 10 }
40      ],
41      "terrain": {
42        " ": "t_region_groundcover_urban",
43        "d": "t_region_groundcover_barren",
44        "#": "t_region_shrub",
45        "%": "t_wall_glass",
46        "+": "t_door_glass_c",
47        ",": "t_pavement_y",
48        "-": "t_wall_w",
49        ".": "t_floor",
50        "5": "t_wall_glass",
51        "=": "t_linoleum_gray",
52        "O": "t_linoleum_white",
53        "P": "t_linoleum_white",
54        "S": "t_linoleum_white",
55        "_": "t_pavement",
56        "c": "t_linoleum_white",
57        "e": "t_linoleum_white",
58        "l": "t_linoleum_white",
59        "o": "t_window_open",
60        "r": "t_linoleum_gray",
61        "s": "t_sidewalk",
62        "t": "t_door_c",
63        "w": "t_linoleum_white",
64        "4": "t_gutter_downspout",
65        "|": "t_wall_w"
66      },
67      "furniture": {
68        "x": "f_console_broken",
69        "H": "f_chair",
70        "O": "f_woodstove",
71        "S": "f_sink",
72        "T": "f_table",
73        "c": "f_counter",
74        "d": "f_dumpster",
75        "e": "f_fridge",
76        "g": "f_trashcan",
77        "l": "f_locker",
78        "r": "f_oven"
79      },
80      "toilets": { "P": {  } },
81      "place_items": [
82        { "item": "fast_table", "x": 8, "y": 3, "chance": 20, "repeat": [ 1, 2 ] },
83        { "item": "fast_table", "x": 15, "y": 3, "chance": 20, "repeat": [ 1, 2 ] },
84        { "item": "fast_table", "x": [ 8, 9 ], "y": [ 7, 8 ], "chance": 20, "repeat": [ 1, 2 ] },
85        { "item": "fast_table", "x": [ 14, 15 ], "y": [ 7, 8 ], "chance": 20, "repeat": [ 1, 2 ] },
86        { "item": "fast_kitchen", "x": [ 9, 10 ], "y": 14, "chance": 75, "repeat": [ 1, 6 ] },
87        { "item": "fast_kitchen", "x": 13, "y": 14, "chance": 75, "repeat": [ 1, 6 ] },
88        { "item": "fast_fridge", "x": 7, "y": 14, "chance": 90, "repeat": [ 2, 8 ] },
89        { "item": "fast_fridge", "x": [ 8, 9 ], "y": 16, "chance": 90, "repeat": [ 2, 8 ] },
90        { "item": "fast_kitchen", "x": 11, "y": 16, "chance": 75, "repeat": [ 1, 8 ] },
91        { "item": "fast_locker", "x": 7, "y": 15, "chance": 70, "repeat": [ 1, 3 ] },
92        { "item": "fast_trash", "x": 7, "y": 11, "chance": 75, "repeat": [ 1, 3 ] },
93        { "item": "fast_bath", "x": 14, "y": 15, "chance": 25, "repeat": [ 1, 2 ] },
94        { "item": "fast_trash", "x": [ 3, 4 ], "y": 23, "chance": 60, "repeat": [ 1, 3 ] },
95        { "item": "trash", "x": [ 3, 4 ], "y": 23, "chance": 30, "repeat": [ 1, 3 ] }
96      ],
97      "place_monsters": [
98        { "monster": "GROUP_ZOMBIE", "x": 15, "y": 15, "chance": 10 },
99        { "monster": "GROUP_PLAGUE_ROACH", "x": [ 7, 19 ], "y": 19, "chance": 20 },
100        { "monster": "GROUP_ROACH", "x": [ 7, 19 ], "y": 19, "chance": 20 }
101      ]
102    }
103  },
104  {
105    "type": "mapgen",
106    "method": "json",
107    "om_terrain": [ "s_restaurant_fast_roof" ],
108    "weight": 300,
109    "object": {
110      "fill_ter": "t_tar_flat_roof",
111      "rows": [
112        "                        ",
113        "                        ",
114        "                        ",
115        "                        ",
116        "                        ",
117        "      ------------      ",
118        "      |..........3      ",
119        "      |..........3      ",
120        "      |..........3      ",
121        "      |..........3      ",
122        "      |..........3      ",
123        "      |..........3      ",
124        "      |..........3      ",
125        "      |..........3      ",
126        "      |..........3      ",
127        "      |....&....:3      ",
128        "      22........52      ",
129        "       2222222222       ",
130        "                        ",
131        "                        ",
132        "                        ",
133        "                        ",
134        "                        ",
135        "                        "
136      ],
137      "terrain": {
138        ".": "t_tar_flat_roof",
139        " ": "t_open_air",
140        "|": "t_gutter_west",
141        "-": "t_gutter_north",
142        "3": "t_gutter_east",
143        "2": "t_gutter_south",
144        "5": "t_gutter_drop"
145      },
146      "furniture": { "&": "f_roof_turbine_vent", ":": "f_vent_pipe" },
147      "place_items": [ { "item": "roof_trash", "x": [ 9, 14 ], "y": [ 6, 13 ], "chance": 50, "repeat": [ 1, 3 ] } ],
148      "place_nested": [
149        {
150          "chunks": [
151            [ "roof_2x2_utilities_b", 20 ],
152            [ "roof_2x2_utilities_c", 20 ],
153            [ "roof_2x2_utilities_d", 20 ],
154            [ "roof_2x2_utilities", 20 ],
155            [ "null", 20 ]
156          ],
157          "x": [ 8, 13 ],
158          "y": [ 7, 12 ]
159        }
160      ]
161    }
162  },
163  {
164    "type": "mapgen",
165    "method": "json",
166    "om_terrain": [ "s_restaurant_fast_1" ],
167    "weight": 250,
168    "object": {
169      "fill_ter": "t_floor",
170      "rows": [
171        "____,,,,,#ssssssssssssss",
172        "_________#ss|555++++555|",
173        "_________#ss5.HH.HH..hh|",
174        "_________#ss5.TT.TT..Th|",
175        "____,,,,,#ss5.HH.HH..Th|",
176        "_________#ss5........hh|",
177        "_________#ss|||||++|||||",
178        "_________#ss|.......hhh|",
179        "____,,,,,#ss|HH.HH...Th|",
180        "_________#ss5TT.TT...Th|",
181        "_________#ss5HH.HH..||||",
182        "_________#ss5.......hhh|",
183        "____,,,,,#ss|||||....Th|",
184        "ssssssssssss|hhh.....Th|",
185        "ssssssssssss|hTT....hhh|",
186        "||||||||xo|||hTT..||||||",
187        "|ewwwwwwwwwT......|S=tP|",
188        "|ewrrwcScwwx......t==|||",
189        "|ewrrw|||wwT..|FFF|S=tP|",
190        "|ewrrw|l|w||||||||||||||",
191        "|ewwww|ltwDss4dd!       ",
192        "|||||||||||sssdd!       ",
193        "           sssdd!       ",
194        "           !!!!!!       "
195      ],
196      "terrain": {
197        " ": [ [ "t_region_groundcover_urban", 10 ], "t_region_shrub_decorative" ],
198        "#": "t_region_shrub_decorative",
199        "%": "t_wall_glass",
200        "+": "t_door_glass_c",
201        ",": "t_pavement_y",
202        "!": "t_wall_wood",
203        "-": "t_wall_w",
204        ".": "t_floor",
205        "5": "t_wall_glass",
206        "=": "t_linoleum_gray",
207        "F": "t_floor",
208        "O": "t_linoleum_white",
209        "P": "t_linoleum_gray",
210        "S": "t_linoleum_white",
211        "_": "t_pavement",
212        "c": "t_linoleum_white",
213        "e": "t_linoleum_white",
214        "l": "t_linoleum_white",
215        "o": "t_window_open",
216        "r": "t_linoleum_gray",
217        "d": "t_sidewalk",
218        "s": "t_sidewalk",
219        "D": "t_door_locked",
220        "t": "t_door_c",
221        "w": "t_linoleum_white",
222        "4": "t_gutter_downspout",
223        "|": "t_wall_w"
224      },
225      "furniture": {
226        "x": "f_console_broken",
227        "H": "f_chair",
228        "F": "f_arcade_machine",
229        "S": "f_sink",
230        "h": "f_sofa",
231        "T": "f_table",
232        "c": "f_counter",
233        "d": "f_dumpster",
234        "e": "f_fridge",
235        "g": "f_trashcan",
236        "l": "f_locker",
237        "r": "f_oven"
238      },
239      "toilets": { "P": {  } },
240      "items": {
241        "T": { "item": "fast_table", "chance": 20, "repeat": [ 1, 2 ] },
242        "d": { "item": "fast_trash", "chance": 60, "repeat": [ 1, 3 ] },
243        "c": { "item": "fast_kitchen", "chance": 75, "repeat": [ 1, 6 ] },
244        "l": { "item": "fast_locker", "chance": 70, "repeat": [ 1, 2 ] },
245        "e": { "item": "fast_fridge", "chance": 70, "repeat": [ 2, 8 ] },
246        ".": { "item": "fast_trash", "chance": 5, "repeat": [ 1, 3 ] },
247        "=": { "item": "fast_bath", "chance": 25, "repeat": [ 1, 2 ] }
248      },
249      "place_monsters": [
250        { "monster": "GROUP_ZOMBIE", "x": 15, "y": 15, "chance": 10 },
251        { "monster": "GROUP_PLAGUE_ROACH", "x": [ 7, 19 ], "y": 19, "chance": 30 },
252        { "monster": "GROUP_ROACH", "x": [ 7, 19 ], "y": 19, "chance": 30 }
253      ]
254    }
255  },
256  {
257    "type": "mapgen",
258    "method": "json",
259    "om_terrain": [ "s_restaurant_fast_roof_1" ],
260    "weight": 300,
261    "object": {
262      "fill_ter": "t_flat_roof",
263      "rows": [
264        "                        ",
265        "            |----------3",
266        "            |..........3",
267        "            |..........3",
268        "            |..........3",
269        "            |..........3",
270        "            |..........3",
271        "            |..........3",
272        "            |..........3",
273        "            |..........3",
274        "            |..........3",
275        "            |..........3",
276        "            |..........3",
277        "            |..........3",
278        "            |..........3",
279        "------------|..........3",
280        "|.&....................3",
281        "|......................3",
282        "|....................:.3",
283        "|.........32252222222223",
284        "|.........3             ",
285        "|2222222222             ",
286        "                        ",
287        "                        "
288      ],
289      "terrain": {
290        ".": "t_flat_roof",
291        " ": "t_open_air",
292        "|": "t_gutter_west",
293        "-": "t_gutter_north",
294        "3": "t_gutter_east",
295        "2": "t_gutter_south",
296        "5": "t_gutter_drop"
297      },
298      "furniture": { "&": "f_roof_turbine_vent", ":": "f_vent_pipe" },
299      "place_items": [ { "item": "roof_trash", "x": [ 13, 20 ], "y": [ 3, 13 ], "chance": 50, "repeat": [ 1, 3 ] } ],
300      "place_nested": [
301        {
302          "chunks": [
303            [ "roof_2x2_utilities_b", 20 ],
304            [ "roof_2x2_utilities_c", 20 ],
305            [ "roof_2x2_utilities_d", 20 ],
306            [ "roof_2x2_utilities", 20 ],
307            [ "null", 20 ]
308          ],
309          "x": [ 2, 6 ],
310          "y": [ 17, 19 ]
311        },
312        { "chunks": [ [ "roof_4x4_utility_1", 50 ], [ "null", 50 ] ], "x": 15, "y": [ 3, 14 ] }
313      ]
314    }
315  }
316]
317