Unciv/core
SeventhM 405655d51d
Allow filter uniques to have conditionals and work with modifiers (#12404)
* Allow filter uniques to have conditionals

* Move cache to inside the multifilter

* Move Civ caching to nation

* Might as well remove a use of let

* Forgot to remove check

* Might as well edit these for consistency

* Avoid checking unit filters twice where necessary

* Probably the wrong way to fix this, Idk where I should put the fix instead

* Remove extra parenthesis

* Don't multiFilter if we know it won't do anything

* Apparently, issues for initialized tiles can exist for cities too

* Lower cpu cost for changes - use consistent StateForConditionals, set once when loading map and again every time there is an ownership change

* Resolves #12483 - add gameInfo to tile state so game-wide conditionals will work

---------

Co-authored-by: yairm210 <yairm210@hotmail.com>
2024-11-17 11:37:47 +02:00
..
src/com/unciv Allow filter uniques to have conditionals and work with modifiers (#12404) 2024-11-17 11:37:47 +02:00
build.gradle.kts Remove jvmToolchain so everyone can use their default (#12388) 2024-11-01 11:48:33 +02:00