11835 Commits

Author SHA1 Message Date
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
yairm210
f2688b4b84 4.15.19 4.15.19 2025-03-25 12:21:33 +02:00
Yair Morgenstern
49204fbc6b
Version rollout (#13092)
* Bump version and create initial changelog entry

* Update Latin translation (#13090)

* translate: 100% (#13088)

Co-authored-by: caffidev <caffidev@gmail.com>

* Update Vietnamese.properties (#13087)

* Update French.properties (#13086)

* Update Japanese.properties (#13085)

* Update Japanese.properties

* Fix some Japanese translations

* Fix typo

* Update Indonesian.properties (#13082)

* Update Indonesian.properties

Mistranslated words correction and translation.

* Update Indonesian.properties

* Update Indonesian.properties

* Update Brazilian_Portuguese.properties (#13081)

* Update Spanish.properties (#13040)

Remove ¤ character when its not present in the original string.
Correct spelling errors.
Modify some words to make them more neutral (localization wise).

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: sls1005 <90055573+sls1005@users.noreply.github.com>
Co-authored-by: shwwwa <shwwwa.dev@gmail.com>
Co-authored-by: caffidev <caffidev@gmail.com>
Co-authored-by: Kyle Vo <67757372+Vanadium-GITHUB@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: cknight828 <128895471+cknight828@users.noreply.github.com>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
Co-authored-by: Javier J. Martínez M. <56406225+jjesus-dev@users.noreply.github.com>
2025-03-25 12:13:10 +02:00
k-oa
f98995e718
Better battle menu (#13076)
* Better battle menu

* Cleaned the code

* More descriptive variable name

* Added animations to unit action menu

* Revert "Added animations to unit action menu"

This reverts commit 4d29699e1e2526e3ea0c0bcf81a3a4779320569d.

---------

Co-authored-by: K-OA <klishynoleh@gmail.com>
2025-03-25 11:37:46 +02:00
EmperorPinguin
1c03133fdc
Forest chopping moddability (#13072)
* Update ModConstants.kt

* Update UniqueType.kt

* Update TileImprovementFunctions.kt

* Update Terrains.json

* Update Terrains.json

* Update TileImprovementFunctions.kt

* Update TileImprovementFunctions.kt

* Update TileImprovementFunctions.kt

* Update Terrains.json

* Update Terrains.json

* Update UniqueType.kt

* Update TileImprovementFunctions.kt

* Update TileImprovementFunctions.kt

* Update TileImprovementFunctions.kt

* Update TileImprovementFunctions.kt

* Update TileImprovementFunctions.kt

* Update TileImprovementFunctions.kt

* Game speed modifier

* Add meta modifier (WIP)

* Update

* Update UniqueType.kt

* Rename

* Float

* Revert modifier

* Update Unique.kt

* Update TileImprovementFunctions.kt

* Update TileImprovementFunctions.kt
2025-03-25 11:37:31 +02:00
yairm210
c3e44daa4c Resolved #13091 - Resource uniques cannot use countables that depend on citywide resources 2025-03-25 11:36:59 +02:00
yairm210
f5ba786e61 Resolved #13089 - better resource filter documentation 2025-03-23 17:37:28 +02:00
yairm210
5430954df3 4.15.18 4.15.18 2025-03-20 20:36:47 +02:00
yairm210
46c5bb0e94 Stats in notifications no longer with black icons 2025-03-20 20:34:32 +02:00
Yair Morgenstern
b8d1d80e73
Version rollout (#13080)
* Bump version and create initial changelog entry

* Update Catalan.properties (#13077)

* Update Catalan.properties (#13077)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Joan Josep <juanjo.ng.83@gmail.com>
2025-03-20 20:18:44 +02:00
EmperorPinguin
8925744485
Support BNW score formula (#13079) 2025-03-20 16:06:07 +02:00
yairm210
e532c00e35 Resolved #9487 - Hide bomb shelters when nuclear weapons are disabled 2025-03-20 16:04:11 +02:00
yairm210
9094a6db56 Modding: "Costs [amount] [stockpiledResource]" accepts game speed modifier 2025-03-19 15:33:29 +02:00
yairm210
8e4763aaaf Modding: "Must be next to [tileFilter]" includes the center tile as well 2025-03-19 08:54:26 +02:00
yairm210
26d952398a Console: Allowed alt-navigation and deletion :D 2025-03-17 14:07:11 +02:00
yairm210
34b6b27958 Hopefully decrease OOMs on crash screen 2025-03-17 11:57:39 +02:00
yairm210
df2c1da5b8 4.15.17 4.15.17 2025-03-16 22:48:41 +02:00
Yair Morgenstern
fcce59ca18
Version rollout (#13074)
* Bump version and create initial changelog entry

* Update Dutch.properties (#13073)

* Update Dutch.properties

* Update Dutch.properties

* Add Ukrainian translations (#13069)

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

* Update German translation (#13067)

* Update Spanish.properties (#13065)

* Update Latin translation (#13060)

* Update Latin translation

* Fix translation

* Fix translation

* Update Italian.properties (#13059)

* Update French.properties (#13057)

* Update Brazilian_Portuguese.properties (#13056)

* Update Brazilian_Portuguese.properties

* Update Brazilian_Portuguese.properties

* Update Brazilian_Portuguese.properties

* translate new line (#13055)

* Update Indonesian.properties (#13054)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: EmperorPinguin <99119424+EmperorPinguin@users.noreply.github.com>
Co-authored-by: Kostiantyn Ko <test9@mormat.name>
Co-authored-by: Kostiantyn Ko <mormat.iam@gmail.com>
Co-authored-by: mape6 <mape6@posteo.de>
Co-authored-by: Nahuel Geno <142752140+NahuelGeno@users.noreply.github.com>
Co-authored-by: sls1005 <90055573+sls1005@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: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
Co-authored-by: metablaster <44481081+metablaster@users.noreply.github.com>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
2025-03-16 22:44:08 +02:00
k-oa
6d4778e904
Added animation for unit movement button (#13070)
Co-authored-by: K-OA <2kairu0198@gmail.com>
2025-03-16 22:39:31 +02:00
EmperorPinguin
d2c4fad210
Update MapRegions.kt (#13068) 2025-03-16 22:39:23 +02:00
General_E
a4464f5628
Update auto save promotions (#13045)
* Settler settle best tile when not escort and dangerous Tiles instead of running away

Settler unit will now settle on best tile in dangerous Tiles without escort instead of running away.

* Update WorkerAutomation.kt

* Update SpecificUnitAutomation.kt

* Update WorkerAutomation.kt

* Update SpecificUnitAutomation.kt

* Now city states get mad when you steal their Lands

* new version

* change to getDiplomacyManagerOrMeet

* added text to template.properties and changed AlertPopup.kt

* Update template.properties

* with period at the end :b

* add flag now

* Made Option to declare war when a city state is bullied unavailable

* added option to change the Maximum Autosave turns stored

* remove print

* change letter

* should fix issue with building test

* update with changes

* Added UniqueType.FoundPuppetCity

with "Founds a new puppet city" in "uniques" of an unit in Units.json.
Making it so you can now settle a puppet city.

* Added save promotion

* Updated for PR

* Updated with requested changes

* Removed unnecessary check

* updated PR

* Update PromotionPickerScreen.kt to save promotion cells too

* change name and added !

* updated name of variable

* updated version from unitType to BaseUnit

* updated variable name

* Added unitType to reduce the xp cost of promotions for all units in a civ

This was a unique type that the Zulu have in civ 5

* updated name

* remove UniqueTarget.FollowerBelief

* Experience from to XP

* fix ?

* XP

* change it back to Experience because it didn't want to build on git :(

* back to XP then

* update auto promotion and fix negative XP on unit

* Fix build issues and remove the XPForPromotionModifier from xpForNextPromotion and  xpForNextNPromotions

* remove XPForPromotionModifier

* re added Statuses and remove duplicate comment

* remove some white space and 1 used import "com.unciv.ui.components.extensions.toPercent"

* remove unique from uniques.md

* update

* update to auto promotion.

* Change comments

* fix misspelling.

* now removed auto promotion from city when moved

* Now applying auto promotion in a using promotion tree Node

* Remove sorted function and fix negative properly.
2025-03-16 22:39:02 +02:00
yairm210
6c351fbae6 Resolved #13058 - Science points no longer 're-bonused' on overflow 2025-03-13 21:25:48 +02:00
yairm210
3ce2399841 Resolved #13063 - Updated docs regarding event choice fields 2025-03-13 14:52:37 +02:00
k-oa
2109e25fe2
Changed the Settle sprite to match style of AbsoluteUnits (#13064)
Co-authored-by: K-OA <2kairu0198@gmail.com>
2025-03-13 10:35:24 +02:00