Commit Graph

10983 Commits

Author SHA1 Message Date
yairm210
5eb2d39d5c Resolved #12107 - automated settlers take conditionals on settling locations into account 2024-08-11 22:48:57 +03:00
yairm210
6637e67ddb chore: minor docs 2024-08-11 15:33:44 +03:00
yairm210
451642450c Modding: Added ruleset validation that 2 policies in the same branch do not have the same position 2024-08-11 14:34:03 +03:00
yairm210
dc7f0434a4 Resolved #12104 - "Land to water" natural wonders do not cause ruins on water tiles 2024-08-11 12:34:08 +03:00
yairm210
6e57a02f8f "Timed unique" is definitely a meta-modifier and not a conditional 2024-08-10 23:34:09 +03:00
yairm210
7ad86f80d1 4.12.18-patch1 2024-08-09 07:28:07 +00:00
Yair Morgenstern
cf202c28a4
Fix automatedRoadConnectionPath serialization errors (#12097) 2024-08-09 10:28:00 +03:00
Ouaz
49fa691d7e
Fix untranslatable (#12093)
"Visit the wiki" translatable now
2024-08-09 08:50:10 +03:00
yairm210
33a164c322 4.12.18 2024-08-08 15:11:40 +03:00
Yair Morgenstern
373f72a773
Version rollout (#12085)
* Bump version and create initial changelog entry

* Update Japanese translation (#12082)

* update

* update

* update

* fix

* Update French.properties (#12080)

* Update Ukrainian translations (#12078)

Co-authored-by: Kostiantyn Ko <mormat.iam@gmail.com>

* Update German translation (#12075)

* Update Indonesian.properties (#12074)

Translated new words and corrected mistranslation and grammatical errors.

* Update Italian.properties (#12073)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: yuracla <89312848+yuracla@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: Kostiantyn Ko <test9@mormat.name>
Co-authored-by: Kostiantyn Ko <mormat.iam@gmail.com>
Co-authored-by: mape6 <mape6@posteo.de>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
2024-08-08 15:04:58 +03:00
Yair Morgenstern
210895295f
Added support for new historyranking serialization - saved ~10% of save file size (#12079)
* Added support for new historyranking serialization - saved ~10% of save file size!

* Convert RankingType strings to chars

* Join to string using ranking char instead of generic delimiter

* Keep writing old format for now :)

* Handle negative rankings

* Fix test

* Minor perf

* Revert "Minor perf"

This reverts commit 470b3e9286.
2024-08-08 14:54:33 +03:00
Yair Morgenstern
b9f907e74d
Use custom Vector2 serialization - reduces total file size by 4% (#12077) 2024-08-08 14:38:59 +03:00
yairm210
a4a270c184 lint 2024-08-08 14:36:47 +03:00
yairm210
46f470ffb0 Fix tests please work 2024-08-08 14:30:39 +03:00
yairm210
6777b72753 fix tests 2024-08-08 14:29:12 +03:00
yairm210
d147860231 Fix tests 2024-08-08 14:24:24 +03:00
yairm210
4c663e8690 Fix tests 2024-08-08 14:18:47 +03:00
yairm210
f764f7c467 Fix tests 2024-08-08 14:16:34 +03:00
yairm210
0c5e82487e Add descriptor (you, friend name, or unknown) to current turn for mp games 2024-08-08 14:10:55 +03:00
yairm210
bffeb10144 Auto-download missing mods when joining multiplayer game 2024-08-08 13:51:12 +03:00
yairm210
e74abce5dc Allow Spectator to force-resign any human in multiplayer, and allow anyone to do so if player is inactive for 48h 2024-08-08 12:42:52 +03:00
yairm210
f3129dc0af Send speed for all trade offers, instead of using static - allows for 'next turn' without setting UncivGame.current 2024-08-08 12:37:24 +03:00
yairm210
9eb504a4bf Multiplayer: Disable resign button on games where it's not your turn 2024-08-08 11:01:02 +03:00
yairm210
2ea36b512c doc: Free buildings cannot be self-removing 2024-08-08 01:41:33 +03:00
yairm210
c58830eb1a Fixed city console rename to set exact text (not quoted/lowercased) 2024-08-08 01:35:17 +03:00
yairm210
25f2e03a66 chore: Renamed OnlineMultiplayer -> Multiplayer. That's the default MP, local MP is called 'hotseat'. 2024-08-08 00:52:00 +03:00
yairm210
cdf6d6169e Extracted File functions from OnlineMultiplayer to separate class, for separation of concerns between *local files* and *online data* 2024-08-08 00:50:10 +03:00
yairm210
0c4814eae4 minor perf: Map getTile does one lookup instead of two 2024-08-07 22:24:23 +03:00
yairm210
5eddb505d2 Removed empty objects from json serialization with equality instead of post-hoc string replace - kudos @SomeTroglodyte 2024-08-07 01:06:50 +03:00
yairm210
2b81172d20 Conditional that tests if a mod is enabled - by @SomeTroglodyte 2024-08-07 00:57:29 +03:00
yairm210
bcf50497ab Remove another 15% of unnecessary save file size 2024-08-06 19:49:08 +03:00
yairm210
f4b76e99de Remove default values that were serialized per tile - reduced 12.5% of file size! 2024-08-06 15:47:48 +03:00
yairm210
4e85e32cc1 Minor changes 2024-08-06 14:28:48 +03:00
yairm210
399f243257 4.12.17 2024-08-06 10:20:34 +03:00
Yair Morgenstern
029c8db8dd
Version rollout (#12072)
* Bump version and create initial changelog entry

* Update German translation (#12071)

* Provide translations to Ukrainian (#12070)

Co-authored-by: Kostiantyn Ko <mormat.iam@gmail.com>

* fastlaneと設定 (#12069)

* Update Italian.properties (#12068)

* Update Simplified_Chinese.properties (#12067)

* Update French.properties (#12065)

* Update Latin translation (#12064)

* Update Translation

* Fix Translation

* Fix translation

* Fix translation

* Update translation

* Fix translation

* Fix translation

* Update translation

* Update translation

* Update translation

* Update translation

* Update translation

* Update translation

* Fix translation.

* Fix translation

* Fix translation

* Fix translation

* Update translation

* Fix translation

* Fix translation

* Fix translation

* Fix translation

* Fix translation

* Fix translation

* Update translation

---------

Co-authored-by: sls1005 <sls1005@github.com>

* Update Indonesian.properties (#12061)

Translated the new codes and corrected a grammatical error.

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: mape6 <mape6@posteo.de>
Co-authored-by: Kostiantyn Ko <test9@mormat.name>
Co-authored-by: Kostiantyn Ko <mormat.iam@gmail.com>
Co-authored-by: yuracla <89312848+yuracla@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: AutumnPizazz <114050365+AutumnPizazz@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: sls1005 <90055573+sls1005@users.noreply.github.com>
Co-authored-by: sls1005 <sls1005@github.com>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
2024-08-06 10:12:29 +03:00
SomeTroglodyte
65a99e23fd
Enhance modding freedom for Natural Wonders (#12062)
* Allow omitting `turnsInto` on Natural Wonders

* Support a wider range of parameters on NaturalWonderConvertNeighbors*

* Extend docDescription

* Good suggestion

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

---------

Co-authored-by: Yair Morgenstern <yairm210@hotmail.com>
2024-08-06 10:10:29 +03:00
yairm210
94c2d7f798 "Unable to capture cities" and "Unable to pillage tiles" are now global too 2024-08-05 14:24:03 +03:00
yairm210
021c783947 . 2024-08-05 13:57:12 +03:00
yairm210
f3a2efa9bb "Ranged attacks may be performed over obstacles" can be a national unique 2024-08-05 13:55:18 +03:00
yairm210
3111cf5613 Added translation lines 2024-08-05 13:37:32 +03:00
yairm210
8fd5ca4fec Resolves #12066 - recognize Tutorials.json file in ruleset validation 2024-08-04 23:51:37 +03:00
yairm210
06d72dc2dc "Unavailable" promotions are unavailable in UI as well 2024-08-04 23:15:03 +03:00
yairm210
cf9309c165 chore: more modifier cleanups 2024-08-04 22:07:47 +03:00
yairm210
b76534a883 Android target SDK to 34 2024-08-04 22:05:06 +03:00
yairm210
e21da50c52 String.getConditionals() -> String.getModifiers() 2024-08-04 17:15:36 +03:00
yairm210
8d2ebc69f1 getModifiers(uniqueType) and hasModifier(uniqueType) helper functions 2024-08-04 17:14:16 +03:00
yairm210
cf2b1cdf8e Unique.conditionals -> unique.modifiers
It's high time
2024-08-04 16:33:13 +03:00
yairm210
24d70600a2 Add doc descriptions to city and stockpiled resource uniques 2024-08-04 14:37:39 +03:00
yairm210
97e4695ba6 Resolves #12057 - Can go to war with no warmongering penalties if allied or protected city-states have been attacked 2024-08-04 14:06:11 +03:00
yairm210
3401eb6fda City states no longer gift units that push us over resource limits - #12057 2024-08-04 12:56:55 +03:00