1[
2  {
3    "type": "palette",
4    "id": "swamp_background",
5    "furniture": { "i": "f_cattails" },
6    "terrain": {
7      " ": [
8        "t_swater_dp",
9        "t_swater_sh",
10        "t_swater_sh",
11        "t_dirt",
12        "t_dirt",
13        "t_dirt",
14        "t_dirt",
15        "t_grass",
16        "t_grass",
17        "t_grass",
18        "t_grass",
19        "t_grass",
20        "t_grass",
21        "t_underbrush",
22        "t_tree",
23        "t_tree_young"
24      ],
25      "i": "t_water_sh"
26    }
27  },
28  {
29    "type": "mapgen",
30    "method": "json",
31    "om_terrain": [ "hunter_shack" ],
32    "weight": 100,
33    "object": {
34      "fill_ter": "t_floor",
35      "rows": [
36        "                        ",
37        "                        ",
38        "                        ",
39        "                        ",
40        "                        ",
41        "                        ",
42        "                        ",
43        "       -----------      ",
44        "       -CSn.....d-      ",
45        "       -....---+--      ",
46        "       -B..D-@..d-      ",
47        "       -B...-@..d-      ",
48        "       -bbTc-s.ss-      ",
49        "       ---o---+---      ",
50        "        =V,,^,,,,,      ",
51        "       ,,,,,,,,X=       ",
52        "       ,=&&,xxXX=       ",
53        "        =========       ",
54        "                        ",
55        "                        ",
56        "                        ",
57        "                        ",
58        "                        ",
59        "                        "
60      ],
61      "palettes": [ "swamp_background" ],
62      "mapping": {
63        "B": { "items": [ { "item": "novels", "chance": 50 }, { "item": "textbooks", "chance": 25 } ] },
64        "C": {
65          "items": [ { "item": "kitchen", "chance": 50, "repeat": [ 3, 7 ] }, { "item": "fridge", "chance": 50, "repeat": [ 2, 4 ] } ]
66        },
67        "D": { "items": { "item": "dresser", "chance": 75, "repeat": [ 3, 5 ] } },
68        "X": { "items": [ { "item": "hardware", "chance": 30, "repeat": [ 1, 4 ] }, { "item": "mischw", "chance": 30 } ] },
69        "b": { "items": { "item": "bed", "chance": 60, "repeat": [ 1, 3 ] } },
70        "d": { "items": { "item": "NC_HUNTER_misc", "chance": 50 } },
71        "s": { "items": { "item": "traveler", "chance": 15 } },
72        "x": { "items": [ { "item": "cleaning", "chance": 30 }, { "item": "hardware_plumbing", "chance": 30 } ] }
73      },
74      "place_loot": [ { "item": "net", "x": 11, "y": 14, "chance": 100 }, { "item": "stepladder", "x": 11, "y": 16, "chance": 50 } ],
75      "terrain": {
76        "&": "t_dirt",
77        "+": "t_door_c",
78        ",": [ "t_dirt", "t_dirt", "t_dirt", "t_dirt", "t_dirt", "t_dirt", "t_grass" ],
79        "-": "t_wall_wood",
80        ".": "t_floor",
81        "=": "t_dirt",
82        "V": "t_dirt",
83        "X": "t_dirt",
84        "^": "t_dirt",
85        "o": "t_window_domestic",
86        "x": "t_dirt"
87      },
88      "furniture": {
89        "&": "f_kiln_empty",
90        "=": "f_sandbag_wall",
91        "@": "f_smoking_rack",
92        "B": "f_bookcase",
93        "C": "f_cupboard",
94        "D": "f_dresser",
95        "S": "f_woodstove",
96        "T": "f_table",
97        "V": "f_fvat_empty",
98        "X": "f_crate_c",
99        "^": "f_bulletin",
100        "b": "f_makeshift_bed",
101        "c": "f_chair",
102        "d": "f_rack",
103        "n": "f_counter",
104        "s": "f_counter",
105        "x": "f_crate_o"
106      },
107      "place_nested": [
108        { "chunks": [ "cattail", "null" ], "x": [ 0, 6 ], "y": [ 0, 6 ], "neighbors": { "north": "forest_water" } },
109        {
110          "chunks": [ "cattail", "null" ],
111          "x": [ 7, 17 ],
112          "y": [ 0, 6 ],
113          "neighbors": { "north": "forest_water" },
114          "repeat": 4
115        },
116        { "chunks": [ "cattail", "null" ], "x": [ 18, 23 ], "y": [ 0, 6 ], "neighbors": { "north": "forest_water" } },
117        { "chunks": [ "cattail", "null" ], "x": [ 18, 23 ], "y": [ 0, 6 ], "neighbors": { "east": "forest_water" } },
118        {
119          "chunks": [ "cattail", "null" ],
120          "x": [ 18, 23 ],
121          "y": [ 7, 17 ],
122          "neighbors": { "east": "forest_water" },
123          "repeat": 4
124        },
125        { "chunks": [ "cattail", "null" ], "x": [ 18, 23 ], "y": [ 18, 23 ], "neighbors": { "east": "forest_water" } },
126        { "chunks": [ "cattail", "null" ], "x": [ 0, 6 ], "y": [ 18, 23 ], "neighbors": { "south": "forest_water" } },
127        {
128          "chunks": [ "cattail", "null" ],
129          "x": [ 7, 17 ],
130          "y": [ 18, 23 ],
131          "neighbors": { "south": "forest_water" },
132          "repeat": 4
133        },
134        {
135          "chunks": [ "cattail", "null" ],
136          "x": [ 18, 23 ],
137          "y": [ 18, 23 ],
138          "neighbors": { "south": "forest_water" }
139        },
140        { "chunks": [ "cattail", "null" ], "x": [ 0, 6 ], "y": [ 0, 6 ], "neighbors": { "west": "forest_water" } },
141        {
142          "chunks": [ "cattail", "null" ],
143          "x": [ 0, 6 ],
144          "y": [ 7, 17 ],
145          "neighbors": { "west": "forest_water" },
146          "repeat": 4
147        },
148        { "chunks": [ "cattail", "null" ], "x": [ 0, 6 ], "y": [ 18, 23 ], "neighbors": { "west": "forest_water" } }
149      ]
150    }
151  },
152  {
153    "type": "mapgen",
154    "method": "json",
155    "nested_mapgen_id": "cattail",
156    "object": { "rows": [ "i" ], "palettes": [ "swamp_background" ], "mapgensize": [ 1, 1 ] }
157  },
158  {
159    "type": "mapgen",
160    "method": "json",
161    "om_terrain": "hunter_shack_roof",
162    "object": {
163      "fill_ter": "t_shingle_flat_roof",
164      "rows": [
165        "                        ",
166        "                        ",
167        "                        ",
168        "                        ",
169        "                        ",
170        "                        ",
171        "                        ",
172        "       ...........      ",
173        "       ..%........      ",
174        "       ...........      ",
175        "       ...........      ",
176        "       ...........      ",
177        "       ...........      ",
178        "       ...........      ",
179        "                        ",
180        "                        ",
181        "                        ",
182        "                        ",
183        "                        ",
184        "                        ",
185        "                        ",
186        "                        ",
187        "                        ",
188        "                        "
189      ],
190      "palettes": [ "roof_palette" ],
191      "furniture": { "%": "f_chimney" },
192      "terrain": { ".": "t_shingle_flat_roof" }
193    }
194  },
195  {
196    "type": "mapgen",
197    "method": "json",
198    "om_terrain": [ "hunter_shack_1" ],
199    "weight": 100,
200    "object": {
201      "fill_ter": "t_floor",
202      "rows": [
203        "                        ",
204        "                        ",
205        "        ;;;;;;;;;;;     ",
206        " ,,,,,,,,;----o----;    ",
207        " ,#,#,#,;;-x..DDDD-;    ",
208        " ,#,#,#,;;-C.....D--;   ",
209        " ,#,#,#,;R-C..c...T-,,  ",
210        " ,#,#,#,;;-S..Tc...+,,, ",
211        " ,#,#,#,;&os......--,,  ",
212        " ,#,#,#,;&-s.L.dBB-,;;  ",
213        " ,#,#,#,;--..L....-,;;  ",
214        " ,#,#,#,,+...L..bb-,;;  ",
215        " ,,,,,,,,----------,;;  ",
216        "  ;;,,,,,;-llNNxX-;;;;  ",
217        "  ;1-+--,;-.....X-^;;,  ",
218        "  ;1-.C-;;;;;;;;;;;;;;  ",
219        "   --.x-;;;;;;;;;;;;;;; ",
220        "  ;-V.X-;;;;;;;;;;;;;;;;",
221        "  ;on.X-;;;;;;;;;;;;;;;;",
222        "  ;-@.X-;;;;;;;;;;;;;;;;",
223        "  ;-----;;;;;;;;;;;;;;;;",
224        "  ;;;;;;;;;;;;;;;;;;;;;;",
225        "             ;;;;;;;;;;;",
226        "              ;;;;;;;;;;"
227      ],
228      "palettes": [ "swamp_background" ],
229      "mapping": {
230        "B": { "items": [ { "item": "novels", "chance": 50 }, { "item": "textbooks", "chance": 25 } ] },
231        "C": {
232          "items": [ { "item": "kitchen", "chance": 50, "repeat": [ 3, 4 ] }, { "item": "fridge", "chance": 50, "repeat": [ 1, 4 ] } ]
233        },
234        "D": { "items": { "item": "NC_HUNTER_misc", "chance": 50 } },
235        "L": { "items": { "item": "NC_HUNTER_misc", "chance": 50 } },
236        "N": { "items": { "item": "cleaning", "chance": 60 } },
237        "X": {
238          "items": [ { "item": "hardware", "chance": 30, "repeat": [ 1, 2 ] }, { "item": "mischw", "chance": 30, "repeat": [ 1, 4 ] } ]
239        },
240        "b": { "items": { "item": "bed", "chance": 60, "repeat": [ 1, 2 ] } },
241        "d": { "items": { "item": "dresser", "chance": 75, "repeat": [ 2, 4 ] } },
242        "l": { "items": { "item": "hardware", "chance": 60 } },
243        "n": { "items": { "item": "NC_HUNTER_misc", "chance": 60 } },
244        "s": { "items": { "item": "traveler", "chance": 15 } },
245        "x": { "items": [ { "item": "cleaning", "chance": 30 }, { "item": "hardware_plumbing", "chance": 30 } ] }
246      },
247      "place_loot": [ { "item": "net", "x": 4, "y": 18, "chance": 100 }, { "item": "stepladder", "x": 13, "y": 4, "chance": 50 } ],
248      "terrain": {
249        "#": "t_dirtmound",
250        "&": "t_dirt",
251        "+": "t_door_c",
252        ",": "t_dirt",
253        "-": "t_wall_wood",
254        ".": "t_floor",
255        ";": [ "t_dirt", "t_dirt", "t_dirt", "t_dirt", "t_dirt", "t_dirt", "t_grass" ],
256        "R": "t_dirt",
257        "1": "t_dirt",
258        "^": "t_dirt",
259        "o": "t_window_domestic"
260      },
261      "furniture": {
262        "&": "f_kiln_empty",
263        "@": "f_smoking_rack",
264        "B": "f_bookcase",
265        "C": "f_cupboard",
266        "D": "f_rack",
267        "L": "f_locker",
268        "N": "f_cupboard",
269        "R": "f_rack",
270        "S": "f_woodstove",
271        "T": "f_table",
272        "V": "f_fvat_empty",
273        "X": "f_crate_c",
274        "1": "f_crate_c",
275        "^": "f_bulletin",
276        "b": "f_makeshift_bed",
277        "c": "f_chair",
278        "d": "f_dresser",
279        "l": "f_locker",
280        "n": "f_counter",
281        "s": "f_counter",
282        "x": "f_crate_o"
283      }
284    }
285  },
286  {
287    "type": "mapgen",
288    "method": "json",
289    "om_terrain": "hunter_shack_roof_1",
290    "object": {
291      "fill_ter": "t_shingle_flat_roof",
292      "rows": [
293        "                        ",
294        "                        ",
295        "                        ",
296        "          .........     ",
297        "          .........     ",
298        "          ..........    ",
299        "          ..........    ",
300        "          .%........    ",
301        "          ..........    ",
302        "          .........     ",
303        "         ..........     ",
304        "         ..........     ",
305        "         ..........     ",
306        "          ........      ",
307        "    ....  ........      ",
308        "    ....                ",
309        "   .....                ",
310        "   .....                ",
311        "   .....                ",
312        "   .....                ",
313        "   .....                ",
314        "                        ",
315        "                        ",
316        "                        "
317      ],
318      "palettes": [ "roof_palette" ],
319      "furniture": { "%": "f_chimney" },
320      "terrain": { ".": "t_shingle_flat_roof" }
321    }
322  }
323]
324