11835 Commits

Author SHA1 Message Date
yairm210
acb7e8157c 4.16.14 4.16.14 2025-06-08 00:10:35 +03:00
Yair Morgenstern
9c98a6eaf1
Version rollout (#13410)
* Bump version and create initial changelog entry

* Update Korean.properties (#13409)

* Fix missing translation in civilopedia (#13401)

* translate new lines

* fix civilopedia entry 'AI difficulty level'

* fix 'Multiplayer > Friend List > Help' translation

* Update Italian.properties (#13394)

* Update Indonesian.properties (#13392)

* Update Brazilian_Portuguese.properties (#13391)

* Update French.properties (#13389)

* translate new lines (#13388)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Charmtese <saud2410@naver.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: 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>
2025-06-08 00:08:39 +03:00
yairm210
380172fe92 chore: Remove unused city distance 2025-06-07 23:53:49 +03:00
Rob Loach
2bbd2e6f1d
Add uniques to remove tile resources and improvements (#13390)
* Add unique to remove tile resources and improvements

* Remove the unneeded RoadStatus import

* Add resourceFilter and improvementFilter to the remove tiles

* Use removeImprovement() and removeRoad()

* Clean up the code
2025-06-07 23:29:53 +03:00
PLynx
6cf6a99653
Upon Ending Golden Age unique (#13397)
* Added Upon Ending Golden Age unique

* Update core/src/com/unciv/logic/civilization/managers/GoldenAgeManager.kt

---------

Co-authored-by: Yair Morgenstern <yairm210@hotmail.com>
2025-06-07 23:29:22 +03:00
SomeTroglodyte
9bc57db3a0
Fix Civilopedia when opened for a religion-free ruleset without a loaded game (#13241)
* Revert "Fix opening Civilopedia from main menu when easter eggs enabled"

* Fix Civilopedia search finding hidden entries

* Fix `isHiddenFromCivilopedia` without `gameInfo`

* Better naming and extra-extensive comments
2025-06-07 23:28:38 +03:00
yairm210
454b86cdc1 modcheck: Handle case where a deprecated unique used a parameter type that no longer exists 2025-06-05 16:28:17 +03:00
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