mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-28 06:16:37 -04:00
Autogenerated docs wraps conditionals and doesn't give examples for non-parameter-containing uniques
This commit is contained in:
parent
0cef056c4d
commit
6296f6917f
@ -30,7 +30,7 @@ internal object DesktopLauncher {
|
|||||||
ImagePacker.packImages()
|
ImagePacker.packImages()
|
||||||
|
|
||||||
val config = Lwjgl3ApplicationConfiguration()
|
val config = Lwjgl3ApplicationConfiguration()
|
||||||
config.setWindowIcon( "ExtraImages/Icon.png")
|
config.setWindowIcon("ExtraImages/Icon.png")
|
||||||
config.setTitle("Unciv")
|
config.setTitle("Unciv")
|
||||||
config.setHdpiMode(HdpiMode.Logical)
|
config.setHdpiMode(HdpiMode.Logical)
|
||||||
if (FileHandle(GameSaver.settingsFileName).exists()) {
|
if (FileHandle(GameSaver.settingsFileName).exists()) {
|
||||||
@ -43,7 +43,7 @@ internal object DesktopLauncher {
|
|||||||
|
|
||||||
val versionFromJar = DesktopLauncher.javaClass.`package`.specificationVersion ?: "Desktop"
|
val versionFromJar = DesktopLauncher.javaClass.`package`.specificationVersion ?: "Desktop"
|
||||||
|
|
||||||
if(versionFromJar == "Desktop") {
|
if (versionFromJar == "Desktop") {
|
||||||
UniqueDocsWriter().write()
|
UniqueDocsWriter().write()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
package com.unciv.app.desktop
|
package com.unciv.app.desktop
|
||||||
|
|
||||||
import com.unciv.models.ruleset.Ruleset
|
import com.unciv.models.ruleset.Ruleset
|
||||||
|
import com.unciv.models.ruleset.unique.UniqueTarget
|
||||||
import com.unciv.models.ruleset.unique.UniqueType
|
import com.unciv.models.ruleset.unique.UniqueType
|
||||||
import java.io.File
|
import java.io.File
|
||||||
|
|
||||||
@ -44,13 +45,16 @@ class UniqueDocsWriter {
|
|||||||
|
|
||||||
val deprecationAnnotation = uniqueType.declaringClass.getField(uniqueType.name)
|
val deprecationAnnotation = uniqueType.declaringClass.getField(uniqueType.name)
|
||||||
.getAnnotation(Deprecated::class.java)
|
.getAnnotation(Deprecated::class.java)
|
||||||
if (deprecationAnnotation != null){
|
if (deprecationAnnotation != null) {
|
||||||
deprecatedUniques += uniqueType
|
deprecatedUniques += uniqueType
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
lines += "#### " + uniqueType.text
|
val uniqueText = if (targetType.key == UniqueTarget.Conditional) "<${uniqueType.text}>"
|
||||||
lines += "Example: \"${replaceExamples(uniqueType.text)}\"\n"
|
else uniqueType.text
|
||||||
|
lines += "#### $uniqueText"
|
||||||
|
if (uniqueType.text.contains('['))
|
||||||
|
lines += "Example: \"${replaceExamples(uniqueText)}\"\n"
|
||||||
lines += "Applicable to: " + uniqueType.targetTypes.joinToString()
|
lines += "Applicable to: " + uniqueType.targetTypes.joinToString()
|
||||||
lines += ""
|
lines += ""
|
||||||
}
|
}
|
||||||
|
276
docs/uniques.md
276
docs/uniques.md
@ -125,13 +125,9 @@ Example: "Can spend Gold to annex or puppet a City-State that has been your ally
|
|||||||
Applicable to: Global
|
Applicable to: Global
|
||||||
|
|
||||||
#### City-State territory always counts as friendly territory
|
#### City-State territory always counts as friendly territory
|
||||||
Example: "City-State territory always counts as friendly territory"
|
|
||||||
|
|
||||||
Applicable to: Global
|
Applicable to: Global
|
||||||
|
|
||||||
#### Allied City-States will occasionally gift Great People
|
#### Allied City-States will occasionally gift Great People
|
||||||
Example: "Allied City-States will occasionally gift Great People"
|
|
||||||
|
|
||||||
Applicable to: Global
|
Applicable to: Global
|
||||||
|
|
||||||
#### [amount] units cost no maintenance
|
#### [amount] units cost no maintenance
|
||||||
@ -235,8 +231,6 @@ Example: "[20]% Spread Religion Strength"
|
|||||||
Applicable to: Global, Unit
|
Applicable to: Global, Unit
|
||||||
|
|
||||||
#### Normal vision when embarked
|
#### Normal vision when embarked
|
||||||
Example: "Normal vision when embarked"
|
|
||||||
|
|
||||||
Applicable to: Global, Unit
|
Applicable to: Global, Unit
|
||||||
|
|
||||||
#### Free [baseUnitFilter] appears
|
#### Free [baseUnitFilter] appears
|
||||||
@ -250,8 +244,6 @@ Example: "[20] free [Melee] units appear"
|
|||||||
Applicable to: Global
|
Applicable to: Global
|
||||||
|
|
||||||
#### Free Social Policy
|
#### Free Social Policy
|
||||||
Example: "Free Social Policy"
|
|
||||||
|
|
||||||
Applicable to: Global
|
Applicable to: Global
|
||||||
|
|
||||||
#### [amount] Free Social Policies
|
#### [amount] Free Social Policies
|
||||||
@ -260,13 +252,9 @@ Example: "[20] Free Social Policies"
|
|||||||
Applicable to: Global
|
Applicable to: Global
|
||||||
|
|
||||||
#### Empire enters golden age
|
#### Empire enters golden age
|
||||||
Example: "Empire enters golden age"
|
|
||||||
|
|
||||||
Applicable to: Global
|
Applicable to: Global
|
||||||
|
|
||||||
#### Free Great Person
|
#### Free Great Person
|
||||||
Example: "Free Great Person"
|
|
||||||
|
|
||||||
Applicable to: Global
|
Applicable to: Global
|
||||||
|
|
||||||
#### [amount] population [cityFilter]
|
#### [amount] population [cityFilter]
|
||||||
@ -275,8 +263,6 @@ Example: "[20] population [in all cities]"
|
|||||||
Applicable to: Global
|
Applicable to: Global
|
||||||
|
|
||||||
#### Free Technology
|
#### Free Technology
|
||||||
Example: "Free Technology"
|
|
||||||
|
|
||||||
Applicable to: Global
|
Applicable to: Global
|
||||||
|
|
||||||
#### [amount] Free Technologies
|
#### [amount] Free Technologies
|
||||||
@ -285,18 +271,12 @@ Example: "[20] Free Technologies"
|
|||||||
Applicable to: Global
|
Applicable to: Global
|
||||||
|
|
||||||
#### Reveals the entire map
|
#### Reveals the entire map
|
||||||
Example: "Reveals the entire map"
|
|
||||||
|
|
||||||
Applicable to: Global
|
Applicable to: Global
|
||||||
|
|
||||||
#### Triggers voting for the Diplomatic Victory
|
#### Triggers voting for the Diplomatic Victory
|
||||||
Example: "Triggers voting for the Diplomatic Victory"
|
|
||||||
|
|
||||||
Applicable to: Global
|
Applicable to: Global
|
||||||
|
|
||||||
#### This Unit upgrades for free
|
#### This Unit upgrades for free
|
||||||
Example: "This Unit upgrades for free"
|
|
||||||
|
|
||||||
Applicable to: Global
|
Applicable to: Global
|
||||||
|
|
||||||
#### This Unit gains the [promotion] promotion
|
#### This Unit gains the [promotion] promotion
|
||||||
@ -331,8 +311,6 @@ Applicable to: Global
|
|||||||
|
|
||||||
## Building uniques
|
## Building uniques
|
||||||
#### Remove extra unhappiness from annexed cities
|
#### Remove extra unhappiness from annexed cities
|
||||||
Example: "Remove extra unhappiness from annexed cities"
|
|
||||||
|
|
||||||
Applicable to: Building
|
Applicable to: Building
|
||||||
|
|
||||||
#### Consumes [amount] [resource]
|
#### Consumes [amount] [resource]
|
||||||
@ -346,13 +324,9 @@ Example: "Provides [20] [Iron]"
|
|||||||
Applicable to: Building, Improvement
|
Applicable to: Building, Improvement
|
||||||
|
|
||||||
#### Unbuildable
|
#### Unbuildable
|
||||||
Example: "Unbuildable"
|
|
||||||
|
|
||||||
Applicable to: Building, Unit
|
Applicable to: Building, Unit
|
||||||
|
|
||||||
#### Cannot be purchased
|
#### Cannot be purchased
|
||||||
Example: "Cannot be purchased"
|
|
||||||
|
|
||||||
Applicable to: Building, Unit
|
Applicable to: Building, Unit
|
||||||
|
|
||||||
#### Can be purchased with [stat] [cityFilter]
|
#### Can be purchased with [stat] [cityFilter]
|
||||||
@ -427,14 +401,10 @@ Example: "Provides military units every ≈[20] turns"
|
|||||||
Applicable to: CityState
|
Applicable to: CityState
|
||||||
|
|
||||||
#### Provides a unique luxury
|
#### Provides a unique luxury
|
||||||
Example: "Provides a unique luxury"
|
|
||||||
|
|
||||||
Applicable to: CityState
|
Applicable to: CityState
|
||||||
|
|
||||||
## Nation uniques
|
## Nation uniques
|
||||||
#### Will not be chosen for new games
|
#### Will not be chosen for new games
|
||||||
Example: "Will not be chosen for new games"
|
|
||||||
|
|
||||||
Applicable to: Nation
|
Applicable to: Nation
|
||||||
|
|
||||||
#### Receive a free Great Person at the end of every [comment] (every 394 years), after researching [tech]. Each bonus person can only be chosen once.
|
#### Receive a free Great Person at the end of every [comment] (every 394 years), after researching [tech]. Each bonus person can only be chosen once.
|
||||||
@ -443,8 +413,6 @@ Example: "Receive a free Great Person at the end of every [comment] (every 394 y
|
|||||||
Applicable to: Nation
|
Applicable to: Nation
|
||||||
|
|
||||||
#### Once The Long Count activates, the year on the world screen displays as the traditional Mayan Long Count.
|
#### Once The Long Count activates, the year on the world screen displays as the traditional Mayan Long Count.
|
||||||
Example: "Once The Long Count activates, the year on the world screen displays as the traditional Mayan Long Count."
|
|
||||||
|
|
||||||
Applicable to: Nation
|
Applicable to: Nation
|
||||||
|
|
||||||
#### Retain [amount]% of the happiness from a luxury after the last copy has been traded away
|
#### Retain [amount]% of the happiness from a luxury after the last copy has been traded away
|
||||||
@ -454,8 +422,6 @@ Applicable to: Nation
|
|||||||
|
|
||||||
## Unit uniques
|
## Unit uniques
|
||||||
#### Founds a new city
|
#### Founds a new city
|
||||||
Example: "Founds a new city"
|
|
||||||
|
|
||||||
Applicable to: Unit
|
Applicable to: Unit
|
||||||
|
|
||||||
#### Can build [improvementFilter/terrainFilter] improvements on tiles
|
#### Can build [improvementFilter/terrainFilter] improvements on tiles
|
||||||
@ -464,8 +430,6 @@ Example: "Can build [improvementFilter/terrainFilter] improvements on tiles"
|
|||||||
Applicable to: Unit
|
Applicable to: Unit
|
||||||
|
|
||||||
#### May create improvements on water resources
|
#### May create improvements on water resources
|
||||||
Example: "May create improvements on water resources"
|
|
||||||
|
|
||||||
Applicable to: Unit
|
Applicable to: Unit
|
||||||
|
|
||||||
#### Can see invisible [mapUnitFilter] units
|
#### Can see invisible [mapUnitFilter] units
|
||||||
@ -479,23 +443,18 @@ Example: "[20]% Strength decreasing with distance from the capital"
|
|||||||
Applicable to: Unit
|
Applicable to: Unit
|
||||||
|
|
||||||
#### May found a religion
|
#### May found a religion
|
||||||
Example: "May found a religion"
|
|
||||||
|
|
||||||
Applicable to: Unit
|
Applicable to: Unit
|
||||||
|
|
||||||
#### May enhance a religion
|
#### May enhance a religion
|
||||||
Example: "May enhance a religion"
|
|
||||||
|
|
||||||
Applicable to: Unit
|
Applicable to: Unit
|
||||||
|
|
||||||
#### Cannot attack
|
#### Cannot attack
|
||||||
Example: "Cannot attack"
|
|
||||||
|
|
||||||
Applicable to: Unit
|
Applicable to: Unit
|
||||||
|
|
||||||
#### Must set up to ranged attack
|
#### Must set up to ranged attack
|
||||||
Example: "Must set up to ranged attack"
|
Applicable to: Unit
|
||||||
|
|
||||||
|
#### 6 tiles in every direction always visible
|
||||||
Applicable to: Unit
|
Applicable to: Unit
|
||||||
|
|
||||||
#### Blast radius [amount]
|
#### Blast radius [amount]
|
||||||
@ -529,48 +488,41 @@ Example: "Double movement in [Grassland]"
|
|||||||
Applicable to: Unit
|
Applicable to: Unit
|
||||||
|
|
||||||
#### All tiles cost 1 movement
|
#### All tiles cost 1 movement
|
||||||
Example: "All tiles cost 1 movement"
|
|
||||||
|
|
||||||
Applicable to: Unit
|
Applicable to: Unit
|
||||||
|
|
||||||
#### Can pass through impassable tiles
|
#### Can pass through impassable tiles
|
||||||
Example: "Can pass through impassable tiles"
|
|
||||||
|
|
||||||
Applicable to: Unit
|
Applicable to: Unit
|
||||||
|
|
||||||
#### Ignores terrain cost
|
#### Ignores terrain cost
|
||||||
Example: "Ignores terrain cost"
|
|
||||||
|
|
||||||
Applicable to: Unit
|
Applicable to: Unit
|
||||||
|
|
||||||
#### Ignores Zone of Control
|
#### Ignores Zone of Control
|
||||||
Example: "Ignores Zone of Control"
|
|
||||||
|
|
||||||
Applicable to: Unit
|
Applicable to: Unit
|
||||||
|
|
||||||
#### Rough terrain penalty
|
#### Rough terrain penalty
|
||||||
Example: "Rough terrain penalty"
|
|
||||||
|
|
||||||
Applicable to: Unit
|
Applicable to: Unit
|
||||||
|
|
||||||
#### Can enter ice tiles
|
#### Can enter ice tiles
|
||||||
Example: "Can enter ice tiles"
|
|
||||||
|
|
||||||
Applicable to: Unit
|
Applicable to: Unit
|
||||||
|
|
||||||
#### Cannot enter ocean tiles
|
#### Cannot enter ocean tiles
|
||||||
Example: "Cannot enter ocean tiles"
|
|
||||||
|
|
||||||
Applicable to: Unit
|
Applicable to: Unit
|
||||||
|
|
||||||
#### Cannot enter ocean tiles until Astronomy
|
#### Cannot enter ocean tiles until Astronomy
|
||||||
Example: "Cannot enter ocean tiles until Astronomy"
|
|
||||||
|
|
||||||
Applicable to: Unit
|
Applicable to: Unit
|
||||||
|
|
||||||
#### Never appears as a Barbarian unit
|
#### Never appears as a Barbarian unit
|
||||||
Example: "Never appears as a Barbarian unit"
|
Applicable to: Unit
|
||||||
|
|
||||||
|
#### May enter foreign tiles without open borders
|
||||||
|
Applicable to: Unit
|
||||||
|
|
||||||
|
#### May enter foreign tiles without open borders, but loses [amount] religious strength each turn it ends there
|
||||||
|
Example: "May enter foreign tiles without open borders, but loses [20] religious strength each turn it ends there"
|
||||||
|
|
||||||
|
Applicable to: Unit
|
||||||
|
|
||||||
|
#### Religious Unit
|
||||||
Applicable to: Unit
|
Applicable to: Unit
|
||||||
|
|
||||||
## Terrain uniques
|
## Terrain uniques
|
||||||
@ -630,18 +582,12 @@ Example: "[20] Strength for cities built on this terrain"
|
|||||||
Applicable to: Terrain
|
Applicable to: Terrain
|
||||||
|
|
||||||
#### Provides a one-time Production bonus to the closest city when cut down
|
#### Provides a one-time Production bonus to the closest city when cut down
|
||||||
Example: "Provides a one-time Production bonus to the closest city when cut down"
|
|
||||||
|
|
||||||
Applicable to: Terrain
|
Applicable to: Terrain
|
||||||
|
|
||||||
#### Tile provides yield without assigned population
|
#### Tile provides yield without assigned population
|
||||||
Example: "Tile provides yield without assigned population"
|
|
||||||
|
|
||||||
Applicable to: Terrain, Improvement
|
Applicable to: Terrain, Improvement
|
||||||
|
|
||||||
#### Nullifies all other stats this tile provides
|
#### Nullifies all other stats this tile provides
|
||||||
Example: "Nullifies all other stats this tile provides"
|
|
||||||
|
|
||||||
Applicable to: Terrain
|
Applicable to: Terrain
|
||||||
|
|
||||||
#### Only [improvementFilter] improvements may be built on this tile
|
#### Only [improvementFilter] improvements may be built on this tile
|
||||||
@ -650,8 +596,6 @@ Example: "Only [improvementFilter] improvements may be built on this tile"
|
|||||||
Applicable to: Terrain
|
Applicable to: Terrain
|
||||||
|
|
||||||
#### Blocks line-of-sight from tiles at same elevation
|
#### Blocks line-of-sight from tiles at same elevation
|
||||||
Example: "Blocks line-of-sight from tiles at same elevation"
|
|
||||||
|
|
||||||
Applicable to: Terrain
|
Applicable to: Terrain
|
||||||
|
|
||||||
#### Has an elevation of [amount] for visibility calculations
|
#### Has an elevation of [amount] for visibility calculations
|
||||||
@ -685,8 +629,6 @@ Example: "A Region can not contain more [simpleTerrain] tiles than [simpleTerrai
|
|||||||
Applicable to: Terrain
|
Applicable to: Terrain
|
||||||
|
|
||||||
#### Base Terrain on this tile is not counted for Region determination
|
#### Base Terrain on this tile is not counted for Region determination
|
||||||
Example: "Base Terrain on this tile is not counted for Region determination"
|
|
||||||
|
|
||||||
Applicable to: Terrain
|
Applicable to: Terrain
|
||||||
|
|
||||||
#### Considered [terrainQuality] when determining start locations
|
#### Considered [terrainQuality] when determining start locations
|
||||||
@ -695,8 +637,6 @@ Example: "Considered [terrainQuality] when determining start locations"
|
|||||||
Applicable to: Terrain
|
Applicable to: Terrain
|
||||||
|
|
||||||
#### Doesn't generate naturally
|
#### Doesn't generate naturally
|
||||||
Example: "Doesn't generate naturally"
|
|
||||||
|
|
||||||
Applicable to: Terrain
|
Applicable to: Terrain
|
||||||
|
|
||||||
#### Occurs at temperature between [amount] and [amount] and humidity between [amount] and [amount]
|
#### Occurs at temperature between [amount] and [amount] and humidity between [amount] and [amount]
|
||||||
@ -705,38 +645,24 @@ Example: "Occurs at temperature between [20] and [20] and humidity between [20]
|
|||||||
Applicable to: Terrain
|
Applicable to: Terrain
|
||||||
|
|
||||||
#### Occurs in chains at high elevations
|
#### Occurs in chains at high elevations
|
||||||
Example: "Occurs in chains at high elevations"
|
|
||||||
|
|
||||||
Applicable to: Terrain
|
Applicable to: Terrain
|
||||||
|
|
||||||
#### Occurs in groups around high elevations
|
#### Occurs in groups around high elevations
|
||||||
Example: "Occurs in groups around high elevations"
|
|
||||||
|
|
||||||
Applicable to: Terrain
|
Applicable to: Terrain
|
||||||
|
|
||||||
#### Rare feature
|
#### Rare feature
|
||||||
Example: "Rare feature"
|
|
||||||
|
|
||||||
Applicable to: Terrain
|
Applicable to: Terrain
|
||||||
|
|
||||||
#### Resistant to nukes
|
#### Resistant to nukes
|
||||||
Example: "Resistant to nukes"
|
|
||||||
|
|
||||||
Applicable to: Terrain
|
Applicable to: Terrain
|
||||||
|
|
||||||
#### Can be destroyed by nukes
|
#### Can be destroyed by nukes
|
||||||
Example: "Can be destroyed by nukes"
|
|
||||||
|
|
||||||
Applicable to: Terrain
|
Applicable to: Terrain
|
||||||
|
|
||||||
#### Fresh water
|
#### Fresh water
|
||||||
Example: "Fresh water"
|
|
||||||
|
|
||||||
Applicable to: Terrain
|
Applicable to: Terrain
|
||||||
|
|
||||||
#### Rough terrain
|
#### Rough terrain
|
||||||
Example: "Rough terrain"
|
|
||||||
|
|
||||||
Applicable to: Terrain
|
Applicable to: Terrain
|
||||||
|
|
||||||
## Resource uniques
|
## Resource uniques
|
||||||
@ -751,8 +677,6 @@ Example: "Appears near City States with weight [20]"
|
|||||||
Applicable to: Resource
|
Applicable to: Resource
|
||||||
|
|
||||||
#### Special placement during map generation
|
#### Special placement during map generation
|
||||||
Example: "Special placement during map generation"
|
|
||||||
|
|
||||||
Applicable to: Resource
|
Applicable to: Resource
|
||||||
|
|
||||||
#### Deposits in [tileFilter] tiles always provide [amount] resources
|
#### Deposits in [tileFilter] tiles always provide [amount] resources
|
||||||
@ -766,14 +690,10 @@ Example: "Deposits in [Farm] tiles always provide [20] resources"
|
|||||||
Applicable to: Resource
|
Applicable to: Resource
|
||||||
|
|
||||||
#### Can only be created by Mercantile City-States
|
#### Can only be created by Mercantile City-States
|
||||||
Example: "Can only be created by Mercantile City-States"
|
|
||||||
|
|
||||||
Applicable to: Resource
|
Applicable to: Resource
|
||||||
|
|
||||||
## Improvement uniques
|
## Improvement uniques
|
||||||
#### Can also be built on tiles adjacent to fresh water
|
#### Can also be built on tiles adjacent to fresh water
|
||||||
Example: "Can also be built on tiles adjacent to fresh water"
|
|
||||||
|
|
||||||
Applicable to: Improvement
|
Applicable to: Improvement
|
||||||
|
|
||||||
#### [stats] from [tileFilter] tiles
|
#### [stats] from [tileFilter] tiles
|
||||||
@ -787,13 +707,9 @@ Example: "[+1 Gold, +2 Production] for each adjacent [Farm]"
|
|||||||
Applicable to: Improvement
|
Applicable to: Improvement
|
||||||
|
|
||||||
#### Can be built outside your borders
|
#### Can be built outside your borders
|
||||||
Example: "Can be built outside your borders"
|
|
||||||
|
|
||||||
Applicable to: Improvement
|
Applicable to: Improvement
|
||||||
|
|
||||||
#### Can be built just outside your borders
|
#### Can be built just outside your borders
|
||||||
Example: "Can be built just outside your borders"
|
|
||||||
|
|
||||||
Applicable to: Improvement
|
Applicable to: Improvement
|
||||||
|
|
||||||
#### Cannot be built on [tileFilter] tiles until [tech] is discovered
|
#### Cannot be built on [tileFilter] tiles until [tech] is discovered
|
||||||
@ -827,158 +743,130 @@ Example: "Deal [20] damage to adjacent enemy units"
|
|||||||
Applicable to: Improvement
|
Applicable to: Improvement
|
||||||
|
|
||||||
#### Great Improvement
|
#### Great Improvement
|
||||||
Example: "Great Improvement"
|
|
||||||
|
|
||||||
Applicable to: Improvement
|
Applicable to: Improvement
|
||||||
|
|
||||||
#### Provides a random bonus when entered
|
#### Provides a random bonus when entered
|
||||||
Example: "Provides a random bonus when entered"
|
|
||||||
|
|
||||||
Applicable to: Improvement
|
Applicable to: Improvement
|
||||||
|
|
||||||
#### Unpillagable
|
#### Unpillagable
|
||||||
Example: "Unpillagable"
|
|
||||||
|
|
||||||
Applicable to: Improvement
|
Applicable to: Improvement
|
||||||
|
|
||||||
#### Indestructible
|
#### Indestructible
|
||||||
Example: "Indestructible"
|
|
||||||
|
|
||||||
Applicable to: Improvement
|
Applicable to: Improvement
|
||||||
|
|
||||||
## Conditional uniques
|
## Conditional uniques
|
||||||
#### when at war
|
#### <when at war>
|
||||||
Example: "when at war"
|
Applicable to: Conditional
|
||||||
|
|
||||||
|
#### <when not at war>
|
||||||
|
Applicable to: Conditional
|
||||||
|
|
||||||
|
#### <while the empire is happy>
|
||||||
|
Applicable to: Conditional
|
||||||
|
|
||||||
|
#### <during a Golden Age>
|
||||||
|
Applicable to: Conditional
|
||||||
|
|
||||||
|
#### <during the [era]>
|
||||||
|
Example: "<during the [era]>"
|
||||||
|
|
||||||
Applicable to: Conditional
|
Applicable to: Conditional
|
||||||
|
|
||||||
#### when not at war
|
#### <before the [era]>
|
||||||
Example: "when not at war"
|
Example: "<before the [era]>"
|
||||||
|
|
||||||
Applicable to: Conditional
|
Applicable to: Conditional
|
||||||
|
|
||||||
#### while the empire is happy
|
#### <starting from the [era]>
|
||||||
Example: "while the empire is happy"
|
Example: "<starting from the [era]>"
|
||||||
|
|
||||||
Applicable to: Conditional
|
Applicable to: Conditional
|
||||||
|
|
||||||
#### during a Golden Age
|
#### <after discovering [tech]>
|
||||||
Example: "during a Golden Age"
|
Example: "<after discovering [tech]>"
|
||||||
|
|
||||||
Applicable to: Conditional
|
Applicable to: Conditional
|
||||||
|
|
||||||
#### during the [era]
|
#### <before discovering [tech]>
|
||||||
Example: "during the [era]"
|
Example: "<before discovering [tech]>"
|
||||||
|
|
||||||
Applicable to: Conditional
|
Applicable to: Conditional
|
||||||
|
|
||||||
#### before the [era]
|
#### <after adopting [policy]>
|
||||||
Example: "before the [era]"
|
Example: "<after adopting [policy]>"
|
||||||
|
|
||||||
Applicable to: Conditional
|
Applicable to: Conditional
|
||||||
|
|
||||||
#### starting from the [era]
|
#### <before adopting [policy]>
|
||||||
Example: "starting from the [era]"
|
Example: "<before adopting [policy]>"
|
||||||
|
|
||||||
Applicable to: Conditional
|
Applicable to: Conditional
|
||||||
|
|
||||||
#### after discovering [tech]
|
#### <if this city has at least [amount] specialists>
|
||||||
Example: "after discovering [tech]"
|
Example: "<if this city has at least [20] specialists>"
|
||||||
|
|
||||||
Applicable to: Conditional
|
Applicable to: Conditional
|
||||||
|
|
||||||
#### before discovering [tech]
|
#### <for [mapUnitFilter] units>
|
||||||
Example: "before discovering [tech]"
|
Example: "<for [Wounded] units>"
|
||||||
|
|
||||||
Applicable to: Conditional
|
Applicable to: Conditional
|
||||||
|
|
||||||
#### after adopting [policy]
|
#### <vs cities>
|
||||||
Example: "after adopting [policy]"
|
Applicable to: Conditional
|
||||||
|
|
||||||
|
#### <vs [mapUnitFilter] units>
|
||||||
|
Example: "<vs [Wounded] units>"
|
||||||
|
|
||||||
Applicable to: Conditional
|
Applicable to: Conditional
|
||||||
|
|
||||||
#### before adopting [policy]
|
#### <when fighting units from a Civilization with more Cities than you>
|
||||||
Example: "before adopting [policy]"
|
Applicable to: Conditional
|
||||||
|
|
||||||
|
#### <when attacking>
|
||||||
|
Applicable to: Conditional
|
||||||
|
|
||||||
|
#### <when defending>
|
||||||
|
Applicable to: Conditional
|
||||||
|
|
||||||
|
#### <when fighting in [tileFilter] tiles>
|
||||||
|
Example: "<when fighting in [Farm] tiles>"
|
||||||
|
|
||||||
Applicable to: Conditional
|
Applicable to: Conditional
|
||||||
|
|
||||||
#### if this city has at least [amount] specialists
|
#### <on foreign continents>
|
||||||
Example: "if this city has at least [20] specialists"
|
Applicable to: Conditional
|
||||||
|
|
||||||
|
#### <when above [amount] HP>
|
||||||
|
Example: "<when above [20] HP>"
|
||||||
|
|
||||||
Applicable to: Conditional
|
Applicable to: Conditional
|
||||||
|
|
||||||
#### for [mapUnitFilter] units
|
#### <when below [amount] HP>
|
||||||
Example: "for [Wounded] units"
|
Example: "<when below [20] HP>"
|
||||||
|
|
||||||
Applicable to: Conditional
|
Applicable to: Conditional
|
||||||
|
|
||||||
#### vs cities
|
#### <with [amount] to [amount] neighboring [tileFilter] tiles>
|
||||||
Example: "vs cities"
|
Example: "<with [20] to [20] neighboring [Farm] tiles>"
|
||||||
|
|
||||||
Applicable to: Conditional
|
Applicable to: Conditional
|
||||||
|
|
||||||
#### vs [mapUnitFilter] units
|
#### <with [amount] to [amount] neighboring [tileFilter] [tileFilter] tiles>
|
||||||
Example: "vs [Wounded] units"
|
Example: "<with [20] to [20] neighboring [Farm] [Farm] tiles>"
|
||||||
|
|
||||||
Applicable to: Conditional
|
Applicable to: Conditional
|
||||||
|
|
||||||
#### when fighting units from a Civilization with more Cities than you
|
#### <on water maps>
|
||||||
Example: "when fighting units from a Civilization with more Cities than you"
|
Applicable to: Conditional
|
||||||
|
|
||||||
|
#### <in [regionType] Regions>
|
||||||
|
Example: "<in [regionType] Regions>"
|
||||||
|
|
||||||
Applicable to: Conditional
|
Applicable to: Conditional
|
||||||
|
|
||||||
#### when attacking
|
#### <in all except [regionType] Regions>
|
||||||
Example: "when attacking"
|
Example: "<in all except [regionType] Regions>"
|
||||||
|
|
||||||
Applicable to: Conditional
|
|
||||||
|
|
||||||
#### when defending
|
|
||||||
Example: "when defending"
|
|
||||||
|
|
||||||
Applicable to: Conditional
|
|
||||||
|
|
||||||
#### when fighting in [tileFilter] tiles
|
|
||||||
Example: "when fighting in [Farm] tiles"
|
|
||||||
|
|
||||||
Applicable to: Conditional
|
|
||||||
|
|
||||||
#### on foreign continents
|
|
||||||
Example: "on foreign continents"
|
|
||||||
|
|
||||||
Applicable to: Conditional
|
|
||||||
|
|
||||||
#### when above [amount] HP
|
|
||||||
Example: "when above [20] HP"
|
|
||||||
|
|
||||||
Applicable to: Conditional
|
|
||||||
|
|
||||||
#### when below [amount] HP
|
|
||||||
Example: "when below [20] HP"
|
|
||||||
|
|
||||||
Applicable to: Conditional
|
|
||||||
|
|
||||||
#### with [amount] to [amount] neighboring [tileFilter] tiles
|
|
||||||
Example: "with [20] to [20] neighboring [Farm] tiles"
|
|
||||||
|
|
||||||
Applicable to: Conditional
|
|
||||||
|
|
||||||
#### with [amount] to [amount] neighboring [tileFilter] [tileFilter] tiles
|
|
||||||
Example: "with [20] to [20] neighboring [Farm] [Farm] tiles"
|
|
||||||
|
|
||||||
Applicable to: Conditional
|
|
||||||
|
|
||||||
#### on water maps
|
|
||||||
Example: "on water maps"
|
|
||||||
|
|
||||||
Applicable to: Conditional
|
|
||||||
|
|
||||||
#### in [regionType] Regions
|
|
||||||
Example: "in [regionType] Regions"
|
|
||||||
|
|
||||||
Applicable to: Conditional
|
|
||||||
|
|
||||||
#### in all except [regionType] Regions
|
|
||||||
Example: "in all except [regionType] Regions"
|
|
||||||
|
|
||||||
Applicable to: Conditional
|
Applicable to: Conditional
|
||||||
|
|
||||||
@ -1009,8 +897,6 @@ Example: "Gain [20]-[20] [Culture]"
|
|||||||
Applicable to: Ruins
|
Applicable to: Ruins
|
||||||
|
|
||||||
#### Gain enough Faith for a Pantheon
|
#### Gain enough Faith for a Pantheon
|
||||||
Example: "Gain enough Faith for a Pantheon"
|
|
||||||
|
|
||||||
Applicable to: Ruins
|
Applicable to: Ruins
|
||||||
|
|
||||||
#### Gain enough Faith for [amount]% of a Great Prophet
|
#### Gain enough Faith for [amount]% of a Great Prophet
|
||||||
@ -1034,28 +920,18 @@ Example: "This Unit gains [20] XP"
|
|||||||
Applicable to: Ruins
|
Applicable to: Ruins
|
||||||
|
|
||||||
#### This Unit upgrades for free including special upgrades
|
#### This Unit upgrades for free including special upgrades
|
||||||
Example: "This Unit upgrades for free including special upgrades"
|
|
||||||
|
|
||||||
Applicable to: Ruins
|
Applicable to: Ruins
|
||||||
|
|
||||||
#### Hidden when religion is disabled
|
#### Hidden when religion is disabled
|
||||||
Example: "Hidden when religion is disabled"
|
|
||||||
|
|
||||||
Applicable to: Ruins, Building, Unit
|
Applicable to: Ruins, Building, Unit
|
||||||
|
|
||||||
#### Hidden before founding a Pantheon
|
#### Hidden before founding a Pantheon
|
||||||
Example: "Hidden before founding a Pantheon"
|
|
||||||
|
|
||||||
Applicable to: Ruins
|
Applicable to: Ruins
|
||||||
|
|
||||||
#### Hidden after founding a Pantheon
|
#### Hidden after founding a Pantheon
|
||||||
Example: "Hidden after founding a Pantheon"
|
|
||||||
|
|
||||||
Applicable to: Ruins
|
Applicable to: Ruins
|
||||||
|
|
||||||
#### Hidden after generating a Great Prophet
|
#### Hidden after generating a Great Prophet
|
||||||
Example: "Hidden after generating a Great Prophet"
|
|
||||||
|
|
||||||
Applicable to: Ruins
|
Applicable to: Ruins
|
||||||
|
|
||||||
#### Only available after [amount] turns
|
#### Only available after [amount] turns
|
||||||
|
Loading…
x
Reference in New Issue
Block a user