11891 Commits

Author SHA1 Message Date
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
yairm210
0c23171c71 4.16.2 4.16.2 2025-04-08 14:23:16 +03:00
yairm210
3d0c445bfd 4.16.2 2025-04-08 14:05:53 +03:00
Yair Morgenstern
3f662085f8
Version rollout (#13170)
* Bump version and create initial changelog entry

* Update German translation (#13169)

* Update Galician.properties (#13166)

update translate

* update Simplified_Chinese.properties (#13163)

* Update Brazilian_Portuguese.properties (#13159)

* Update Indonesian.properties (#13156)

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update French.properties (#13155)

* Update Italian.properties (#13151)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: mape6 <mape6@posteo.de>
Co-authored-by: ninjum <138787523+ninjum@users.noreply.github.com>
Co-authored-by: AutumnPizazz <114050365+AutumnPizazz@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@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: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
2025-04-08 12:29:11 +03:00
EmperorPinguin
64c94f53d2
Eureka unique (#13130)
* Update

* Update

* Update UniqueTriggerActivation.kt
2025-04-08 12:19:57 +03:00
SomeTroglodyte
a26e71b1fa
Improve save file name and errors handling (#13164)
* Centralize filters for allowed file names

* Improve handling of load/save file errors

* More improvements and reuse of common elements in load/save
2025-04-08 12:19:46 +03:00
yairm210
269335efa7 Added settings for circles vs hexagons for movable tiles, since it's a close one 2025-04-08 12:19:30 +03:00
SomeTroglodyte
2025d2ae7a
Countables : Next "pass" (#13168)
* Fix equalsPlaceholderText again

* Fix implementation details and linting

* Fix placeholder parameters validation

* Edit Kdoc to match new structure and improve clarity

* Add unit test checking the Class itself for convention violations

* Split off the ForEveryCountable test from testRulesetValidation and give it full coverage

* Silence warnings
2025-04-08 10:56:05 +03:00
yairm210
15777b306f Resolved #9697 - Unciv server creates multiplayer file folder if it doesn't exist 2025-04-08 09:15:48 +03:00
yairm210
a3df5e3c61 Resolved #10417 - "Nullifies all other stats this tile provides" includes nullifying improvement stats 2025-04-08 09:11:27 +03:00
yairm210
d99fbd88a7 Fix equalsPlaceholderText for when only one of the strings is empty 2025-04-08 08:55:44 +03:00
yairm210
0ddd421118 Fix equalsPlaceholderText 2025-04-07 18:32:02 +03:00
yairm210
e43d1522ee Fix: "for every [countable]" should equal 0 when the countable is invalid- round 2 2025-04-07 18:25:25 +03:00
SomeTroglodyte
a5f833dd8d
Add a section on Cleanup to Building-Locally.md (#13165) 2025-04-07 18:23:49 +03:00
yairm210
8c96328944 Fix: "for every [countable]" should equal 0 when the countable is invalid 2025-04-07 17:49:57 +03:00
yairm210
030c616906 Better parameter delimiting for modifier parameter errors 2025-04-07 17:45:35 +03:00
yairm210
dff0c16d0b Fix countable validity testing 2025-04-07 17:44:37 +03:00
yairm210
b934f38b46 Added countable check console command
Bad countables are not considered 0
2025-04-07 15:56:52 +03:00