Commit Graph

7717 Commits

Author SHA1 Message Date
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
b88e9ef116 Resource uniques are initialized correctly 2024-10-29 23:10:53 +02:00
65b96d16ce perf(memory): Don't even create the data classes for intermediates :) 2024-10-29 15:22:40 +02:00
cbbec40e00 perf(memory): Don't store city distances intermediately 2024-10-29 15:12:40 +02:00
4b6963e2b0 Version rollout (#12366)
* Bump version and create initial changelog entry

* Update Italian.properties (#12360)

* Update Bangla.properties (#12359)

* Update Russian.properties (#12358)

* Update Russian.properties

I translated a lot of small texts, corrected some incorrect translations and removed the "requires translation" signs where translation was added.

* Update Russian.properties

* Update Russian.properties

Germany translations

* Update Russian.properties

Ottoman and Korea translations

* Update Russian.properties

Iroquois translation, small fixes

* Update Russian.properties

UI tips translation

* Update Latin translation (#12355)

* Merge a branch

* Update translation

* Fix translation

* Update translation

---------

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

* Update German translation (#12367)

* Update Russian.properties (#12368)

* Update Russian.properties

Civilopedia translations

* Update Russian.properties

Carthage translation

* Update Russian.properties

Persia and polynesia translations

* Update Bangla.properties (#12369)

* Update Bangla.properties

* Update Bangla.properties

* Update Bangla.properties

---------

Co-authored-by: Yair Morgenstern <yairm210@hotmail.com>

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: Shinigami-alt <76843162+Shinigami-alt@users.noreply.github.com>
Co-authored-by: dadadnet <dadadnet38@gmail.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>
2024-10-28 20:27:02 +02:00
fa9aadd76b Resolved #12370 - Fixed 'can never adopt policies' 2024-10-28 20:26:33 +02:00
de43477072 Creating Guard Action (#12324)
* Creating Guard Action

* Forgot Guard icon

* Rework so it doesn't show up for units that can Fortify

* Revert don't run is Fortified. We want weak Withdraw units like Scouts to flee

* Update Guard to work just like Fortify if they can Fortify

* Update tutorial notes
2024-10-28 08:17:24 +02:00
c7d51ea38d Resolved #12350 - 'upon gaining/losing the [promotion] status/promotion' triggers now work correctly 2024-10-27 22:34:06 +02:00
927b047c0a Resolved #12354 - Allow AI to use perpetual culture/faith conversions 2024-10-27 15:15:01 +02:00
fa658e1bd0 chore: Use new tech.isRevealed(resource) in other places 2024-10-25 13:11:24 +03:00
ef5970f6f3 Resolved #12349 - Added version to main menu 2024-10-25 09:23:05 +03:00
42c6b15a40 4.14.0 2024-10-24 21:14:11 +03:00
a1e8d9a82d Version rollout (#12352)
* Bump version and create initial changelog entry

* Update French.properties (#12340)

* update Bangla.properties (#12339)

* Update Bangla.properties

* Update Bangla.properties

* Update Bangla.properties

* Update Bangla.properties

* Update Latin translation (#12336)

* Merge a branch

* Update translation

* Fix translation

* Fix translation

* Fix translation and change long-vowel marks

* Fix translation

---------

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

* Update Italian.properties (#12333)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: Shinigami-alt <76843162+Shinigami-alt@users.noreply.github.com>
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>
2024-10-24 21:10:08 +03:00
835ca58b4e optimized city screen for smart phone (#12315)
* optimized city screen for smart phone
- moved "buy" button to city info table
- removed "add to queue" button
- expand icon changed to android defaults
- CityStatsTable: big scrollable area, expandable

* made CityStatsTable collapsible

* Extracted BuyButtonFactory and re-added buy button close to construction queue

---------

Co-authored-by: M. Rittweger <m.rittweger@mvolution.de>
Co-authored-by: Yair Morgenstern <yairm210@hotmail.com>
2024-10-24 20:38:26 +03:00
32247fe437 fix: user only receives yellow resource notification if it is researched (#12337)
* When resource is not researched, don't allow the user to scan the map for it

* inline ruleset.getResource() in getExploredResourcesNotification (resolved review comment)

* changed TechManager.isRevealed (review feedback)

---------

Co-authored-by: M. Rittweger <m.rittweger@mvolution.de>
2024-10-24 20:35:33 +03:00