Unciv/android/assets/jsons/Civ V - Vanilla
Yair Morgenstern e72dcc8b0d
Unified "X is only available under Y conditions" into a single unique (#6133)
* Unified "X is only available under Y conditions" into a single unique

There were a few problems with existing uniques - they weren't really composable, the offered things they didn't keep, etc

For example, "Incompatible with [policy/tech/promotion]", UniqueTarget.Policy, UniqueTarget.Tech, UniqueTarget.Promotion. In fact, promotions only checked promotion incompatibility, promotions - promotion incompat, etc

Additionally, with a few more changes, this could cover several other uniques - "Hidden until [amount] social policy branches have been completed", "Requires at least [amount] population", perhaps others

I have to say I think conditionals are the best thing ever and they make amazing composability possible :)

* Autoupdate correctly recognizes parameters
Updated ruleset jsons

* Deprecation texts should be allowed to forward to other deprecated uniques so we only need to change the leaves when introducing new uniques, not go through the whole tree
2022-02-12 19:03:30 +02:00
..
Buildings.json
Difficulties.json
Eras.json
GlobalUniques.json
GreatPeopleNames.json
ModOptions.json
Nations.json Typed all remaining uniques using CityInfo.GetMatchingUniques and removed that function (#6071) 2022-01-29 23:27:48 +02:00
Policies.json Unified "X is only available under Y conditions" into a single unique (#6133) 2022-02-12 19:03:30 +02:00
Quests.json
Ruins.json
Specialists.json
Techs.json
Terrains.json Added unique to convert terrain to other terrain if adjacent to something (#6094) 2022-02-02 00:59:37 -08:00
TileImprovements.json
TileResources.json
UnitPromotions.json Typed all healing uniques (#6087) 2022-02-01 09:43:37 +02:00
Units.json
UnitTypes.json