* Events!

* Whoops

* Resolved #11277 - "Upon turn end" also works for unit uniques
This commit is contained in:
Yair Morgenstern
2024-03-09 21:26:45 +02:00
committed by GitHub
parent 86f0ed6e85
commit 20b4e6674b
10 changed files with 119 additions and 16 deletions

View File

@ -159,6 +159,11 @@ Simple unique parameters are explained by mouseover. Complex parameters are expl
Applicable to: Triggerable
??? example "Triggers a [event] event"
Example: "Triggers a [Inspiration] event"
Applicable to: Triggerable
??? example "Suppress warning [validationWarning]"
Allows suppressing specific validation warnings. Errors, deprecation warnings, or warnings about untyped and non-filtering uniques should be heeded, not suppressed, and are therefore not accepted. Note that this can be used in ModOptions, in the uniques a warning is about, or as modifier on the unique triggering a warning - but you still need to be specific. Even in the modifier case you will need to specify a sufficiently selective portion of the warning text as parameter.
Example: "Suppress warning [Tinman is supposed to automatically upgrade at tech Clockwork, and therefore Servos for its upgrade Mecha may not yet be researched! -or- *is supposed to automatically upgrade*]"
@ -2374,6 +2379,7 @@ Simple unique parameters are explained by mouseover. Complex parameters are expl
*[combatantFilter]: This indicates a combatant, which can either be a unit or a city (when bombarding). Must either be `City` or a `mapUnitFilter`.
*[costOrStrength]: `Cost` or `Strength`.
*[era]: The name of any era.
*[event]: The name of any event.
*[foundingOrEnhancing]: `founding` or `enhancing`.
*[fraction]: Indicates a fractional number, which can be negative.
*[improvementName]: The name of any improvement.