Commit Graph

10846 Commits

Author SHA1 Message Date
yairm210
37f227bb27 native-image specify jar 2024-07-17 10:54:28 +03:00
yairm210
5f080cf741 Graal native image test 2024-07-17 10:42:02 +03:00
yairm210
00c6828ff7 Graal native image test 2024-07-17 10:37:58 +03:00
yairm210
45073c8543 Fix number translation removing 0 digits from strings like "1,023" 2024-07-16 16:11:19 +03:00
yairm210
1e66c19710 Split tilemapholder overlay buttons to separate file 2024-07-16 15:52:35 +03:00
yairm210
a50982e9bb Added terrains.json schema 2024-07-16 00:01:51 +03:00
yairm210
0d10dae6cd Ruleset validation: Catch, and try and fix, unknown json filenames 2024-07-15 16:17:08 +03:00
yairm210
8527086da9 Unified uniques/ruleset objects from ruleset 2024-07-15 16:06:47 +03:00
yairm210
f8c5dc5b14 AI can no longer buy wonders 2024-07-15 15:38:52 +03:00
yairm210
ef38007729 4.12.11-patch1 2024-07-14 15:36:23 +00:00
Yair Morgenstern
64e2c9aee0
Multiplayer notifications need to be untranslated because it accesses 'current game' (#11963) 2024-07-14 18:36:15 +03:00
yairm210
ace4ac7731 Added autoreplace for deprecated modifiers 2024-07-14 17:27:27 +03:00
yairm210
55b92b3fb5 Added error handling 2024-07-14 16:44:06 +03:00
yairm210
7fcbdd5a42 Damn detekt 2024-07-14 16:41:14 +03:00
yairm210
88ba177a9c Added documentation for autoupdates 2024-07-14 16:16:54 +03:00
yairm210
74f59bd627 Mod CI - Really autoupdate uniques 2024-07-14 13:48:28 +03:00
yairm210
4a98eff4d1 Mod CI - Load vanilla ruleset into cache before validation 2024-07-14 12:48:15 +03:00
yairm210
6c9575d271 Mod CI - Place before "screen"-oriented logic to run on CI machines 2024-07-14 12:33:54 +03:00
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