Skip to content

Commit

Permalink
Split military outposts and bunkers (#48697)
Browse files Browse the repository at this point in the history
  • Loading branch information
krulunio authored and ZhilkinSerg committed Jul 3, 2021
1 parent b631ae6 commit e7eecb7
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 5 deletions.
4 changes: 2 additions & 2 deletions data/json/mapgen/bunker.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
{
"type": "mapgen",
"method": "json",
"om_terrain": [ "bunker_basement" ],
"om_terrain": [ "bunker_basement_1" ],
"weight": 250,
"object": {
"fill_ter": "t_floor",
Expand Down Expand Up @@ -211,7 +211,7 @@
{
"type": "mapgen",
"method": "json",
"om_terrain": [ "bunker_basement" ],
"om_terrain": [ "bunker_basement_1" ],
"weight": 500,
"object": {
"fill_ter": "t_floor",
Expand Down
2 changes: 1 addition & 1 deletion data/json/mapgen/outpost.json
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
{
"type": "mapgen",
"method": "json",
"om_terrain": [ "outpost" ],
"om_terrain": [ "outpost_cross" ],
"weight": 100,
"object": {
"rows": [
Expand Down
27 changes: 25 additions & 2 deletions data/json/overmap/overmap_special/specials.json
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,21 @@
"connections": [ { "point": [ 0, -1, 0 ], "from": [ 0, 0, 0 ] } ],
"locations": [ "forest" ],
"city_distance": [ 20, -1 ],
"occurrences": [ 50, 100 ],
"occurrences": [ 25, 100 ],
"flags": [ "MILITARY", "UNIQUE" ]
},
{
"type": "overmap_special",
"id": "Military Bunker",
"overmaps": [
{ "point": [ 0, -1, 0 ], "overmap": "road_end_north" },
{ "point": [ 0, 0, 0 ], "overmap": "bunker_south" },
{ "point": [ 0, 0, -1 ], "overmap": "bunker_basement_1" }
],
"connections": [ { "point": [ 0, -1, 0 ], "from": [ 0, 0, 0 ] } ],
"locations": [ "forest" ],
"city_distance": [ 20, -1 ],
"occurrences": [ 25, 100 ],
"flags": [ "MILITARY", "UNIQUE" ]
},
{
Expand All @@ -830,7 +844,16 @@
"overmaps": [ { "point": [ 0, 0, 0 ], "overmap": "outpost_north" } ],
"locations": [ "wilderness" ],
"city_distance": [ 15, -1 ],
"occurrences": [ 50, 100 ],
"occurrences": [ 25, 100 ],
"flags": [ "MILITARY", "UNIQUE" ]
},
{
"type": "overmap_special",
"id": "Military Outpost",
"overmaps": [ { "point": [ 0, 0, 0 ], "overmap": "outpost_cross_north" } ],
"locations": [ "wilderness" ],
"city_distance": [ 15, -1 ],
"occurrences": [ 25, 100 ],
"flags": [ "MILITARY", "UNIQUE" ]
},
{
Expand Down
19 changes: 19 additions & 0 deletions data/json/overmap/overmap_terrain/overmap_terrain_military.json
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,15 @@
"see_cost": 2,
"flags": [ "KNOWN_UP", "NO_ROTATE", "RISK_HIGH", "SOURCE_WEAPON", "SOURCE_AMMO" ]
},
{
"type": "overmap_terrain",
"id": "bunker_basement_1",
"name": "military bunker",
"sym": "B",
"color": "red",
"see_cost": 2,
"flags": [ "KNOWN_UP", "NO_ROTATE", "RISK_HIGH", "SOURCE_WEAPON", "SOURCE_AMMO" ]
},
{
"type": "overmap_terrain",
"id": "outpost",
Expand All @@ -163,6 +172,16 @@
"extras": "build",
"flags": [ "RISK_HIGH", "SOURCE_WEAPON", "SOURCE_AMMO" ]
},
{
"type": "overmap_terrain",
"id": "outpost_cross",
"name": "military outpost",
"sym": "M",
"color": "red",
"see_cost": 2,
"extras": "build",
"flags": [ "RISK_HIGH", "SOURCE_WEAPON", "SOURCE_AMMO" ]
},
{
"type": "overmap_terrain",
"id": [ "silo", "silo_1", "silo_2", "silo_3", "silo_4", "silo_finale" ],
Expand Down

0 comments on commit e7eecb7

Please sign in to comment.