d6ac736d6e
perf: Only attempt to get game ID for multiplayer game if current game is actually multiplayer
2024-03-09 23:45:09 +02:00
55aa3d56e6
4.10.17-patch1
2024-03-09 23:40:08 +02:00
9a70ad631e
Don't update city stats when simulating improvement changes to see new stats!
2024-03-09 23:38:16 +02:00
1bc3c4de04
Catch error we've been encountering for a while but can't actually debug :(
...
Async fun, as if, async is *not* fun
2024-03-09 23:31:09 +02:00
d76ade3d44
4.10.17
2024-03-09 23:24:20 +02:00
1558a1dc6f
Version rollout ( #11282 )
...
* Bump version and create initial changelog entry
* Update Catalan.properties (#11281 )
* Create Norwegian.properties (#11275 )
* Create Norwegian.properties
Created Norwegian.properties and some translations.
* Update Norwegian.properties
Updated and added more translations.
* Update Norwegian.properties
Added missing placeholders [civName], [city], [amount], and [mod], as well as a couple new translations.
* Update completionPercentages.properties
Added 'Norwegian = 0' to the percentages.
* Create folder /no/
Created the folder /no/ with the description files in Norwegian.
* Delete fastlane/metadata/android/no directory
Wrongfully created the folder and files.
* Update Norwegian.properties
Added Fastlane descriptions, other translations
* Added Norwegian.png
* Delete android/Images.Flags/FlagIcons/Norwegian.png
Removed for wrong size
* Create Norwegian.png
Correct size for Norwegian flag.
* Update Czech.properties (#11273 )
* Translation part 1
* Translation part 2
* Translation part 3
* Fix brain not braining moment
* Translated Wesnoth map import lines
* Update French.properties (#11271 )
* Update Italian.properties (#11270 )
* Update Brazilian_Portuguese.properties (#11266 )
* Update Brazilian_Portuguese.properties
* Update Brazilian_Portuguese.properties
* Update Indonesian.properties (#11265 )
* Update Indonesian.properties
Added and fixed the translation.
* Update Indonesian.properties
* Add the Conditional Unique for checking speed (#11260 )
* Added the conditionalSpeed unique
* Changed the unique wording
---------
Co-authored-by: yairm210 <yairm210@users.noreply.github.com >
Co-authored-by: Joan Josep <juanjo.ng.83@gmail.com >
Co-authored-by: Floxudoxu <67422605+Floxudoxu@users.noreply.github.com >
Co-authored-by: jahodovykolac <79529669+jahodovykolac@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: PLynx <pawelrys2011@gmail.com >
2024-03-09 23:07:39 +02:00
9d1614372e
Fixed swapping a unit with a unit that is escorting ( #11268 )
2024-03-09 23:05:49 +02:00
b10ed5ff87
Next turn button reactivates after closing a popup menu ( #11267 )
2024-03-09 23:05:39 +02:00
41b29256fe
River terraform ( #11256 )
...
* Allow terraformers to place Rivers
* Someone said Ruleset is not a Set
* Turn setConnectedByRiver into a public Tile API
* Follow review suggestions
2024-03-09 23:02:18 +02:00
44528d26d0
Added ruleset validation for event uniques
2024-03-09 22:59:43 +02:00
20b4e6674b
Events! ( #11276 )
...
* Events!
* Whoops
* Resolved #11277 - "Upon turn end" also works for unit uniques
2024-03-09 21:26:45 +02:00
abf54c7039
Version rollout ( #11263 )
...
* Bump version and create initial changelog entry
* Update Polish.properties (#11259 )
* Update Italian.properties (#11258 )
* Update Ukrainian.properties - added missing translations (#11251 )
* Update French.properties (#11248 )
* Update Brazilian_Portuguese.properties (#11247 )
* Update Indonesian.properties (#11242 )
* Update Indonesian.properties
Added and fixed translation.
* Update Indonesian.properties
* Update Indonesian.properties
* Update Indonesian.properties
---------
Co-authored-by: yairm210 <yairm210@users.noreply.github.com >
Co-authored-by: Lesiakower <125187776+Lesiakower@users.noreply.github.com >
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com >
Co-authored-by: Mykola Makhin <mvmn.inbox@gmail.com >
Co-authored-by: Ouaz <Ouaz@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 >
2024-03-05 23:31:08 +02:00
28e0e7ee2c
Skip next unit button ( #11244 )
...
* Added a next turn menu to skip all the next unit actions
* Added a move automated units button
* Added whitespace
* Added unique NextTurnMenu KeyboardBindings
2024-03-05 23:06:13 +02:00
b5a39bbb39
Centralize infinity symbol ( #11257 )
2024-03-05 23:05:41 +02:00
06a675c44f
More city filters ( #11253 )
2024-03-05 23:05:31 +02:00
60d93e5ff9
Allow AI to consider production bonuses when building ( #11254 )
...
* Allow AI to consider production bonuses when building
* Optimization
2024-03-05 23:05:15 +02:00
8100d0bf73
Better Unit Actions Sorting ( #11243 )
...
* Added a use frequency to UnitAction that allows for the buttons to be sorted
* Improved use frequency ordering
* Chained useFrequency to be a float
2024-03-05 23:05:01 +02:00
d5fda541ad
Competition quests in progress display tied leaders (and your place if you're behind) ( #11224 )
...
* 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
2024-03-05 23:04:40 +02:00
31931d3849
Added ConditionalWhenBetweenStatResource unique ( #11212 )
...
* 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
2024-03-05 22:40:27 +02:00
03a30ea7c9
Doc for stats per policies
2024-03-03 21:55:24 +02:00
abc876f4a1
Allow multifilter uniques to count for filtering
2024-03-03 21:51:15 +02:00
0cfee86864
4.10.15
2024-03-03 21:29:55 +02:00
a0985194fb
Options popup closes naturally
2024-03-03 21:28:15 +02:00
47e3397fae
Version rollout ( #11241 )
...
* Bump version and create initial changelog entry
* Update Filipino.properties (#11240 )
* Update Catalan.properties (#11237 )
* Update French.properties (#11226 )
* Update Brazilian_Portuguese.properties (#11223 )
* Update Italian.properties (#11222 )
* Update Indonesian.properties (#11221 )
Added and fixed the translation of some words.
---------
Co-authored-by: yairm210 <yairm210@users.noreply.github.com >
Co-authored-by: Earl <86307061+Earl8D@users.noreply.github.com >
Co-authored-by: Joan Josep <juanjo.ng.83@gmail.com >
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com >
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com >
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com >
Co-authored-by: M792003 <158552928+M792003@users.noreply.github.com >
2024-03-03 21:12:00 +02:00
5e685e10aa
Fix tileset sanity check for builtin rulesets when run from jar ( #11230 )
...
* 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
2024-03-03 20:03:40 +02:00
3869f8e4a5
Improve DiplomacyScreen left side UX (nation icons) on really cramped screens ( #11227 )
2024-03-03 20:03:27 +02:00
d99bd03277
Allow city state uniques for nation descriptions ( #11232 )
2024-03-03 20:03:20 +02:00
2d1e55a4d4
Add MovedToNewCapital buiding unique ( #11213 )
...
* Added MovedToNewCapital building unique
Yet to be tested
* Applied the suggestions
Of @yairm210 and @SomeTroglodyte
2024-03-03 20:03:12 +02:00
61972cd50e
Move DiplomacyScreen close button to top right ( #11225 )
2024-03-03 20:03:04 +02:00
69c047790e
Validation warning Suppression as Unique or modifier ( #11142 )
...
* 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
2024-03-03 20:02:54 +02:00
657ec94f4a
Better military unit retreat ( #11192 )
...
* Refactored tryRetreat checking if a tile has a unit or not
* Refactored tryRetreat to put ourDistanceToClosestEnemy outside of the loop
2024-03-03 20:02:42 +02:00
d843ac0c68
UI: Fix options popup "spilling" in cramped screen conditions ( #11235 )
...
* 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
2024-03-03 20:02:31 +02:00
b577f5ee9a
Fix double-count of civ-wide resources, while allowing propagation of city-wide resources via uniques ( #11236 )
...
* 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.
2024-03-03 20:02:21 +02:00
2ec4d3be8e
Changed tech trigger to accept tech filters
2024-03-03 19:40:52 +02:00
971758f732
Version rollout ( #11220 )
...
* 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 >
2024-02-29 00:13:33 +02:00
e6893ef298
AI tile evaluation considers Faith
2024-02-29 00:06:42 +02:00
83fb2d048c
Unit upgrade menu can scroll ( #11218 )
...
* 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
2024-02-28 23:53:04 +02:00
8946ee8bfa
Remove unnecessary/harmful open
on classes without subclasses ( #11217 )
...
* Remove open modifier from classes never actually subclassed
* Correct resulting compilation errors with readabilty improvement
2024-02-28 23:52:46 +02:00
6a61a71c36
Type declaration colon blanks linting ( #11216 )
2024-02-28 23:46:21 +02:00
a5f1ba0401
Military unit healing improvement ( #11195 )
...
* 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
2024-02-28 23:45:35 +02:00
c8f9f38d96
Some linting and readability helpers ( #11215 )
2024-02-28 23:41:39 +02:00
ce8a7e9e3e
Mods with no policy branches don't crash when clicking on culture icon
2024-02-27 23:37:54 +02:00
9054d84626
Simplified blockade function
2024-02-27 19:46:15 +02:00
4f5fdf1727
Civ-wide uniques for city-wide resources
2024-02-27 19:38:14 +02:00
04528696f7
Added conditional for exact amount of population in a city
2024-02-27 16:00:42 +02:00
ffeae91b0a
Suggest corrections for misspelt conditionals; Better text similarity for strings with errors at the start
2024-02-27 14:28:08 +02:00
817ac64e58
Only require explicit building/wonder costs for tech columns that have buildings/wonders with unspecified cost
2024-02-27 14:05:53 +02:00
27d63f00f4
Added 'city addbuilding', 'city removebuilding' console commands
2024-02-27 13:22:10 +02:00
3689eed3aa
Add unique to conditionally control construction costs
2024-02-27 11:13:26 +02:00
b4cb0e3d75
getProductionCost can receive city - this will allow us to control city-specific production cost changes!
2024-02-27 11:05:50 +02:00