Skip to content

Commit

Permalink
Merge pull request #37428 from curstwist/fix-house_crack-spawns
Browse files Browse the repository at this point in the history
fix house spawns
  • Loading branch information
Rivet-the-Zombie committed Jan 27, 2020
2 parents 064338a + 7f30447 commit ff90f51
Show file tree
Hide file tree
Showing 3 changed files with 76 additions and 0 deletions.
30 changes: 30 additions & 0 deletions data/json/overmap/multitile_city_buildings.json
Expand Up @@ -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" }
]
}
]
43 changes: 43 additions & 0 deletions data/json/overmap/overmap_terrain/overmap_terrain_residential.json
Expand Up @@ -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
}
]
3 changes: 3 additions & 0 deletions data/json/regional_map_settings.json
Expand Up @@ -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,
Expand Down

0 comments on commit ff90f51

Please sign in to comment.