Commit Graph

10818 Commits

Author SHA1 Message Date
yairm210
78737b6c2d special nuke animation, to make it feel more momentous 2024-07-22 00:06:06 +03:00
yairm210
c765287333 Better state-based random - ensure repeatability while increasing diversity (less "bunching" of so-called "random" results) 2024-07-21 11:37:16 +03:00
SomeTroglodyte
bb5c98ab19
Repair Qingmin holiday (#11993)
* Repair Qingmin holiday

* Reword comment
2024-07-21 10:24:12 +03:00
itanasi
569394efdd
Civilopedia Updates: Trade Routes and Air Combat (#11997)
* Updating and expanding on some Civilopedia Articles for common questions

* Fixing Air Sweep link
2024-07-21 10:01:23 +03:00
Oskar Niesen
7d69945c57
Make AI difficulty changable (#11996)
* Added AIDifficultyLevel to the difficulty object

* Fixed difficulty levels not showing in the cyclopedia screen
2024-07-21 10:01:15 +03:00
yairm210
37b4bcbda8 Okay that was dumb 2024-07-19 17:49:23 +03:00
yairm210
fbcf22136f 4.12.12-patch2 2024-07-19 14:47:19 +00:00
Yair Morgenstern
503b0d8d59
Revert "AI can no longer buy wonders" (#11994)
This reverts commit f8c5dc5b14.
2024-07-19 17:47:10 +03:00
yairm210
e7132abc01 Resolved #11984 - mapUnitFilter errors for correct values 2024-07-18 23:32:15 +03:00
yairm210
77c802ed9f 4.12.12-patch1 2024-07-18 19:25:57 +00:00
Yair Morgenstern
ca4c479719
Remove crashing holiday (#11988) 2024-07-18 22:25:49 +03:00
yairm210
d1f39131a6 4.12.12 2024-07-18 18:01:20 +03:00
Yair Morgenstern
5bbc4fbaef
Version rollout (#11979)
* Bump version and create initial changelog entry

* Update Simplified_Chinese.properties (#11978)

* Updated Spanish translation (#11975)

* Update Japanese.properties (#11973)

* Update German translation (#11970)

* Update Catalan.properties (#11968)

* Add translations to Ukrainian (#11967)

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

* Update French.properties (#11964)

* Update Italian.properties (#11962)

* Update Indonesian.properties (#11961)

Translated the new code and corrected a grammatical error.

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: 焕晨HChen <123531821+HChenX@users.noreply.github.com>
Co-authored-by: Ivan Nieto <54584215+HalconVengador2004@users.noreply.github.com>
Co-authored-by: NERD009 <51264557+NERD009@users.noreply.github.com>
Co-authored-by: mape6 <mape6@posteo.de>
Co-authored-by: Joan Josep <juanjo.ng.83@gmail.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: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
2024-07-18 17:57:22 +03:00
SomeTroglodyte
42d6218956
Easter eggs: Moddable floating imagery (#11483)
* New HolidayDates for potential easter eggs

* Dia de los Muertos

* Add Diawali

* Add Diwali credits

* Add some Qingming stuff

* Allow for zero images for a holiday configured to show floating art

* Revert contained art

* Simplify a few things

* Implement all special days I could think of

* Wiki

* Put chance back in so the full-range old holidays behave the same as before and unit tests work
2024-07-18 17:55:41 +03:00
Oskar Niesen
5c84eebb87
Gift gold fix (#11972)
* Fixed evaluateJoinOurWarPlan causing huge gold gift values

* Reverted changes that slipped in

* Changed the motivation from the thirdCivForce to be 1 based

* Removed extra braces
2024-07-18 17:52:49 +03:00
yairm210
acb1096615 Terrain civilopedia displays improvements that can be placed there 2024-07-18 17:51:54 +03:00
yairm210
147fdb24fa "choose tech" tutorial hidden until player has founded a city 2024-07-18 17:43:49 +03:00
yairm210
3237d0a07d chore: identifier moved to BuildConfig 2024-07-17 17:06:40 +03:00
SomeTroglodyte
ce25cbf787
Fix parameter mapping for UnitSupplyPerPop (#11859) 2024-07-17 15:36:56 +03:00
yairm210
2871fa855d Okay, that was a good try. Bye graal native-image 2024-07-17 11:54:57 +03:00
yairm210
b52f68f6f0 Resolved #11974 - Fixed paradrop to areas outside of movement range 2024-07-17 11:15:09 +03:00
yairm210
d6f50a8470 Resolved #11974 - Limited unit action can accept different actions with the same template but different parameters, and counts them differently 2024-07-17 11:11:10 +03:00
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