12198 Commits

Author SHA1 Message Date
yairm210
67f73b2892 perf(cpu): Optimized trade mission AI logic 2025-09-02 17:06:33 +03:00
yairm210
d8c779fd9b Notification categories can me minimized by clicking on the title 2025-09-01 10:38:58 +03:00
yairm210
248282064f chore: slight cleanup for Battle.attack - there really is too much going on there... 2025-08-30 23:30:40 +03:00
yairm210
f964c39de2 4.17.18 4.17.18 2025-08-30 21:01:15 +03:00
Yair Morgenstern
959f4a0138
Version rollout (#13870)
* Bump version and create initial changelog entry

* fix overlooked parts for vietnamese translation.  (#13864)

* Update Vietnamese.properties

* Update completionPercentages.properties

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: theperfectoast <duynamdo000@gmail.com>
2025-08-30 20:54:07 +03:00
Rob Loach
640a5b17bf
Add a Play Sound unique (#13867) 2025-08-30 20:48:28 +03:00
yairm210
fced164c0b Resolved #13869 - Peace trade no longer generates notification when it "ends" 2025-08-30 20:48:02 +03:00
General_E
4710909495
Added more option autosaves from 500 to 10000 (#13809)
* Final update

* update ish

* Remove a lot of space and move text under enter button

* Final update replace  addMaxAutosavesStored with addAutosaveField

Added more to Turns between autosaves from 15 to 1000.
Also change popup class so you can change the color.

* Update core/src/com/unciv/ui/popups/options/AdvancedTab.kt

Co-authored-by: Yair Morgenstern <yairm210@hotmail.com>

* Update core/src/com/unciv/ui/popups/options/AdvancedTab.kt

Co-authored-by: Yair Morgenstern <yairm210@hotmail.com>

* final update

* Fix error template.properties

* update

---------

Co-authored-by: Yair Morgenstern <yairm210@hotmail.com>
2025-08-30 20:47:52 +03:00
yairm210
a7de6744ae chore: Remove unused distanceToTiles cache 2025-08-28 23:31:48 +03:00
Rob Loach
5e3beb302f
docs: Update unique parameters documentation (#13866) 2025-08-28 22:52:47 +03:00
yairm210
f9c15afbb0 Resolved #13863 - Inquisitors disrupt religion in other civs as well 2025-08-27 18:19:09 +03:00
yairm210
33c4d9eb12 4.17.17-patch1 4.17.17-patch1 2025-08-27 10:03:36 +00:00
Rob Loach
4df0d5871f
Add unique to get resources from a percent of stat (#13858)
* Add unique to get resources from a percent of stat yield

* Remove 'output'

* Update

* Apply suggestion from @RobLoach

* Fix filter naming

* Switch from tileFilter to improvementFilter

* Result afterwards

* Apply suggestion from @RobLoach

* Apply suggestion from @RobLoach

* Add a getWorkedTiles() function

* Apply suggestion from @RobLoach

* Remove the need for a result variable

* Use Doubles instead of Float-math
2025-08-27 13:03:25 +03:00
yairm210
c738bc8878 Fix unit force rankings 2025-08-25 23:15:08 +03:00
yairm210
c1320357be 4.17.17 4.17.17 2025-08-25 14:50:24 +03:00
Yair Morgenstern
c56b0d13d7
Version rollout (#13861)
* Bump version and create initial changelog entry

* Update Japanese.properties (#13860)

* Update Japanese.properties

* Update Japanese.properties

* Update Vietnamese.percentage (#13850)

* Update Vietnamese.properties

* Update completionPercentages.properties

* Update Vietnamese.properties

* Update Vietnamese.properties

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: cknight828 <128895471+cknight828@users.noreply.github.com>
Co-authored-by: theperfectoast <duynamdo000@gmail.com>
2025-08-25 14:37:55 +03:00
EmperorPinguin
19aa66d208
Update MotivationToAttackAutomation.kt (#13862) 2025-08-25 14:37:46 +03:00
EmperorPinguin
fd4fd6e79e
update (#13851) 2025-08-25 14:17:24 +03:00
yairm210
48941fb68e Resolved #13853 - Force rankings doesn't evaluate all unit conditionals as multiplicative 2025-08-25 14:17:02 +03:00
itanasi
816425792c
Fix div-by-0 crash when no cities (#13855) 2025-08-25 13:53:06 +03:00
yairm210
a8055f152d Resolved #13359 - Include IDEA configurations, by @SomeTroglodyte 2025-08-25 11:52:22 +03:00
yairm210
9346f6c527 Handle mods removing techs - remove from techsToResearch list 2025-08-25 11:33:14 +03:00
yairm210
d88c7be987 Handle mods adding/removing eras 2025-08-25 10:53:49 +03:00
yairm210
261e1047ff chore(purity): TargetHelper 2025-08-24 15:46:48 +03:00
itanasi
d828114ede
Fix crash with minor Civs (#13852) 2025-08-24 09:58:28 +03:00
yairm210
ee98075651 chore(purity) 2025-08-24 09:58:07 +03:00
yairm210
2d8effe059 Resolved #13734 - Post-battle movement doesn't occur if during the battle the unit lost movement points 2025-08-23 22:55:27 +03:00
yairm210
4a1f444ce5 Fixed #13849 - conditionals in event choices work again 2025-08-23 22:46:58 +03:00
yairm210
fc26f9281c 4.17.16 4.17.16 2025-08-22 13:17:25 +03:00
Yair Morgenstern
d87e5151a1
Version rollout (#13847)
* Bump version and create initial changelog entry

* Update Brazilian_Portuguese.properties (#13842)

* Update French.properties (#13839)

* Update Indonesian.properties (#13835)

* Update Indonesian.properties

* Update Indonesian.properties

* Update Italian.properties (#13834)

* Update Spanish.properties (#13833)

* probably-final-vietnamese-hotfix (#13817)

* Update Vietnamese.properties

ALARM!!!
- I just realized something problematic: the translation for prophet is supposed to be " nhà tiên tri " and not " nhà truyền giáo " ( I was kind of silly at the time and did not see this before. Besides, the translation also kind of similar to that of the missionary. ) 

so I guess I have to **fixed** it, then.

* Update Vietnamese.properties

* Update Vietnamese.properties

* Update Vietnamese.properties

seems good enough.

* Update Vietnamese.properties

* Update Vietnamese.properties

* Update completionPercentages.properties

* Update Vietnamese.properties

* was that an internal error...?

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <Ranbut_Beater@protonmail.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: Nahuel Geno <142752140+NahuelGeno@users.noreply.github.com>
Co-authored-by: theperfectoast <duynamdo000@gmail.com>
2025-08-22 13:14:42 +03:00
itanasi
126c1953c5
Simulation: New Stats (#13821)
* Changes adding new stats

* Refactor in to functions

* Flag prints

* Fix crash with minor Civs
2025-08-22 13:09:45 +03:00
EmperorPinguin
57eb2b33f3
Update Simulation.kt (#13843) 2025-08-22 13:09:34 +03:00
yairm210
98de517d61 Resolved #13765 - AI spy city selection greatly improved 2025-08-22 13:09:20 +03:00
yairm210
ca67bced66 Resolved #13846 - Changing mods while images load no longer displays multiple images on the last mod 2025-08-22 12:52:41 +03:00
yairm210
049d5d5795 Resolved #13844 - Removed city icons in unit overview 2025-08-22 12:42:06 +03:00
yairm210
da85856fe3 chore(purity): UnitOverview and UnitPromotions 2025-08-22 12:37:26 +03:00
yairm210
a27c1ae88d Resolved #13837 - Replacement improvements also provide resources that require the original improvement 2025-08-22 12:28:26 +03:00
yairm210
7b8a05ccdf Resolved #13838 - Only heal on current tile if it's not a dangerous tile 2025-08-21 18:16:59 +03:00
yairm210
539ae5248d Partially fixed #13831 - disallow repicking the same tile for multiple improvement-buildings 2025-08-21 17:42:16 +03:00
yairm210
36e3b64bcd Since improvement buildings with no relevant tiles are unbuildable, we don't need to explicitly check for this in allowAutomatedConstruction
See #13831
2025-08-21 17:36:39 +03:00
yairm210
05f549955b Partially fix #13831 - improvement buildings where the improvement cannot be built on any tile are considered unbuildable - do not appear in construction menu 2025-08-21 17:33:01 +03:00
yairm210
cd22be0091 Partially fix #13831 - city construction menu cannot add improvement-construction buildings, as they require picking a tile for the improvement 2025-08-21 17:23:43 +03:00
Md. Touhidur Rahman
1bcaf88f97
move dependency versions to gradle.properties (#13816)
* move dependency versions to `gradle.properties`

* remove unnecessary braces from ktor dependencies

* Update BuildConfig.kt
2025-08-20 18:03:44 +03:00
yairm210
0d68c5eac2 chore(purity) 2025-08-20 14:13:45 +03:00
yairm210
feaa016053 4.17.15 4.17.15 2025-08-20 13:30:04 +03:00
Yair Morgenstern
7cc9749556
Version rollout (#13832)
* Bump version and create initial changelog entry

* Update Simplified_Chinese.properties (#13822)

* Update Simplified_Chinese.properties

* Update Simplified_Chinese.properties

* Update French.properties (#13820)

* Fixed Italian mistranslations (#13815)

I fixed some italian mistranslation. Some were just creative reinterpretations that ended up betraying the original intended meaning of some lines, while others were just some major mistakes (Ingenuity = Ingenuità is completly wrong. Ingenuità is naivety, while Ingegnosità is Ingenuity)

* Update Brazilian_Portuguese.properties (#13814)

* Update Italian.properties (#13813)

* Update Indonesian.properties (#13812)

* Update Ukrainian translation (#13711)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: heipizhu4 <100454479+heipizhu4@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: A1y0sh4 <102094544+A1y0sh4@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <Ranbut_Beater@protonmail.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
Co-authored-by: Kostiantyn Ko <mormat.iam@gmail.com>
2025-08-20 13:27:03 +03:00
EmperorPinguin
0c29341f5b
AI: declare less war against humans on higher difficulties (#13830)
* Update MotivationToAttackAutomation.kt

* Update MotivationToAttackAutomation.kt

* Update MotivationToAttackAutomation.kt
2025-08-20 13:09:57 +03:00
EmperorPinguin
db55209032
Update CityLocationTileRanker.kt (#13829) 2025-08-20 13:09:48 +03:00
EmperorPinguin
866597ea73
Update WorkerAutomation.kt (#13828) 2025-08-20 13:09:38 +03:00
SomeTroglodyte
c01d72feb6
Harden new game screen against bad scenarios (#13826)
* Refactor and lint ScenarioSelectTable

* Catch and display scenario file parsing errors
2025-08-20 13:09:21 +03:00