From a820231e0359864fc3e870f51a1dd4cc6435ddc7 Mon Sep 17 00:00:00 2001 From: MNG-cataclysm <58958654+MNG-cataclysm@users.noreply.github.com> Date: Fri, 17 Mar 2023 22:22:46 -0400 Subject: [PATCH] Add a drug lab (#63403) Co-authored-by: anothersimulacrum --- data/json/mapgen/drug_lab.json | 48 +++++++++++++++++++ .../overmap/overmap_special/specials.json | 10 ++++ .../overmap_terrain/overmap_terrain.json | 8 ++++ 3 files changed, 66 insertions(+) create mode 100644 data/json/mapgen/drug_lab.json diff --git a/data/json/mapgen/drug_lab.json b/data/json/mapgen/drug_lab.json new file mode 100644 index 0000000000000..a2758663e7e92 --- /dev/null +++ b/data/json/mapgen/drug_lab.json @@ -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 } + ] + } + } + } +] diff --git a/data/json/overmap/overmap_special/specials.json b/data/json/overmap/overmap_special/specials.json index 105fa184f699a..96167a02c86f3 100644 --- a/data/json/overmap/overmap_special/specials.json +++ b/data/json/overmap/overmap_special/specials.json @@ -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", diff --git a/data/json/overmap/overmap_terrain/overmap_terrain.json b/data/json/overmap/overmap_terrain/overmap_terrain.json index 7c032946e9c16..bdaafe0dcf366 100644 --- a/data/json/overmap/overmap_terrain/overmap_terrain.json +++ b/data/json/overmap/overmap_terrain/overmap_terrain.json @@ -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" ],