Commit Graph

8559 Commits

Author SHA1 Message Date
Yair Morgenstern
5e85c3ca72 "by consuming this unit" is better 2023-03-01 16:35:06 +02:00
Yair Morgenstern
ae501c3750 'create improvement' action, <consuming this unit> and <as an action> modifiers 2023-03-01 16:09:44 +02:00
Yair Morgenstern
66faeb0d15 Preparation for unit action modifiers 2023-03-01 15:26:54 +02:00
vegeta1k95
494fde53cf
Cleaning: platform specifics and UncivGame (#8773)
* Cleanup: platform specifics + UncivGame

* Fix tests

* Fix requests not clearing

---------

Co-authored-by: vegeta1k95 <vfylfhby>
2023-02-28 18:56:57 +02:00
AdityaMH
81c4057488
Fix missing desert for flood plains in hexarealm tileset (#8776)
* Fix missing desert for flood plains in hexarealm tileset

* fix typo
2023-02-28 18:56:44 +02:00
Yair Morgenstern
c20c05a446 Resolved #8766 - gifting cities no longer causes crash 2023-02-27 17:07:11 +02:00
Leonard Günther
8f7fcb2e3e
Fixed TurnChecker can not authenticate (#8770) 2023-02-27 16:51:27 +02:00
SomeTroglodyte
58b3d6eaac
Fix random nations pool popup (#8769)
* Fix random nations pool dialog

* Rename randomNations for backwards compat with 4.5.0 or older
2023-02-27 16:51:04 +02:00
Yair Morgenstern
51ef8c3ccf 4.5.1 2023-02-27 11:26:48 +02:00
Yair Morgenstern
36ea383c2f
Version rollout (#8764)
* Bump version and create initial changelog entry

* Update French.properties (#8761)

* Update Italian.properties (#8757)

* Added some bulgarian translations (#8756)

* Added some Bulgarian translations

* Removed unnecessary comments

When adding the translations, I forgot to remove some "# Requires translation!" comments

* Update Catalan.properties (#8754)

* Update Polish.properties (#8752)

* Update Polish.properties

* Update Polish.properties

* Update Brazilian_Portuguese.properties (#8750)

* Update Spanish.properties (#8749)

---------

Co-authored-by: yairm210 <yairm210@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: vynaaa <101423783+vynaaa@users.noreply.github.com>
Co-authored-by: Joan Josep <juanjo.ng.83@gmail.com>
Co-authored-by: Lesiakower <125187776+Lesiakower@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
Co-authored-by: Caballero Arepa <78449553+Caballero-Arepa@users.noreply.github.com>
2023-02-27 11:24:31 +02:00
SomeTroglodyte
3d84297da1
Better control over debug messages (#8748)
* Better control over debug messages

* Better control over debug messages
2023-02-27 11:13:34 +02:00
Yair Morgenstern
44399e770c Added triggered uniques to grant specific tech / policy 2023-02-27 10:58:08 +02:00
SomeTroglodyte
bcfa2fcd27
Fix broken random nations pool (#8763) 2023-02-27 08:30:38 +02:00
Yair Morgenstern
8361d68452 Added 'upon ending turn in tile' unit trigger 2023-02-26 23:41:09 +02:00
Yair Morgenstern
ec1b2b5077 Fixed 'HiddenFromCivilopedia' targets 2023-02-26 23:26:48 +02:00
Yair Morgenstern
4ba822ca49 Resolved #8762 - Civilopedia does not crash when displaying techs on fresh start 2023-02-26 23:19:24 +02:00
Yair Morgenstern
e27de0eb96 Resolved #8759 - 'upon declaring friendship' triggers for both sides 2023-02-26 23:16:16 +02:00
Yair Morgenstern
88cd136dd5 Resolved #8758 - all unpillagable improvements are not destroyed by 'destroy improvements' unique 2023-02-26 23:04:55 +02:00
Yair Morgenstern
86a63ac578 'upon conquering' is a condition not a triggered unique 2023-02-26 22:33:00 +02:00
Yair Morgenstern
c1df32b4e7 Add new uniques to wiki 2023-02-26 22:15:15 +02:00
Yair Morgenstern
9988764d4d Added 'trigger upon losing over X HP in single attack' 2023-02-26 22:11:23 +02:00
Yair Morgenstern
faada0ac79 Added 'trigger upon promotion', 'trigger upon conquering city' unit trigger 2023-02-26 22:04:57 +02:00
Yair Morgenstern
67f4704ca2 Added unit trigger for 'upon defeat' 2023-02-26 21:57:52 +02:00
Yair Morgenstern
a47864ecac Special type for unit triggerables 2023-02-26 21:52:18 +02:00
Yair Morgenstern
8c9877365d unit triggers also activate civ triggers 2023-02-26 21:48:46 +02:00
Yair Morgenstern
090c421f9b Introduced "upon defeating [unitFilter] unit" trigger 2023-02-26 20:31:13 +02:00
SomeTroglodyte
7bfaeb274c
City screen displays "free" tile yields undimmed (#8753) 2023-02-26 19:19:18 +02:00
Yair Morgenstern
cff8876ec8 4.5.0-patch3
Fixed 'unitsToRemove' error
2023-02-26 10:13:25 +02:00
Yair Morgenstern
8e17c9ed98 4.5.0-patch2
Lazy loading of system fonts so startup is fast
2023-02-26 09:33:02 +02:00
letstalkaboutdune
fd9fc914bc
AbsoluteUnits - Chu-Ko-Nu, Longbowman, Crossbowman v2 (#8751) 2023-02-26 09:05:36 +02:00
Yair Morgenstern
87403c9472
exploredTiles deprecation, step 1 - do not check exploredTiles when checking if a tile is explored (#8747)
exploredTiles continues to remain updated, to allow
2023-02-26 09:04:14 +02:00
Yair Morgenstern
9acc84ff8e Resolved #8739 - cannot 'undo' if you cannot change state 2023-02-25 22:23:23 +02:00
Yair Morgenstern
0144947bb7 4.5.0-patch1 2023-02-25 21:31:04 +02:00
Yair Morgenstern
ad9942c532 4.5.0 2023-02-25 21:03:52 +02:00
Yair Morgenstern
b6942abbd9
Version rollout (#8746)
* Bump version and create initial changelog entry

* Updated Brazilian_Portuguese.properties (#8745)

* Update French.properties (#8743)

* Update Catalan.properties (#8742)

* Update Italian.properties (#8740)

* Update Spanish.properties (#8735)

---------

Co-authored-by: yairm210 <yairm210@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: Joan Josep <juanjo.ng.83@gmail.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: Caballero Arepa <78449553+Caballero-Arepa@users.noreply.github.com>
2023-02-25 20:54:41 +02:00
Yair Morgenstern
b3d8415f61 "must be on/next to" unique for buildings can accepts tile filter - #3242 2023-02-25 20:53:54 +02:00
SomeTroglodyte
e458b64339
Fix problems with dual save folder support (#8734) 2023-02-25 20:43:59 +02:00
Leonard Günther
a3f511efd2
Added password authentication as server feature (#8716)
* Added authenticate and setPassword

* Added AuthPopup

* Added auth endpoint to UncivServer

* Fixed merge confict

* Added close button to AuthPopup

+ Fixed crash if no server is available

* Added entries to template properties

* Fixed setting password does not work

if authentication is required

+ Added server check on game startup in case the server has changed its feature set

* Added support for different passwords

on different servers

+ Cleanup for MultiplayerTab

* Added current password as hint

+ removed character hiding in auth popup
+ added popup to indicate auth success on connection check
2023-02-25 20:42:36 +02:00
SomeTroglodyte
5d80f50d93
Show UnitTypes in Civilopedia (#8729)
* Show UnitTypes in Civilopedia

* Show UnitTypes in Civilopedia - polish
2023-02-25 20:40:59 +02:00
SomeTroglodyte
5d74689b19
Resilient UiElementDocsWriter (#8738) 2023-02-25 20:39:56 +02:00
Gualdimar
e69eb5b518
Map exploring disables undo button + ExploredRegion smallfixes (#8741) 2023-02-24 23:44:43 +01:00
Yair Morgenstern
3278cbc904 4.4.19 2023-02-23 23:11:30 +02:00
Yair Morgenstern
04cc091d94 Added conditionals for religion state 2023-02-23 23:05:42 +02:00
Yair Morgenstern
1eba9bb4d9
Version rollout (#8732)
* Bump version and create initial changelog entry

* Update French.properties (#8726)

* Update Italian.properties (#8722)

* Updated Brazilian_Portuguese.properties (#8720)

* Updated Brazilian_Portuguese.properties

* Updated Brazilian_Portuguese.properties

* Update Spanish.properties (#8719)

---------

Co-authored-by: yairm210 <yairm210@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: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
Co-authored-by: Caballero Arepa <78449553+Caballero-Arepa@users.noreply.github.com>
2023-02-23 23:05:16 +02:00
ryg-git
09d3094bd8
if tileset or unitset in different in WorldMapHolder compared to GameSetting reload the game on resume (#8519) 2023-02-23 23:05:03 +02:00
Gualdimar
713f116400
Limit camera movement within explored region (#8661)
* Load game resets scroll position

* Limit camera within explored region
2023-02-23 22:41:21 +02:00
vegeta1k95
b5ce086860
Android: use best possible device frame rate (#8728)
* Android: use best possible device frame rate

* Add support for devices with Android 6.0+

---------

Co-authored-by: vegeta1k95 <vfylfhby>
2023-02-23 22:40:58 +02:00
SomeTroglodyte
5d07fd981b
Allow filters in the ModOptions "ToRemove" lists (#8730)
* Allow "*" wildcard in the ModOptions "ToRemove" lists

* Allow filters in the ModOptions "ToRemove" lists
2023-02-23 22:40:47 +02:00
vegeta1k95
33ddb2dc3a Fix tech description items alignment 2023-02-23 14:55:46 +01:00
Skekdog
145811849c
Play city-state music if available (#8727)
* City-states now play their music if it exists
More of a fix than anything - before this city state music would only play when declare war button is confirmed

* City-states now play their music if it exists
More of a fix than anything - before this city state music would only play when declare war button is confirmed
2023-02-23 09:31:23 +02:00