Commit Graph

10767 Commits

Author SHA1 Message Date
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
yairm210
4e51c94fa4 the word 'default' is misleading since it's an overrider 2024-08-04 10:22:37 +03:00
yairm210
e01ba625ba Allow default unitset and tileset for base ruleset mods 2024-08-04 10:17:22 +03:00
yairm210
dba6d755ad 4.12.16 2024-08-03 23:29:53 +03:00
Yair Morgenstern
016f4f343c
Version rollout (#12060)
* Bump version and create initial changelog entry

* Provide translations to Ukrainian (#12059)

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

* Update Spanish.properties (#12053)

* Update German translation (#12048)

* Update Catalan.properties (#12045)

* Update French.properties (#12042)

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

* Update Italian.properties (#12037)

* Update Italian.properties

* Update Italian.properties

Whoops

* Update Indonesian.properties (#12036)

* Update Indonesian.properties

Translated the new code and corrected a grammatical error.

* Update Indonesian.properties

* Update Latin translation (#12032)

* Update Translation

* Fix Translation

* Fix translation

* Fix translation

---------

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

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Kostiantyn Ko <test9@mormat.name>
Co-authored-by: Kostiantyn Ko <mormat.iam@gmail.com>
Co-authored-by: Caballero Arepa <78449553+Caballero-Arepa@users.noreply.github.com>
Co-authored-by: mape6 <mape6@posteo.de>
Co-authored-by: Joan Josep <juanjo.ng.83@gmail.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: Ilia <81512402+ilia-abbasi@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: sls1005 <90055573+sls1005@users.noreply.github.com>
Co-authored-by: sls1005 <sls1005@github.com>
2024-08-03 23:26:17 +03:00
SomeTroglodyte
d37f30a67c
Fix rare crash opening overview on turn 0 (#12056) 2024-08-03 23:19:28 +03:00
SomeTroglodyte
76671ff6b6
Make right arrow glyph moddable (#12055) 2024-08-03 23:19:20 +03:00
SomeTroglodyte
094ef672b7
Fix new improvements becoming visible on non-observed tiles (#12054) 2024-08-03 23:19:10 +03:00
Oskar Niesen
3a969e59e3
AI is less motivated to declare war at higher difficulty levels (#12041)
* AI motivation to attack combat ratio takes into account the bonuses it gets

* AI has slightly less motivation to attack
2024-08-03 23:18:56 +03:00
itanasi
f19fea3d01
Civilopedia Entries: Food, Production, Science, and Gold (#12043)
* More entries

* Fix sorting by symbol
2024-08-03 23:18:46 +03:00
itanasi
c94d401826
Add Air Intercept Range to Civilopedia card (#12044)
* Add Air Intercept Range to Civilopedia card

* Add translation entry
2024-08-03 23:18:33 +03:00
SomeTroglodyte
d0e6dfcdfa
Console command to change difficulty (#12039) 2024-08-03 23:18:23 +03:00
yairm210
6bafab3c71 Fix for games saved during 4.12.15 2024-08-03 23:15:33 +03:00
Caballero Arepa
e10652964b
Clarify which entities are for Portraits (#12051)
* Clarify which entities are for Portraits

Would this work?

* Add documentation for autoupdate workflow

* Remove autoupdate doc
2024-08-02 14:42:24 +03:00
yairm210
1ce9b462d5 4.12.15-patch2 2024-08-01 16:45:17 +00:00
Yair Morgenstern
32bb7c8342
'gain control over tiles' trigger leaves your tiles alone (#12052) 2024-08-01 19:45:10 +03:00
yairm210
053f5b9442 chore: retire deprecated uniques 2024-08-01 18:59:22 +03:00