Skip to content

Commit

Permalink
Merge pull request CleverRaven#74290 from Procyonae/CityUniqueFlag
Browse files Browse the repository at this point in the history
CITY_UNIQUE flag
  • Loading branch information
Maleclypse authored Jun 7, 2024
2 parents 59b112e + 259eb15 commit 36fe02f
Show file tree
Hide file tree
Showing 25 changed files with 189 additions and 156 deletions.
28 changes: 19 additions & 9 deletions data/json/overmap/multitile_city_buildings.json
Original file line number Diff line number Diff line change
Expand Up @@ -1724,7 +1724,8 @@
{ "point": [ 0, -3, 2 ], "overmap": "police_dept_d012_south" },
{ "point": [ 1, -3, 2 ], "overmap": "police_dept_d112_south" }
],
"city_sizes": [ 14, -1 ]
"city_sizes": [ 14, -1 ],
"flags": [ "CITY_UNIQUE" ]
},
{
"type": "city_building",
Expand Down Expand Up @@ -2259,7 +2260,8 @@
{ "point": [ 2, 2, 2 ], "overmap": "megastore_1_2_roof_south" },
{ "point": [ 1, 2, 2 ], "overmap": "megastore_2_2_roof_south" }
],
"city_sizes": [ 12, -1 ]
"city_sizes": [ 12, -1 ],
"flags": [ "CITY_UNIQUE" ]
},
{
"type": "city_building",
Expand All @@ -2285,7 +2287,8 @@
{ "point": [ 1, 2, 1 ], "overmap": "hospital_8_roof_north" },
{ "point": [ 2, 2, 1 ], "overmap": "hospital_7_roof_north" }
],
"city_sizes": [ 12, -1 ]
"city_sizes": [ 12, -1 ],
"flags": [ "CITY_UNIQUE" ]
},
{
"id": "urban_35_hospital",
Expand Down Expand Up @@ -2327,7 +2330,9 @@
{ "point": [ 1, 0, 6 ], "overmap": "urban_35_31_south" },
{ "point": [ 0, 0, 6 ], "overmap": "urban_35_32_south" },
{ "point": [ 1, 0, 7 ], "overmap": "urban_35_33_south" }
]
],
"city_sizes": [ 8, -1 ],
"flags": [ "CITY_UNIQUE" ]
},
{
"type": "city_building",
Expand Down Expand Up @@ -2977,7 +2982,8 @@
{ "point": [ 0, 1, -1 ], "overmap": "cathedral_b_SW_north" },
{ "point": [ 1, 1, -1 ], "overmap": "cathedral_b_SE_north" }
],
"city_sizes": [ 14, -1 ]
"city_sizes": [ 14, -1 ],
"flags": [ "CITY_UNIQUE" ]
},
{
"type": "city_building",
Expand Down Expand Up @@ -3236,7 +3242,8 @@
{ "point": [ 1, 1, 0 ], "overmap": "mall_a_80_south" },
{ "point": [ 0, 1, 0 ], "overmap": "mall_a_81_south" }
],
"city_sizes": [ 16, -1 ]
"city_sizes": [ 16, -1 ],
"flags": [ "CITY_UNIQUE" ]
},
{
"type": "city_building",
Expand Down Expand Up @@ -3485,7 +3492,8 @@
{ "point": [ 2, 1, 3 ], "overmap": "stadium_2_1_3_north" },
{ "point": [ 0, 3, 3 ], "overmap": "stadium_0_3_3_north" }
],
"city_sizes": [ 16, -1 ]
"city_sizes": [ 16, -1 ],
"flags": [ "CITY_UNIQUE" ]
},
{
"type": "city_building",
Expand Down Expand Up @@ -3638,7 +3646,8 @@
{ "point": [ 5, 5, 5 ], "overmap": "stadium_football_5_5_5_north" },
{ "point": [ 6, 5, 5 ], "overmap": "stadium_football_6_5_5_north" }
],
"city_sizes": [ 16, -1 ]
"city_sizes": [ 16, -1 ],
"flags": [ "CITY_UNIQUE" ]
},
{
"type": "city_building",
Expand Down Expand Up @@ -3735,7 +3744,8 @@
{ "point": [ 0, 1, 2 ], "overmap": "town_hall_0_1_roof_north" },
{ "point": [ 1, 1, 2 ], "overmap": "town_hall_1_1_roof_north" }
],
"city_sizes": [ 10, -1 ]
"city_sizes": [ 10, -1 ],
"flags": [ "CITY_UNIQUE" ]
},
{
"type": "city_building",
Expand Down
4 changes: 2 additions & 2 deletions data/json/overmap/overmap_mutable/anthill.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"locations": [ "subterranean_empty" ],
"city_distance": [ 10, -1 ],
"occurrences": [ 80, 100 ],
"flags": [ "ANT", "UNIQUE", "WILDERNESS" ],
"flags": [ "ANT", "OVERMAP_UNIQUE", "WILDERNESS" ],
"spawns": { "group": "GROUP_ANT_SURFACE", "population": [ 1000, 2000 ], "radius": [ 10, 30 ] },
"check_for_locations": [
[ [ 0, 0, 0 ], [ "land", "agricultural" ] ],
Expand Down Expand Up @@ -91,7 +91,7 @@
"locations": [ "subterranean_empty" ],
"city_distance": [ 10, -1 ],
"occurrences": [ 80, 100 ],
"flags": [ "ANT", "UNIQUE", "WILDERNESS" ],
"flags": [ "ANT", "OVERMAP_UNIQUE", "WILDERNESS" ],
"spawns": { "group": "GROUP_ACID_ANT_SURFACE", "population": [ 1000, 2000 ], "radius": [ 10, 30 ] },
"check_for_locations": [
[ [ 0, 0, 0 ], [ "land", "agricultural" ] ],
Expand Down
2 changes: 1 addition & 1 deletion data/json/overmap/overmap_mutable/crater.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"occurrences": [ 66, 100 ],
"//": "Spawn after all roads from other specials to avoid their roads routing around placed craters",
"priority": -2,
"flags": [ "UNIQUE", "BLOB", "CLASSIC" ],
"flags": [ "OVERMAP_UNIQUE", "BLOB", "CLASSIC" ],
"check_for_locations_area": [ { "type": [ "land", "road", "agricultural" ], "from": [ -1, -1, 0 ], "to": [ 1, 1, 0 ] } ],
"joins": [ "crater_to_crater", "root" ],
"overmaps": {
Expand Down
2 changes: 1 addition & 1 deletion data/json/overmap/overmap_mutable/farm_horse_mutable.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"city_distance": [ 5, -1 ],
"city_sizes": [ 1, -1 ],
"occurrences": [ 80, 100 ],
"flags": [ "CLASSIC", "MAN_MADE", "FARM", "UNIQUE" ],
"flags": [ "CLASSIC", "MAN_MADE", "FARM", "OVERMAP_UNIQUE" ],
"check_for_locations_area": [ { "type": [ "forest_without_trail", "field" ], "from": [ -6, -2, 0 ], "to": [ 7, 9, 0 ] } ],
"joins": [
"root_to_road",
Expand Down
2 changes: 1 addition & 1 deletion data/json/overmap/overmap_special/alien.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"city_distance": [ 0, 30 ],
"city_sizes": [ 0, 16 ],
"occurrences": [ 2, 100 ],
"flags": [ "EXODII", "CBM", "UNIQUE" ]
"flags": [ "EXODII", "CBM", "OVERMAP_UNIQUE" ]
},
{
"type": "overmap_special",
Expand Down
10 changes: 5 additions & 5 deletions data/json/overmap/overmap_special/campus.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
"city_distance": [ 3, -1 ],
"city_sizes": [ 1, 16 ],
"occurrences": [ 0, 0 ],
"flags": [ "UNIQUE", "MAN_MADE" ]
"flags": [ "OVERMAP_UNIQUE", "MAN_MADE" ]
},
{
"type": "overmap_special",
Expand All @@ -152,7 +152,7 @@
"city_distance": [ 3, -1 ],
"city_sizes": [ 1, 16 ],
"occurrences": [ 0, 0 ],
"flags": [ "UNIQUE", "MAN_MADE" ]
"flags": [ "OVERMAP_UNIQUE", "MAN_MADE" ]
},
{
"type": "overmap_special",
Expand Down Expand Up @@ -195,7 +195,7 @@
"city_distance": [ 3, -1 ],
"city_sizes": [ 1, 16 ],
"occurrences": [ 0, 0 ],
"flags": [ "UNIQUE", "MAN_MADE" ]
"flags": [ "OVERMAP_UNIQUE", "MAN_MADE" ]
},
{
"type": "overmap_special",
Expand Down Expand Up @@ -226,7 +226,7 @@
"city_distance": [ 3, -1 ],
"city_sizes": [ 1, 16 ],
"occurrences": [ 0, 0 ],
"flags": [ "UNIQUE", "MAN_MADE" ]
"flags": [ "OVERMAP_UNIQUE", "MAN_MADE" ]
},
{
"type": "overmap_special",
Expand All @@ -249,6 +249,6 @@
"city_distance": [ 3, -1 ],
"city_sizes": [ 1, 16 ],
"occurrences": [ 0, 0 ],
"flags": [ "UNIQUE", "MAN_MADE" ]
"flags": [ "OVERMAP_UNIQUE", "MAN_MADE" ]
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,6 @@
"city_distance": [ 3, -1 ],
"city_sizes": [ 1, 16 ],
"occurrences": [ 30, 100 ],
"flags": [ "UNIQUE", "MAN_MADE" ]
"flags": [ "OVERMAP_UNIQUE", "MAN_MADE" ]
}
]
2 changes: 1 addition & 1 deletion data/json/overmap/overmap_special/oil_platform.json
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,6 @@
"city_distance": [ 150, 1000 ],
"locations": [ "ocean_surface" ],
"occurrences": [ 5, 100 ],
"flags": [ "MAN_MADE", "OCEAN", "UNIQUE" ]
"flags": [ "MAN_MADE", "OCEAN", "OVERMAP_UNIQUE" ]
}
]
Loading

0 comments on commit 36fe02f

Please sign in to comment.