Skip to content

Commit

Permalink
Add roof to toxic waste dump shack (#74631)
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrikLundell authored Jun 17, 2024
1 parent 88ae34a commit cfc1355
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 2 deletions.
35 changes: 35 additions & 0 deletions data/json/mapgen/toxic_dump.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,40 @@
{ "item": "id_military", "x": 3, "y": [ 19, 21 ], "chance": 10 }
]
}
},
{
"type": "mapgen",
"method": "json",
"om_terrain": [ "toxic_dump_roof" ],
"object": {
"fill_ter": "t_thconc_floor",
"rows": [
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" -------- ",
" -......- ",
" -......- ",
" -......- ",
" -------- ",
" "
],
"palettes": [ "roof_palette" ]
}
}
]
5 changes: 4 additions & 1 deletion data/json/overmap/overmap_special/specials.json
Original file line number Diff line number Diff line change
Expand Up @@ -1958,7 +1958,10 @@
{
"type": "overmap_special",
"id": "Toxic Waste Dump",
"overmaps": [ { "point": [ 0, 0, 0 ], "overmap": "toxic_dump_north" } ],
"overmaps": [
{ "point": [ 0, 0, 0 ], "overmap": "toxic_dump_north" },
{ "point": [ 0, 0, 1 ], "overmap": "toxic_dump_roof_north" }
],
"locations": [ "land" ],
"city_distance": [ 20, -1 ],
"city_sizes": [ 8, -1 ],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
},
{
"type": "overmap_terrain",
"id": "toxic_dump",
"id": [ "toxic_dump", "toxic_dump_roof" ],
"name": "toxic waste dump",
"sym": "D",
"color": "pink",
Expand Down

0 comments on commit cfc1355

Please sign in to comment.