In Civ VI there are certain units available only if a specific building is built, and this was raised as a request by modders as well. (#6160)

Instead of expanding the existing 'requires building' unique to units and adding limiters, it's both easier and more generalizable to add conditionals for cities with and without certain buildings to replace the uniques entirely
This commit is contained in:
Yair Morgenstern
2022-02-15 11:40:47 +02:00
committed by GitHub
parent 97d74a3aef
commit 86cbe895be
5 changed files with 24 additions and 19 deletions

View File

@ -917,7 +917,7 @@
"requiredBuilding": "Factory",
"maintenance": 3,
"requiredTech": "Ecology",
"uniques": ["Must be next to [Desert]", "Cannot be built with [Nuclear Plant]"]
"uniques": ["Must be next to [Desert]", "Only available <in cities without a [Nuclear Plant]>"]
},
{
"name": "Nuclear Plant",
@ -927,7 +927,7 @@
"maintenance": 3,
"requiredResource": "Uranium",
"requiredTech": "Nuclear Fission",
"uniques": ["Cannot be built with [Solar Plant]"]
"uniques": ["Only available <in cities without a [Solar Plant]>"]
},
{
"name": "Apollo Program",