11708 Commits

Author SHA1 Message Date
yairm210
e61b85f44a Resolved #13263 - Demands/Requests from other civs do not stop other events (like city capture) from being registered 2025-04-29 22:47:50 +03:00
EmperorPinguin
d203ea528e
Prevent AI from placing units near citadels (#13264)
* Update BattleHelper.kt

* Update UnitAutomation.kt
2025-04-29 22:47:41 +03:00
Yair Morgenstern
6618d03bb7
Version rollout (#13260)
* Bump version and create initial changelog entry

* Update Japanese.properties (#13255)

* Update French.properties (#13252)

* Update Brazilian_Portuguese.properties (#13251)

* Update Italian.properties (#13249)

* Update Indonesian.properties (#13247)

* Update Catalan.properties and linux/unciv.desktop (#13256)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: cknight828 <128895471+cknight828@users.noreply.github.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: X2003 <158255876+Xenia2003@users.noreply.github.com>
Co-authored-by: Joan Josep <juanjo.ng.83@gmail.com>
2025-04-29 22:47:33 +03:00
EmperorPinguin
5f6420da4b
Update CityPopulationManager.kt (#13257) 2025-04-28 10:36:35 +03:00
yairm210
5680fec832 Resolved #13258 - Can pay to improve resource in any CS city, not just capital; Water improvements can be built for city states 2025-04-28 10:35:56 +03:00
Ouaz
041ecaf779
Fix toggle improvements button color (#13259) 2025-04-28 10:26:19 +03:00
yairm210
846213b45b Modding: Added misspelling tests for uniqueTo for buildings, units and improvements 2025-04-26 22:59:00 +03:00
yairm210
90c8d30f51 Seed pillage randomness to avoid save-scumming 2025-04-25 16:39:39 +03:00
yairm210
6fe8676ca1 Better ANR avoiding when loading game 2025-04-25 15:41:32 +03:00
yairm210
0220adcb22 Resolved #13243 - Triggerable uniques on promotions will only activate once when added to unit on creation 2025-04-25 15:33:07 +03:00
yairm210
ab4a1646ae Resolved #13254 - Beliefs can be modified with AI decision modifiers; AI will no longer choose Religious Unity / Papal Primacy with no city states 2025-04-25 15:24:44 +03:00
yairm210
b1066064f3 Resolved #13250 - Finish city-state quest upon acquiring great person 2025-04-25 15:12:11 +03:00
yairm210
0f34f876ed 4.16.5 4.16.5 2025-04-23 23:23:25 +03:00
Yair Morgenstern
7ab617f35d
Version rollout (#13246)
* Bump version and create initial changelog entry

* Discussion on Greek.properties (#13240)

* Update Greek.properties

added a few things

* Update Greek.properties

I chose to translate unit table as "πλαίσιο μονάδας",
which means something more closely to "unit frame" 
but I think this will make it easier to understand for greek speakers
as the unit table is somewhat a rectanglular shape

* Update Greek.properties

Spaced out some translations, think it makes it easier to check whether each line is tranlated if the lines are not all bunched up

* Update Greek.properties

In the last two translations (in lines 154 and 156)
I didn't understand what [cityFilter] is for so there might be a mistake in the translation

* Update Ukrainian translation (#13239)

Co-authored-by: Kostiantyn Ko <mormat.iam@gmail.com>

* Update Spanish.properties (#13236)

* Update Italian.properties (#13231)

* Update Indonesian.properties (#13229)

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update French.properties (#13227)

* Update French.properties

* Update French.properties

* Update French.properties

* Update French.properties

* Update Brazilian_Portuguese.properties (#13226)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: ChrisZiogas <152174758+ChrisZiogas@users.noreply.github.com>
Co-authored-by: Kostiantyn Ko <test9@mormat.name>
Co-authored-by: Kostiantyn Ko <mormat.iam@gmail.com>
Co-authored-by: Nahuel Geno <142752140+NahuelGeno@users.noreply.github.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: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
2025-04-23 23:10:58 +03:00
yairm210
11fe608396 Added validation for global unit uniques - see #13196 2025-04-23 22:52:23 +03:00
yairm210
2205a87d8f Resolved #13222 - Added improvement image toggle next to minimap 2025-04-23 22:33:17 +03:00
Ouaz
0144959c02
Fix untranslated string (#13244) 2025-04-23 19:19:34 +03:00
Ouaz
fa595e5ef2
Fix personality names (#13238) 2025-04-22 15:38:43 +03:00
EmperorPinguin
356dd9b463
Update TradeEvaluation.kt (#13234) 2025-04-20 00:46:11 +03:00
yairm210
0ac814b77b Resolved #13213 - Added indication when attacking, for which tile we will attack from 2025-04-18 14:34:02 +03:00
yairm210
3ed099257f Fix opening Civilopedia from main menu when easter eggs enabled 2025-04-18 12:54:55 +03:00
yairm210
9ccbf1f8fc . 2025-04-18 12:08:20 +03:00
yairm210
26a99af93b Uniques are never sorted alphabetically 2025-04-18 12:07:59 +03:00
yairm210
fe1b357280 chore: deprecate unique 2025-04-18 10:09:42 +03:00
yairm210
5c642b6f63 Ignore messages from defeated civilizations 2025-04-18 10:09:06 +03:00
yairm210
952bb2cd01 Resolved #13224 - Don't automate naval units in cities that only lead to enemies via impassible water routes (e.g. ice) 2025-04-17 23:47:25 +03:00
yairm210
a844291a04 4.16.4 4.16.4 2025-04-17 23:39:44 +03:00
Yair Morgenstern
0e38948fa6
Version rollout (#13223)
* Bump version and create initial changelog entry

* Update Ukrainian translation (#13216)

Co-authored-by: Kostiantyn Ko <mormat.iam@gmail.com>

* Update Italian.properties (#13210)

* Update Spanish.properties (#13209)

* Update German translation (#13208)

* Update Brazilian_Portuguese.properties (#13207)

* Update French.properties (#13202)

* Update Indonesian.properties (#13199)

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update Turkish.properties (#13195)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Kostiantyn Ko <test9@mormat.name>
Co-authored-by: Kostiantyn Ko <mormat.iam@gmail.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: mape6 <mape6@posteo.de>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
Co-authored-by: kerem <151707556+keremcirakoglu@users.noreply.github.com>
2025-04-17 23:27:09 +03:00
Ouaz
0599a30d89
Fix untranslated strings (#13221)
* Fix untranslated strings

* Fix typo in failed coup notification
2025-04-17 23:05:04 +03:00
EmperorPinguin
f345f8f987
Update CityStats.kt (#13220) 2025-04-17 23:04:07 +03:00
EmperorPinguin
ac4327e922
Update Automation.kt (#13215) 2025-04-17 23:03:58 +03:00
Md. Touhidur Rahman
1bced0df7b
more detailed password authentication status (#13198)
* more detailed password authentication status

* fix compile errors

* resole some concerns

* remove stray `Concurrency.run { }`

* fix no space at end error

* modify current behavior of UncivServer.jar

* refactor code

* accept idea suggestions

* rename `authString` -> `authHeader` for clarity

* send `Bad Request` instead of `Unauthorized` if `Authorization` header is not present

* run `checkAuthStatus()` on a separate thread

* fix no space at end test failure
2025-04-17 23:03:33 +03:00
SomeTroglodyte
a5a148cc51
Make CityScreen's top-right widget use an ExpanderTab (#13186)
* Make CityScreen's top-right widget use an ExpanderTab

* No nasty tricks please
2025-04-17 23:03:03 +03:00
Md. Touhidur Rahman
adfaacb0f6
fix some docs (#13212)
* fix broken url in readme

* Update Building-Locally.md

* Update Building-Locally.md

* differentiate Windows (CMD) commands from Window (PowerShell)

* correct `macOS` spelling
2025-04-15 19:35:11 +03:00
yairm210
5d2bb1691c . 2025-04-15 16:12:01 +03:00
yairm210
38e4c92718 Resolve crash in automation for units that have "gain free [building]" uniques 2025-04-15 16:11:49 +03:00
yairm210
7cc6e143d6 translation fixes: #13197 continued 2025-04-14 10:15:56 +03:00
Ouaz
0de786e219
Fix untranslated strings (#13197) 2025-04-14 10:14:52 +03:00
yairm210
01416aa9c1 Resolved #13125 - Tile swapping with transported units in the tile, checks *who* is transporting the units 2025-04-14 10:11:59 +03:00
SomeTroglodyte
43790f2551 Fix typo 4.16.3 2025-04-12 02:48:01 +02:00
SomeTroglodyte
3e287fbea2
4.16.3 (#13193) 2025-04-12 02:24:58 +02:00
Yair Morgenstern
e0d3794636
Version rollout (#13192)
* Bump version and create initial changelog entry

* Update Russian.properties (#13182)

* Update Russian.properties

* Update Russian.properties

* Update Brazilian_Portuguese.properties (#13181)

* Update French.properties (#13176)

* Update Indonesian.properties (#13175)

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update Italian.properties (#13171)

---------

Co-authored-by: SomeTroglodyte <SomeTroglodyte@users.noreply.github.com>
Co-authored-by: dadadnet <dadadnet38@gmail.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.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>
2025-04-12 01:43:13 +02:00
SomeTroglodyte
ff896fda9f
Map editor reuses the files widget for load/save (#13173)
* More consistent handling of double clicks and FileHandle in load/save

* Fix potential leak through KeyboardPanningListener

* Change VerticalFileListScrollPane button handling to eliminate Cell lookup

* Reuse VerticalFileListScrollPane in map editor load/save

* Stop map panning with arrow keys while map load/save is open
2025-04-11 15:43:04 +03:00
SomeTroglodyte
a6da025705
Another countables test (#13184)
* Faster TestGame class

* Fix fragile unit tests

* Prerequisites for a Countables.FilteredBuildings unit test

* A Countables.FilteredBuildings unit test

* Revert buildingFilter duplicate tagUnique support
2025-04-11 14:13:20 +03:00
SomeTroglodyte
b0c9295372
More improvements to internal Countables handling (#13187)
* TranslationFileWriter support for Countables

* Minor Countables Kdoc update

* Code deduplication in UniqueTriggerActivation, also for future reuse

* Sync UniqueParameterType.PolicyFilter checks and doc with implementation

* Improve testRulesetValidation
2025-04-11 08:09:07 +03:00
yairm210
89a711d4de 4.16.2-patch1 4.16.2-patch1 2025-04-10 11:02:35 +00:00
Yair Morgenstern
9727966e55
Hide perf suggestions from users (#13183) 2025-04-10 14:02:27 +03:00
yairm210
4718d34d53 Extract other classes out of Unique.kt
Allow temporary and city-state uniques to accept multiplication modifiers
2025-04-09 14:05:42 +03:00
yairm210
d5c6758755 For cached stored in LocalUniqueCache, don't apply multiplication when storing, only when retrieving 2025-04-09 13:49:50 +03:00
yairm210
0bcf7f96c8 Resolved #13172 - City states don't get continually researchable techs automatically 2025-04-08 19:57:56 +03:00