11708 Commits

Author SHA1 Message Date
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
yairm210
07a4438988 Advise modders of conditional order in uniques, for performance reasons
See #13158
2025-04-07 15:15:32 +03:00
yairm210
80e6e7a548 Added test to ensure countable parameters are proper parameter types 2025-04-07 10:47:28 +03:00
yairm210
407685f7df Better handling of countable placeholder parameters validation 2025-04-07 10:37:23 +03:00
SomeTroglodyte
2a04e0d9a3
Refactor Countables into an enum with better validation, tests, and auto documentation (#13161)
* Make deprecated Uniques that are no longer implemented show up in Red in mod checker

* Refactor Countables into an empowered enum

* Refactor Countables into an empowered enum: RulesetValidator support

* Refactor Countables into an empowered enum: UniqueDocsWriter support

* Refactor Countables into an empowered enum: More unit tests

* Refactor Countables into an empowered enum: Streamline a little

* Refactor Countables into an empowered enum: Deprecation support with unit test

* Deprecation level ERROR now shown as Orange as requested
2025-04-07 09:25:54 +03:00
Ouaz
3c03264980
Fix untranslated strings (#13157) 2025-04-06 23:07:07 +03:00
yairm210
f377ddeb28 Resolved #13148 - Trigger 'on tile enter' before removing barb camps / ruins 2025-04-06 17:29:21 +03:00
yairm210
1e4edba47f Harden unique parameters to disallow negative numbers where not relevant / possibly breaking 2025-04-06 17:07:18 +03:00
yairm210
c8d44fe83e 4.16.1 4.16.1 2025-04-06 13:53:03 +03:00
Yair Morgenstern
80117bd1d9
Version rollout (#13149)
* Bump version and create initial changelog entry

* Update Japanese.properties (#13141)

* Update Japanese.properties

* Improve some Japanese translation

Set EffectBeforeCause false
Change translation of Conditional uniques to fit into "Only available"

* Fix typo

* Update Italian.properties (#13126)

* Update French.properties (#13119)

* Update Indonesian.properties (#13117)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: cknight828 <128895471+cknight828@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
2025-04-06 11:48:20 +03:00
EmperorPinguin
9db6f2603f
Update MotivationToAttackAutomation.kt (#13139) 2025-04-06 11:46:09 +03:00
SomeTroglodyte
6fd247124f
Improve concurrency of listing existing saves (#13132)
* Improve concurrency while loading existing save list

* Minor linting & readability change
2025-04-06 11:45:49 +03:00
EmperorPinguin
7e6073030f
Pillage uniques moddability (#13146)
* Update

* Update UnitActionsPillage.kt

* Update UnitActionsPillage.kt
2025-04-06 11:45:39 +03:00
SomeTroglodyte
1c7a50e1c9
Reworked Locale handling + deprecations + linting (#13142)
* Linting and deprecations

* Trial and error for Locale factories

* Reworked Locale handling

* Clean up fastlane for Rusyn

* Decide open question in favour of supported methods
2025-04-06 11:45:29 +03:00
yairm210
8a1f14e683 Changed "tiles we can move to" indication from circles to covering the tile 2025-04-06 09:08:47 +03:00
yairm210
2198dc84eb Revert "Better "expected damage" by normalizing damage randomness"
This reverts commit 1da5cba369a3a0e98231e6c7b7b66c6fad0dd4c5.
2025-04-03 16:05:34 +03:00
Rob Loach
e46e30c6c0
Civ V - Gods & Kings: Fix William personality (#13138) 2025-04-03 15:27:04 +03:00
yairm210
1da5cba369 Better "expected damage" by normalizing damage randomness 2025-04-03 14:51:14 +03:00
SomeTroglodyte
f50d4ea8e0
Fix deprecations in Gdx and Java (#13133) 2025-04-02 15:41:56 +03:00
yairm210
bc57dc4bf0 Resolved #13131 Closes #13134 - Convert 'conditional settlers' to workers upon capture 2025-04-02 15:41:24 +03:00
yairm210
ce58e2a130 Resolved #12597 - Selected unit fadein/fadeout it much more visible 2025-04-02 09:41:28 +03:00
yairm210
34354b734f Resolved #13129 - Added notification when unit set to sleep/defend until healed has fully healed 2025-04-01 20:36:23 +03:00
yairm210
30a3959aca 4.16.0-patch1 4.16.0-patch1 2025-04-01 10:13:30 +00:00
Yair Morgenstern
d82ca64aca
mkdirs for parent instead of savefile (#13122) 2025-04-01 13:13:21 +03:00
yairm210
2c23fc9dc9 4.15.20 4.15.20 2025-03-31 21:18:28 +03:00
Yair Morgenstern
de0b6ef8b6
Version rollout (#13115)
* Bump version and create initial changelog entry

* Update Filipino.properties (#13110)

* Update Russian.properties (#13109)

* Update Russian.properties

* Update Russian.properties

* Add files via upload (#13102)

* Update French.properties (#13100)

* Update Brazilian_Portuguese.properties (#13094)

* Update Indonesian.properties (#13093)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Earl <86307061+Earl8D@users.noreply.github.com>
Co-authored-by: dadadnet <dadadnet38@gmail.com>
Co-authored-by: chenxing61 <70869440+chenxing61@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: X2003 <158255876+Xenia2003@users.noreply.github.com>
2025-03-31 21:12:31 +03:00
yairm210
a7ba1d4a7e Resolved #13114 - modding - Replaced semi-working policy branch restriction with countable + Unavailable 2025-03-31 20:51:54 +03:00
k-oa
7b3b8463c8
Experimental UI animations change. (#13098)
* Added animations to unit action menu

* Revert "Added animations to unit action menu"

This reverts commit 4d29699e1e2526e3ea0c0bcf81a3a4779320569d.

* Added "Experimental" section to settings

* Removed a useless button from the Options tab.

---------

Co-authored-by: K-OA <klishynoleh@gmail.com>
2025-03-31 20:46:26 +03:00
EmperorPinguin
cd5ad38e03
Add pillage yield uniques (#13101)
* Add uniques

* toPercent()
2025-03-31 20:46:11 +03:00
SomeTroglodyte
d5515ede9c
Minor refactor: Save/Load game loading image uses LoadingImage (#13106)
* Minor LoadingImage update to deal with clipping

* Use LoadingImage in VerticalFileListScrollPane instead of code duplication
2025-03-31 20:45:48 +03:00
SomeTroglodyte
347fd61ade
Mod download robustness (#13097)
* Fix mod zip download responses without content-disposition header

* Redirection support and more error handling for mod download

* Better parsing of content-disposition header and improved zip structure checks

* Templates and linting

* New wiki entry

* Review hint and some cleanup

* Refactor redirect-following into separate method

* Refactor CountingInputStream

* Re-enable progress display for mods downloaded normally from the list

* Github workflows folder counts as good for zip structure
2025-03-31 20:45:39 +03:00
EmperorPinguin
c24eb4aa6a
Add game progress modifier (#13095)
* Add game progress modifier

* Update

* Update Unique.kt

* Update Unique.kt

* Update Unique.kt

* Update Unique.kt
2025-03-31 20:45:27 +03:00
yairm210
5d7ea1222a Resolved #13113 - Fixed autosave crashes when saving to external files on some Android devices 2025-03-31 20:33:24 +03:00
yairm210
38e63f2807 Negative stat percentages from buildings displayed properly in city screen. 2025-03-31 20:13:42 +03:00