11928 Commits

Author SHA1 Message Date
yairm210
41eceeb834 Fix base rulesets 2025-06-05 11:19:07 +03:00
yairm210
b3b1fe61e0 Rename unique "remove annex unhappiness" -> "removes annex unhappiness" 2025-06-05 11:10:24 +03:00
yairm210
5d8361d400 4.16.13-patch1 4.16.13-patch1 2025-06-04 06:53:09 +00:00
Yair Morgenstern
4e74fb10ed
Catch unexpected validation exceptions (#13396) 2025-06-04 09:52:59 +03:00
yairm210
53ef48402b Add special exception for a strange bug encountered by a player 2025-06-03 23:29:29 +03:00
yairm210
0beeeaccf2 4.16.13 4.16.13 2025-06-02 23:42:44 +03:00
yairm210
9e4086563f Resolved #13382 - EventChoice inherits from UnitTriggerable which inherits from Triggerable, so all UnitTriggerables are now valid Event Choices 2025-06-02 23:36:45 +03:00
Yair Morgenstern
6b77e762f6
Version rollout (#13387)
* Bump version and create initial changelog entry

* Update German translation (#13384)

* Update Ukrainian translation (#13378)

* Update Indonesian.properties (#13377)

* Update Brazilian_Portuguese.properties (#13376)

* Update Brazilian_Portuguese.properties

* Update Brazilian_Portuguese.properties

* Update French.properties (#13374)

* translate new lines (#13373)

* Update Italian.properties (#13372)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: mape6 <mape6@posteo.de>
Co-authored-by: Kostiantyn Ko <mormat.iam@gmail.com>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@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>
2025-06-02 23:34:35 +03:00
yairm210
784c0ebdf6 Resolved #13386 - some triggers with city filters stopped filtering cities correctly 2025-06-02 23:33:19 +03:00
yairm210
0c4bc0f2cc doc: How do we replace uniques 2025-06-02 23:20:39 +03:00
PLynx
f8411ec220
Add buildingFilter to building maintenance unique (second attempt) (#13334)
* Added buildingFilter to building maintenance unique

* Restored the old unique

* Replaced the unique to new version in rulesets

* Changed buildingFilter parameter to lowercase

* Fixed building maintenance calculation

* Un-deprecated the old unique

* Re-added Deprecated annotation

* Removed the old unique from list again

* Update core/src/com/unciv/models/ruleset/unique/UniqueType.kt

---------

Co-authored-by: Yair Morgenstern <yairm210@hotmail.com>
2025-06-02 23:11:20 +03:00
ReallyBasicName
b67429d5cb
Add the option for civs to have unique dialogue when asking for a Declaration of Friendship (#13366)
* Uh, Friendship dailogue.

* Update 2-Civilization-related-JSON-files.md

* Nothing

* Yairm fixes my mistake

Sorry I didn't get to this sooner and you had to do it Yairm.

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

* Update AlertPopup.kt's friendship to declaringFriendship

* Update Nation.kt's friendship to declaringFriendship

* Update 2-Civilization-related-JSON-files.md's friendship to declaringFriendship

* Update nations.json's friendship to declaringFriendship

---------

Co-authored-by: Yair Morgenstern <yairm210@hotmail.com>
2025-06-02 23:08:17 +03:00
metablaster
f871e1f456
Improved AI road planning (#13370)
* 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
2025-06-02 23:08:01 +03:00
EmperorPinguin
eef2aaeb3d
Update NextTurnAutomation.kt (#13385)
* Update NextTurnAutomation.kt

* Update NextTurnAutomation.kt
2025-06-02 23:07:39 +03:00
yairm210
3799098c69 Resolved #13014 - Only buildable improvements are viable comparisons for determining if a city can provide a resource 2025-06-01 12:17:26 +03:00
yairm210
a644875139 Added countables test that autocomplete values actually return valid countables 2025-06-01 11:59:04 +03:00
yairm210
30270f2014 Added "era number", "speed modifier for stat" countables by @SomeTroglodyte - see #13262 2025-06-01 11:46:35 +03:00
yairm210
2d91981440 Set tryFixUnknownUniques on RulesetValidator, for simpler function calls throughout 2025-06-01 11:04:43 +03:00
EmperorPinguin
e42e963871
Update Personalities.json (#13380) 2025-06-01 10:28:34 +03:00
EmperorPinguin
dda1febacc
Update DiplomacyFunctions.kt (#13381) 2025-06-01 10:28:21 +03:00
yairm210
11040d9557 docs: Added history documentation for Console, console doc reorg 2025-05-31 22:59:18 +03:00
yairm210
c782af55ae Fixed techs showing "0 turns" and yet not being researched 2025-05-31 21:55:47 +03:00
yairm210
d6258c06d9 4.16.12 4.16.12 2025-05-30 16:53:36 +03:00
yairm210
d1e3e1bb1a Allow clicking on the map while dev console is open 2025-05-30 16:51:44 +03:00
Yair Morgenstern
ac6f7930e0
Version rollout (#13371)
* Bump version and create initial changelog entry

* Update German translation (#13358)

* Update Brazilian_Portuguese.properties (#13357)

* Update French.properties (#13356)

* Update Indonesian.properties (#13355)

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* translate new lines (#13353)

* Update Italian.properties (#13352)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: mape6 <mape6@posteo.de>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.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-05-30 16:51:38 +03:00
SomeTroglodyte
72e0460bcb
New countable for adopted policies supports policyFilter (#13191)
* New countable: Countables.FilteredPolicies with test

* Result of doc autoupdate

* Result of doc autoupdate

* Some clarifying comments

* Remove policy filter with bad wording
2025-05-30 16:41:17 +03:00
EmperorPinguin
299c043e99
Update The Louvre and Machu Picchu (#13369)
* Update Buildings.json

* Update Buildings.json
2025-05-30 16:27:09 +03:00
PLynx
0b62bff398
Added UponLosingCity unique (#13368) 2025-05-30 16:26:58 +03:00
Rob Loach
54d6078d44
Vanilla, Gods & Kings: Fix Hagia Sophia effects (#13363) 2025-05-30 16:26:49 +03:00
EmperorPinguin
2eeef6524d
AI: updated wonder evaluation (#13367)
* Update ConstructionAutomation.kt

* Update ConstructionAutomation.kt

* Update ConstructionAutomation.kt

* Update ConstructionAutomation.kt

* Update ConstructionAutomation.kt
2025-05-30 16:26:41 +03:00
Rob Loach
e6fcaed5e2
Add Great Person group names (#13361)
* Add Great Person group names

* Arist, Merchant, Scientist and Engineer in the same group
2025-05-30 16:26:32 +03:00
metablaster
29ac914a85
Add comments to identifiers used in RoadBetweenCitiesAutomation.kt (#13364) 2025-05-28 11:42:14 +03:00
yairm210
31e0187d51 doc: all for-every uniques are positive only 2025-05-28 11:41:35 +03:00
yairm210
910e42d182 doc: Drop hard-to-parse sentence 2025-05-28 11:39:58 +03:00
yairm210
dada529140 doc: Added 'for every [countable]' works onlyu with positive numbers 2025-05-28 11:10:57 +03:00
yairm210
a11c3c4216 Warn of rendering performance problems for split atlases 2025-05-27 07:50:15 +03:00
SomeTroglodyte
f0bd3cbb4e
Bump detekt plugin version (#13201)
See https://github.com/peter-murray/setup-detekt/issues/3
2025-05-26 23:31:39 +03:00
yairm210
45e9843fe6 Better documentation for adding texture packer autoupdate 2025-05-26 23:23:41 +03:00
yairm210
1a9ae44647 Unified doc for rendering performance 2025-05-26 23:19:28 +03:00
yairm210
b43bc09067 Unified doc for rendering performance 2025-05-26 23:17:48 +03:00
SomeTroglodyte
4627a98da7
Upgrade remaining Gradle files to 8.11.1 (#13354) 2025-05-25 21:46:29 +03:00
yairm210
e76d444003 Fix 'in this city' for everyone 2025-05-25 18:45:00 +03:00
yairm210
325b8dcc38 Avoid crash from "remove building in this city" uniques when not applied in the context of a city - see #13348 2025-05-25 18:42:01 +03:00
Yair Morgenstern
19876c97ed
Update gradle files (#13350) 2025-05-25 18:12:46 +03:00
yairm210
64d98e750e 4.16.11 4.16.11 2025-05-25 17:35:31 +03:00
Yair Morgenstern
f7ba50246c
Version rollout (#13349)
* Bump version and create initial changelog entry

* Update Korean.properties (#13346)

* Update Korean.properties

* Update Korean.properties

* Update Latin translation (#13345)

* Update Latin translation

* Update translation

* Update Japanese.properties (#13344)

* Update Spanish.properties (#13342)

* Update German translation (#13341)

* Update French.properties (#13336)

* Update French.properties

* Update French.properties

* Add files via upload (#13335)

* Update Brazilian_Portuguese.properties (#13333)

* Update Italian.properties (#13331)

* Update Croatian translation (#13329)

* translate new lines

* fix invalid placeholder

* corrections

* resolve TODO from instructions

* corrections 2

* corrections 3

* Update Indonesian.properties (#13328)

* Update Indonesian.properties

* Update Indonesian.properties

* Updated comments on Spanish.properties (#13338)

'Comment [comment]' unique is supposed to show only the text inside the [comment] part, but on translation every comment has an added 'Comentario: ' before the text.

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Charmtese <saud2410@naver.com>
Co-authored-by: sls1005 <90055573+sls1005@users.noreply.github.com>
Co-authored-by: NERD009 <51264557+NERD009@users.noreply.github.com>
Co-authored-by: Nahuel Geno <142752140+NahuelGeno@users.noreply.github.com>
Co-authored-by: mape6 <mape6@posteo.de>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: chenxing61 <70869440+chenxing61@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.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: X2003 <158255876+Xenia2003@users.noreply.github.com>
Co-authored-by: Luxor89 <eliassoria894@gmail.com>
2025-05-25 17:31:30 +03:00
Rob Loach
7a881ca6a6
Add unique denounced quotes (#13340)
* Add initial work on unique Denounce quotes

* Add more denounced quotes

* Remove random common denounce responses

* Update denounced quotes to have the same feeling as the originals, but not be the originals
2025-05-25 14:34:16 +03:00
EmperorPinguin
fc4b8ea65d
Update CityLocationTileRanker.kt (#13347) 2025-05-25 14:25:49 +03:00
Rob Loach
dbca92045d
Add a Voice Hook for (#13332) 2025-05-25 14:25:40 +03:00
yairm210
30c0734889 Don't spawn prophet in holy city if it's been taken over 2025-05-25 01:00:07 +03:00