Commit Graph

7781 Commits

Author SHA1 Message Date
cfdfb839c5 Fix tests 2024-11-12 23:09:19 +02:00
3edcc29857 Resolve #12459 - don't allow trading away max gold/max gpt to multiple civs 2024-11-12 17:39:27 +02:00
e47d72f6b4 chore: resolved #12455 - deprecated 'defence bonus when embarked' unique 2024-11-12 13:20:58 +02:00
dd98b7ea5d 4.14.5-patch1 2024-11-11 11:19:42 +00:00
60d5649962 Fix 'raze city' (#12450)
* Fix 'raze city'

* .
2024-11-11 13:19:29 +02:00
454a6c357c In trade, if one side has *negative* resources of a certain type, the resource on the other side should be colored green to mark it as attractive 2024-11-10 22:39:46 +02:00
1c4d8786a2 Version rollout (#12439)
* Bump version and create initial changelog entry

* Update Traditional_Chinese.properties (#12438)

* Update Traditional_Chinese.properties

* Update Traditional_Chinese.properties

* Update Catalan.properties (#12433)

* Update Latin translation (#12432)

* Merge a branch

* Update translation

* Fix translation

* Fix translation

* Fix translation

* Update translation

* Update translation

* Fix translation

---------

Co-authored-by: sls1005 <sls1005@github.com>

* Update Portuguese.properties (#12429)

* Update Italian.properties (#12428)

* Fix Ukrainian.properties: Fix apostrophe and delete stress mark (#12427)

* Fix Ukrainian.properties: Delete stress mark - 0x301

* Fix Ukrainian.properties: Replace U+0027 with U+02BC

Regexp: ([ЄІ-ЇА-ЩЬЮ-щью-яєіїҐґ])\u0027([ЄІ-ЇА-ЩЬЮ-щью-яєіїҐґ])

* Fix Ukrainian.properties: Replace U+2019 with U+02BC

Regexp: ([ЄІ-ЇА-ЩЬЮ-щью-яєіїҐґ])\u2019([ЄІ-ЇА-ЩЬЮ-щью-яєіїҐґ])

* Update French.properties (#12425)

* Update Indonesian.properties (#12424)

* Update Indonesian.properties

Corrections and translation.

* Update Indonesian.properties

* Update Indonesian.properties

* Update Russian.properties (#12421)

* Update Russian.properties

* Update Russian.properties

* Update Brazilian_Portuguese.properties (#12420)

* Update German translation (#12419)

* Update German translation

* Update German translation

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: 羅少希 <83118946+Tab-Etuc@users.noreply.github.com>
Co-authored-by: Joan Josep <juanjo.ng.83@gmail.com>
Co-authored-by: sls1005 <90055573+sls1005@users.noreply.github.com>
Co-authored-by: sls1005 <sls1005@github.com>
Co-authored-by: murilozinkkkj <78273099+murilozinkkkj@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: Miroslav Belov <miroslavbelov8@gmail.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
Co-authored-by: dadadnet <dadadnet38@gmail.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
Co-authored-by: mape6 <mape6@posteo.de>
2024-11-10 14:31:37 +02:00
6a171fe89f Resolved #12431 - strength for adjacent enemies parameter combatantFilter -> mapUnitFilter to match behaviour 2024-11-10 14:26:05 +02:00
bdcc0bb0d6 Add owned tiles countable (#12423)
* Added owned tiles countable

* Applied yairm210's suggestions

* Added template.properties key
2024-11-10 14:25:48 +02:00
73516e15c9 Place edge images over terrains and under improvements, where possible to distinguish 2024-11-10 11:18:37 +02:00
2cfe78a197 Clearer pop change limit redux - kudos @SeventhM
Resolves #12435
2024-11-09 22:27:57 +02:00
92fd488301 Clearer pop change limit 2024-11-08 07:06:21 +02:00
c87ed50a98 Resolved #12422 - Comment text is displayed on event choices 2024-11-07 18:20:45 +02:00
e4253bf007 Resolved #12413 - City-state unique units are not taken from civs within this game 2024-11-07 13:10:44 +02:00
0ea175573f Resolved #12426 - Don't allow triggers to decrease city population below 1 2024-11-07 13:06:40 +02:00
c5cab907c1 Resolved #12409 - Don't assume the city-state ally knows the civ that attacked the city-state 2024-11-07 12:33:39 +02:00
e3c0e5f932 Version rollout (#12418)
* Bump version and create initial changelog entry

* Update German translation (#12415)

* Update Latin translation (#12414)

* Merge a branch

* Fix translation

* Fix translation

* Fix translation

* Fix translation

* Update translation

* Shorten lines that are too long

---------

Co-authored-by: sls1005 <sls1005@github.com>

* Update Italian.properties (#12412)

* Update French.properties (#12408)

* Update Russian.properties (#12405)

* Update Indonesian.properties (#12402)

* Update Indonesian.properties

Translation and few corrections.

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update Brazilian_Portuguese.properties (#12401)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: mape6 <mape6@posteo.de>
Co-authored-by: sls1005 <90055573+sls1005@users.noreply.github.com>
Co-authored-by: sls1005 <sls1005@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: dadadnet <dadadnet38@gmail.com>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
2024-11-06 14:46:31 +02:00
7a0e4a2549 Avoid Growth and Food Ranking Improvements (#12356)
* Code changes

* Clean up code for clarity and suggestions

* More commenting to clarify

* Remove redundant -1

* Put back weights into Stats
Add in small floating values for tie breaker preferences
2024-11-06 14:40:28 +02:00
6e75245d25 Example for automating golden age triggers (#12406) 2024-11-06 14:40:19 +02:00
b68c4d3edc Revert "perf(memory): Save unit icon location on baseunit"
This reverts commit ba37be8641.
2024-11-05 15:51:06 +02:00
f1f37fcd74 Don't allocate memory until you have to 2024-11-05 14:48:54 +02:00
6a3d4548bb Fixed serialization 2024-11-05 14:47:05 +02:00
6cc5a87f42 perf(memory): Save stateForConditionals on tile for single-create 2024-11-05 08:53:09 +02:00
ba37be8641 perf(memory): Save unit icon location on baseunit 2024-11-05 08:42:29 +02:00
9ccce38fcc perf(memory): When creating world screen, resize only once initially instead of allocating and copying many times 2024-11-05 08:37:16 +02:00
71c383bc6a perf(memory): calc cheapest stat building with sequence 2024-11-04 17:45:38 +02:00
69a9b5ff67 perf(memory): count naval units better 2024-11-04 17:06:10 +02:00
82481162c8 perf: 'getWorkingCity' optimization 2024-11-04 14:58:43 +02:00
34c3abe74b modding: Added "on [difficulty] difficulty" conditional 2024-11-04 14:55:36 +02:00
ab15058008 Save associated unique in UnitAction for automation / grouping - see #12393 2024-11-03 08:08:56 +02:00
15514ca76c Version rollout (#12400)
* Bump version and create initial changelog entry

* fix wrong « and » in german localisation (#12399)

* Update Galician.properties (#12397)

update galician language gl_ES

* Update Ukrainian translations (#12396)

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

* Update Latin translation (#12395)

* Merge a branch

* Fix typo

* Fix translation

* Fix translation

* Update translation

---------

Co-authored-by: sls1005 <sls1005@github.com>

* Update Russian.properties (#12390)

* Update Russian.properties

Small translation fixes

* Update Russian.properties

* Update Russian.properties

* Update Russian.properties

* Update Russian.properties

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: unique-usernames-are-annoying <122932115+unique-usernames-are-annoying@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: sls1005 <90055573+sls1005@users.noreply.github.com>
Co-authored-by: sls1005 <sls1005@github.com>
Co-authored-by: dadadnet <dadadnet38@gmail.com>
2024-11-02 19:31:49 +02:00
ba94a6a482 Fixed Wait action when auto unit cycle is disabled 2024-11-02 19:25:50 +02:00
66ed5ee5ef modding: "Becomes [terrainName] when adjacent to [terrainFilter]" accepts conditionals 2024-11-02 18:51:36 +02:00
28c65f2684 Unresearchable techs not added when starting in advanced era 2024-11-02 18:51:05 +02:00
194161b723 United 'getTriggeredUniques' modifier filtering 2024-11-01 14:41:52 +02:00
8a97573c7d United 'getTriggeredUniques' modifier filtering 2024-11-01 14:25:15 +02:00
ba085ca585 modding: Resolved #12380 - "upon gaining/losing the [promotion] status" triggers correctly 2024-11-01 13:21:58 +02:00
0b7b962b8d modding: Resolved #12392 - "upon building a [improvementFilter] improvement" triggers correctly 2024-11-01 12:46:00 +02:00
ec6e13c01f Resolved #12389 - multiturn autoplay worldscreen. nextTurn tuns on main GDX thread, since it interacts with UI element (progress bar) 2024-11-01 12:19:39 +02:00
e08d94bf69 chore: Deprecated old event fields 2024-11-01 12:10:01 +02:00
42eb0fb040 Modding: Added validation to event uniques
Fixes tutorial
2024-11-01 12:02:36 +02:00
3ef5442c38 Remove jvmToolchain so everyone can use their default (#12388) 2024-11-01 11:48:33 +02:00
09091d2a44 4.14.2-patch1 2024-10-31 14:13:22 +00:00
caa2aca3cb Revert blocking DoF change (#12391) 2024-10-31 16:13:15 +02:00
73103e017a modding: added "for every adjacent [tileFilter]" unique modifier 2024-10-31 10:20:01 +02:00
141227e507 chore: deprecated old uniques 2024-10-31 08:24:40 +02:00
3077cff449 Version rollout (#12387)
* Bump version and create initial changelog entry

* Update Portuguese.properties (#12385)

* Update Brazilian_Portuguese.properties (#12384)

* Update Indonesian.properties (#12383)

Few grammatical corrections and translation.

* Update Latin translation (#12381)

* Merge a branch

* Update translation

* Update translation

* Update translation

---------

Co-authored-by: sls1005 <sls1005@github.com>

* Update German translation (#12377)

* Update French.properties (#12376)

* Update Bangla.properties (#12375)

* Update Bangla.properties

* Update Bangla.properties

* Update Bangla.properties

* Update Ukrainian translations (#12374)

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

* Update Russian.properties (#12373)

* Update Russian.properties

* Update Russian.properties

* Update Russian.properties

Small changes

* Update Russian.properties

Siam and Spain translations

* Update Russian.properties

Tutorial translation

* Update Russian.properties

Small civilopedia translation

* Update Russian.properties

Civilopedia translations

* Update Russian.properties

Civilopedia translations

* Update Russian.properties

Civilopedia translations

* Update Russian.properties

Civilopedia translations

* Update Russian.properties

Mongolia, Aztecs, Inks translations

* Update Russian.properties

Hunns, Byzantium, Celts translations

* Update Russian.properties

Netherlands, Sweden, Austria translations, small fixes

* Update Russian.properties

SonghaI and Denmark translations

* Update Russian.properties

Ethiopea and Maya translations

* Update Italian.properties (#12372)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: murilozinkkkj <78273099+murilozinkkkj@users.noreply.github.com>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
Co-authored-by: sls1005 <90055573+sls1005@users.noreply.github.com>
Co-authored-by: sls1005 <sls1005@github.com>
Co-authored-by: mape6 <mape6@posteo.de>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: Shinigami-alt <76843162+Shinigami-alt@users.noreply.github.com>
Co-authored-by: Kostiantyn Ko <test9@mormat.name>
Co-authored-by: Kostiantyn Ko <mormat.iam@gmail.com>
Co-authored-by: dadadnet <dadadnet38@gmail.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
2024-10-31 08:23:37 +02:00
d652294ea9 Fixing workers not repairing tiles with Great improvement when pillaged (#12382)
* 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
2024-10-31 07:26:35 +02:00
0e7b9db766 Avoid Growth blocks New Population (#12348) 2024-10-31 07:18:19 +02:00
cf93f81956 DoF popup requires choosing an option 2024-10-31 07:17:36 +02:00