From 7f30447996cf841ff79cb0a411d9387ff2ebd090 Mon Sep 17 00:00:00 2001 From: curstwist <39442864+curstwist@users.noreply.github.com> Date: Sun, 26 Jan 2020 20:16:31 -0500 Subject: [PATCH] fix house spawns --- .../overmap/multitile_city_buildings.json | 30 +++++++++++++ .../overmap_terrain_residential.json | 43 +++++++++++++++++++ data/json/regional_map_settings.json | 3 ++ 3 files changed, 76 insertions(+) diff --git a/data/json/overmap/multitile_city_buildings.json b/data/json/overmap/multitile_city_buildings.json index f421f12818a00..dc68be4d89f97 100644 --- a/data/json/overmap/multitile_city_buildings.json +++ b/data/json/overmap/multitile_city_buildings.json @@ -3217,5 +3217,35 @@ { "point": [ 0, 0, 1 ], "overmap": "house_fortified_roof_north" }, { "point": [ 0, 0, -1 ], "overmap": "basement" } ] + }, + { + "type": "city_building", + "id": "house_crack1", + "locations": [ "land" ], + "overmaps": [ + { "point": [ 0, 0, 0 ], "overmap": "house_crack1_north" }, + { "point": [ 0, 0, 1 ], "overmap": "house_crack1_roof_north" }, + { "point": [ 0, 0, -1 ], "overmap": "basement" } + ] + }, + { + "type": "city_building", + "id": "house_crack2", + "locations": [ "land" ], + "overmaps": [ + { "point": [ 0, 0, 0 ], "overmap": "house_crack2_north" }, + { "point": [ 0, 0, 1 ], "overmap": "house_crack1_roof_north" }, + { "point": [ 0, 0, -1 ], "overmap": "basement" } + ] + }, + { + "type": "city_building", + "id": "house_crack3", + "locations": [ "land" ], + "overmaps": [ + { "point": [ 0, 0, 0 ], "overmap": "house_crack3_north" }, + { "point": [ 0, 0, 1 ], "overmap": "house_crack3_roof_north" }, + { "point": [ 0, 0, -1 ], "overmap": "basement" } + ] } ] diff --git a/data/json/overmap/overmap_terrain/overmap_terrain_residential.json b/data/json/overmap/overmap_terrain/overmap_terrain_residential.json index 4736cd4cd35d6..a4d18299645e6 100644 --- a/data/json/overmap/overmap_terrain/overmap_terrain_residential.json +++ b/data/json/overmap/overmap_terrain/overmap_terrain_residential.json @@ -1695,5 +1695,48 @@ "copy-from": "generic_city_building", "color": "light_green", "see_cost": 2 + }, + { + "type": "overmap_terrain", + "id": "house_crack1", + "name": "house", + "copy-from": "generic_city_building", + "color": "light_green", + "see_cost": 2, + "flags": [ "SIDEWALK", "GENERIC_LOOT" ] + }, + { + "type": "overmap_terrain", + "id": "house_crack1_roof", + "name": "house", + "copy-from": "generic_city_building", + "color": "light_green", + "see_cost": 2 + }, + { + "type": "overmap_terrain", + "id": "house_crack2", + "name": "house", + "copy-from": "generic_city_building", + "color": "light_green", + "see_cost": 2, + "flags": [ "SIDEWALK", "GENERIC_LOOT" ] + }, + { + "type": "overmap_terrain", + "id": "house_crack3", + "name": "house", + "copy-from": "generic_city_building", + "color": "light_green", + "see_cost": 2, + "flags": [ "SIDEWALK", "GENERIC_LOOT" ] + }, + { + "type": "overmap_terrain", + "id": "house_crack3_roof", + "name": "house", + "copy-from": "generic_city_building", + "color": "light_green", + "see_cost": 2 } ] diff --git a/data/json/regional_map_settings.json b/data/json/regional_map_settings.json index b2e1804e7b192..476c5f22a4568 100644 --- a/data/json/regional_map_settings.json +++ b/data/json/regional_map_settings.json @@ -544,6 +544,9 @@ "house_w_1": 50, "house_two_story_basement": 50, "house": 50, + "house_crack1": 5, + "house_crack2": 5, + "house_crack3": 5, "house_wooded": 50, "house_prepper": 20, "house_prepper2": 10,