1[
2  {
3    "type": "mapgen",
4    "method": "json",
5    "om_terrain": [ "bar" ],
6    "weight": 250,
7    "object": {
8      "//": "default fill is floor but dumpster is on pavement",
9      "fill_ter": "t_floor",
10      "rows": [
11        " ,    ,    ,    ,    ,  ",
12        " ,    ,    ,    ,    ,  ",
13        " ,    ,    ,    ,    ,  ",
14        " ,    ,    ,    ,    ,  ",
15        " ,    ,    ,    ,    ,  ",
16        "|--'-'-'---++---'-'-'--|",
17        "|....................q.|",
18        "|...BB...BB...BB...qccc|",
19        "|...##...##...##....cl&|",
20        "|...##...##...##...qcl@|",
21        "'...BB...BB...BB....cl{|",
22        "|..................qcl{|",
23        "|...BB...BB...BB....cl{|",
24        "|...##...##...##...qcl{|",
25        "|...##...##...##....cll|",
26        "'...BB...BB...BB...qcfc|",
27        "|......................|",
28        "|....xxxx.....xxxx....T|",
29        "|....xxxx.....xxxx....T|",
30        "|......................|",
31        "|-+--+--------------+--|",
32        "|rl|rl|   dd<    Dllll&|",
33        "|ts|ts|4         |lcccc|",
34        "|-----|          |-----|"
35      ],
36      "set": [
37        { "point": "terrain", "id": "t_pavement", "x": 10, "y": 21 },
38        { "point": "terrain", "id": "t_pavement", "x": 11, "y": 21 }
39      ],
40      "terrain": {
41        " ": "t_pavement",
42        "&": "t_linoleum_gray",
43        "'": "t_window",
44        "+": "t_door_c",
45        ",": "t_pavement_y",
46        "-": "t_wall_g",
47        ".": "t_floor",
48        "D": "t_door_locked",
49        "c": "t_linoleum_gray",
50        "d": "t_pavement",
51        "l": "t_linoleum_gray",
52        "s": "t_linoleum_gray",
53        "t": "t_linoleum_gray",
54        "{": "t_linoleum_gray",
55        "r": "t_linoleum_gray",
56        "4": "t_gutter_downspout",
57        "<": "t_ladder_up",
58        "q": "t_floor",
59        "|": "t_wall_g"
60      },
61      "furniture": {
62        "@": "f_console_broken",
63        "#": "f_table",
64        "&": "f_fridge",
65        "B": "f_bench",
66        "C": "f_chair",
67        "T": "f_trashcan",
68        "r": "f_trashcan",
69        "c": "f_counter",
70        "d": "f_dumpster",
71        "f": "f_counter_gate_c",
72        "s": "f_sink",
73        "x": "f_pool_table",
74        "q": "f_stool",
75        "{": "f_rack"
76      },
77      "toilets": { "t": {  } },
78      "place_items": [
79        { "item": "pool_table", "x": [ 5, 8 ], "y": [ 17, 18 ], "chance": 50, "repeat": [ 2, 3 ] },
80        { "item": "pool_table", "x": [ 14, 17 ], "y": [ 17, 18 ], "chance": 50, "repeat": [ 2, 3 ] },
81        { "item": "bar_food", "x": 20, "y": [ 9, 15 ], "chance": 75, "repeat": [ 2, 3 ] },
82        { "item": "bar_food", "x": 20, "y": [ 9, 15 ], "chance": 75, "repeat": [ 2, 3 ] },
83        { "item": "bar_alcohol", "x": 20, "y": [ 9, 15 ], "chance": 85, "repeat": [ 3, 4 ] },
84        { "item": "bar_fridge", "x": 22, "y": 9, "chance": 90, "repeat": [ 1, 10 ] },
85        { "item": "bar_alcohol", "x": 22, "y": [ 10, 13 ], "chance": 80, "repeat": [ 2, 4 ] },
86        { "item": "bar_table", "x": [ 4, 5 ], "y": [ 8, 9 ], "chance": 20, "repeat": [ 1, 2 ] },
87        { "item": "bar_alcohol", "x": [ 4, 5 ], "y": [ 8, 9 ], "chance": 50, "repeat": [ 1, 3 ] },
88        { "item": "bar_table", "x": [ 9, 10 ], "y": [ 8, 9 ], "chance": 20, "repeat": [ 1, 2 ] },
89        { "item": "bar_table", "x": [ 14, 15 ], "y": [ 8, 9 ], "chance": 20 },
90        { "item": "bar_alcohol", "x": [ 14, 15 ], "y": [ 8, 9 ], "chance": 50, "repeat": [ 1, 3 ] },
91        { "item": "bar_table", "x": [ 4, 5 ], "y": [ 13, 14 ], "chance": 20, "repeat": [ 1, 2 ] },
92        { "item": "bar_table", "x": [ 9, 10 ], "y": [ 13, 14 ], "chance": 20 },
93        { "item": "bar_alcohol", "x": [ 9, 10 ], "y": [ 13, 14 ], "chance": 50, "repeat": [ 1, 3 ] },
94        { "item": "bar_table", "x": [ 14, 15 ], "y": [ 13, 14 ], "chance": 20, "repeat": [ 1, 2 ] },
95        { "item": "bar_alcohol", "x": [ 14, 15 ], "y": [ 13, 14 ], "chance": 50, "repeat": [ 1, 3 ] },
96        { "item": "snacks", "x": [ 19, 22 ], "y": 22, "chance": 50, "repeat": [ 1, 2 ] },
97        { "item": "fridgesnacks", "x": 22, "y": 21, "chance": 90, "repeat": [ 1, 10 ] },
98        { "item": "trash", "x": [ 1, 22 ], "y": [ 0, 3 ], "chance": 20, "repeat": [ 2, 4 ] },
99        { "item": "trash", "x": [ 10, 11 ], "y": 21, "chance": 50, "repeat": [ 3, 5 ] },
100        { "item": "bar_trash", "x": [ 10, 11 ], "y": 21, "chance": 50, "repeat": [ 2, 4 ] },
101        { "item": "bar_trash", "x": 22, "y": [ 17, 18 ], "chance": 70, "repeat": [ 4, 5 ] },
102        { "item": "bar_bathroom", "x": [ 2, 4 ], "y": [ 21, 22 ], "chance": 30, "repeat": [ 1, 2 ] }
103      ]
104    }
105  },
106  {
107    "type": "mapgen",
108    "method": "json",
109    "om_terrain": "bar_roof",
110    "weight": 200,
111    "object": {
112      "fill_ter": "t_flat_roof",
113      "rows": [
114        "                        ",
115        "                        ",
116        "                        ",
117        "                        ",
118        "                        ",
119        "|22222222222222222222223",
120        "|......................3",
121        "|......................3",
122        "|......................3",
123        "|......................3",
124        "|......................3",
125        "|......................3",
126        "|......................3",
127        "|......................3",
128        "|......................3",
129        "|......................3",
130        "|......................3",
131        "|......................3",
132        "|......................3",
133        "|......................3",
134        "|..........###.........3",
135        "|..X..3#####>####|..&..3",
136        "|.A.=.5          |.....3",
137        "-------          -------"
138      ],
139      "terrain": {
140        ".": "t_flat_roof",
141        " ": "t_open_air",
142        "2": "t_gutter_north",
143        "-": "t_gutter_south",
144        "3": "t_gutter_east",
145        "|": "t_gutter_west",
146        ">": "t_ladder_down",
147        "#": "t_grate",
148        "5": "t_gutter_drop"
149      },
150      "furniture": { "&": "f_roof_turbine_vent", "X": "f_small_satelitte_dish", "=": "f_vent_pipe", "A": "f_air_conditioner" },
151      "place_items": [ { "item": "roof_trash", "x": [ 5, 18 ], "y": [ 7, 18 ], "chance": 50, "repeat": [ 1, 3 ] } ],
152      "place_nested": [
153        { "chunks": [ [ "null", 20 ], [ "roof_2x2_utilities_c", 5 ], [ "roof_2x2_golf", 5 ] ], "x": [ 3, 15 ], "y": [ 16, 18 ] },
154        {
155          "chunks": [ [ "null", 40 ], [ "roof_4x4_party", 15 ], [ "roof_4x4_survivor", 10 ], [ "roof_4x4_utility_1", 50 ] ],
156          "x": [ 6, 18 ],
157          "y": [ 7, 15 ]
158        }
159      ]
160    }
161  },
162  {
163    "type": "mapgen",
164    "method": "json",
165    "om_terrain": [ "bar_1" ],
166    "weight": 250,
167    "object": {
168      "fill_ter": "t_floor",
169      "rows": [
170        " ,___,___,___,   ~~~    ",
171        " ,___,___,___,~~~~~~    ",
172        " ,___,___,___,   ~~~    ",
173        " ,___,___,___,|-'-+-'-| ",
174        " ,___,___,___,|.......| ",
175        " |-'---'---'--|Q...xx.| ",
176        " |BBB|BBB|BBBB|Q...xx.| ",
177        " |##B|B##|B##B|Q...xx.| ",
178        " |.................xx.| ",
179        " |X...q.q.q...........| ",
180        " |X...uuuuu....|.q.q.q| ",
181        "||...-------+--|lccccc| ",
182        "|o.............|llllll| ",
183        "|o.BB......BBBB|$$$lll| ",
184        "|o.##C..o|C...B|----D-| ",
185        "|o.BB.C.o|.....+iis|l{| ",
186        "|o...B#Bo|-!O!-|+|+|l{| ",
187        "|o...B#Bo|<!!!_|t|t|ll| ",
188        "|o....C.o|dd___|---|ll| ",
189        "|--BBBB--|dd___Dlllll{| ",
190        "  |-''-|__dd___|&&&ll{| ",
191        "       F_______|------| ",
192        "       f_______F4       ",
193        "       FFFFFFFFF        "
194      ],
195      "terrain": {
196        "_": "t_pavement",
197        "~": "t_sidewalk",
198        " ": [ [ "t_region_groundcover_urban", 10 ], "t_region_shrub" ],
199        "&": "t_linoleum_gray",
200        "'": "t_window_domestic",
201        "+": "t_door_c",
202        ",": "t_pavement_y",
203        "-": "t_wall_b",
204        ".": "t_floor",
205        "u": "t_floor",
206        "D": "t_door_locked",
207        "c": "t_linoleum_gray",
208        "d": "t_pavement",
209        "O": "t_rock_floor",
210        "F": "t_chainfence",
211        "f": "t_chaingate_c",
212        "l": "t_linoleum_gray",
213        "i": "t_linoleum_gray",
214        "s": "t_linoleum_gray",
215        "t": "t_linoleum_gray",
216        "{": "t_linoleum_gray",
217        "q": "t_floor",
218        "|": "t_wall_b",
219        "4": "t_gutter_downspout",
220        "<": "t_ladder_up",
221        "!": "t_brick_wall"
222      },
223      "furniture": {
224        "@": "f_console_broken",
225        "#": "f_table",
226        "$": "f_glass_fridge",
227        "&": "f_fridge",
228        "B": "f_sofa",
229        "C": "f_armchair",
230        "T": "f_trashcan",
231        "c": "f_counter",
232        "u": "f_counter",
233        "d": "f_dumpster",
234        "s": "f_sink",
235        "Q": "f_arcade_machine",
236        "X": "f_pinball_machine",
237        "x": "f_pool_table",
238        "o": "f_bookcase",
239        "O": "f_fireplace",
240        "q": "f_stool",
241        "{": "f_rack"
242      },
243      "toilets": { "t": {  } },
244      "items": {
245        "o": { "item": "novels", "chance": 20 },
246        "d": { "item": "bar_trash", "chance": 35 },
247        "#": { "item": "bar_table", "chance": 35, "repeat": [ 2, 3 ] },
248        "c": { "item": "bar_alcohol", "chance": 50, "repeat": [ 2, 3 ] },
249        "u": { "item": "bar_alcohol", "chance": 50, "repeat": [ 2, 3 ] },
250        "i": { "item": "bar_bathroom", "chance": 35, "repeat": [ 1, 2 ] },
251        "$": { "item": "bar_fridge", "chance": 50, "repeat": [ 1, 2 ] },
252        "&": { "item": "fridgesnacks", "chance": 40, "repeat": [ 1, 2 ] },
253        "{": { "item": "bar_alcohol", "chance": 65, "repeat": [ 2, 3 ] }
254      }
255    }
256  },
257  {
258    "type": "mapgen",
259    "method": "json",
260    "om_terrain": "bar_roof_1",
261    "weight": 200,
262    "object": {
263      "fill_ter": "t_flat_roof",
264      "rows": [
265        "                        ",
266        "                        ",
267        "                        ",
268        "              |22222223 ",
269        "              |.......3 ",
270        " |222222222222|.X.....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>.8.........3 ",
283        "|...A=...3     |......3 ",
284        "|--....--3     |.:....3 ",
285        "  |----3       |....&.3 ",
286        "               |5-----3 ",
287        "                        ",
288        "                        "
289      ],
290      "terrain": {
291        ".": "t_flat_roof",
292        " ": "t_open_air",
293        "2": "t_gutter_north",
294        "-": "t_gutter_south",
295        "3": "t_gutter_east",
296        "|": "t_gutter_west",
297        ">": "t_ladder_down",
298        "5": "t_gutter_drop"
299      },
300      "furniture": {
301        "&": "f_roof_turbine_vent",
302        "8": "f_chimney",
303        ":": "f_cellphone_booster",
304        "X": "f_small_satelitte_dish",
305        "=": "f_vent_pipe",
306        "A": "f_air_conditioner"
307      },
308      "place_items": [ { "item": "roof_trash", "x": [ 3, 18 ], "y": [ 8, 15 ], "chance": 50, "repeat": [ 1, 3 ] } ],
309      "place_nested": [
310        {
311          "chunks": [ [ "null", 40 ], [ "roof_2x2_utilities_c", 50 ], [ "roof_2x2_golf", 2 ], [ "roof_3x3_wine", 3 ] ],
312          "x": [ 3, 15 ],
313          "y": [ 7, 8 ]
314        },
315        {
316          "chunks": [ [ "null", 30 ], [ "roof_4x4_party", 5 ], [ "roof_4x4_survivor", 10 ], [ "roof_4x4_utility_1", 50 ] ],
317          "x": [ 3, 15 ],
318          "y": [ 10, 12 ]
319        }
320      ]
321    }
322  }
323]
324