Commit Graph

7399 Commits

Author SHA1 Message Date
yairm210
7c9aab5e63 Show text for json parse errors from github search 2024-07-28 14:07:12 +03:00
Yair Morgenstern
1467610d9e 4.12.14 2024-07-28 00:26:20 +03:00
Yair Morgenstern
0e3a6d0145
Version rollout (#12023)
* Bump version and create initial changelog entry

* Update Galician.properties (#12021)

translate new lines and some corrections

* Provide translations to Ukrainian (#12017)

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

* Update Simplified_Chinese.properties (#12015)

* Update French.properties (#12014)

* Update Indonesian.properties (#12012)

Corrected grammatical errors and translated the new codes.

* Update Italian.properties (#12011)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: ninjum <138787523+ninjum@users.noreply.github.com>
Co-authored-by: Kostiantyn Ko <test9@mormat.name>
Co-authored-by: Kostiantyn Ko <mormat.iam@gmail.com>
Co-authored-by: AutumnPizazz <114050365+AutumnPizazz@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
2024-07-27 23:45:50 +03:00
yairm210
255ba1d9c6 Fix tests 2024-07-27 23:45:34 +03:00
EmperorPinguin
099a2385c0
AI citizen focus change (#11908)
* AI behaviour changes

* Update Automation.kt

* Update Automation.kt

* Update Automation.kt

* Update Automation.kt

* Update Automation.kt

* Update ConstructionAutomation.kt

* Update Automation.kt

* Reverting some changes

* Changes

* revert changes

* revert changes

* revert changes

* revert changes

* Update CityLocationTileRanker.kt

* Citizen assignment for stat conversion

* Update CityLocationTileRanker.kt

* Reduce AI settling

* Avoid AI building units when in negative Supply

* Update CityLocationTileRanker.kt

* Update CityLocationTileRanker.kt

* Update CityLocationTileRanker.kt

* Update ConstructionAutomation.kt

* Update build.gradle.kts

* Update gradle-wrapper.properties

* Update CityLocationTileRanker.kt

* Update CityLocationTileRanker.kt

* Update ConstructionAutomation.kt

* Update CityLocationTileRanker.kt

* AI changes for humans

* Fix puppet focus

* Update Automation.kt

* Puppet focus

* Update Automation.kt

* Update Automation.kt

* Update Automation.kt

* Update Automation.kt

* Update Automation.kt

* Update Automation.kt

* Update Automation.kt

* Update Automation.kt

* Update Automation.kt

* Update Stats.kt

* Update CityTurnManager.kt

* Remove specialist science modifier
2024-07-27 23:42:18 +03:00
yairm210
d0a3a0834c Add CLI argument to specify the data directory 2024-07-27 23:32:52 +03:00
yairm210
f03c30ed5c - Desktop: Allow specifying data directory (for "local" files, in GDX terms) separate from installed files directory (What GDX terms "internal").
- Added helper functions for common paths
- Does not include a way to specify said directory - pending tests
2024-07-27 23:13:27 +03:00
yairm210
fe9ba08690 fixed broken build 2024-07-25 00:45:51 +03:00
yairm210
5d8316abac Added helper function MapUnit.hasMovement() 2024-07-25 00:35:43 +03:00
yairm210
5e10698abc New unit triggers to gain/lose movement points 2024-07-25 00:20:25 +03:00
yairm210
a98730c444 chore: unkown -> unknown 2024-07-24 17:05:53 +03:00
Yair Morgenstern
10267db4e0
Version rollout (#12010)
* Bump version and create initial changelog entry

* Update Japanese.properties (#12009)

* Update Japanese.properties

* Update Japanese.properties

* Ukrainian translations and corrections (#12006)

* Ukrainian translations and corrections

* Misprint

* Update French.properties (#11999)

* Update Brazilian_Portuguese.properties (#11992)

* Update Persian.UN translation (#11991)

* Update Persian_(Pinglish-UN).properties

Fixed some translations and added a few ones.

* Update Persian_(Pinglish-UN).properties

* Update German translation (#11989)

* Update Italian.properties (#11981)

* Update Indonesian.properties (#11980)

Translated the new word.

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: sushisk <136587185+sushisk@users.noreply.github.com>
Co-authored-by: Jack Rainy <JackRainy@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: Ilia <81512402+ilia-abbasi@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>
2024-07-24 17:02:29 +03:00
Oskar Niesen
155082471b
Made Gold Gifting moddable (#11995)
* Made gold gifting moddable

* Made gold gift degradation moddable

* Removed unused import statement
2024-07-24 16:31:57 +03:00
yairm210
61fe6d0eee Fix endless loop when many units can transfer movement to each other 2024-07-24 16:29:47 +03:00
yairm210
b0c9724433 Remove line breaks from game data when loading games (affects some uploaded bug reports) 2024-07-24 16:16:23 +03:00
yairm210
344eab78a3 Better display of "object is missing a name" errors 2024-07-22 15:41:08 +03:00
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
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
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
SomeTroglodyte
ce25cbf787
Fix parameter mapping for UnitSupplyPerPop (#11859) 2024-07-17 15:36:56 +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
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
yairm210
ace4ac7731 Added autoreplace for deprecated modifiers 2024-07-14 17:27:27 +03:00
yairm210
7fcbdd5a42 Damn detekt 2024-07-14 16:41:14 +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
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