Commit Graph

5461 Commits

Author SHA1 Message Date
d822dc7abc Better victory data @touhidurrr 2023-01-09 19:02:48 +02:00
8f97b79a53 Resolve #8210 - Politics shortcut works 2023-01-09 19:01:28 +02:00
bf1e613bdd Resolve #7869 - limit the number of workers an AI creates 2023-01-09 18:45:55 +02:00
da82dcf559 Performance improvement for automated units looking for cities to connect 2023-01-09 16:29:58 +02:00
cf38ca9967 Resolve #8255 - include win/lose info in games, popup for multiplayer when someone else has won 2023-01-09 11:25:05 +02:00
8b63b4bdeb Fix "sell" containing square brackets 2023-01-09 09:17:01 +02:00
cba5ab0b91 Sleeping units wake if there's an enemy in 3-tile radius 2023-01-09 09:08:40 +02:00
e812ff3796 Resolve #6585 - AI peace deals don't pay more gold than they have 2023-01-08 19:40:21 +02:00
301f378bbf Resolve #7969 - Higher chance of starting bias for human players 2023-01-08 19:32:16 +02:00
d75233a932 Resolve #8116 - You can use missionaries of foreign religions religions 2023-01-08 19:21:40 +02:00
f9da3204b6 Resolve #8336 - Remove 'incorrect area' code for super-old maps 2023-01-08 19:09:17 +02:00
2863143122 Version rollout (#8338)
* Bump version and create initial changelog entry

* fix SimplifiedChinese translation (#8331)

Co-authored-by: chr56 <_>

* Fixed 'ConditionalsPlacement' with 'after' (#8319)

* Update Simplified_Chinese.properties (#8318)

* Update Simplified_Chinese.properties

* A little modification

* Update Korean.properties (#8317)

* Update Italian.properties (#8316)

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: chr_56 <30681738+chr56@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
Co-authored-by: CrispyXYZ <64761703+CrispyXYZ@users.noreply.github.com>
Co-authored-by: Yattong the Mackerel <saud2410@naver.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
2023-01-08 15:05:00 +02:00
75130322a8 Resolved #8337 - Fixed crash on one city challenge when conquering capital and enemy has only puppeted cities left 2023-01-08 15:04:36 +02:00
ecd52feaf8 Fix City plates aircraft table shape (#8332)
Co-authored-by: tunerzinc@gmail.com <vfylfhby>
2023-01-08 11:49:09 +02:00
4d8f056df7 Rework of PromotionPicker UI (#8325)
Co-authored-by: tunerzinc@gmail.com <vfylfhby>
2023-01-08 11:45:51 +02:00
b669c2ab1b Units are not displaced to enemy land when kicked out of borders 2023-01-08 11:45:08 +02:00
fe6c19532a UI: Better unit table 2023-01-07 22:12:31 +02:00
8b0a29425a Refactored and commented GameInfo.nextTurn() (#8296)
* Refactored and commented GameInfo.nextTurn()

* Little nitpicks

Co-authored-by: tunerzinc@gmail.com <vfylfhby>
2023-01-07 19:31:18 +02:00
a5f68612ad Better visibility for city status icons (#8329)
Co-authored-by: tunerzinc@gmail.com <vfylfhby>
2023-01-07 19:27:55 +02:00
6263b196cd Refactor maptype & resolve map setting issue (#8328)
* Add [MapGenerateMainType] to separate with [MapType].

* Add missing import.
2023-01-07 19:27:02 +02:00
d01d9e31eb update screen after disband unit. (#8326) 2023-01-07 19:25:18 +02:00
52e3540936 Version rollout (#8315)
* Bump version and create initial changelog entry

* Update German translation (#8313)

* Update Spanish.properties (#8311)

* Update Brazilian_Portuguese.properties (#8310)

* Fill in missing Ukrainian translations (#8309)

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

* Update French.properties (#8308)

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: MartinP <mape6@posteo.de>
Co-authored-by: Caballero Arepa <78449553+Caballero-Arepa@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
Co-authored-by: Kostiantyn Kolesnichenko <test9@mormat.name>
Co-authored-by: Kostiantyn Kolesnichenko <mormat.iam@gmail.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
2023-01-05 16:16:44 +02:00
33eaff14a4 Promote button sticks out more 2023-01-05 15:56:58 +02:00
60f1f77fd1 AI tries to stop civs who are about to win Scientific/Cultural victory 2023-01-05 15:55:46 +02:00
a0ff4c18d5 Worker automation no longer considers foreign unique improvements when deciding if to remove features 2023-01-05 13:52:17 +02:00
3e2a2a74f5 Resolve #8307 - no double copies of offers on AI trade counterproposals 2023-01-05 13:36:12 +02:00
5941beba26 Non-replacing buildings display uniques nicely in nation picker 2023-01-05 13:13:52 +02:00
6c708d537f Fixed Air Sweep mechanic 2023-01-04 19:39:30 +02:00
65d81245d2 Translated display sizes - #6131 2023-01-04 18:39:55 +02:00
da0793e9fd Disbanding units move to next unit only after disbanding 2023-01-04 16:10:33 +02:00
a47984dad6 4.3.16 2023-01-04 15:59:23 +02:00
81b08dd73f Version rollout (#8306)
* Bump version and create initial changelog entry

* Update Simplified_Chinese.properties (#8303)

* Update Korean.properties (#8299)

* Update Korean.properties

* Update Korean.properties

* Update Brazilian_Portuguese.properties (#8292)

* Update German translation (#8290)

* Update German translation

* Update German translation

* Update Italian.properties (#8289)

* Update French.properties (#8287)

* Update Indonesian.properties (#8286)

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: xk730 <40309144+xk730@users.noreply.github.com>
Co-authored-by: Yattong the Mackerel <saud2410@naver.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
Co-authored-by: MartinP <mape6@posteo.de>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: kensvin <kensvin28@gmail.com>
2023-01-04 15:51:18 +02:00
040770a39a Use removeTerrainFeatures and addTerrainFeature instead of setTerrainFeatures so serialization will work. (#8302) 2023-01-04 15:44:41 +02:00
5aca35c244 Added various styles for displaying resource icons (#8298)
* Added various styles for displaying resource icons

* Removed options, implemented background type color-coding + amount indicator

Co-authored-by: tunerzinc@gmail.com <vfylfhby>
2023-01-04 15:42:51 +02:00
2bd59b2147 Resolve #4758 - Humidity/Temperature restrictions work on terrain features 2023-01-03 23:17:25 +02:00
6f5edbae0c Resolve #4811 - Allow mass unit upgrades from the unit overview screen 2023-01-03 23:04:10 +02:00
1532216335 Add new game option to randomly select from map options. (#8271)
* Add new game option to randomly select from map options.

* Remove unused isPortrait.

* Remove unused isPortrait.

* Make other settings collapsable when using random generated.

* Make Random Generated settings start collapsed. Make padding consistent.

* Remove colons from ExpanderTab titles.

* Append "Enabled" before random map options.

* Append missing = in template.

* DRY the world wrap warning.

* Update JavaDoc of MultiCheckboxTable.
2023-01-03 21:56:41 +02:00
0301cc89d4 Modding: allow for custom TechPortraits (#8300)
Co-authored-by: tunerzinc@gmail.com <vfylfhby>
2023-01-03 19:48:08 +02:00
1c85388ee8 Translate "Sell" in city screen (#8297) 2023-01-03 00:40:34 +02:00
72eb9504b8 Fixed PolicyScreen branches requirements text (#8280)
* Fixed PolicyScreen branches requirements text

* Generify conditionals text pattern

* Remove GlobalAlert uniques from displaying in Policy descriptions

* Fix translations

* Fix freeze on "Tiny" displays

Co-authored-by: tunerzinc@gmail.com <vfylfhby>
2023-01-02 18:48:11 +02:00
ec50729767 Resolve #6551 - Calculate 'tiles can reach this turn' correctly with combinations of roads + railroads 2023-01-02 16:58:28 +02:00
d752b0b5c9 Fix connecting lines edges (#8291)
Co-authored-by: tunerzinc@gmail.com <vfylfhby>
2023-01-02 15:29:52 +02:00
d4bd4dc4b2 Resolve #8127 - If several improvements can provide a resource, workers pick the one that gives the most yields 2023-01-02 09:43:53 +02:00
2ce16696bd Version rollout (#8285)
* Bump version and create initial changelog entry

* Update Korean.properties (#8284)

* Updated Brazilian_Portuguese.properties (#8275)

* Update Spanish.properties (#8270)

* Update French.properties (#8269)

* Update Italian.properties (#8267)

* Update Polish.properties (#8266)

* Fixed Polish translations

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Yattong the Mackerel <saud2410@naver.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
Co-authored-by: Caballero Arepa <78449553+Caballero-Arepa@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: pyotr_p <pyotr.pietrzak@gmail.com>
2023-01-01 16:22:34 +02:00
d20f8a53f8 Validate unique parameters for mods 2023-01-01 15:55:41 +02:00
9cf47e9f48 Display protecting civs for city-states 2023-01-01 14:59:58 +02:00
96172c67d4 Resolved #8251 - units check if they can capture enemy units by whether they *will* be embarked, not by whether they *are* embarked 2023-01-01 14:34:08 +02:00
ba7a9708e2 Rename isPlayerCivilization -> isHuman 2023-01-01 14:03:34 +02:00
41b5cfa9b1 Fixed crash when policy prerequisite is a branch (#8273)
Co-authored-by: tunerzinc@gmail.com <vfylfhby>
2022-12-30 14:30:02 +02:00
38d13570a7 Fix another untranslated String in Policy Screen (#8272) 2022-12-30 11:13:54 +02:00