mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-04 15:27:50 +07:00
Modding: global alert available as triggerable for all objects
This commit is contained in:
@ -351,7 +351,7 @@ enum class UniqueType(val text: String, vararg targets: UniqueTarget, val flags:
|
||||
|
||||
FoundCity("Founds a new city", UniqueTarget.Unit),
|
||||
|
||||
ConstructImprovementInstantly("Can instantly construct a [improvementName] improvement", UniqueTarget.Unit),
|
||||
ConstructImprovementInstantly("Can instantly construct a [improvementFilter] improvement", UniqueTarget.Unit),
|
||||
@Deprecated("as of 4.5.2", ReplaceWith("Can instantly construct a [improvementName] improvement <by consuming this unit>"))
|
||||
ConstructImprovementConsumingUnit("Can construct [improvementName]", UniqueTarget.Unit),
|
||||
BuildImprovements("Can build [improvementFilter/terrainFilter] improvements on tiles", UniqueTarget.Unit),
|
||||
@ -726,7 +726,7 @@ enum class UniqueType(val text: String, vararg targets: UniqueTarget, val flags:
|
||||
// Or just reword it without the 'up to', so it reads "Reveal [amount/'all'] [tileFilter] tiles within [amount] tiles"
|
||||
OneTimeRevealSpecificMapTiles("Reveal up to [amount/'all'] [tileFilter] within a [amount] tile radius", UniqueTarget.Ruins),
|
||||
OneTimeRevealCrudeMap("From a randomly chosen tile [amount] tiles away from the ruins, reveal tiles up to [amount] tiles away with [amount]% chance", UniqueTarget.Ruins),
|
||||
OneTimeGlobalAlert("Triggers the following global alert: [comment]", UniqueTarget.Policy), // used in Policy
|
||||
OneTimeGlobalAlert("Triggers the following global alert: [comment]", UniqueTarget.Triggerable), // used in Policy
|
||||
OneTimeGlobalSpiesWhenEnteringEra("Every major Civilization gains a spy once a civilization enters this era", UniqueTarget.Era),
|
||||
|
||||
OneTimeUnitHeal("Heal this unit by [amount] HP", UniqueTarget.UnitTriggerable),
|
||||
|
@ -92,6 +92,11 @@ Simple unique parameters are explained by mouseover. Complex parameters are expl
|
||||
|
||||
Applicable to: Triggerable
|
||||
|
||||
??? example "Triggers the following global alert: [comment]"
|
||||
Example: "Triggers the following global alert: [comment]"
|
||||
|
||||
Applicable to: Triggerable
|
||||
|
||||
??? example "[mapUnitFilter] units gain the [promotion] promotion"
|
||||
Example: "[Wounded] units gain the [Shock I] promotion"
|
||||
|
||||
@ -873,12 +878,6 @@ Simple unique parameters are explained by mouseover. Complex parameters are expl
|
||||
??? example "Cannot be hurried"
|
||||
Applicable to: Tech, Building
|
||||
|
||||
## Policy uniques
|
||||
??? example "Triggers the following global alert: [comment]"
|
||||
Example: "Triggers the following global alert: [comment]"
|
||||
|
||||
Applicable to: Policy
|
||||
|
||||
## FounderBelief uniques
|
||||
??? example "[stats] for each global city following this religion"
|
||||
Example: "[+1 Gold, +2 Production] for each global city following this religion"
|
||||
@ -1044,8 +1043,8 @@ Simple unique parameters are explained by mouseover. Complex parameters are expl
|
||||
??? example "Founds a new city"
|
||||
Applicable to: Unit
|
||||
|
||||
??? example "Can instantly construct a [improvementName] improvement"
|
||||
Example: "Can instantly construct a [Trading Post] improvement"
|
||||
??? example "Can instantly construct a [improvementFilter] improvement"
|
||||
Example: "Can instantly construct a [All Road] improvement"
|
||||
|
||||
Applicable to: Unit
|
||||
|
||||
|
Reference in New Issue
Block a user