Skip to content

Commit

Permalink
Add a drug lab (CleverRaven#63403)
Browse files Browse the repository at this point in the history
Co-authored-by: anothersimulacrum <[email protected]>
  • Loading branch information
MNG-cataclysm and anothersimulacrum authored Mar 18, 2023
1 parent 04900ad commit a820231
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 0 deletions.
48 changes: 48 additions & 0 deletions data/json/mapgen/drug_lab.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
[
{
"method": "json",
"om_terrain": "drug_lab",
"type": "mapgen",
"object": {
"fill_ter": "t_region_groundcover",
"rows": [
" ",
" ",
" ",
" ",
" ___ ",
" _c___ ",
" ___c_ ",
" _a___ ",
" _____ ",
" ________ ",
" |++|++|____ ",
" |ddddd|_____ ",
" |ddOdd|_____ ",
" |ddOdd| _ ",
" |tdddt| ",
" |tbdbt| ",
" |ttttt| ",
" ||||||| ",
" ",
" ",
" ",
" ",
" ",
" "
],
"palettes": [ "moonshine_palette" ],
"place_monsters": [ { "monster": "GROUP_ZOMBIE", "x": [ 9, 16 ], "y": [ 9, 14 ], "repeat": [ 2, 3 ] } ],
"items": {
" ": [ { "item": "trash", "chance": 1 }, { "item": "clutter_yard", "chance": 1 } ],
"t": [
{ "item": "hazmat_suits", "chance": 70 },
{ "item": "hazmat_masks", "chance": 70 },
{ "item": "mobile_meth_lab", "chance": 70 },
{ "item": "supplies_reagents_lab", "chance": 20 },
{ "item": "methlab", "chance": 90 }
]
}
}
}
]
10 changes: 10 additions & 0 deletions data/json/overmap/overmap_special/specials.json
Original file line number Diff line number Diff line change
Expand Up @@ -4411,6 +4411,16 @@
"occurrences": [ 0, 3 ],
"flags": [ "CLASSIC", "WILDERNESS", "MAN_MADE" ]
},
{
"type": "overmap_special",
"id": "drug_lab",
"overmaps": [ { "point": [ 0, 0, 0 ], "overmap": "drug_lab_north" } ],
"locations": [ "forest" ],
"city_distance": [ 20, 60 ],
"city_sizes": [ 8, -1 ],
"occurrences": [ 1, 5 ],
"flags": [ "UNIQUE", "CLASSIC", "WILDERNESS", "MAN_MADE" ]
},
{
"id": "Railroad Station",
"type": "overmap_special",
Expand Down
8 changes: 8 additions & 0 deletions data/json/overmap/overmap_terrain/overmap_terrain.json
Original file line number Diff line number Diff line change
Expand Up @@ -604,6 +604,14 @@
"color": "i_cyan",
"see_cost": 5
},
{
"type": "overmap_terrain",
"id": "drug_lab",
"name": "drug lab",
"sym": "^",
"color": "brown",
"see_cost": 5
},
{
"type": "overmap_terrain",
"id": [ "campground_1a", "campground_1b", "campground_2a", "campground_2b" ],
Expand Down

0 comments on commit a820231

Please sign in to comment.