1[
2  {
3    "type": "mapgen",
4    "method": "json",
5    "om_terrain": [ "s_reststop_1" ],
6    "weight": 500,
7    "object": {
8      "fill_ter": "t_floor",
9      "rows": [
10        "rrrrrrrrrrrrrrrrrrrrrrrr",
11        "yrrryrrryrrryrrrrrrryrrr",
12        "yrrryrrryrrryrrrrrrryrrr",
13        "yrrryrrryrrryrr2222ryrrr",
14        "yrrryrrryrrryrr2222ryrrr",
15        "yrrryrrryrrryrr2222ryrrr",
16        "yyyyyyyyyyyyyyy2222yyyyy",
17        "222222222222222222222222",
18        "............2222222222..",
19        ".----666666----2222----6",
20        ".|A        Ca 722227A   ",
21        ".|A  AAA   CC 722227A   ",
22        ".|A           |2222|A   ",
23        ".|-666-gg-6666-6gg6---  ",
24        ".|K                     ",
25        ".|K        KKKKY        ",
26        ".|---  ---------------  ",
27        ".|CY|  |Y|B|B|B|B|B|B|  ",
28        ".|D      |+|+|+|+|+|+|  ",
29        ".|D              |      ",
30        ".|D      |+|+|+|+|+|+|  ",
31        ".|C  HFY |B|B|B|B|B|B|HY",
32        ".|----------------------",
33        "........................"
34      ],
35      "terrain": {
36        " ": "t_floor",
37        "+": "t_door_c",
38        "-": "t_wall_w",
39        ".": [ "t_grass", "t_grass", "t_grass", "t_dirt" ],
40        "1": "t_window",
41        "2": "t_sidewalk",
42        "3": "t_tree_young",
43        "4": "t_chaingate_l",
44        "5": "t_wall_wood",
45        "6": "t_wall_glass_h",
46        "7": "t_wall_glass_v",
47        "E": "t_dirtfloor",
48        "G": "t_dirtfloor",
49        "g": "t_door_glass_c",
50        "r": "t_pavement",
51        "y": "t_pavement_y",
52        "|": "t_wall_w"
53      },
54      "furniture": {
55        "A": "f_rack",
56        "C": "f_counter",
57        "D": "f_sink",
58        "E": "f_sink",
59        "F": "f_chair",
60        "G": "f_locker",
61        "H": "f_table",
62        "I": "f_sofa",
63        "K": "f_bench",
64        "a": "f_stool",
65        "Y": "f_trashcan"
66      },
67      "toilets": { "B": {  } },
68      "items": {
69        "B": { "item": "softdrugs", "chance": 30 },
70        "D": { "item": "softdrugs", "chance": 10 },
71        "Y": { "item": "trash", "chance": 20, "repeat": [ 2, 4 ] }
72      },
73      "place_loot": [
74        { "group": "magazines", "x": 2, "y": [ 10, 12 ], "chance": 80, "repeat": [ 1, 8 ] },
75        { "group": "fast_food", "x": 20, "y": [ 10, 12 ], "chance": 90, "repeat": [ 1, 8 ] },
76        { "group": "behindcounter", "x": [ 5, 7 ], "y": 11, "chance": 80, "repeat": [ 1, 8 ] }
77      ],
78      "place_monsters": [ { "monster": "GROUP_ZOMBIE", "x": [ 2, 21 ], "y": [ 2, 21 ], "repeat": [ 1, 2 ] } ]
79    }
80  },
81  {
82    "type": "mapgen",
83    "method": "json",
84    "om_terrain": "s_reststop_1_roof",
85    "object": {
86      "fill_ter": "t_tar_flat_roof",
87      "rows": [
88        "                        ",
89        "                        ",
90        "                        ",
91        "                        ",
92        "                        ",
93        "                        ",
94        "                        ",
95        "                        ",
96        "                        ",
97        " |2222222222223    |2222",
98        " |............3    |....",
99        " |............3    |....",
100        " |.....X......3    |....",
101        " |............32222|....",
102        " |......................",
103        " |....................&.",
104        " |......................",
105        " |...........AA.........",
106        " |......................",
107        " |......................",
108        " |..........=.....=.....",
109        " |......................",
110        " |----------------------",
111        "                        "
112      ],
113      "palettes": [ "roof_palette" ],
114      "terrain": { ".": "t_tar_flat_roof" }
115    }
116  },
117  {
118    "type": "mapgen",
119    "method": "json",
120    "om_terrain": [ "s_reststop_2" ],
121    "weight": 500,
122    "object": {
123      "fill_ter": "t_floor",
124      "rows": [
125        "rrrrrrrrrrrrrrrrrrrrrrrr",
126        "yrrryrrryrrryrrryrrryrrr",
127        "yrrryrrryrrryrrryrrryrrr",
128        "yrrryrrryrrryrrryrrryrrr",
129        "yrrryrrryrrryrrryrrryrrr",
130        "yrrryrrryrrryrrryrrryrrr",
131        "yyyyyyyyyyyyyyyyyyyyyyyy",
132        "222%%2222222222222222222",
133        "............22E.........",
134        "6666666----|22..........",
135        "       KKKK722....WHHW..",
136        "           722....WHHW..",
137        "       KKKK722....WHHW..",
138        "      -----|22..........",
139        "           g22..........",
140        "           g22....WHHW..",
141        "-----66666-|22....WHHW..",
142        "|YC|922%%22222....WHHW..",
143        "  D|M222222222..........",
144        "  D|M222222222..........",
145        "  D|M222222222....WHHW..",
146        "  D|M222222222....WHHW..",
147        "----2222222222....WHHW..",
148        "........................"
149      ],
150      "terrain": {
151        " ": "t_floor",
152        "+": "t_door_c",
153        "-": "t_wall_w",
154        ".": [ "t_grass", "t_grass", "t_grass", "t_dirt" ],
155        "H": [ "t_grass", "t_grass", "t_grass", "t_dirt" ],
156        "E": [ "t_grass", "t_grass", "t_grass", "t_dirt" ],
157        "W": [ "t_grass", "t_grass", "t_grass", "t_dirt" ],
158        "1": "t_window",
159        "2": "t_sidewalk",
160        "%": "t_sidewalk",
161        "M": "t_sidewalk",
162        "3": "t_tree_young",
163        "4": "t_chaingate_l",
164        "5": "t_wall_wood",
165        "6": "t_wall_glass_h",
166        "7": "t_wall_glass_v",
167        "G": "t_dirtfloor",
168        "g": "t_door_glass_c",
169        "r": "t_pavement",
170        "y": "t_pavement_y",
171        "|": "t_wall_w",
172        "9": "t_gutter_downspout"
173      },
174      "furniture": {
175        "A": "f_rack",
176        "C": "f_counter",
177        "D": "f_sink",
178        "E": "f_trashcan",
179        "F": "f_chair",
180        "G": "f_locker",
181        "H": "f_table",
182        "I": "f_sofa",
183        "K": "f_bench",
184        "W": "f_bench",
185        "M": "f_bench",
186        "Y": "f_trashcan"
187      },
188      "toilets": { "B": {  } },
189      "vendingmachines": { "%": { "item_group": "vending_drink" }, "F": { "item_group": "vending_food" } },
190      "place_loot": [
191        { "group": "snacks", "x": [ 19, 20 ], "y": [ 10, 12 ], "chance": 75, "repeat": [ 4, 12 ] },
192        { "group": "snacks", "x": [ 19, 20 ], "y": [ 15, 17 ], "chance": 75, "repeat": [ 4, 12 ] },
193        { "group": "snacks", "x": [ 19, 20 ], "y": [ 20, 22 ], "chance": 75, "repeat": [ 4, 12 ] },
194        { "group": "trash_cart", "x": 14, "y": 8, "chance": 80, "repeat": [ 1, 3 ] }
195      ],
196      "place_monsters": [ { "monster": "GROUP_ZOMBIE", "x": [ 2, 21 ], "y": [ 2, 21 ], "repeat": [ 1, 2 ] } ]
197    }
198  },
199  {
200    "type": "mapgen",
201    "method": "json",
202    "om_terrain": "s_reststop_2_roof",
203    "object": {
204      "fill_ter": "t_tar_flat_roof",
205      "rows": [
206        "                        ",
207        "                        ",
208        "                        ",
209        "                        ",
210        "                        ",
211        "                        ",
212        "                        ",
213        "                        ",
214        "                        ",
215        "222222222223            ",
216        "...........3            ",
217        "...........3            ",
218        "...........3            ",
219        "...........3            ",
220        "...........3            ",
221        "...........3            ",
222        "...5-------3            ",
223        "...3                    ",
224        "...3                    ",
225        "...3                    ",
226        "...3                    ",
227        "...3                    ",
228        "---3                    ",
229        "                        "
230      ],
231      "palettes": [ "roof_palette" ],
232      "terrain": { ".": "t_tar_flat_roof" }
233    }
234  },
235  {
236    "type": "mapgen",
237    "method": "json",
238    "om_terrain": [ "s_restparking_1" ],
239    "weight": 500,
240    "object": {
241      "rows": [
242        ",,2.........2,,,,,,,,,,,",
243        ",,2.........2,,,,,,,,,,,",
244        ",,2.........2,,,,,,,,,,,",
245        ",,2.........2,,,,,,,,,,,",
246        ",,2.........222222222222",
247        ",,2.....................",
248        ",,2.........yyyyyyyyyyyy",
249        ",,2.........y...y...y...",
250        ",,2.........y...y...y...",
251        ",,2.........y...y...y...",
252        ",,2.........y...y...y...",
253        ",,2.........y...y...y...",
254        ",,2.....................",
255        ",,2.....................",
256        ",,2.....................",
257        ",,2.....................",
258        ",,2.....................",
259        ",,2.....................",
260        "222.....................",
261        "........................",
262        "........................",
263        "........................",
264        "........................",
265        "........................"
266      ],
267      "terrain": { ",": [ "t_grass", "t_grass", "t_grass", "t_dirt" ], ".": "t_pavement", "2": "t_sidewalk", "y": "t_pavement_y" }
268    }
269  },
270  {
271    "type": "mapgen",
272    "method": "json",
273    "om_terrain": [ "s_restparking_2" ],
274    "weight": 500,
275    "object": {
276      "rows": [
277        ",,,,,,,,,,,2.........2,,",
278        ",,,,,,,,,,,2.........2,,",
279        ",,,,,,,,,,,2.........2,,",
280        ",,,,,,,KHK,2.........2,,",
281        "222222,KHK,2.........2,,",
282        ".....2,,,,,2.........2,,",
283        "yyyyy2,KHK,2.........2,,",
284        "y...y2,KHK,2.........2,,",
285        "y...y2,,,,,2.........2,,",
286        "y...y2222222.........2,,",
287        "y...y................2,,",
288        "y...y................2,,",
289        ".....................222",
290        "........................",
291        "........................",
292        "........................",
293        "........................",
294        "........................",
295        "........................",
296        "........................",
297        "........................",
298        "........................",
299        "........................",
300        "........................"
301      ],
302      "terrain": {
303        ",": [ "t_grass", "t_grass", "t_grass", "t_dirt" ],
304        ".": "t_pavement",
305        "H": "t_dirt",
306        "K": "t_dirt",
307        "2": "t_sidewalk",
308        "y": "t_pavement_y"
309      },
310      "furniture": { "H": "f_table", "K": "f_bench" }
311    }
312  }
313]
314