Commit Graph

10628 Commits

Author SHA1 Message Date
yairm210
41bd1314b9 Mod CI step 1 - allow running Unciv as a cli tool for linting etc 2024-07-14 11:47:02 +03:00
yairm210
767759f42c 4.12.11 2024-07-14 10:03:41 +03:00
Yair Morgenstern
3e24a33b46
Version rollout (#11960)
* Bump version and create initial changelog entry

* Add translations to Ukrainian (#11957)

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

* Update French.properties (#11952)

* Update German translation (#11949)

* Update Italian.properties (#11948)

* Update Indonesian.properties (#11945)

Translated the new words.

* Update Brazilian_Portuguese.properties (#11944)

---------

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: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: mape6 <mape6@posteo.de>
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: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
2024-07-14 10:00:07 +03:00
yairm210
07f5d7c06a Resolved #11951 - icons in Wonder location "near city" for cities with same name as nations 2024-07-14 09:51:17 +03:00
yairm210
904f7f3af6 Resolved #11950 - Rome/Babylon capital takeover no longer renames like city state 2024-07-14 09:48:04 +03:00
yairm210
eaaf588144 Resolved #11959 - Fixed air unit movement on map 2024-07-14 09:45:26 +03:00
yairm210
4cedc38668 Resolved #11956 - Fixed Workboat construction automation ignoring existing workboat in city 2024-07-14 09:41:28 +03:00
Oskar Niesen
6a8718746d
Animations now show escort units (#11954) 2024-07-14 09:22:54 +03:00
Md. Touhidur Rahman
a2574c2831
More Numbers Translations Coverage (#11943)
* `setText()` coverage

* fix suggestions

* fix victory status > our status issues

* `toString()` coverage

* fix build issues

* Update MultiplayerTurnCheckWorker.kt
2024-07-14 09:22:38 +03:00
Oskar Niesen
2ffcc48bbf
Escort movement fix (#11810)
* Wrote some failing unit tests to simulate the crash

* Fix escort movement crash

* getDistanceToTiles now searches once using both escorting units

* Added an extra test

* Moved checking for escort unit movement outside of getMovementCostBetweenAdjacentTiles
2024-07-14 09:22:28 +03:00
yairm210
8912f6adc1 Resolved #11953 - Ouaz's lower-case 'clicking' 2024-07-14 00:25:13 +03:00
Kostiantyn Ko
ae7aaf0d2d
Correct the colors of the flag of Ukraine (#11958)
Co-authored-by: Kostiantyn Ko <mormat.iam@gmail.com>
2024-07-14 00:20:42 +03:00
yairm210
867d078dd8 Added searches for uniques and parameters 2024-07-14 00:20:12 +03:00
yairm210
7a57a6d28c Move from translated select box to regular one for unique builder 2024-07-13 23:40:40 +03:00
yairm210
ee1663c51d Don't show deprecated uniques 2024-07-12 00:04:20 +03:00
yairm210
27ff0086cc NOW WITH MODIFIERS 2024-07-11 23:35:52 +03:00
yairm210
7475c4e48a Added unique builder screen, accessible from mod checker 2024-07-11 22:49:22 +03:00
yairm210
d9dd7c93f8 4.12.10-patch1 2024-07-11 18:28:51 +00:00
Yair Morgenstern
af4782ec08
Fixed 'move to tile' when selecting tile outside of current movement range (#11947) 2024-07-11 21:28:44 +03:00
yairm210
c0c76ad618 Overhaul of unique parameter type known values -
Save as set of known values per ruleset
2024-07-11 21:23:33 +03:00
yairm210
5a015a4ddb 4.12.10 2024-07-11 19:54:51 +03:00
Yair Morgenstern
dfd07555a9
Version rollout (#11942)
* Bump version and create initial changelog entry

* Ninjum patch 2 (#11940)

* Update Galician.properties

update translate

* Update Galician.properties

* Update Galician.properties

* Update Galician.properties

instalando traducion vella para tentar correxir erro

* Update Galician.properties

* Update German translation (#11939)

* Update Spanish.properties (#11937)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: ninjum <138787523+ninjum@users.noreply.github.com>
Co-authored-by: mape6 <mape6@posteo.de>
Co-authored-by: Caballero Arepa <78449553+Caballero-Arepa@users.noreply.github.com>
2024-07-11 19:49:15 +03:00
yairm210
ce4f7402f7 Unified static known values for unique parameter types - it's a surprise tool that will help us later! 2024-07-11 19:48:49 +03:00
Md. Touhidur Rahman
e3b786bed8
Fix cases where Numbers Translations does not work properly (#11928)
* `setText()` coverage

* fix suggestions

* fix victory status > our status issues
2024-07-11 17:33:00 +03:00
yairm210
ea1073c208 chore: TranslatedSelectBox doesn't need a skin parameter when it always uses the default anyway 2024-07-11 16:54:19 +03:00
yairm210
b58b73a790 Added "Can only start games from the starting era" conditional, "if [buildingFilter] is not constructed" unique 2024-07-11 16:34:03 +03:00
yairm210
2b752866bf Resolved #11941 - AI no longer declares war against defeated civs 2024-07-11 16:13:41 +03:00
yairm210
075a5c70c7 Unified AI and Human gold purchase logic 2024-07-11 13:23:44 +03:00
yairm210
51dbb3e6ed Modding docs: Show uniques on all targets 2024-07-11 10:05:37 +03:00
yairm210
2b65d59e77 Ruleset validation: Catch "building required for victory milestone but does not exist" errors 2024-07-10 23:35:21 +03:00
yairm210
6e389de4b2 "Will not be replaced by automated units" unique fix 2024-07-10 11:55:45 +03:00
yairm210
d7c606880f EOF 2024-07-10 10:37:43 +03:00
yairm210
b58570294b Separate tile update functions from the rest of WorldMapHolder, it's too big 2024-07-10 00:09:15 +03:00
yairm210
f021fb692d UNIT MOVEMENT ANIMATION
LET'S FUKKEN GO
2024-07-09 23:57:45 +03:00
yairm210
7c1e0c0d25 chore: renames 2024-07-09 23:28:18 +03:00
yairm210
a11d489bd6 chore: renames 2024-07-09 23:25:31 +03:00
yairm210
dbc990401f Fix Google Play deploy 2024-07-09 19:16:17 +03:00
yairm210
31162d4d30 4.12.9 2024-07-09 18:07:13 +03:00
Yair Morgenstern
05f7ac1529
Version rollout (#11935)
* Bump version and create initial changelog entry

* Update Turkish.properties (#11930)

* Update Simplified_Chinese.properties (#11923)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: ygz213 <77006222+ygz213@users.noreply.github.com>
Co-authored-by: AutumnPizazz <114050365+AutumnPizazz@users.noreply.github.com>
2024-07-09 17:57:56 +03:00
SomeTroglodyte
3b40620cd6
UX: Notifications for map units select better when tapped (#11921)
* Use MapUnitAction for more notifications

* Enable MapUnitAction to select by ID

* Forgot "[N] of your cities can bombard..."
2024-07-09 17:25:38 +03:00
SpacedOutChicken
81130a541e
Remove old "will be replaced by automated units" unique (#11932)
* Remove "will be replaced" old unique

* Update TileImprovements.json
2024-07-09 17:24:58 +03:00
SomeTroglodyte
7b3a683c74
Fix GlobalPoliticsOverviewTable listing layout after switching back from diagram (#11934) 2024-07-09 17:24:49 +03:00
yairm210
3eb07c5956 Delete temporary files created when downloading mods 2024-07-09 14:03:33 +03:00
yairm210
28fc6a014c Allow purchasing air units whenever they can be built 2024-07-08 17:25:10 +03:00
yairm210
aee34de2f4 Resolved #10375 - ALWAYS reload images when loading
There were cases where the images would be changed out (in new game screen / mod screen) which led to reloading the same game causing missing images
2024-07-08 17:00:30 +03:00
yairm210
df96526f1e Resolved #11929 - Hidden conditionals are hidden in more places 2024-07-08 14:26:13 +03:00
yairm210
f31463782b URGH 2024-07-08 13:45:59 +03:00
yairm210
54e1555ddb Don't store it dammit 2024-07-08 13:45:31 +03:00
yairm210
15759b143f Resolve detekt error 2024-07-08 13:45:06 +03:00
yairm210
6ed43a2280 Resolved #11892 - Duplicate notifications are all shown
@SomeTroglodyte We need to better fine-tune the notification de-duplication, often we *do* want duplicates
2024-07-08 12:30:54 +03:00