* Added a next turn menu to skip all the next unit actions
* Added a move automated units button
* Added whitespace
* Added unique NextTurnMenu KeyboardBindings
* Minor Quest/QuestManager linting
* Cache Quest and QuestName references and use them
* Nicer randomWeighted and fix UniqueType.ResourceWeighting
* Integrate @soggerr's #10739 - show tied leaders and your position if you aren't leading
* One more lint
* Added ConditionalWhenBetweenStatResource unique
* Currently the ConditionalBetweenHappiness function only applies to Happiness. Wouldn't it be more better if it could also be extended to other stats and resources. 😊
* Resolved the issue with ConditionalWhenAboveStatResource, ConditionalWhenBelowStatResource, and their modified speed versions not functioning properly on city-level stats (food & production).
This new unique has been tested using the following examples:
1. In GlobalUniques.json:
- "[+12]% [Gold] [in all cities] <when between [1] to [100] [Gold]>",
- "[+24]% [Gold] [in all cities] <when between [1] to [100] [Gold] (modified by game speed)>",
2. In Buildings.json:
- "[+12]% [Production] [in this city] <when between [1] to [5] [Production]>",
- "[+12]% [Food] [in this city] <when between [1] to [5] [Food]>",
* Update uniques.md
* Correct english mistake of the new unique
* Refactor checkResourceOrStatAmount function
* Unified all related functions into one
* Avoid using folder listing for tileset sanity checks for builtin rulesets from jar
* Remove an unnecessary java import
* Revert the builtin-tileset-within-jar special check, not necessary for a release
* Make source object available to RulesetErrorList.add
* Make ruleset available to RulesetErrorList
* Introduce UniqueTarget.MetaModifier - ModifierHiddenFromUsers won't stay alone
* There was no use of prefix without the unique name - fold
* Introduce UniqueTarget.MetaModifier - doc
* Pass context down even inside UniqueValidator, convenience factory for limited RulesetErrorList's
* Clean up RulesetErrorList.of factory
* Reorder parameters of RulesetErrorList.add
* Suppression Unique and implementation
* Remove logging
* Remove unused "Closing page" feature from TabbedPager
* Minor linting
* Ensure Popup's innerTable doesn't exceed its Cell within Popup
* Change a few defaults and remove a misguided comment
* Move OptionPopup's close button to top right - another Red X
* Fix double-count of civ-wide resources, while allowing propagation of city-wide resources via uniques
* Added test to ensure civ-wide resources propagate between cities (they do)
GetResourceAmount -> GetAvailableResourceAmount
* Extra clarity in function names! Better than possible confusion.
* Bump version and create initial changelog entry
* Update French.properties (#11214)
* Update Italian.properties (#11211)
* Update Brazilian_Portuguese.properties (#11210)
* Update Indonesian.properties (#11209)
* Update Indonesian.properties
Fixed and added translation to some words.
* Update Indonesian.properties
* Update Indonesian.properties
* Added a Russian translation for the introductory text of Queen Elizabeth (#11206)
This is a translation close to the text. However, I have tried to keep the solemn style in translation, so there is a slight departure from the original.
---------
Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
Co-authored-by: M792003 <158552928+M792003@users.noreply.github.com>
Co-authored-by: NoobTutorial <142553623+NoobTutorial@users.noreply.github.com>
* ScrollableAnimatedMenuPopup widget and base UnitUpgradeMenu off it
* More lack of resources info in UnitUpgradeMenu
* Make UnitUpgradeMenu available even if you can't afford any upgrade
* Military units prioritize healing more
* Military units try to pillage tiles when attacking
* tryHeal() now tries to pillage multiple times if a unit have more movement
* Barbarians now pillage more
* Units stay healing on its tile if it can heal in two turns
* Units will heal when no enemies are around in their territory
* TryHealUnit returns false after pillaging to full health
* Refactored canUnitHealInTurnsOnCurrentTile
* Refactored movePreparingAttack pillaging