1[
2  {
3    "type": "mapgen",
4    "method": "json",
5    "om_terrain": [ "post_office" ],
6    "weight": 100,
7    "object": {
8      "fill_ter": "t_floor",
9      "rows": [
10        "ssssssssssssssssssssssss",
11        "g__________s||-------||g",
12        "g__________s|^.......Y|g",
13        "gp____p____s-b.......#|g",
14        "gp____p____s-b.......#|g",
15        "gp____p____s|Y.......#|g",
16        "gp____p____s+........2|g",
17        "gp____p____s+........#|g",
18        "gsssssssssss|&.......#|g",
19        "g||w|||||||||v.......#|g",
20        "g|^IIIF|...&|......||||g",
21        "g|..c.......|.......XX|g",
22        "g|..........#........X|g",
23        "4|F....|...c#.....b..X|g",
24        "g|F....|#...#.....b..X|g",
25        "g|#...X|#...#.....Y..X|g",
26        "g|#.K.X|#...|.......XX|g",
27        "g|#####|#...|......||||g",
28        "g||||||||..||......D.S|g",
29        "g|f%%%2.....|^bb..Y|.T|g",
30        "g|#.........|||||d|||||g",
31        "g|...c......a......D.T|g",
32        "g|{{.III.12.|.....Y|.S|g",
33        "g||||||||||||||||d|||||g"
34      ],
35      "terrain": {
36        "+": "t_door_glass_c",
37        "-": "t_wall_glass",
38        ".": "t_floor",
39        "D": "t_door_locked",
40        "_": "t_pavement",
41        "a": "t_door_locked_interior",
42        "d": "t_door_metal_locked",
43        "g": "t_grass",
44        "p": "t_pavement_y",
45        "s": "t_sidewalk",
46        "w": "t_window_domestic",
47        "|": "t_wall_w",
48        "3": "t_atm",
49        "4": "t_gutter_downspout"
50      },
51      "furniture": {
52        "#": "f_counter",
53        "%": "f_counter",
54        "&": "f_trashcan",
55        "S": "f_sink",
56        "T": "f_toilet",
57        "X": "f_safe_l",
58        "^": "f_indoor_plant",
59        "b": "f_bench",
60        "c": "f_chair",
61        "f": "f_fridge",
62        "I": "f_desk",
63        "Y": "f_trashcan",
64        "1": "f_server",
65        "2": "f_shredder",
66        "F": "f_filing_cabinet",
67        "K": "f_stool",
68        "t": "f_table",
69        "v": "f_vending_c",
70        "{": "f_locker"
71      },
72      "toilets": { "T": {  } },
73      "items": {
74        "I": { "item": "office", "chance": 30 },
75        "F": { "item": "office_paper", "chance": 30 },
76        "Y": { "item": "trash", "chance": 20, "repeat": [ 2, 4 ] },
77        "%": { "item": "snacks", "chance": 20, "repeat": [ 2, 4 ] }
78      },
79      "place_items": [
80        { "item": "file_room", "x": 4, "y": 17, "chance": 30 },
81        { "item": "file_room", "x": 2, "y": [ 16, 17 ], "chance": 30 },
82        { "item": "file_room", "x": 21, "y": 3, "chance": 30 },
83        { "item": "office_mess", "x": 10, "y": 15, "chance": 15 },
84        { "item": "office_mess", "x": 2, "y": 14, "chance": 15 },
85        { "item": "office_mess", "x": 5, "y": 13, "chance": 15 },
86        { "item": "office_mess", "x": 2, "y": 11, "chance": 15 },
87        { "item": "office_mess", "x": 21, "y": 8, "chance": 15 },
88        { "item": "office_mess", "x": 20, "y": 3, "chance": 15 },
89        { "item": "book_school", "x": 5, "y": 22, "chance": 15 },
90        { "item": "snacks", "x": 2, "y": 20, "chance": 30 },
91        { "item": "SUS_fridge_breakroom", "x": 2, "y": 19, "chance": 40 },
92        { "item": "cubical_office", "x": 5, "y": 17, "chance": 50 },
93        { "item": "cubical_office", "x": 12, "y": 12, "chance": 50 },
94        { "item": "antique", "x": 20, "y": 16, "chance": 40 },
95        { "item": "antique", "x": 20, "y": 11, "chance": 40 },
96        { "item": "jewelry_safe", "x": 21, "y": 15, "chance": 50 },
97        { "item": "jewelry_safe", "x": 21, "y": [ 11, 12 ], "chance": 50 },
98        { "item": "trash", "x": 11, "y": 10, "chance": 50 },
99        { "item": "trash", "x": 13, "y": 8, "chance": 50 }
100      ],
101      "place_vehicles": [
102        { "vehicle": "beetle", "x": 3, "y": 3, "chance": 10, "fuel": 10, "rotation": 270 },
103        { "vehicle": "motorcycle_sidecart", "x": 8, "y": 4, "chance": 25, "fuel": 15, "status": 0, "rotation": 270 },
104        { "vehicle": "shopping_cart", "x": 8, "y": 20, "chance": 50 },
105        { "vehicle": "shopping_cart", "x": 14, "y": 22, "chance": 50 }
106      ]
107    }
108  },
109  {
110    "type": "mapgen",
111    "method": "json",
112    "om_terrain": "post_office_roof",
113    "object": {
114      "fill_ter": "t_flat_roof",
115      "rows": [
116        "                        ",
117        "            |2222222223 ",
118        "            |.........3 ",
119        "            |..oo.oo..3 ",
120        "            |..oo.oo..3 ",
121        "            |..oo.oo..3 ",
122        "            |R........3 ",
123        "            |..oo.oo..3 ",
124        "            |..oo.oo..3 ",
125        " |2222222222|..oo.oo..3 ",
126        " |....................3 ",
127        " |.U..................3 ",
128        " |....................3 ",
129        " 5....................3 ",
130        " |....................3 ",
131        " |....................3 ",
132        " |....................3 ",
133        " |....................3 ",
134        " |....................3 ",
135        " |....................3 ",
136        " |....................3 ",
137        " |....................3 ",
138        " |....................3 ",
139        " |--------------------3 "
140      ],
141      "palettes": [ "roof_palette" ],
142      "nested": { "U": { "chunks": [ "roof_2x2_infrastructure" ] }, "R": { "chunks": [ "roof_2x2_infrastructure_1" ] } },
143      "place_nested": [
144        {
145          "chunks": [
146            [ "null", 20 ],
147            [ "roof_2x2_utilities_b", 15 ],
148            [ "roof_2x2_utilities_c", 5 ],
149            [ "roof_2x2_utilities_d", 40 ],
150            [ "roof_2x2_utilities", 50 ]
151          ],
152          "x": [ 5, 15 ],
153          "y": [ 12, 13 ]
154        },
155        {
156          "chunks": [ [ "null", 40 ], [ "roof_4x4_utility", 40 ], [ "roof_6x6_utility", 20 ] ],
157          "x": [ 3, 13 ],
158          "y": [ 15, 17 ]
159        }
160      ]
161    }
162  },
163  {
164    "type": "mapgen",
165    "method": "json",
166    "om_terrain": [ "post_office_1" ],
167    "weight": 100,
168    "object": {
169      "fill_ter": "t_floor",
170      "rows": [
171        "..........ss............",
172        "..........ss............",
173        "....d.....ss........d...",
174        "...d7d....ss.......d4d..",
175        "....d....ssss.......d...",
176        "........ssssss..........",
177        ".......bssS7ssb.........",
178        "....d..bss7Sssb.....d...",
179        "...d4d..ssssss.....dtd..",
180        "....d....ssss.......d...",
181        "..........ss............",
182        "....uuuuu.ss.uuuuu......",
183        "...||www||++||www||.....",
184        "...|#_________555^|.....",
185        "...|#____________&|.....",
186        "...|X__--ccc---D--|.....",
187        "...|XXX-IC__###_|T|.....",
188        "...|----I____K__D_W.....",
189        "...|##&-^___FFF^|E|.....",
190        "...|#K______---||||9....",
191        "...|#__________asp{.....",
192        "...|###-ll&2___|sp{.....",
193        "...|||||||||||||spp.....",
194        "........................"
195      ],
196      "terrain": {
197        "+": "t_door_glass_c",
198        "-": "t_wall_w",
199        ".": [ [ "t_grass", 5 ], [ "t_grass_long", 2 ], "t_dirt", "t_shrub" ],
200        "_": "t_floor",
201        "4": "t_tree_pine",
202        "7": "t_tree_apple",
203        "D": "t_door_c",
204        "S": "t_sidewalk",
205        "W": "t_window",
206        "a": "t_door_locked",
207        "b": "t_grass",
208        "d": "t_dirt",
209        "p": "t_pavement",
210        "s": "t_sidewalk",
211        "t": "t_tree_birch",
212        "u": "t_underbrush",
213        "w": "t_wall_glass",
214        "{": "t_pavement",
215        "|": "t_brick_wall",
216        "9": "t_gutter_downspout"
217      },
218      "furniture": {
219        "#": "f_counter",
220        "&": "f_trashcan",
221        "C": "f_chair",
222        "S": "f_statue",
223        "X": "f_safe_l",
224        "^": "f_indoor_plant",
225        "b": "f_bench",
226        "c": "f_counter",
227        "l": "f_locker",
228        "{": "f_dumpster",
229        "I": "f_desk",
230        "2": "f_shredder",
231        "F": "f_filing_cabinet",
232        "K": "f_stool",
233        "E": "f_sink",
234        "5": "f_bench"
235      },
236      "items": {
237        "I": { "item": "office", "chance": 30 },
238        "F": { "item": "office_paper", "chance": 30 },
239        "&": { "item": "trash", "chance": 20, "repeat": [ 2, 4 ] }
240      },
241      "toilets": { "T": {  } },
242      "place_items": [
243        { "item": "cubical_office", "x": 4, "y": [ 18, 19 ], "chance": 45 },
244        { "item": "cubical_office", "x": 11, "y": 15, "chance": 45 },
245        { "item": "art", "x": 6, "y": 16, "chance": 35 },
246        { "item": "art", "x": 4, "y": 15, "chance": 35 },
247        { "item": "bags", "x": 9, "y": 21, "chance": 35 },
248        { "item": "clothing_outdoor_torso", "x": 8, "y": 21, "chance": 45 },
249        { "item": "trash", "x": 10, "y": 21, "chance": 65 },
250        { "item": "trash", "x": 6, "y": 18, "chance": 65 },
251        { "item": "floor_trash", "x": 18, "y": [ 20, 21 ], "chance": 35 },
252        { "item": "floor_trash", "x": 10, "y": 18, "chance": 35 },
253        { "item": "floor_trash", "x": 15, "y": 13, "chance": 35 },
254        { "item": "floor_trash", "x": 10, "y": 2, "chance": 35 },
255        { "item": "office", "x": 6, "y": 21, "chance": 55 },
256        { "item": "office", "x": 4, "y": 20, "chance": 55 },
257        { "item": "office", "x": 14, "y": 16, "chance": 55 },
258        { "item": "office", "x": 4, "y": 13, "chance": 55 },
259        { "item": "file_room", "x": 4, "y": 21, "chance": 75 },
260        { "item": "file_room", "x": 13, "y": 16, "chance": 75 }
261      ]
262    }
263  },
264  {
265    "type": "mapgen",
266    "method": "json",
267    "om_terrain": "post_office_roof_1",
268    "object": {
269      "fill_ter": "t_flat_roof",
270      "rows": [
271        "                        ",
272        "                        ",
273        "                        ",
274        "                        ",
275        "                        ",
276        "                        ",
277        "                        ",
278        "                        ",
279        "                        ",
280        "                        ",
281        "                        ",
282        "                        ",
283        "   |222222222222223     ",
284        "   |..............3     ",
285        "   |...ooo..ooo...3     ",
286        "   |..............3     ",
287        "   |..............3     ",
288        "   |............U.3     ",
289        "   |..............3     ",
290        "   |...........3--5     ",
291        "   |..R...Z....3        ",
292        "   |...........3        ",
293        "   |-----------3        ",
294        "                        "
295      ],
296      "palettes": [ "roof_palette" ],
297      "nested": {
298        "U": { "chunks": [ "roof_2x2_infrastructure" ] },
299        "R": { "chunks": [ "roof_2x2_infrastructure_1" ] },
300        "Z": { "chunks": [ "roof_2x2_infrastructure_2" ] }
301      }
302    }
303  }
304]
305