Add <when espionage is enabled> conditional (#12326)

* Modding: Replaced "Hidden when espionage is disabled" with "Only available <when espionage is enabled>"

* Modding: Fix unique deprecation notice

* Add ConditionalEspionageEnabled to isUnavailableBySettings list
This commit is contained in:
Rob Loach
2024-10-21 14:51:50 -04:00
committed by GitHub
parent dcfd2b7a70
commit e9481d4bc1
7 changed files with 25 additions and 16 deletions

View File

@ -125,7 +125,7 @@ Some of the rewards ruins can give will have results that are not deterministic
A few uniques can be added to ancient ruin effects to modify when they can be earned. These are:
- "Only available after [amount] turns"
- "Hidden when religion is disabled"
- "Only available <when religion is enabled>"
- "Hidden after a great prophet has been earned"
## [Tileset-specific json](../../Creating-a-custom-tileset.md)

View File

@ -1550,9 +1550,6 @@ Simple unique parameters are explained by mouseover. Complex parameters are expl
??? example "Cannot be hurried"
Applicable to: Tech, Building
??? example "Hidden when espionage is disabled"
Applicable to: Building
??? example "Will not be displayed in Civilopedia"
Applicable to: Nation, Tech, Policy, FounderBelief, FollowerBelief, Building, Unit, UnitType, Promotion, Terrain, Improvement, Resource, Ruins, Speed, EventChoice
@ -2778,6 +2775,12 @@ If your mod renames Coast or Lakes, do not use this with one of these as paramet
??? example "&lt;when religion is disabled&gt;"
Applicable to: Conditional
??? example "&lt;when espionage is enabled&gt;"
Applicable to: Conditional
??? example "&lt;when espionage is disabled&gt;"
Applicable to: Conditional
??? example "&lt;with [amount]% chance&gt;"
Example: "&lt;with [3]% chance&gt;"