Unciv/core/src/com/unciv
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
..
json
logic Allow filter uniques to have conditionals and work with modifiers (#12404) 2024-11-17 11:37:47 +02:00
models Allow filter uniques to have conditionals and work with modifiers (#12404) 2024-11-17 11:37:47 +02:00
ui Allow filter uniques to have conditionals and work with modifiers (#12404) 2024-11-17 11:37:47 +02:00
utils Lint: Move CollectionExtensions (#12320) 2024-10-21 10:12:56 +03:00
Constants.kt
GUI.kt
UncivGame.kt 4.14.6-patch1 2024-11-14 11:47:38 +00:00