Commit Graph

11260 Commits

Author SHA1 Message Date
Yair Morgenstern
60d5649962
Fix 'raze city' (#12450)
* Fix 'raze city'

* .
2024-11-11 13:19:29 +02:00
yairm210
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
yairm210
6da45f4dd2 4.14.5 2024-11-10 14:47:40 +02:00
Yair Morgenstern
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
yairm210
6a171fe89f Resolved #12431 - strength for adjacent enemies parameter combatantFilter -> mapUnitFilter to match behaviour 2024-11-10 14:26:05 +02:00
PLynx
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
yairm210
c1e52d9073 New Krakatoa tile by legacymtgsalvationuser69544 for edge images to look good 2024-11-10 14:05:53 +02:00
yairm210
868c8bd452 Coast edge images for HexaRealm tiles by legacymtgsalvationuser69544 :) 2024-11-10 12:01:30 +02:00
yairm210
73516e15c9 Place edge images over terrains and under improvements, where possible to distinguish 2024-11-10 11:18:37 +02:00
yairm210
2cfe78a197 Clearer pop change limit redux - kudos @SeventhM
Resolves #12435
2024-11-09 22:27:57 +02:00
yairm210
92fd488301 Clearer pop change limit 2024-11-08 07:06:21 +02:00
yairm210
c87ed50a98 Resolved #12422 - Comment text is displayed on event choices 2024-11-07 18:20:45 +02:00
yairm210
e4253bf007 Resolved #12413 - City-state unique units are not taken from civs within this game 2024-11-07 13:10:44 +02:00
yairm210
0ea175573f Resolved #12426 - Don't allow triggers to decrease city population below 1 2024-11-07 13:06:40 +02:00
yairm210
aa59be298b ConsoleLauncher accepts arbitrary amount of civs to simulate - see #12407 2024-11-07 12:37:29 +02:00
yairm210
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
yairm210
3ee4cf03fa 4.14.4 2024-11-06 14:57:49 +02:00
Yair Morgenstern
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
itanasi
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
Yair Morgenstern
6e75245d25
Example for automating golden age triggers (#12406) 2024-11-06 14:40:19 +02:00
yairm210
b68c4d3edc Revert "perf(memory): Save unit icon location on baseunit"
This reverts commit ba37be8641.
2024-11-05 15:51:06 +02:00
yairm210
f1f37fcd74 Don't allocate memory until you have to 2024-11-05 14:48:54 +02:00
yairm210
6a3d4548bb Fixed serialization 2024-11-05 14:47:05 +02:00
yairm210
6cc5a87f42 perf(memory): Save stateForConditionals on tile for single-create 2024-11-05 08:53:09 +02:00
yairm210
ba37be8641 perf(memory): Save unit icon location on baseunit 2024-11-05 08:42:29 +02:00
yairm210
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
yairm210
71c383bc6a perf(memory): calc cheapest stat building with sequence 2024-11-04 17:45:38 +02:00
yairm210
69a9b5ff67 perf(memory): count naval units better 2024-11-04 17:06:10 +02:00
yairm210
82481162c8 perf: 'getWorkingCity' optimization 2024-11-04 14:58:43 +02:00
yairm210
34c3abe74b modding: Added "on [difficulty] difficulty" conditional 2024-11-04 14:55:36 +02:00
yairm210
ab15058008 Save associated unique in UnitAction for automation / grouping - see #12393 2024-11-03 08:08:56 +02:00
yairm210
a0bbab1362 4.14.3 2024-11-02 19:36:50 +02:00
Yair Morgenstern
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
yairm210
ba94a6a482 Fixed Wait action when auto unit cycle is disabled 2024-11-02 19:25:50 +02:00
yairm210
66ed5ee5ef modding: "Becomes [terrainName] when adjacent to [terrainFilter]" accepts conditionals 2024-11-02 18:51:36 +02:00
yairm210
28c65f2684 Unresearchable techs not added when starting in advanced era 2024-11-02 18:51:05 +02:00
yairm210
194161b723 United 'getTriggeredUniques' modifier filtering 2024-11-01 14:41:52 +02:00
yairm210
8a97573c7d United 'getTriggeredUniques' modifier filtering 2024-11-01 14:25:15 +02:00
yairm210
ba085ca585 modding: Resolved #12380 - "upon gaining/losing the [promotion] status" triggers correctly 2024-11-01 13:21:58 +02:00
yairm210
0b7b962b8d modding: Resolved #12392 - "upon building a [improvementFilter] improvement" triggers correctly 2024-11-01 12:46:00 +02:00
yairm210
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
yairm210
e08d94bf69 chore: Deprecated old event fields 2024-11-01 12:10:01 +02:00
yairm210
42eb0fb040 Modding: Added validation to event uniques
Fixes tutorial
2024-11-01 12:02:36 +02:00
Yair Morgenstern
3ef5442c38
Remove jvmToolchain so everyone can use their default (#12388) 2024-11-01 11:48:33 +02:00
yairm210
09091d2a44 4.14.2-patch1 2024-10-31 14:13:22 +00:00
Yair Morgenstern
caa2aca3cb
Revert blocking DoF change (#12391) 2024-10-31 16:13:15 +02:00
yairm210
8cc3c50c24 4.14.2 2024-10-31 10:28:07 +02:00
yairm210
73103e017a modding: added "for every adjacent [tileFilter]" unique modifier 2024-10-31 10:20:01 +02:00
yairm210
30f996c90f 4.14.2 2024-10-31 08:28:35 +02:00
yairm210
141227e507 chore: deprecated old uniques 2024-10-31 08:24:40 +02:00