Unciv/tests
Yair Morgenstern 6d48f99206
Trigger uniques by sacrificing units with conditional (#6157)
* Triggered uniques currently come from researching techs, adopting policies, and building buildings.
This adds a third way of triggering uniques, by attaching them to units with a "by consuming this unit" conditional, which will be added as a possible unit action.
So for example, "[amount] Free Technologies <by consuming this unit>", "Reveals the entire map <by consuming this unit>" etc.

* Added a new uniquetype for triggerable uniques, to make them separate from regular global uniques, so that triggerable uniques can become unit uniques when necessary

* And added translations so the tests will pass
2022-02-19 19:38:39 +02:00
..
src/com/unciv Trigger uniques by sacrificing units with conditional (#6157) 2022-02-19 19:38:39 +02:00
build.gradle.kts Bumped sourceCompatibility to Java 7 2021-08-20 15:24:02 +03:00