11982 Commits

Author SHA1 Message Date
Md. Touhidur Rahman
f6e583250a
better way to brighten colors (#13631)
* better `Color.brighten()` and `Color.darken()` but this time fixed!

* bring the previous behavior for `darken` back

* revert comment
2025-07-18 12:26:29 +03:00
metablaster
6a652bbe9d
Fix AI civilian unit not escaping enemy (#13637)
* Initial improvement of AI road planning

* fix tile caching of road plans

* fix worker not connecting city due to lower priority

* remove unnecessary code

* cleanup RoadBetweenCitiesAutomation.kt and enable harbor connection loging

* fix invalid logic in road construction

* apply reviewed changes

* sort plan list by closer cities

* apply reviewed changes and removed loging

* Fix AI civilian unit not escaping enemy
2025-07-18 12:26:06 +03:00
yairm210
f6b71fc0af chore: purity - big batch 2025-07-18 11:29:57 +03:00
yairm210
c1f0b97e2d chore: Tile purity 2025-07-18 11:15:02 +03:00
yairm210
673c33bb01 chore: Hexmath purity final round 2025-07-17 23:57:39 +03:00
metablaster
e56680edda
Fix translation for an unknown civilization (#13634)
* fix broken translation

* apply suggested change

* fix untraslated string in load game screen

* update incorrect demand message

* refactor translation for an unknown civilization

* fix spaces

* fix translation for an unknown translation
2025-07-17 23:18:12 +03:00
yairm210
7685591be7 chore: Hexmath purity round 2 2025-07-16 15:14:16 +03:00
yairm210
888a06cd0b chore: Hexmath purity round 1 2025-07-16 11:53:31 +03:00
yairm210
9c4e9f8877 Raise error if tilemap has no tiles 2025-07-16 11:38:50 +03:00
yairm210
0abcd22728 chore: Hexmath purity 2025-07-15 23:44:04 +03:00
yairm210
e3a2e41b19 chore: Update purity 2025-07-15 14:05:28 +03:00
yairm210
2bc3590a04 4.17.5 4.17.5 2025-07-15 13:03:33 +03:00
yairm210
2a36f43370 Revert "Color: Better methods of brightening and darkening colors (#13611)"
This reverts commit bee216aa3dcfd4d60efe0bdd3354a2514e2c8951.
2025-07-15 13:02:14 +03:00
Yair Morgenstern
b82fec2846
Version rollout (#13621)
* Bump version and create initial changelog entry

* Update Latin translation (#13619)

* Update German translation (#13616)

* Update German translation

* Update German translation

* Update Ukrainian translation (#13608)

* Update French.properties (#13607)

* Update Indonesian.properties (#13605)

* Update Indonesian.properties

* Update Indonesian.properties

* update croatian translation (#13604)

* Update Italian.properties (#13603)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: sls1005 <90055573+sls1005@users.noreply.github.com>
Co-authored-by: mape6 <mape6@posteo.de>
Co-authored-by: Kostiantyn Ko <mormat.iam@gmail.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
Co-authored-by: metablaster <44481081+metablaster@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
2025-07-15 12:02:56 +03:00
metablaster
e0040588a0
Nukes don't require line of sight to hit target tile (#13618)
* can nuke in range without visibility

* can not nuke unexplored tiles

* remove redundant check

* getTilesInDistance instead of aerialDistanceTo

* revert suggested change
2025-07-15 11:52:42 +03:00
metablaster
8138a0b9c5
Get notification when pantheon, religion or religion enhancement is made by other civ (#13613)
* notification for when religion is founded

* fix typo with space

* notification for pantheon and enhancement

* actions and notifications don't reveal info

* fix typo with space again

* shorten code

* an unknown civilization!
2025-07-15 11:52:28 +03:00
SeventhM
fa7d075cde
Add upon entering combat trigger (#13614)
* Add upon entering combat trigger

* whoops

* temporarily revert getMatchingUnique changes as out of scope

* Last rename in functions
2025-07-15 11:52:08 +03:00
SomeTroglodyte
dc937f91d2
Workaround for "Mod has no graphics for configured tilesets" false positive (#13617) 2025-07-15 11:51:58 +03:00
Md. Touhidur Rahman
bee216aa3d
Color: Better methods of brightening and darkening colors (#13611)
* better brighten and darken

* fix not returning new color

* update method descriptions
2025-07-15 11:51:49 +03:00
metablaster
29108d0adc
Display city defense and health in cities overview tab (#13609)
* add city defense column in city overview

* apply reviewed changes

* fix totals row

* totals for garisson

* WLTK shows count of WLTK's

* test and apply reviewed change
2025-07-15 11:51:38 +03:00
metablaster
cfcfb69e72
Update incorrect demand message and refactor translation for 'an unknown civilization' (#13606)
* fix broken translation

* apply suggested change

* fix untraslated string in load game screen

* update incorrect demand message

* refactor translation for an unknown civilization

* fix spaces
2025-07-15 11:51:29 +03:00
metablaster
dbc5d95aad
fix few typos in docs (#13620) 2025-07-15 11:50:43 +03:00
yairm210
3d85b2fad3 chore: update purity 2025-07-15 11:35:38 +03:00
yairm210
adeca1ac1d chore: Readonly 6 2025-07-14 16:08:55 +03:00
yairm210
9e5ae90444 chore: Readonly 5 2025-07-14 13:28:04 +03:00
yairm210
3ba87902a5 chore: Readonly 4 2025-07-14 13:16:21 +03:00
yairm210
7e1cc64ca7 chore: Readonly 3 2025-07-14 12:48:17 +03:00
yairm210
87c096b085 chore: Rename StateForConditionals -> GameContext 2025-07-14 11:43:18 +03:00
SomeTroglodyte
b215ac454c
No environment checks in Gradle project configs (#13566)
* Do not make android module existence dependent on flaky checks

* Update developer documentation

* Make android project visible to Gradle Sync V2
2025-07-13 17:06:25 +03:00
Yair Morgenstern
34196f15d0
Purity: Use new annotations (#13610)
* Purity: Use new annotations

* .
2025-07-13 16:44:03 +03:00
Yair Morgenstern
f9d4e1b515
Update Kotlin version (#13602) 2025-07-11 17:05:00 +03:00
Md. Touhidur Rahman
3616a39caa
Server Cleanup (#13598)
* update server dependencies and do necessary cleanup for chat support later

* resolve versions issue
2025-07-11 16:52:39 +03:00
yairm210
cbf5f551f2 4.17.4 4.17.4 2025-07-11 16:49:16 +03:00
Yair Morgenstern
bffde2eaee
Version rollout (#13601)
* Bump version and create initial changelog entry

* Update French.properties (#13596)

* Update German.properties (#13593)

* Update German.properties

* Added new translations

* corrected placeholder

* url query

* Update German.properties

* Corrected translations for "Great Person" in German.properties

* update croatian translation (#13592)

* Update Brazilian_Portuguese.properties (#13590)

* Update Indonesian.properties (#13589)

* Update Italian.properties (#13588)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: Felix Kröhnert <70710128+cy-elec@users.noreply.github.com>
Co-authored-by: metablaster <44481081+metablaster@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@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>
2025-07-11 16:46:23 +03:00
EmperorPinguin
3b321574a7
AI: swap spaceship parts into capital (#13597)
* Update NextTurnAutomation.kt

* Update SpecificUnitAutomation.kt

* Update SpecificUnitAutomation.kt
2025-07-11 15:36:25 +03:00
metablaster
b67c272f49
Allow proposing peace between warring civs in trade window (#13595)
* intial peace proposals change

* conditionally disable trades and trade evaluation

* remove tooltips and trade validation

* evaluate buying peace

* avoid double signing and notification

* update function comment

* remove redundant code

* cleanup

* update reviewed comment

* apply reviewed change

* partially applied review

* remove unneeded filter and disable trade for human players

* fix disable trade if third civ is human player

* simplified relationship comparison
2025-07-11 15:36:13 +03:00
metablaster
d1cd968751
Update civilopedia about city razing (#13594) 2025-07-11 15:35:57 +03:00
Rob Loach
9b4ed0d4ff
Unique: May Paradrop to [tileFilter] tiles up to [positiveAmount] tiles away (#13586)
* Paradrop: Allow mods to enable paradropping from outside friendly territory

* Fix Paratrooper range in Vanilla

* Keep support for the deprecated unique

* Update docs

* Allow setting a destination tileFilter for Paradrops

* Apply suggestion from @RobLoach

* Apply suggestion from @RobLoach

* Update language for paradrop
2025-07-11 15:35:46 +03:00
yairm210
4819cf1053 Readonly round 2 2025-07-11 15:16:44 +03:00
Yair Morgenstern
694354af09
Added Purity for readonly validation (#13600)
* Added purity to check readonly-ness :)

* Update build.gradle.kts
2025-07-11 14:00:39 +03:00
yairm210
b828338aa0 Autogenerate demand texts from Demand enum - #6131 2025-07-06 10:27:30 +03:00
yairm210
65489f663a 4.17.3 4.17.3 2025-07-06 00:17:09 +03:00
Yair Morgenstern
cfc9dbf8b7
Version rollout (#13587)
* Bump version and create initial changelog entry

* Update Brazilian_Portuguese.properties (#13583)

* Update Turkish.properties (#13581)

* Update French.properties (#13578)

* Update Ukrainian translation (#13577)

* Update Italian.properties (#13575)

* update croatian translation (#13573)

* Update Korean.properties (#13571)

* Update Indonesian.properties (#13570)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
Co-authored-by: kerem <151707556+keremcirakoglu@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: Kostiantyn Ko <mormat.iam@gmail.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: metablaster <44481081+metablaster@users.noreply.github.com>
Co-authored-by: Charmtese <saud2410@naver.com>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
2025-07-06 00:12:25 +03:00
PhiRite
1ef4dcede4
Added global tiles countable (#13554)
* added new countables

mainly from my own req on discord for terrain to be countable, in this case i added All [tilefilter] Tiles, Unowned [tileFilter] Tiles, and Unclaimed [tileFilter] Tiles which should allow an even broader amount of stuff to be countable.

* recreated to only 1 countable

Thing to see if the 4 tile countables work when combined to a single countable

* Update Countables.kt
2025-07-06 00:07:20 +03:00
Rob Loach
2019614826
Vanilla, G&K: Fix Samurai ability to build Fishing Boats (#13585)
* Vanilla, G&K: Fix Samurai ability to build Fishing Boats

* Samurai fishing boat construction is instant
2025-07-06 00:07:10 +03:00
SomeTroglodyte
480fd1fb29
That was an invalid use of "property access syntax" for setXX/getXX pairs (#13582) 2025-07-06 00:07:02 +03:00
Rob Loach
abf63dbc91
Add unit state for tile improvement conditionals (#13574)
* Use stateForConditionals through build improvement checks

* Fix tests
2025-07-06 00:06:43 +03:00
SomeTroglodyte
4f9ca56781
Remove Mod Checks from running during startup (#13528)
* Do not run RulesetValidator on every installed Mod on every RulesetCache.loadRulesets

* Remove altogether...

* Oops, how embarrassing, me leaving in obsolete imports
2025-07-06 00:06:31 +03:00
yairm210
bfc8a54d0e Added "UI Scale" translation item for #13518 2025-07-03 15:19:34 +03:00
yairm210
d6d8f3c930 4.17.2 4.17.2 2025-07-03 12:37:31 +03:00