Commit Graph

5227 Commits

Author SHA1 Message Date
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
0273f8a38b added buttons for controlling music (#8256)
* added buttons for controlling music

* translations

* checks

* added `Music` to translations
2022-12-29 21:20:45 +02:00
deef19b5bb Version rollout (#8265)
* Bump version and create initial changelog entry

* Update Catalan.properties (#8264)

* Update French.properties (#8259)

* Update Korean.properties (#8254)

* Update Italian.properties (#8253)

* Update Italian.properties

* Update Italian.properties

* Update Simplified_Chinese.properties (#8245)

* Update Spanish.properties (#8244)

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Joan Josep <juanjo.ng.83@gmail.com>
Co-authored-by: Ouaz <Ouaz@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>
Co-authored-by: CrispyXYZ <64761703+CrispyXYZ@users.noreply.github.com>
Co-authored-by: Caballero Arepa <78449553+Caballero-Arepa@users.noreply.github.com>
2022-12-29 15:46:53 +02:00
d4ec1852d5 Fix PolicyScreen branches positioning (#8238) (#8258)
* Fix PolicyScreen branches positioning (#8238)

* Fix PolicyScreen branches positioning (#8238)

Co-authored-by: tunerzinc@gmail.com <vfylfhby>
2022-12-29 13:54:13 +02:00
a751c8e3dc Fixed TechButton progress-bar padding, less rounded corners for buttons. (#8260)
* Fixed TechButton progress-bar padding, less rounded corners for buttons.

* Removed extra padding on the right

Co-authored-by: tunerzinc@gmail.com <vfylfhby>
2022-12-29 13:52:52 +02:00
8fd561de50 Added WLTKD status icon (#8257)
* Added WTLKD status icon

* Credits

Co-authored-by: tunerzinc@gmail.com <vfylfhby>
2022-12-29 13:52:35 +02:00
fe655b6b7e AI considers capital city strength when deciding whether to attack - to avoid civs declaring war on a single city they can't possibly take 2022-12-29 12:31:13 +02:00
44d7ef78ed AI moves other civilians off the capital to make way for spaceship parts 2022-12-29 12:27:27 +02:00
be573f2b76 Big rework of City plates (#8239)
* Big rework of City plates

* New city plates design, new status icons

* A little bit of padding for construction icon

* Better border for defence counter

* Better border for defence counter

* Solid colored icons

* Solid colored icons

* Credits

* Credits

Co-authored-by: tunerzinc@gmail.com <vfylfhby>
2022-12-28 17:32:26 +02:00
301cd899b2 Some tile still has owner after city has been razed. (#8252)
* resolve: the tile still has owner after city has been razed.

* working city null check.

* avoid concurrent modification.
2022-12-28 14:55:44 +02:00
0519b92671 Check non-null when removing road (fix #8249) (#8250) 2022-12-28 11:23:55 +02:00
84fe92fab3 Negative stats UI Updates (#8240)
* Fix UI for negative Science, Culture, and Faith

* Fix more UI issues
Support Happiness Transportation Upkeep
Create Culture->Happiness deficit

* Remove deficit
Functionalize Rate + addition
2022-12-28 08:19:01 +02:00
41db6e079a Fix translation of policy branch name (#8247) 2022-12-28 08:18:03 +02:00
37250cc65d Add checkbox to Settings AdvancedTab to enable or disable easter eggs. (#8248) 2022-12-28 08:17:27 +02:00
f45d23d8d5 Revert "Demographics removed - resolves #8215"
This reverts commit c7f5a34c04.
2022-12-28 08:10:27 +02:00
e06b2be623 4.3.13 2022-12-27 22:58:24 +02:00
c784e13112 Version rollout (#8242)
* Bump version and create initial changelog entry

* Update Traditional_Chinese.properties (#8241)

* Update French.properties (#8233)

* Create Afrikaans.properties (#8231)

* Update Simplified_Chinese.properties (#8228)

* Update Simplified_Chinese.properties

* Update Simplified_Chinese.properties

* Update Simplified_Chinese.properties

* Update Simplified_Chinese.properties

* Update Simplified_Chinese.properties

* Updated Brazilian_Portuguese.properties (#8225)

* Updated Brazilian_Portuguese.properties

* Updated Brazilian_Portuguese.properties

* Update Korean.properties (#8220)

* Update Korean.properties

* Update Korean.properties

* Fix afrikaans and add icon

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: nacro711072 <nacro711072@yahoo.com.tw>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: LifeCanvasDev <93025509+LifeCanvasDev@users.noreply.github.com>
Co-authored-by: xk730 <40309144+xk730@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
Co-authored-by: Yattong the Mackerel <saud2410@naver.com>
2022-12-27 22:52:25 +02:00
c7f5a34c04 Demographics removed - resolves #8215 2022-12-27 22:33:07 +02:00
d1cb47054c World wrap available by default for all players 2022-12-27 22:30:27 +02:00
c0f0673e2d Units are no longer double-added to construction when clicking the 'add unit' button 2022-12-27 22:27:05 +02:00
fc5b8bc73d Units passed with 'next unit' are not returned to 2022-12-27 09:26:15 +02:00
859cc829f2 fixed screens displaying yourself as an unknown civilization (#8232)
* fixed diplomacy screen

* fixed diplomacy screen and GP screen

* forgot to change a variable

* reviews
2022-12-26 20:15:02 +02:00
ef55b9b5dc fix a translation problem in policy screen (#8229) 2022-12-25 11:20:50 +02:00
a6f6565112 Fix unit selection cycling (#8226)
Co-authored-by: tunerzinc@gmail.com <vfylfhby>
2022-12-25 08:36:37 +02:00
a347b05292 4.3.12-patch2 2022-12-25 00:35:52 +02:00
d3b6100047 Fix perpetual constructions info (#8207) (#8222)
Co-authored-by: tunerzinc@gmail.com <vfylfhby>
2022-12-25 00:07:26 +02:00
b7b6bbd3f3 4.3.12-patch1 2022-12-25 00:03:10 +02:00
f4c91126bc Civ 5: unit selection and cycling behaviour, "Wait" action (#8202)
Co-authored-by: tunerzinc@gmail.com <vfylfhby>
2022-12-24 23:12:31 +02:00
0c58488e42 4.3.12 2022-12-24 20:02:11 +02:00
d612286d81 Version rollout (#8219)
* Bump version and create initial changelog entry

* Update Spanish.properties (#8217)

* Update traditional_chinese.properties (#8213)

* Update German translation (#8205)

* Update French.properties (#8204)

* Updated Brazilian_Portuguese.properties (#8201)

* Updated Brazilian_Portuguese.properties

* Update Brazilian_Portuguese.properties

* Update Italian.properties (#8199)

* Update Indonesian.properties (#8196)

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Caballero Arepa <78449553+Caballero-Arepa@users.noreply.github.com>
Co-authored-by: nacro711072 <nacro711072@yahoo.com.tw>
Co-authored-by: MartinP <mape6@posteo.de>
Co-authored-by: Ouaz <Ouaz@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: kensvin <kensvin28@gmail.com>
2022-12-24 19:52:05 +02:00
bc483e8984 G&K Neutral Tile Road Maintenance (#8138)
* Redo

* New parameterized and actually used Road Unique

* Remove unneeded

* Update CURRENT_COMPATIBILITY_NUMBER since adding new serialization data

* Make neutralRoads for CivilizationInfo.kt Transient
2022-12-24 19:43:37 +02:00
8d0acd0647 Added keyboard shortcut to toggle World Screen UI elements (#8211)
* AbsoluteUnits - Mongolian Uniques

* Added keyboard shortcut to toggle World Screen UI elements

Ctrl+U to toggle

* Update WorldScreen.kt

* Added a pesky space

* Remove "Experimental" warning text

* Revert "Remove "Experimental" warning text"

This reverts commit 3c8456db95.
2022-12-24 19:41:35 +02:00
994169944a showed unknown civs as Unknown civilization in GP and Diplomacy screens (#8184)
* added mod topics to wiki

* fixed stats from revealing unknown civs and cityStates

* Revert "added mod topics to wiki"

This reverts commit 5528950a96.

* used knows() instead of getKnownCivs().contains()

* showed politics when you don't know the civ in GlobalPoliticsOverviewTable

* Replaced unknown civs name with `Unknown civilization` in DiplomacyScreen

* forgot to remove a couple lines

* translated the strings for the protectors

* reviews

* made function and tested translations
2022-12-24 19:40:36 +02:00
fd0279c187 Fixed "cannot upgrade to last unit" 2022-12-24 19:22:39 +02:00
78c4f6de68 Big rework of Policy Picker UI, added new ninepatch RoundedEdgeRectangleSmall (#8218)
Co-authored-by: tunerzinc@gmail.com <vfylfhby>
2022-12-24 19:17:00 +02:00