12062 Commits

Author SHA1 Message Date
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
Yair Morgenstern
9665611c2f
Version rollout (#13569)
* Bump version and create initial changelog entry

* Updated German.properties (#13556)

* Add files via upload

* Update German.properties

* Update German.properties

Changed declared requirements

* Update French.properties (#13555)

* Update Catalan.properties (#13552)

* Update Korean.properties (#13551)

* Edit Korean.properties

* Update Korean.properties

* Update Korean.properties

* Update Korean.properties

* Update Persian_(Pinglish-UN).properties (#13549)

- Added some translations
- Fixed some translations

* Update Indonesian.properties (#13545)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Felix Kröhnert <70710128+cy-elec@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: Joan Josep <juanjo.ng.83@gmail.com>
Co-authored-by: Charmtese <saud2410@naver.com>
Co-authored-by: Ilia <81512402+ilia-abbasi@users.noreply.github.com>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
2025-07-03 11:42:55 +03:00
SomeTroglodyte
02d3c110aa
Move parsing of localized numbers to UncivTextField (#13550)
* Move parsing of localized numbers to UncivTextField

* Docs!
2025-07-03 11:02:36 +03:00
SomeTroglodyte
0846b6d486
Better Validation of Nation colors (#13568)
* Fix json arrays that aren't [r,g,b] causing Ruleset load to throw

* Fix checkNation forgetting to call its super

* Ruleset-Validate array content of Nation colors
2025-07-03 11:02:24 +03:00
Rob Loach
212a772190
When capturing settlers, fix finding the Worker units with conditionals (#13565)
* Fix capturing Settlers when Workers have conditional build improvements

* The ignore conditional for build improvement should apply to OneTimeFreeUnitsRuins too
2025-07-03 11:02:16 +03:00
yairm210
4f44c7236c Resolves #13540 - Fix ancient ruins not spawning as much as they should 2025-07-03 11:01:53 +03:00
yairm210
ede5ebdf75 Maybe fix Android dev console - will require testing 2025-07-03 11:00:02 +03:00
yairm210
9319d16002 Fixed Happiness being found as a global stat 2025-07-03 11:00:02 +03:00
Rob Loach
11b53f6cdc
Add ability to remove policies with ModOptions (#13548)
* Add ability to remove policies with ModOptions

* Remove policies from the branches too

* Clean docs
2025-07-03 10:59:08 +03:00
SomeTroglodyte
834239774a
Avoid List.removeFirst() not being available on Android API 21..34 levels (#13567) 2025-07-03 10:24:01 +03:00
yairm210
06d6a1bfe1 Resolves #13557 - trigger conditionals are a superset not global uniques 2025-07-02 21:49:40 +03:00
SomeTroglodyte
911584dc49
Minor Unique documentation improvements (#13559)
* UniqueDocsWriter outputs UniqueFlag HiddenToUsers and NoConditionals

* UniqueDocsWriter: Make other hints get their own line after mkdocs is done with them

* Be honest about OneTimeGlobalAlert
2025-07-02 11:07:00 +03:00
yairm210
368f6d14c4 "Unowned" capitalized for consistency, whoops 2025-07-01 16:58:51 +03:00
yairm210
7f29dab09f Added "unowned" tileFilter for #13554 2025-07-01 16:46:44 +03:00
SomeTroglodyte
10a4be2214
Fix doc writer escaping (#13546)
* Fix UniqueDocsWriter escaping

* Delete orphan file
2025-06-30 07:58:53 +03:00
yairm210
79a92a10ea 4.17.1 4.17.1 2025-06-29 18:11:09 +03:00
Yair Morgenstern
c1d1024e32
Version rollout (#13544)
* Bump version and create initial changelog entry

* Update Ukrainian translation (#13538)

* translation: update Simplified Chinese (#13536)

Co-authored-by: chr56 <_>

* Update French.properties (#13533)

* update croatian translation (#13532)

* Update Italian.properties (#13531)

* Update Ukrainian.properties (#13530)

Changing a non-Ukrainian word to a Ukrainian one.

* Update Indonesian.properties (#13526)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Kostiantyn Ko <mormat.iam@gmail.com>
Co-authored-by: chr_56 <30681738+chr56@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@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>
Co-authored-by: smrtkcpm <findingdory1912@gmail.com>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
2025-06-29 18:07:01 +03:00
SomeTroglodyte
9ce15a1679
Fix ModCheckTab to match the intention of the last update (#13527) 2025-06-29 18:04:10 +03:00
SomeTroglodyte
6d3ea5260b
Fix console tile find for quoted input or filters requiring correct uppercase, expand notification (#13542) 2025-06-29 18:02:27 +03:00
Tice with a J
28f8777447
Make Machu Picchu and Neuschwanstein need a non-Natural Wonder mountain (#13539)
* Update Buildings.json to make Wonders need non-Natural Wonder mountains

* Make Machu Picchu need a non-Natural Wonder mountain
2025-06-29 18:02:19 +03:00
SomeTroglodyte
be354785c4
Fix mod check not offering to auto-update Uniques for extension mods (#13535)
* Reenable Unique auto-update by fixing the validation on the replacement

* Make mod name search in Mod Checker find those disabled placeholders too
2025-06-29 18:02:12 +03:00