1[
2  {
3    "type": "mapgen",
4    "method": "json",
5    "om_terrain": [ "s_pharm" ],
6    "weight": 300,
7    "object": {
8      "fill_ter": "t_floor",
9      "rows": [
10        "________________________",
11        "________________________",
12        "|--OOOO----**----OOOO--|",
13        "|8   #................y|",
14        "|8   #..12...23...35...|",
15        "|8   #..12...23...35...|",
16        "|8  h#..12...23...35...|",
17        "|8   #..12...23...35...|",
18        "|    #..12...23...35...|",
19        "| ####..12...23...35...|",
20        "|......................|",
21        "|f......666666666666...|",
22        "|f......666666666666...|",
23        "|f.....................|",
24        "|f......777777777777...|",
25        "|f......999999999999...|",
26        "|y.....................|",
27        "|..................ffff|",
28        "|*!!!!!!!!!------------|",
29        "|  y  h y y|LLLLLLLL|y%|",
30        "|          *        +  |",
31        "|LLLLLLLLLL|LLLLLLLL| &|",
32        "|----------------------|",
33        ",,,,,,,,,,,,,,,,,,,,,,4,"
34      ],
35      "terrain": {
36        ",": [ [ "t_grass", 4 ], "t_dirt" ],
37        "-": "t_wall_w",
38        "|": "t_wall_w",
39        "_": "t_pavement",
40        ".": "t_floor",
41        " ": "t_floor",
42        "!": "t_reinforced_glass",
43        "O": "t_reinforced_glass_shutter_open",
44        "g": "t_reinforced_glass",
45        "+": "t_door_c",
46        "4": "t_gutter_downspout",
47        "*": "t_door_locked_alarm"
48      },
49      "furniture": {
50        "%": "f_sink",
51        "1": "f_rack",
52        "2": "f_rack",
53        "3": "f_rack",
54        "5": "f_rack",
55        "6": "f_rack",
56        "7": "f_rack",
57        "8": "f_rack",
58        "9": "f_rack",
59        "h": "f_chair",
60        "f": "f_glass_fridge",
61        "L": "f_glass_cabinet",
62        "#": "f_counter",
63        "y": [ "f_indoor_plant_y", "f_indoor_plant" ]
64      },
65      "toilets": { "&": {  } },
66      "items": {
67        "#": [ { "item": "magazines", "chance": 10 } ],
68        "f": { "item": "fridgesnacks", "chance": 60, "repeat": [ 1, 12 ] },
69        "1": { "item": "magazines", "chance": 50, "repeat": [ 4, 16 ] },
70        "2": { "item": "snacks", "chance": 60, "repeat": [ 1, 12 ] },
71        "3": { "item": "tools_home", "chance": 20, "repeat": [ 1, 3 ] },
72        "5": { "item": "beauty", "chance": 60, "repeat": [ 1, 3 ] },
73        "6": { "item": "vitamin_shop", "chance": 60, "repeat": [ 1, 10 ] },
74        "7": { "item": "cleaning", "chance": 50, "repeat": [ 1, 6 ] },
75        "8": { "item": "behindcounter", "chance": 50, "repeat": [ 1, 6 ] },
76        "9": { "item": "pet_food", "chance": 20, "repeat": [ 1, 3 ] },
77        "L": { "item": "drugs_pharmacy", "chance": 60, "repeat": [ 1, 6 ] }
78      },
79      "vehicles": { ".": { "vehicle": "shopping_cart", "chance": 1, "status": 1 } },
80      "place_monsters": [ { "monster": "GROUP_PHARM", "x": [ 2, 7 ], "y": [ 10, 17 ], "chance": 2 } ]
81    }
82  },
83  {
84    "type": "mapgen",
85    "method": "json",
86    "om_terrain": "s_pharm_roof",
87    "object": {
88      "fill_ter": "t_flat_roof",
89      "rows": [
90        "                        ",
91        "                        ",
92        "|22222222222222222222223",
93        "|......................3",
94        "|......................3",
95        "|.........ooo..ooo.....3",
96        "|.........ooo..ooo.....3",
97        "|......................3",
98        "|.........ooo..ooo.....3",
99        "|.........ooo..ooo.....3",
100        "|......................3",
101        "|......................3",
102        "|......................3",
103        "|......................3",
104        "|......................3",
105        "|......................3",
106        "|......................3",
107        "|......................3",
108        "|......................3",
109        "|....................=.3",
110        "|......................3",
111        "|..&...................3",
112        "|---------------------53",
113        "                        "
114      ],
115      "terrain": {
116        ".": "t_flat_roof",
117        " ": "t_open_air",
118        "o": "t_glass_roof",
119        "2": "t_gutter_north",
120        "-": "t_gutter_south",
121        "3": "t_gutter_east",
122        "|": "t_gutter_west",
123        ">": "t_ladder_down",
124        "5": "t_gutter_drop"
125      },
126      "furniture": { "&": "f_roof_turbine_vent", "=": "f_vent_pipe" },
127      "place_items": [ { "item": "roof_trash", "x": [ 2, 20 ], "y": [ 5, 20 ], "chance": 50, "repeat": [ 1, 3 ] } ],
128      "place_nested": [
129        {
130          "chunks": [
131            [ "null", 20 ],
132            [ "roof_2x2_utilities_b", 15 ],
133            [ "roof_2x2_utilities_c", 5 ],
134            [ "roof_2x2_utilities_d", 40 ],
135            [ "roof_2x2_utilities", 50 ],
136            [ "roof_4x4_utility", 40 ],
137            [ "roof_6x6_utility", 20 ]
138          ],
139          "x": [ 4, 16 ],
140          "y": [ 11, 15 ]
141        }
142      ]
143    }
144  },
145  {
146    "type": "mapgen",
147    "method": "json",
148    "om_terrain": [ "s_pharm_1" ],
149    "weight": 300,
150    "object": {
151      "fill_ter": "t_floor",
152      "rows": [
153        "________________________",
154        "________________________",
155        "|--OOOO--|______________",
156        "|m       +______________",
157        "|l       +______________",
158        "|        |--OOO---OOO--|",
159        "|####                  |",
160        "|   #    12  5555555  f|",
161        "|8  #    12  6666666  f|",
162        "|8  #    12           f|",
163        "|8  #    12  7777777  f|",
164        "|8  #    12  3339999  f|",
165        "|7  #                 b|",
166        "|   #                 b|",
167        "|         bby|     |ybb|",
168        "|--+---+------%%%%%----|",
169        "|T  S|  &|         w   |",
170        "|-----  &|             |",
171        "|G   +   L             |",
172        "|Gc y|  y|xxxxxxxxxxxxx|",
173        "|-----*----------------|",
174        "______________UU<UU___4_",
175        "_______________UUU______",
176        "________________________"
177      ],
178      "terrain": {
179        " ": "t_floor",
180        "*": "t_door_locked",
181        "+": "t_door_c",
182        "#": "t_floor",
183        "%": "t_door_metal_locked",
184        "-": "t_wall_w",
185        "L": "t_door_locked_alarm",
186        "O": "t_window",
187        "_": "t_pavement",
188        "U": "t_pavement",
189        "w": "t_gates_mech_control",
190        "4": "t_gutter_downspout",
191        "<": "t_ladder_up",
192        "|": "t_wall_w"
193      },
194      "furniture": {
195        "&": "f_locker",
196        "U": "f_dumpster",
197        "#": "f_counter",
198        "G": "f_desk",
199        "b": "f_bench",
200        "c": "f_chair",
201        "f": "f_glass_fridge",
202        "l": "f_vending_c",
203        "1": "f_rack",
204        "2": "f_rack",
205        "3": "f_rack",
206        "5": "f_rack",
207        "6": "f_rack",
208        "7": "f_rack",
209        "8": "f_rack",
210        "9": "f_rack",
211        "S": "f_sink",
212        "y": [ "f_indoor_plant_y", "f_indoor_plant" ],
213        "x": "f_glass_cabinet"
214      },
215      "toilets": { "T": {  } },
216      "vendingmachines": { "l": { "item_group": "vending_drink" }, "m": { "item_group": "vending_food" } },
217      "items": {
218        "#": [ { "item": "snacks", "chance": 10 } ],
219        "f": { "item": "fridgesnacks", "chance": 60, "repeat": [ 1, 12 ] },
220        "1": { "item": "magazines", "chance": 60, "repeat": [ 4, 16 ] },
221        "2": { "item": "snacks", "chance": 60, "repeat": [ 1, 12 ] },
222        "3": { "item": "tools_home", "chance": 20, "repeat": [ 1, 3 ] },
223        "5": { "item": "beauty", "chance": 60, "repeat": [ 1, 8 ] },
224        "6": { "item": "vitamin_shop", "chance": 60, "repeat": [ 1, 8 ] },
225        "7": { "item": "cleaning", "chance": 60, "repeat": [ 1, 6 ] },
226        "8": { "item": "behindcounter", "chance": 60, "repeat": [ 1, 6 ] },
227        "9": { "item": "pet_food", "chance": 20, "repeat": [ 1, 3 ] },
228        "x": { "item": "drugs_pharmacy", "chance": 60, "repeat": [ 1, 6 ] },
229        "&": { "item": "jackets", "chance": 30 },
230        "G": { "item": "behindcounter", "chance": 60 },
231        "S": { "item": "softdrugs", "chance": 60 }
232      }
233    }
234  },
235  {
236    "type": "mapgen",
237    "method": "json",
238    "om_terrain": "s_pharm_roof_1",
239    "object": {
240      "fill_ter": "t_flat_roof",
241      "rows": [
242        "                        ",
243        "                        ",
244        "|222222223              ",
245        "|........3              ",
246        "|........3              ",
247        "|........322222222222223",
248        "|......................3",
249        "|......................3",
250        "|......................3",
251        "|......................3",
252        "|......................3",
253        "|......................3",
254        "|......................3",
255        "|......................3",
256        "|......................3",
257        "|......................3",
258        "|......................3",
259        "|......................3",
260        "|....................&.3",
261        "|....=..........##.....3",
262        "|-------------######--53",
263        "              ##>###    ",
264        "                        ",
265        "                        "
266      ],
267      "terrain": {
268        " ": "t_open_air",
269        ".": "t_flat_roof",
270        "#": "t_grate",
271        "2": "t_gutter_north",
272        "-": "t_gutter_south",
273        "3": "t_gutter_east",
274        "|": "t_gutter_west",
275        ">": "t_ladder_down",
276        "5": "t_gutter_drop"
277      },
278      "furniture": { "&": "f_roof_turbine_vent", "=": "f_vent_pipe" },
279      "place_nested": [
280        {
281          "chunks": [
282            [ "null", 20 ],
283            [ "roof_2x2_utilities_b", 15 ],
284            [ "roof_2x2_utilities_c", 5 ],
285            [ "roof_2x2_utilities_d", 40 ],
286            [ "roof_2x2_utilities", 50 ],
287            [ "roof_2x2_golf", 20 ],
288            [ "roof_3x3_wine", 30 ],
289            [ "roof_4x4_utility_1", 30 ]
290          ],
291          "x": [ 2, 5 ],
292          "y": 4
293        },
294        {
295          "chunks": [
296            [ "null", 20 ],
297            [ "roof_4x4_party", 15 ],
298            [ "roof_4x4_holdout", 5 ],
299            [ "roof_4x4_utility", 40 ],
300            [ "roof_6x6_survivor", 20 ],
301            [ "roof_4x4_utility_1", 30 ],
302            [ "roof_6x6_utility", 20 ]
303          ],
304          "x": [ 3, 15 ],
305          "y": [ 8, 13 ]
306        }
307      ]
308    }
309  }
310]
311