mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-04 07:17:50 +07:00
Added trigger conditions framework!
This commit is contained in:
@ -30,6 +30,11 @@ Simple unique parameters are explained by mouseover. Complex parameters are expl
|
||||
|
||||
Applicable to: Triggerable
|
||||
|
||||
??? example "[amount] population in a random city"
|
||||
Example: "[3] population in a random city"
|
||||
|
||||
Applicable to: Triggerable
|
||||
|
||||
??? example "Free Technology"
|
||||
Applicable to: Triggerable
|
||||
|
||||
@ -38,6 +43,11 @@ Simple unique parameters are explained by mouseover. Complex parameters are expl
|
||||
|
||||
Applicable to: Triggerable
|
||||
|
||||
??? example "[amount] free random researchable Tech(s) from the [era]"
|
||||
Example: "[3] free random researchable Tech(s) from the [Ancient era]"
|
||||
|
||||
Applicable to: Triggerable
|
||||
|
||||
??? example "Reveals the entire map"
|
||||
Applicable to: Triggerable
|
||||
|
||||
@ -49,6 +59,24 @@ Simple unique parameters are explained by mouseover. Complex parameters are expl
|
||||
??? example "Triggers voting for the Diplomatic Victory"
|
||||
Applicable to: Triggerable
|
||||
|
||||
??? example "Gain [amount] [stat]"
|
||||
Example: "Gain [3] [Culture]"
|
||||
|
||||
Applicable to: Triggerable
|
||||
|
||||
??? example "Gain [amount]-[amount] [stat]"
|
||||
Example: "Gain [3]-[3] [Culture]"
|
||||
|
||||
Applicable to: Triggerable
|
||||
|
||||
??? example "Gain enough Faith for a Pantheon"
|
||||
Applicable to: Triggerable
|
||||
|
||||
??? example "Gain enough Faith for [amount]% of a Great Prophet"
|
||||
Example: "Gain enough Faith for [3]% of a Great Prophet"
|
||||
|
||||
Applicable to: Triggerable
|
||||
|
||||
??? example "This Unit gains the [promotion] promotion"
|
||||
Example: "This Unit gains the [Shock I] promotion"
|
||||
|
||||
@ -70,7 +98,7 @@ Simple unique parameters are explained by mouseover. Complex parameters are expl
|
||||
Applicable to: Triggerable
|
||||
|
||||
??? example "Will not be displayed in Civilopedia"
|
||||
Applicable to: Triggerable, Global, Nation, Era, Tech, Policy, FounderBelief, FollowerBelief, Building, Wonder, Unit, UnitType, Promotion, Terrain, Improvement, Resource, Ruins, Speed, Tutorial, CityState, ModOptions, Conditional
|
||||
Applicable to: Triggerable, Global, Nation, Era, Tech, Policy, FounderBelief, FollowerBelief, Building, Wonder, Unit, UnitType, Promotion, Terrain, Improvement, Resource, Ruins, Speed, Tutorial, CityState, ModOptions, Conditional, TriggerCondition
|
||||
|
||||
## Global uniques
|
||||
??? example "[stats]"
|
||||
@ -1579,34 +1607,6 @@ Simple unique parameters are explained by mouseover. Complex parameters are expl
|
||||
|
||||
Applicable to: Ruins
|
||||
|
||||
??? example "[amount] population in a random city"
|
||||
Example: "[3] population in a random city"
|
||||
|
||||
Applicable to: Ruins
|
||||
|
||||
??? example "[amount] free random researchable Tech(s) from the [era]"
|
||||
Example: "[3] free random researchable Tech(s) from the [Ancient era]"
|
||||
|
||||
Applicable to: Ruins
|
||||
|
||||
??? example "Gain [amount] [stat]"
|
||||
Example: "Gain [3] [Culture]"
|
||||
|
||||
Applicable to: Ruins
|
||||
|
||||
??? example "Gain [amount]-[amount] [stat]"
|
||||
Example: "Gain [3]-[3] [Culture]"
|
||||
|
||||
Applicable to: Ruins
|
||||
|
||||
??? example "Gain enough Faith for a Pantheon"
|
||||
Applicable to: Ruins
|
||||
|
||||
??? example "Gain enough Faith for [amount]% of a Great Prophet"
|
||||
Example: "Gain enough Faith for [3]% of a Great Prophet"
|
||||
|
||||
Applicable to: Ruins
|
||||
|
||||
??? example "Reveal up to [amount/'all'] [tileFilter] within a [amount] tile radius"
|
||||
Example: "Reveal up to [3] [Farm] within a [3] tile radius"
|
||||
|
||||
@ -1869,6 +1869,12 @@ Simple unique parameters are explained by mouseover. Complex parameters are expl
|
||||
|
||||
Applicable to: Conditional
|
||||
|
||||
## TriggerCondition uniques
|
||||
??? example "upon discovering [tech]"
|
||||
Example: "upon discovering [Agriculture]"
|
||||
|
||||
Applicable to: TriggerCondition
|
||||
|
||||
|
||||
*[action]: An action that a unit can perform. Currently, there are only two actions part of this: 'Spread Religion' and 'Remove Foreign religions from your own cities'
|
||||
*[amount]: This indicates a whole number, possibly with a + or - sign, such as `2`, `+13`, or `-3`.
|
||||
|
Reference in New Issue
Block a user