Commit Graph

3637 Commits

Author SHA1 Message Date
Oskar Niesen
ba56374ee2
Added the Espionage civilopedia entry (#11597)
* Added the Espionage civilopedia entry

* Spelling and grammar fixes

* Update Espionage cyclopedia entry to use newer format
2024-05-27 12:31:56 +03:00
SomeTroglodyte
c5df845611
Fix bug in ModConstants handling (#11645)
* Fix a few unhelpful mod checker warnings

* Fix a problems with ModConstants and unit tests for them

* Minor linting
2024-05-27 12:30:51 +03:00
SomeTroglodyte
b78f887124
Some minor behind-the-scenes UI architecture changes (#11639)
* Some UI architecture changes

* Some UI architecture changes - merge Kdoc update from another PR

* Remove experimental status of the key bindings UI

* Minor update to keyboard tutorials

* Minor readability linting: A few color names instead of hex codes

* Fix links from Options not working when called from MainMenuScreen
2024-05-27 12:30:34 +03:00
SomeTroglodyte
199a684409
Support for Zulu language (#11644) 2024-05-27 12:30:21 +03:00
Yair Morgenstern
860989571a 4.11.14 2024-05-21 20:22:21 +03:00
Yair Morgenstern
a2fe888b98
Version rollout (#11628)
* Bump version and create initial changelog entry

* Revive of Belarusian language (#11627)

* Update Catalan.properties (#11619)

* Add translations to Ukrainian (#11617)

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

* Update French.properties (#11612)

* Update Spanish.properties (#11611)

* Update Brazilian_Portuguese.properties (#11610)

* Update Simplified_Chinese.properties (#11607)

* Update Simplified_Chinese.properties

* Update Simplified_Chinese.properties

* Update Simplified_Chinese.properties

* Update Simplified_Chinese.properties

* Update Indonesian.properties (#11605)

* Update Indonesian.properties

Translated the new words and corrected some mistranslation.

* Update Indonesian.properties

* Update Indonesian.properties

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: GameBoyNoob <94763659+GameBoyNoob@users.noreply.github.com>
Co-authored-by: Joan Josep <juanjo.ng.83@gmail.com>
Co-authored-by: Kostiantyn Ko <test9@mormat.name>
Co-authored-by: Kostiantyn Ko <mormat.iam@gmail.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
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: AutumnPizazz <114050365+AutumnPizazz@users.noreply.github.com>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
2024-05-21 20:12:13 +03:00
yairm210
4d728914f4 4.11.13 2024-05-16 08:32:15 +03:00
Yair Morgenstern
99801c797d
Version rollout (#11602)
* Bump version and create initial changelog entry

* Update French.properties (#11599)

* Update Indonesian.properties (#11598)

* Update Indonesian.properties

Translated all the new words and corrected the mistranslated words.

* Update Indonesian.properties

* Update Indonesian.properties

* Update Brazilian_Portuguese.properties (#11595)

* Update Italian.properties (#11594)

* Update Ukrainian translations (#11593)

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

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: X2003 <158255876+Xenia2003@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: Kostiantyn Ko <test9@mormat.name>
Co-authored-by: Kostiantyn Ko <mormat.iam@gmail.com>
2024-05-16 08:21:16 +03:00
yairm210
0aa70668cc Barbarian water units no longer pillage 2024-05-16 07:06:21 +03:00
Oskar Niesen
c7a7bf1474
City state coup (#11586)
* Added coup success calculation

* Added a coup button

* Added a coup button functionality

* Improved coup chance calculation

* Added coup effects

* Fixed random value being too high

* Fixed percent chance roll

* Hid enemy spy factor from the chance text

* Added coup notifications

* Added translations

* Updated a notification

* Style changes

* Put some text onto multiple lines

* Fixed "failed staged" notification

* Added missing translation

* Finished fixing merge conflicts

* Added AI to city-state coups

* Coup notifications are now sent to the spectators as well

* Changed spy rank modifier to be additive
2024-05-16 07:02:37 +03:00
Yair Morgenstern
66634dba0e 4.11.12 2024-05-14 11:23:52 +03:00
Yair Morgenstern
903cabed27
Version rollout (#11592)
* Bump version and create initial changelog entry

* Update Ukrainian translations (#11589)

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

* Update French.properties (#11585)

* Update Brazilian_Portuguese.properties (#11582)

* Update Indonesian.properties (#11580)

Added new translation and corrected the mistranslation.

---------

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: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
2024-05-14 11:18:51 +03:00
Skekdog
50274a42ad
Corrected Coast yields to give 1 Food and 1 Gold (#11583)
* Coast also yields 1 Gold

* Coast also yields 1 Gold and 1 Food in Vanilla
2024-05-14 10:59:18 +03:00
Oskar Niesen
eb79a777a2
City state election rigging (#11577)
* Added city-state Elections

* Added Elections notifications

* Removed temporary rigging elections in Spy.kt

* Modified votes from influence a little

* Fixed rigging election turns

* Fixed elections

* Randomised city-state election days

* Refactored geCapital

* Refactored election random to use randomWeighted

* Fixed getSkillModifier being private

* Updated translations and fixed a notification for election rigging
2024-05-14 10:58:07 +03:00
Yair Morgenstern
a8c0bef379 4.11.11 2024-05-11 21:49:47 +03:00
Yair Morgenstern
3f4a4aa93b
Version rollout (#11579)
* Bump version and create initial changelog entry

* Update Turkish.properties (#11573)

* Update Turkish.properties

* Update Turkish.properties

* Update Turkish.properties

* Update Turkish.properties

* Update Brazilian_Portuguese.properties (#11566)

* Update Brazilian_Portuguese.properties

* Update Brazilian_Portuguese.properties

* Update Brazilian_Portuguese.properties

* Update French.properties (#11565)

* Update Italian.properties (#11564)

* Update Indonesian.properties (#11563)

* Update Indonesian.properties

Added and fixed the translation.

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: komandotayfa <53448093+komandotayfa@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: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
2024-05-11 21:44:44 +03:00
Yair Morgenstern
19be96335d Removed dead "Start golden age" unit action - #11576 2024-05-11 21:44:30 +03:00
SomeTroglodyte
a485510faf
Resource Overview: Info on unavailable strategic and unimproved by allies (#11571)
* Resource Overview: Info on unavailable strategic and unimproved by allies

* Update tutorial
2024-05-11 21:36:17 +03:00
SomeTroglodyte
628bd71830
Spy UI improvements (#11570)
* Minor linting

* More linting

* Consistent naming city/location, cache city on Spy (tile visibility perf)

* Empower SpyAction enum (minor perf)

* NotificationAction for Espionage, shorthand on the Spy instance

* Fix National Intelligence Agency giving one extra Spy level

* Fix "Move Spies" NextTurnButton prompt appearing every turn when spies are in Surveillance

* Fix failed tech theft rewarding tech anyway (and open spy kill chance when theft ordered but nothing to steal)

* Finally refactor SmallButtonStyle as standalone component

* Fix unable to assign spies for counter-intelligence

* Shorten establish-network phase for domestic spy placement

* Refactor and prettify MoveToCityButton, reuse as pointer who is to move (and some tiny changes)

* Decorate Spy icons by rank and show those in the hideout too

* Make city name labels in Espionage screen clickable

* Umm... duplicate targets behave same as single targets

* Spy mechanics - no establish network before counter-intelligence, commenting

* Oops, those lines do not belong in this branch anyway
2024-05-11 21:36:07 +03:00
Yair Morgenstern
dee12bf23d 4.11.10 2024-05-04 21:51:28 +03:00
Yair Morgenstern
fbb9c4a7ad
Version rollout (#11561)
* Bump version and create initial changelog entry

* new update Translate vietnamese (#11558)

* Update Vietnamese.properties

ok

* Update Vietnamese.properties

1

* Update Vietnamese.properties

2

* new Update Vietnamese.properties

* Updates to Portuguese.prop file (#11556)

* Update Portuguese.properties

* Update Portuguese.properties

* Update Portuguese.properties

* Update Portuguese.properties

* Update Portuguese.properties

* Update Portuguese.properties

* Update Portuguese.properties

* Update Portuguese.properties

* Update Portuguese.properties

* Update Portuguese.properties

* Update Portuguese.properties

* Update Portuguese.properties

* Update Portuguese.properties

* Update Portuguese.properties

* Update Portuguese.properties

* Update Portuguese.properties

* Add translations to Ukrainian (#11549)

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

* Update Filipino.properties (#11548)

* Update Indonesian.properties (#11547)

Fixed the mistranslation.

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: vvinam <vvinam@gmail.com>
Co-authored-by: nexphilim <75545134+nexphilim@users.noreply.github.com>
Co-authored-by: Kostiantyn Ko <test9@mormat.name>
Co-authored-by: Kostiantyn Ko <mormat.iam@gmail.com>
Co-authored-by: Edizen P. Buguina <111935236+zen-pb@users.noreply.github.com>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
2024-05-04 21:17:20 +03:00
Oskar Niesen
4aa75896e1
Add missing espionage uniques (#11559)
* Added "New spies start with [1] level(s)" unique

* Added England extra spy unique

* Fixed SpyStartingLevel target

* Added addspy notification
2024-05-04 21:04:17 +03:00
Oskar Niesen
da4657fa44
Next turn button shows move spies notification icon (#11557) 2024-05-04 21:04:08 +03:00
Yair Morgenstern
5291c5b79a 4.11.9 2024-04-30 00:50:47 +03:00
Yair Morgenstern
e7c945f910
Version rollout (#11539)
* Bump version and create initial changelog entry

* Update Czech.properties (#11537)

* Updated Romanian.properties (#11531)

* Update Portuguese.properties  (#11526)

* Update Portuguese.properties

* Update Portuguese.properties

* Update Portuguese.properties

* Update Portuguese.properties

* Update Portuguese.properties

* Update Portuguese.properties

* Update Portuguese.properties

* Update Portuguese.properties

* Update Portuguese.properties

* Update Simplified_Chinese.properties (#11524)

* Update Simplified_Chinese.properties

* Update Simplified_Chinese.properties

* Update Simplified_Chinese.properties

* Update Simplified_Chinese.properties

* Update Simplified_Chinese.properties

* Update Simplified_Chinese.properties

* Update Filipino.properties (#11523)

* Update Filipino.properties

* Update Filipino.properties

Fix an error.

* Update Filipino.properties

Fixed another minor error.

* Update Filipino.properties

Sorry for these errors. I should have slept instead of translating.

* Update Spanish.properties (#11517)

* Update Spanish.properties

* Fix civName

* The other one

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: jahodovykolac <79529669+jahodovykolac@users.noreply.github.com>
Co-authored-by: ghd987654321 <141758961+ghd987654321@users.noreply.github.com>
Co-authored-by: nexphilim <75545134+nexphilim@users.noreply.github.com>
Co-authored-by: AutumnPizazz <114050365+AutumnPizazz@users.noreply.github.com>
Co-authored-by: Edizen P. Buguina <111935236+zen-pb@users.noreply.github.com>
Co-authored-by: Caballero Arepa <78449553+Caballero-Arepa@users.noreply.github.com>
2024-04-30 00:47:43 +03:00
yairm210
235921e315 4.11.8 2024-04-25 16:46:28 +03:00
Yair Morgenstern
fe78ba91e4
Version rollout (#11520)
* Bump version and create initial changelog entry

* Update Indonesian.properties (#11519)

I am X2003 from Discord and my account has been unblocked. I have also fixed the mistranslated words and translated the untranslated words.

* Update Portuguese.properties (#11518)

* Update Portuguese.properties

* Update Portuguese.properties

* Update Portuguese.properties

* Update Portuguese.properties

* Update Portuguese.properties

* Update Portuguese.properties

* Update Italian.properties (#11515)

* Update French.properties (#11514)

* Update Catalan.properties (#11513)

* Update Brazilian_Portuguese.properties (#11512)

* Detekt

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
Co-authored-by: nexphilim <75545134+nexphilim@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@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: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
2024-04-25 16:41:36 +03:00
Yair Morgenstern
82c478a4dd 4.11.7 2024-04-24 00:30:28 +03:00
Yair Morgenstern
2bee2d6368
Version rollout (#11510)
* Bump version and create initial changelog entry

* Update to Portuguese.properties (multiple commits) (#11502)

* Update Portuguese.properties

* Update Portuguese.properties

* Update Portuguese.properties

* Update Portuguese.properties

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: nexphilim <75545134+nexphilim@users.noreply.github.com>
2024-04-24 00:14:34 +03:00
Oskar Niesen
8b27de26d5
Declare War Reason (#11490)
* Created DeclareWarReason enum

* Created a new notifyOfWar function and a DeclareWarReason class

* moved handleCityStateDirectAttack to it's own function

* Moved changing modifiers to its own function

* Moved notifyOfWar above onWarDeclared

* Fixed defensive pact canceling notifications

* Added more comments

* Fixed DiplomacyManagerTests

* Warmongering does not stack with defensive pacts

* Reworked how shared enemy modifiers are given out

* Fixed JoinWar notifications

* Added join war translations

* Added missing defensive pact translations

* Fixed translation parameter problems

* Changed "canceled" to "cancelled"
2024-04-24 00:01:26 +03:00
SomeTroglodyte
5c6d9171c4
UX: Auto rename new capital in rare cases to prevent confusing notifications later (#11507)
* Rename new capital when a civ survives losing their civ-named capital

* Linting

* Make "overflow" city founding names translatable

* Fix some unit tests relying on hardcoded Random() results
2024-04-23 23:59:53 +03:00
Yair Morgenstern
6b2fe87887 4.11.6 2024-04-21 15:51:10 +03:00
Yair Morgenstern
9d96b62189
Version rollout (#11500)
* Bump version and create initial changelog entry

* Update Spanish.properties (#11498)

* Update Simplified_Chinese.properties (#11497)

* Update Norwegian.properties (#11494)

* Update Norwegian.properties

Added multipe new translations, and edited older translations

* Update Norwegian.properties

Fixed missing placeholders

* Update Norwegian.properties

Added more translations

* Update Norwegian.properties

Fixed missing placeholders.

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

* Update Filipino.properties (#11492)

* Update Filipino.properties

* Update Filipino.properties

* Update Italian.properties (#11488)

* Update Brazilian_Portuguese.properties (#11487)

* Update French.properties (#11484)

* Update Indonesian.properties (#11482)

New translations for spies and others
Fix other translations

* Fix tests

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Caballero Arepa <78449553+Caballero-Arepa@users.noreply.github.com>
Co-authored-by: AutumnPizazz <114050365+AutumnPizazz@users.noreply.github.com>
Co-authored-by: Floxudoxu <67422605+Floxudoxu@users.noreply.github.com>
Co-authored-by: Ilia <81512402+ilia-abbasi@users.noreply.github.com>
Co-authored-by: Edizen P. Buguina <111935236+zen-pb@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: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: kensvin <kensvin28@gmail.com>
2024-04-21 15:48:21 +03:00
SomeTroglodyte
c75861af25
Prettier Events - that now respect 'hidden from users' (#11474)
* Expand Events to allow civilopediaText, fixing hidden uniques as side effect

* Fix ConditionalChance save scumming

* Fix ExtraImages not working within mods

* Missing documentation of the changes to Events

* Kdoc to clarify why helper returns nullable

* Lint getJavaClassByName: fix compiler warning and re-sort when

* FormattedLine now throws on problems with extraImage loading

* Fix Tutorial extraImage by removing auto and making it explicit

* Revert "FormattedLine now throws on problems with extraImage loading"

This reverts commit b5ab4084ee.

* Partially revert the revert, so bad extraImage fields are console-logged
2024-04-21 15:30:41 +03:00
Yair Morgenstern
f69539ab92 4.11.5 2024-04-16 00:12:38 +03:00
Yair Morgenstern
03ea2e0e2c
Version rollout (#11477)
* Bump version and create initial changelog entry

* Update Turkish.properties (#11472)

I checked all English sentences 4 times

* Update Catalan.properties (#11470)

* Update French.properties (#11465)

* Update Polish.properties (#11464)

* Update Italian.properties (#11462)

* Update Korean.properties (#11460)

* update Korean.properties

* update Korean.properties

* update Korean.properties

* update Korean.properties

* Update Korean.properties

* Update Korean.properties

---------

Co-authored-by: saud2410 <->

* Update Dutch.properties (#11459)

* Update Brazilian_Portuguese.properties (#11458)

* Update Portuguese.properties [Most lines until 539] (#11456)

Updated most untranslated lines until 539
Will continue the translation effort soon

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Serhat Soylemez <serhatsoylemez@live.com>
Co-authored-by: Joan Josep <juanjo.ng.83@gmail.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: Lesiakower <125187776+Lesiakower@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: Yattong the Mackerel <saud2410@naver.com>
Co-authored-by: Lena Bullens <95299589+LenaBullens@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
Co-authored-by: nexphilim <75545134+nexphilim@users.noreply.github.com>
2024-04-16 00:05:57 +03:00
SomeTroglodyte
8ef90cbaf1
Minor Scenarios UX improvements (#11466)
* Give "Scenarios" its own icon

* A little more wiki info on the console

* Minor ScenarioScreen UX improvements
2024-04-15 23:55:25 +03:00
yairm210
7ce2913293 Better multiplayer game screen - all 'game settings' are accessible immediately without a subscreen! 2024-04-15 01:15:32 +03:00
Yair Morgenstern
43e38e3869 4.11.4 2024-04-12 00:10:52 +03:00
Yair Morgenstern
dfd56e5594
Version rollout (#11455)
* Bump version and create initial changelog entry

* Update Korean.properties (#11452)

* Update Polish.properties (#11450)

* Update Turkish.properties (#11447)

* Console support for rivers (#11446)

* Treat "River" parameter to `tile addfeature/removefeature`

* Tile addriver and removeriver commands taking a compass direction

* Show ambiguous autocompletion possibilities

* Update French.properties (#11445)

* Update Simplified_Chinese.properties (#11441)

* Update Simplified_Chinese.properties

Add new content, especially the spy part, correct some minor errors to make it more suitable for native Chinese speakers, and delete redundant spaces

* Update Simplified_Chinese.properties

* Update Italian.properties (#11439)

* Update Brazilian_Portuguese.properties (#11435)

* Full polish translation, 100% checked (#11442)

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

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Yattong the Mackerel <saud2410@naver.com>
Co-authored-by: Lesiakower <125187776+Lesiakower@users.noreply.github.com>
Co-authored-by: ygz213 <77006222+ygz213@users.noreply.github.com>
Co-authored-by: SomeTroglodyte <63000004+SomeTroglodyte@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: AutumnPizazz <114050365+AutumnPizazz@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: SHypoleac <153895174+SHypoleac@users.noreply.github.com>
2024-04-11 23:49:32 +03:00
SomeTroglodyte
f590d8d561
Two extension features for custom maps (#11443)
* Fix apparent bug removing starting locations

* Remove StartingLocation legacy support (when they were TileImprovements)

* Starting locations get a "usage" controlling new game "select players"

* Maps get a description map creators can use to pass info to their users

* Fix bad fix from last PR preventing then map preview of the initial selection to show in some cases

* Wrap all those setProgrammaticChangeEvents calls

* Fix None/Normal discrepancy
2024-04-11 23:33:10 +03:00
SeventhM
a072f452b6
Allow policy removal unique to remove multiple policies (#11427)
* Allow policy removal unique to remove multiple policies

* Fix typo and filter

* More accurate translation line. Not sure if the engine cares
2024-04-11 23:32:59 +03:00
yairm210
5a40c4f563 4.11.3 2024-04-09 23:44:21 +03:00
Yair Morgenstern
958deb6258
Version rollout (#11430)
* Bump version and create initial changelog entry

* Update Polish.properties (#11421)

* Update Polish.properties

* Update Polish.properties

* Update French.properties (#11417)

* Update Italian.properties (#11416)

* Update Brazilian_Portuguese.properties (#11413)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Lesiakower <125187776+Lesiakower@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>
2024-04-09 23:37:21 +03:00
Oskar Niesen
ef9965e218
Espionage Uniques, Buildings and Policy (#11401)
* Added OneTimeSpiesLevelUp, OneTimeGainSpy, SpyEffectiveness, EnemySpyEffectiveness and HiddenWithoutEspionage Uniques

* Spy effectiveness affects stealing tech and rigging elections

* Fixed HiddenWithoutEspionage

* Added Constabulary and Police Station

* Added cityFilter to SpyEffectiveness

* Added national Intelligence agency

* Added Great Firewall

* Fixed great firewall having a float value

* EspionageManager addSpy now returns Spy instead of name

* Added some simple espionage tests

* Fixed OneTimeSpiesLevelUp still wanting parameter

* Spy efficiency occurs after skill modifier

* Added another test

* Added Police State spy efficiency reduction unique

* Fixed "Hidden when espionage is disabled" wording

* Fixed "effectiveness" wording

* Changed "enemy spy effectiveness" unique to use negative matters

* Spy effectiveness only affect tech steal rate

* Changed "Gain an extra spy" and "Promotes all spies" uniques

* Removed Police State comment that is no longer accurate

* Changed spy effectiveness to be multiplicative
2024-04-09 23:12:21 +03:00
SomeTroglodyte
b8706c1330
New game and custom/mod maps UI update and sync fixes (#11423)
* Offer custom map mod/ruleset and name as master/child SelectBoxes

* Let map Preview class (partial parse) include starting locations

* Implement button to use map-selected nations

* Show a LoadingImage while the maps are still loading

* Fix merge errors

* Usability improvements

* More out-of-sync fixes and improvements

* Template
2024-04-09 23:11:46 +03:00
yairm210
054bc528ff Fix untranslateables 2024-04-07 12:54:40 +03:00
yairm210
ef9fb23361 4.11.2 2024-04-07 12:51:07 +03:00
SomeTroglodyte
184b9b25ca
Fix two untranslatables (#11397)
* Fix two "untranslatables"

* Save a few translations
2024-04-07 12:45:40 +03:00
Yair Morgenstern
3c781e4c25
Version rollout (#11412)
* Bump version and create initial changelog entry

* Update Spanish.properties (#11410)

* Update Brazilian_Portuguese.properties (#11406)

* Update Brazilian_Portuguese.properties

* Update Brazilian_Portuguese.properties

* Update Catalan.properties (#11403)

* Update Polish.properties (#11402)

* Update Italian.properties (#11394)

* Update French.properties (#11392)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
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: Joan Josep <juanjo.ng.83@gmail.com>
Co-authored-by: Lesiakower <125187776+Lesiakower@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
2024-04-07 12:45:22 +03:00
yairm210
8bd8ed683f Fix deprecated conditionals, caught by new mod checker 2024-04-07 12:43:38 +03:00
Yair Morgenstern
802a206c53 4.11.1 2024-04-04 23:57:49 +03:00
Yair Morgenstern
8cb200ae4f
Version rollout (#11390)
* Bump version and create initial changelog entry

* Update Hungarian.properties (#11381)

* Update French.properties (#11378)

* Update Italian.properties (#11377)

* Update Catalan.properties (#11376)

* Update Catalan.properties

* Update Catalan.properties

* Update Catalan.properties

* Update Indonesian.properties (#11374)

* Update Indonesian.properties

Added and fixed the translation.

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: balazsszalab <balazsszalab@freemail.hu>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: Joan Josep <juanjo.ng.83@gmail.com>
Co-authored-by: M792003 <158552928+M792003@users.noreply.github.com>
2024-04-04 23:54:13 +03:00
SeventhM
3ea1e4a539
Allow for replacement improvements (#11369)
* Allow for replacement improvements

* imports

* Forgot the most important change, lol

* Docs

* Replacement description, validation, and filter

* Move more into ImprovementDescriptions

* Whoops, forgot to yield

* Fix some copy-paste artifacts

* New translations

* Fix double see also

* Add space for translation engine
2024-04-04 23:39:44 +03:00
PLynx
0caf0cb4fa
Add configurable natural wonder discovery stat bonuses (#11249)
* Added configurable natural wonder discovery stats

* Shortened the code

* Updated the base rulesets with new unique

* Updated the El Dorado unique

* Applied the suggestions

* Reintroduced the implementation for deprecated uniques

* Changed tile.naturalWonder to naturalWonder
2024-04-04 23:39:31 +03:00
yairm210
c2a2bcb417 4.11.0 2024-04-01 14:22:17 +03:00
M792003
18f27bc400
Update Indonesian.properties (#11373)
* Update Indonesian.properties

Fixed the translation.

* Update Indonesian.properties
2024-04-01 14:15:31 +03:00
Yair Morgenstern
b37c24c177
Version rollout (#11371)
* Bump version and create initial changelog entry

* Update Catalan.properties (#11363)

* Update Indonesian.properties (#11361)

* Update Indonesian.properties

Fixed the translation.

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Joan Josep <juanjo.ng.83@gmail.com>
Co-authored-by: M792003 <158552928+M792003@users.noreply.github.com>
2024-04-01 12:06:53 +03:00
SeventhM
5d162417ac
Remove mod blacklist (#11367) 2024-04-01 12:01:41 +03:00
Ouaz
069427e9d7
UI Tips article additions (#11365) 2024-04-01 12:01:36 +03:00
ravignir
8b246f17ff
fix misimplemented Dromon (#11366)
Dromons in civ5 have +50% strength vs Water units not +50% vs Wounded units
2024-03-30 22:55:10 +03:00
Yair Morgenstern
eefce7f484 4.10.22 2024-03-26 00:13:11 +02:00
Yair Morgenstern
a94e85eed8
Version rollout (#11360)
* Bump version and create initial changelog entry

* Update Turkish.properties but there is a bug (#11351)

* Update Turkish.properties

* Update Turkish.properties

* Update Indonesian.properties (#11343)

* Update Indonesian.properties

Added and fixed some translation.

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: ygz213 <77006222+ygz213@users.noreply.github.com>
Co-authored-by: M792003 <158552928+M792003@users.noreply.github.com>
2024-03-26 00:06:46 +02:00
Jeremy Woo
bd71ba683f
Fixed uniques of marble (#11353) 2024-03-25 23:20:22 +02:00
Yair Morgenstern
832cf585aa 4.10.21 2024-03-20 00:15:36 +02:00
Yair Morgenstern
121ed8293a
Version rollout (#11342)
* Bump version and create initial changelog entry

* Update Spanish.properties (#11341)

* Update French.properties (#11336)

* Update Italian.properties (#11335)

* Update German translation (#11331)

* Update Brazilian_Portuguese.properties (#11330)

* Update Indonesian.properties (#11328)

* Update Indonesian.properties

Fixed the translation.

* Update Indonesian.properties

---------

Co-authored-by: yairm210 <yairm210@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: mape6 <mape6@posteo.de>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
Co-authored-by: M792003 <158552928+M792003@users.noreply.github.com>
2024-03-20 00:05:28 +02:00
Yair Morgenstern
a37ee156fc 4.10.20 2024-03-17 23:34:09 +02:00
Yair Morgenstern
2b066fa749
Version rollout (#11327)
* Bump version and create initial changelog entry

* Update Russian.properties (#11324)

* Update Russian.properties

* Update Russian.properties

* Update Russian.properties

* Update Spanish.properties (#11322)

* Update Norwegian.properties (#11317)

* Update Norwegian.properties

Added more translations

* Update Norwegian.properties

Fixed translations with missing placeholders.

* Turkish translation (#11316)

* Update Brazilian_Portuguese.properties (#11315)

* Update French.properties (#11314)

* Update Indonesian.properties (#11312)

* Update Indonesian.properties

Added and fixed the translation.

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Muxomor <69667099+Muxomor@users.noreply.github.com>
Co-authored-by: Caballero Arepa <78449553+Caballero-Arepa@users.noreply.github.com>
Co-authored-by: Floxudoxu <67422605+Floxudoxu@users.noreply.github.com>
Co-authored-by: ygz213 <77006222+ygz213@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: M792003 <158552928+M792003@users.noreply.github.com>
2024-03-17 23:27:36 +02:00
Jeremy Woo
1431e3928c
Fixed error message of ConditionalBuilding (#11279)
* Fixed error message of ConditionalBuilding

* Added new error messages in the translation template

* Removed old error message

* Add space at the end
2024-03-17 23:13:11 +02:00
Caballero Arepa
b678f697a5
Remove comments of the terrain colors, and enhance tundra color (#11320)
* Vanilla Vanilla

* Remove terrain color comment

And improve tundra color
2024-03-17 23:12:50 +02:00
Jeremy Woo
928f0df01f
Added multi filter support for BuildingFilter !! (#11319)
* Fixed policies do not grant production bonus to wonders

* Added multi-filter and tech filter for buildingFilter

* Rectification of the uniques of monument to the gods and marbles

* Fixed mod checker issued warnings regarding the techFilter in Unit and Building Filters.

* Edit Unique-parameters.md

* Undo 'Fixed policies do not grant production bonus to Wonders
2024-03-17 23:12:40 +02:00
Yair Morgenstern
c4f05b9a42 4.10.19 2024-03-15 12:01:44 +02:00
Yair Morgenstern
ce22f13c6f
Version rollout (#11311)
* Bump version and create initial changelog entry

* Translated a bit (#11309)

* Update Brazilian_Portuguese.properties (#11306)

* Update Italian.properties (#11303)

* Update Indonesian.properties (#11302)

* Update Indonesian.properties

Added and fixed the translation.

* Update Indonesian.properties

* Update Indonesian.properties

* Update Russian.properties (#11301)

* Update Russian.properties

* Update Russian.properties

* Update Russian.properties

* Update Russian.properties

---------

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

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: ygz213 <77006222+ygz213@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: M792003 <158552928+M792003@users.noreply.github.com>
Co-authored-by: Muxomor <69667099+Muxomor@users.noreply.github.com>
2024-03-15 11:50:00 +02:00
Yair Morgenstern
0eb79c5209 4.10.18 2024-03-13 23:31:22 +02:00
Yair Morgenstern
78ab65addf
Version rollout (#11300)
* Bump version and create initial changelog entry

* Update Simplified_Chinese.properties (#11298)

* Update Simplified_Chinese.properties

Correct the mistranslation of the Great Mosque of Djenne and provide translations for some newly added sentences.

* Update Simplified_Chinese.properties

* Update French.properties (#11295)

* Update German translation (#11294)

* Update German translation

* Update German translation

* Update hungarian translation file (#11292)

* Update Brazilian_Portuguese.properties (#11288)

* Update Indonesian.properties (#11285)

* Update Indonesian.properties

Added and fixed translation.

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update Italian.properties (#11284)

---------

Co-authored-by: yairm210 <yairm210@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: mape6 <mape6@posteo.de>
Co-authored-by: Krisztian Papp <30371056+pehsa@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
Co-authored-by: M792003 <158552928+M792003@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
2024-03-13 23:25:35 +02:00
itanasi
e9c3350ec5
Expand CanOnlyBeBuiltInCertainCities to include Units and convert to use Conditionals (#11274)
* Remove Transform requirement checks

* Add back in requirement for OnlyAvailable
New BuildableOnly unique

* Instead of a new unique, expand CanOnlyBeBuiltInCertainCities to instead take conditionals

* Rename to notMetRejections and copy to BaseUnit
Add CanOnlyBeBuiltInSpecificCities to constructionRejectionReasonType

* Setup CanOnlyBeBuiltInCertainCities as depreciated (renamed CanOnlyBeBuiltInCertainCities_dep)

* Redirect Depreciation

* Quick Camel Case rename

* Function renaming and moving Unique to general Construction Uniques

* spelling

* Move Unique. Update Error message

* version
2024-03-13 23:12:10 +02:00
Yair Morgenstern
d76ade3d44 4.10.17 2024-03-09 23:24:20 +02:00
Yair Morgenstern
1558a1dc6f
Version rollout (#11282)
* Bump version and create initial changelog entry

* Update Catalan.properties (#11281)

* Create Norwegian.properties (#11275)

* Create Norwegian.properties

Created Norwegian.properties and some translations.

* Update Norwegian.properties

Updated and added more translations.

* Update Norwegian.properties

Added missing placeholders [civName], [city], [amount], and [mod], as well as a couple new translations.

* Update completionPercentages.properties

Added 'Norwegian = 0' to the percentages.

* Create folder /no/

Created the folder /no/ with the description files in Norwegian.

* Delete fastlane/metadata/android/no directory

Wrongfully created the folder and files.

* Update Norwegian.properties

Added Fastlane descriptions, other translations

* Added Norwegian.png

* Delete android/Images.Flags/FlagIcons/Norwegian.png

Removed for wrong size

* Create Norwegian.png

Correct size for Norwegian flag.

* Update Czech.properties (#11273)

* Translation part 1

* Translation part 2

* Translation part 3

* Fix brain not braining moment

* Translated Wesnoth map import lines

* Update French.properties (#11271)

* Update Italian.properties (#11270)

* Update Brazilian_Portuguese.properties (#11266)

* Update Brazilian_Portuguese.properties

* Update Brazilian_Portuguese.properties

* Update Indonesian.properties (#11265)

* Update Indonesian.properties

Added and fixed the translation.

* Update Indonesian.properties

* Add the Conditional Unique for checking speed (#11260)

* Added the conditionalSpeed unique

* Changed the unique wording

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Joan Josep <juanjo.ng.83@gmail.com>
Co-authored-by: Floxudoxu <67422605+Floxudoxu@users.noreply.github.com>
Co-authored-by: jahodovykolac <79529669+jahodovykolac@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: M792003 <158552928+M792003@users.noreply.github.com>
Co-authored-by: PLynx <pawelrys2011@gmail.com>
2024-03-09 23:07:39 +02:00
Yair Morgenstern
86f0ed6e85 4.10.16 2024-03-05 23:38:01 +02:00
Yair Morgenstern
abf54c7039
Version rollout (#11263)
* Bump version and create initial changelog entry

* Update Polish.properties (#11259)

* Update Italian.properties (#11258)

* Update Ukrainian.properties - added missing translations (#11251)

* Update French.properties (#11248)

* Update Brazilian_Portuguese.properties (#11247)

* Update Indonesian.properties (#11242)

* Update Indonesian.properties

Added and fixed translation.

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Lesiakower <125187776+Lesiakower@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: Mykola Makhin <mvmn.inbox@gmail.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
Co-authored-by: M792003 <158552928+M792003@users.noreply.github.com>
2024-03-05 23:31:08 +02:00
SomeTroglodyte
d5fda541ad
Competition quests in progress display tied leaders (and your place if you're behind) (#11224)
* Minor Quest/QuestManager linting

* Cache Quest and QuestName references and use them

* Nicer randomWeighted and fix UniqueType.ResourceWeighting

* Integrate @soggerr's #10739 - show tied leaders and your position if you aren't leading

* One more lint
2024-03-05 23:04:40 +02:00
Yair Morgenstern
0cfee86864 4.10.15 2024-03-03 21:29:55 +02:00
Yair Morgenstern
47e3397fae
Version rollout (#11241)
* Bump version and create initial changelog entry

* Update Filipino.properties (#11240)

* Update Catalan.properties (#11237)

* Update French.properties (#11226)

* Update Brazilian_Portuguese.properties (#11223)

* Update Italian.properties (#11222)

* Update Indonesian.properties (#11221)

Added and fixed the translation of some words.

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Earl <86307061+Earl8D@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: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: M792003 <158552928+M792003@users.noreply.github.com>
2024-03-03 21:12:00 +02:00
Yair Morgenstern
e6e07d1bec 4.10.14 2024-02-29 00:35:54 +02:00
Yair Morgenstern
971758f732
Version rollout (#11220)
* Bump version and create initial changelog entry

* Update French.properties (#11214)

* Update Italian.properties (#11211)

* Update Brazilian_Portuguese.properties (#11210)

* Update Indonesian.properties (#11209)

* Update Indonesian.properties

Fixed and added translation to some words.

* Update Indonesian.properties

* Update Indonesian.properties

* Added a Russian translation for the introductory text of Queen Elizabeth (#11206)

This is a translation close to the text. However, I have tried to keep the solemn style in translation, so there is a slight departure from the original.

---------

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: M792003 <158552928+M792003@users.noreply.github.com>
Co-authored-by: NoobTutorial <142553623+NoobTutorial@users.noreply.github.com>
2024-02-29 00:13:33 +02:00
Yair Morgenstern
27d63f00f4 Added 'city addbuilding', 'city removebuilding' console commands 2024-02-27 13:22:10 +02:00
Yair Morgenstern
1101f42957 4.10.13 2024-02-26 22:47:43 +02:00
Yair Morgenstern
f34948d0c2
Version rollout (#11208)
* Bump version and create initial changelog entry

* Update French.properties (#11199)

* Update Italian.properties (#11198)

* Update Catalan.properties (#11197)

* Update Indonesian.properties (#11196)

Translated and fixed the translation of some words.

* Update Brazilian_Portuguese.properties (#11194)

* Update Brazilian_Portuguese.properties

* Update Brazilian_Portuguese.properties

---------

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: Joan Josep <juanjo.ng.83@gmail.com>
Co-authored-by: M792003 <158552928+M792003@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
2024-02-26 22:39:43 +02:00
Yair Morgenstern
8675a8a747 4.10.12 2024-02-25 00:35:00 +02:00
Yair Morgenstern
f5d80c5463
Version rollout (#11191)
* Bump version and create initial changelog entry

* Update French.properties (#11171)

* Update Italian.properties (#11168)

* Update Indonesian.properties (#11166)

* Update Indonesian.properties

Added and fixed some translation.

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

---------

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: M792003 <158552928+M792003@users.noreply.github.com>
2024-02-24 22:51:54 +02:00
SomeTroglodyte
4a138478f6
Right-click/longpress for World screen city buttons (#10771)
* City buttons support right-click / long-press to enter CityScreen directly

* City r-click: Rename helper and UI tips

* City capitalization follows getCurrentTutorialTask precedent

* City capitalization change applied to existing translation keys

* Revert "City capitalization change applied to existing translation keys"

This reverts commit c3638a0daf.

* Revert "City capitalization follows getCurrentTutorialTask precedent"

This reverts commit b618f4cae3.

* City capitalization in new text follows getCurrentTutorialTask precedent
2024-02-24 22:42:31 +02:00
Oskar Niesen
04083de766
Added unit escorting formation!!! (#11057)
* Added escort button

* Added basic escort movement

* Improved escort movement

* Swapping breaks escorting

* Added stop escorting button

* Added link icon to unit

* getDistanceToTiles() now automatically includes escorting

* Multi-turn movement with different units works somewhat

* Escorting units persist to escort across saves

* Escorting units are only idle if their partner unit is idle as well

* Fixed multi-turn escort movement where one unit has more movement points left over

* Added basic tests

* Added a test for formation idle units

* Added some basic movement tests

* Added some canMoveTo tests

* getDistanceToTiles only caches when includeEscort is true

* added getDistanceToTiles test

* An entire commit to remove one line of white space just for you! And yes, there are no semi-colons;

* Added translations

* Added more stopEscorting() calls when the unit is removed

* Added extra comments and refactoring

* Refactored removeAllTilesNotInSet to use a mutableIterator

* Refactored code based on review

* Refactored removing tiles in PathsToTilesWithinTurn that aren't in another PathsToTilesWithinTurn
2024-02-24 22:39:04 +02:00
Yair Morgenstern
e2df543778 4.10.11 2024-02-20 23:49:28 +02:00
Yair Morgenstern
5cba78cd9b
Version rollout (#11164)
* Bump version and create initial changelog entry

* Update Simplified Chinese (#11161)

* Update French.properties (#11153)

* Update Indonesian.properties (#11151)

* Update Indonesian.properties

Added translation for vanilla civ introduction.

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update Italian.properties (#11150)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: chr_56 <30681738+chr56@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: M792003 <158552928+M792003@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
2024-02-20 23:43:12 +02:00
SomeTroglodyte
7d17b9296d
External links: Right-click and some housecleaning (#11155)
* Right-click external links to copy url

* Add hint about right-clicking links to UI Tips tutorial

* Add wiki link to about and centralize repo/wiki external link bases
2024-02-20 23:24:54 +02:00
SomeTroglodyte
4661ee2496
Fix Maya "Long Count" unlock translations (#11157)
* Mayan Long-Count unlock: Match translation template and existing translations to actual notification

* A TFW run adds another empty line at the end...
2024-02-19 21:48:50 +02:00
Yair Morgenstern
6c87bef1cf 4.10.10 2024-02-17 23:12:03 +02:00
Yair Morgenstern
b2bbd8d145
Version rollout (#11149)
* Bump version and create initial changelog entry

* Update Brazilian_Portuguese.properties (#11143)

* Update Italian.properties (#11140)

* Update Italian.properties

* Update Italian.properties

* Fixed mistranslations and made the translation more natural (#11139)

Some of the diplomacy wording are clearly machine translated, so I improved it.

* Update Indonesian.properties (#11136)

* Update Indonesian.properties

Translated some words and fixed some mistranslated words.

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update French.properties (#11135)

* Update Spanish.properties (#11132)

* Update Spanish.properties

* Update Spanish.properties

---------

Co-authored-by: yairm210 <yairm210@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: chenxing61 <70869440+chenxing61@users.noreply.github.com>
Co-authored-by: M792003 <158552928+M792003@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: Caballero Arepa <78449553+Caballero-Arepa@users.noreply.github.com>
2024-02-17 23:09:51 +02:00
SeventhM
5730d1b80a
Conditional for building in amount of cities (#11101)
* Conditional for building in amount of cities

* fix order of operations

* Deprecate old require in amount cities uniques

* import

* Fix referring to the unique instead of the conditional

* Fix yield message

* I have no clue how this isn't imported, but I'mma assume this translates fine anyways

* Rename text for unique

* revert unique text

* Whoops

* Remove unnecessary puppet check

* Move additional description to it own function

* Split missing city text into its own function

* Move ToDo comment

* flip to be easier to read

* Move onlyAvailable rejections to its own function to be easier to work with

* Add in the word "of"
2024-02-17 21:41:05 +02:00
SomeTroglodyte
63243fd775
Fix translation placeholder mismatches failing unit tests (#11133) 2024-02-14 19:43:04 +02:00
Yair Morgenstern
90eb08734f 4.10.9 2024-02-13 23:45:54 +02:00
Yair Morgenstern
80d57afee0
Version rollout (#11131)
* Bump version and create initial changelog entry

* Update Dutch.properties (#11120)

* Update Dutch.properties

* Update Dutch.properties

* Update Polish.properties (#11118)

* Update Finnish.properties (#11117)

* Update French.properties (#11114)

* Update Italian.properties (#11113)

* Update Brazilian_Portuguese.properties (#11112)

* Update Indonesian.properties (#11110)

* Update Indonesian.properties

Translated some untranslated words and fixed some mistranslated words.

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Lena Bullens <95299589+LenaBullens@users.noreply.github.com>
Co-authored-by: Lesiakower <125187776+Lesiakower@users.noreply.github.com>
Co-authored-by: Gekko03 <148203740+Gekko03@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: M792003 <158552928+M792003@users.noreply.github.com>
2024-02-13 23:36:38 +02:00
SomeTroglodyte
eb8fee8edd
Autoplay menu cleanup (#11115)
* Minor linting and fix folder-package mismatch

* Actually make AnimatedMenuPopup stay inside the stage in all directions (was done for bottom left only before)

* Proper keyboard bindings for AutoPlay and -menu

* Testing translations

* AutoPlay as widely used term
2024-02-13 23:27:18 +02:00
Oskar Niesen
ccea2c88d3
Further Espionage Implementation (#11077)
* Added getSpiesInCity method in EspionageManager

* Expanded stealing technology code

* Spies can now die and revive

* Added basic rigging elections

* Spies rigging elections can now be caught

* Added spy rank

* Players can now move spies to city-states

* Spies at a higher rank steal tech quicker

* EspionageAutomation now sends spies to city-states and to do counter intelligence

* Fixed some EspionageAutomation logic

* Fixed EspionageAutomation error

* Spy.location is now stored as a vector2

* Accounted for the only able to be one spy of a civ in each city

* Spies level up when successfully stealing tech.

* Increased tech steal rate by spy rank

* Increased influence gained by rigging elections

* Added a spy level cap

* Spies no longer get stuck on counter-intelligence action

* Spy automation no longer tries to rig elections in city states that it is at war with

* canMoveTo now checks if the city tile is visible

* Added espionage translations

* Changed automateSpySteal/Rig/Counter intelligence return types

* Simplifies automateSpies in EspionageAutomation

* Added blank lines before titles

* Improved spy being found and killed message phrasing
2024-02-13 23:25:07 +02:00
Yair Morgenstern
eb984f06dc 4.10.8 2024-02-09 12:37:42 +02:00
Yair Morgenstern
31b7a0f93f
Version rollout (#11109)
* Bump version and create initial changelog entry

* Update Simplified_Chinese.properties (#11106)

* Update Spanish.properties (#11093)

* Update Spanish.properties

* Update Spanish.properties

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: AutumnPizazz <114050365+AutumnPizazz@users.noreply.github.com>
Co-authored-by: yetanotherfossman <83962798+yetanotherfossman@users.noreply.github.com>
2024-02-09 12:30:41 +02:00
Yair Morgenstern
0be8fa8e39 Fixed unhappiness effect when at 0 happiness 2024-02-09 12:14:17 +02:00
Yair Morgenstern
c0e85938a6 4.10.7 2024-02-06 00:27:59 +02:00
Yair Morgenstern
645a7fdac9
Version rollout (#11086)
* Bump version and create initial changelog entry

* Update Spanish.properties (#11079)

* Update Spanish.properties

* Update Spanish.properties

* Update Catalan.properties (#11078)

* Update French.properties (#11072)

* Update Polish.properties (#11071)

* Update Indonesian.properties (#11067)

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update Italian.properties (#11065)

* Update Brazilian_Portuguese.properties (#11064)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Caballero Arepa <78449553+Caballero-Arepa@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: Lesiakower <125187776+Lesiakower@users.noreply.github.com>
Co-authored-by: M792003 <158552928+M792003@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>
2024-02-06 00:20:13 +02:00
Yair Morgenstern
88c7804490 4.10.6 2024-02-01 23:43:07 +02:00
Yair Morgenstern
addae29649
Version rollout (#11063)
* Bump version and create initial changelog entry

* Update Korean.properties (#11059)

* Update Simplified Chinese (#11058)

* Update Brazilian_Portuguese.properties (#11054)

* Update French.properties (#11053)

* Update Polish.properties (#11052)

* Update Italian.properties (#11051)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Yattong the Mackerel <saud2410@naver.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: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: Lesiakower <125187776+Lesiakower@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
2024-02-01 23:28:28 +02:00
Yair Morgenstern
a215685b57 4.10.5 2024-01-30 20:17:51 +02:00
Yair Morgenstern
ddea67c608
Version rollout (#11049)
* Bump version and create initial changelog entry

* Update Italian.properties (#11045)

* Update Hungarian.properties (#11042)

* Update Korean.properties (#11038)

* Update Korean.properties

* Update Korean.properties

* Update Korean.properties

* Update Korean.properties

* Update Brazilian_Portuguese.properties (#11037)

* Update French.properties (#11036)

* update Belarusian translation (#11033)

* update android/assets/jsons/translations/Belarusian.properties

* update android/assets/jsons/translations/Belarusian.properties

* update android/assets/jsons/translations/Belarusian.properties

* update android/assets/jsons/translations/Belarusian.properties

* update android/assets/jsons/translations/Belarusian.properties

* update android/assets/jsons/translations/Belarusian.properties

* update android/assets/jsons/translations/Belarusian.properties

* update android/assets/jsons/translations/Belarusian.properties

* update android/assets/jsons/translations/Belarusian.properties

* update android/assets/jsons/translations/Belarusian.properties

* update android/assets/jsons/translations/Belarusian.properties

* update android/assets/jsons/translations/Belarusian.properties

* update android/assets/jsons/translations/Belarusian.properties

* update android/assets/jsons/translations/Belarusian.properties

* update android/assets/jsons/translations/Belarusian.properties

* update android/assets/jsons/translations/Belarusian.properties

* update android/assets/jsons/translations/Belarusian.properties

* Update Belarusian.properties

* update android/assets/jsons/translations/Belarusian.properties

* update android/assets/jsons/translations/Belarusian.properties

* update android/assets/jsons/translations/Belarusian.properties

* update android/assets/jsons/translations/Belarusian.properties

* update android/assets/jsons/translations/Belarusian.properties

* update android/assets/jsons/translations/Belarusian.properties

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: balazsszalab <balazsszalab@freemail.hu>
Co-authored-by: Yattong the Mackerel <saud2410@naver.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: flac <87523240+twinflac@users.noreply.github.com>
2024-01-30 20:09:25 +02:00
Yair Morgenstern
1318cfdc4a 4.10.4 2024-01-28 11:37:17 +02:00
Yair Morgenstern
af73a17b61
Version rollout (#11032)
* Bump version and create initial changelog entry

* Update Polish.properties (#11028)

* Update Polish.properties (#11027)

* Update Indonesian.properties (#11021)

Fix unit names

* Update Catalan.properties (#11018)

* Update Brazilian_Portuguese.properties (#11010)

* Update Italian.properties (#11009)

* Update French.properties (#11008)

* Update French.properties

* Update French.properties

Fix a misplaced [tileFilter] key.

* Update German translation (#10950)

* Update German translation

* Update German translation

* Update German translation

* Update German translation

* Update German translation

* Update German translation

* Update German translation

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Lesiakower <125187776+Lesiakower@users.noreply.github.com>
Co-authored-by: kensvin <kensvin28@gmail.com>
Co-authored-by: Joan Josep <juanjo.ng.83@gmail.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: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: mape6 <mape6@posteo.de>
2024-01-28 11:24:08 +02:00
Yair Morgenstern
9d670c8671 4.10.3 2024-01-25 23:43:41 +02:00
Yair Morgenstern
09651f711e
Version rollout (#11007)
* Bump version and create initial changelog entry

* Update French.properties (#11006)

* updated belarusian translation (#11005)

* update android/assets/jsons/translations/Belarusian.properties

* update android/assets/jsons/translations/Belarusian.properties

* update android/assets/jsons/translations/Belarusian.properties

* update android/assets/jsons/translations/Belarusian.properties

* update android/assets/jsons/translations/Belarusian.properties

* update android/assets/jsons/translations/Belarusian.properties

* update android/assets/jsons/translations/Belarusian.properties

* update android/assets/jsons/translations/Belarusian.properties

* update android/assets/jsons/translations/Belarusian.properties

* update android/assets/jsons/translations/Belarusian.properties

* Update Brazilian_Portuguese.properties (#11003)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: flac <87523240+twinflac@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
2024-01-25 23:36:56 +02:00
Yair Morgenstern
8aab8f71e4 Replaced special "hidden after generating a Great Prophet" with a more multi-purpose conditional 2024-01-25 22:49:34 +02:00
SeventhM
cc8a0ab9eb
Fix build errors (#11000)
* Fix build errors

* [+30%]%

* Apparently I need to specify cities or units

* Screw it, add "vs [combatantFilter]"

* Accidental listing twice

* case
2024-01-25 09:05:08 +02:00
Yair Morgenstern
03af1f475c 4.10.2 2024-01-25 00:00:23 +02:00
Yair Morgenstern
d3cefd0b9c
Version rollout (#10998)
* Bump version and create initial changelog entry

* Update Italian.properties (#10997)

* Update Hungarian.properties (#10990)

* Update Dutch.properties (#10989)

* Update Dutch.properties

* Update Dutch.properties

* it is time to continue my work (#10987)

* update android/assets/jsons/translations/Belarusian.properties

* update android/assets/jsons/translations/Belarusian.properties

* Update Brazilian_Portuguese.properties (#10984)

* Update French.properties (#10983)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: balazsszalab <balazsszalab@freemail.hu>
Co-authored-by: Lena Bullens <95299589+LenaBullens@users.noreply.github.com>
Co-authored-by: flac <87523240+twinflac@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
2024-01-24 23:54:45 +02:00
Yair Morgenstern
5b08e00d6b 4.10.1 2024-01-21 19:46:53 +02:00
Yair Morgenstern
65a829b017
Version rollout (#10982)
* Bump version and create initial changelog entry

* Update Italian.properties (#10977)

* Update Catalan.properties (#10973)

* Update French.properties (#10972)

* Update Dutch.properties (#10971)

* Update Dutch.properties

* Update Dutch.properties

* Update Dutch.properties

* Update Dutch.properties

* Update Brazilian_Portuguese.properties (#10970)

* Update Brazilian_Portuguese.properties

* Update Brazilian_Portuguese.properties

* Update Brazilian_Portuguese.properties

* Update Brazilian_Portuguese.properties

* Update Brazilian_Portuguese.properties

* Update Indonesian.properties (#10968)

* Update Korean.properties (#10967)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@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: Lena Bullens <95299589+LenaBullens@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
Co-authored-by: kensvin <kensvin28@gmail.com>
Co-authored-by: Yattong the Mackerel <saud2410@naver.com>
2024-01-21 19:32:12 +02:00
Yair Morgenstern
94256f7160 Resolved #10938 - 'cities auto-bombard at end of turn' is a user option 2024-01-21 18:59:32 +02:00
Yair Morgenstern
6b2f811d58 4.10.0 2024-01-19 12:34:05 +02:00
Yair Morgenstern
15ea7176b0
Version rollout (#10964)
* Bump version and create initial changelog entry

* Update Simplified_Chinese.properties (#10960)

* Update Hungarian.properties (#10958)

* Update Hungarian.properties

* Update Hungarian.properties

* Update Hungarian.properties

* Update French.properties (#10957)

* Update Korean.properties (#10956)

* Update Dutch.properties (#10954)

* Update Italian.properties (#10946)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: AutumnPizazz <114050365+AutumnPizazz@users.noreply.github.com>
Co-authored-by: balazsszalab <balazsszalab@freemail.hu>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: Yattong the Mackerel <saud2410@naver.com>
Co-authored-by: Lena Bullens <95299589+LenaBullens@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
2024-01-19 12:28:01 +02:00
Yair Morgenstern
411d8c4a0f 4.9.19 2024-01-15 19:09:25 +02:00
Yair Morgenstern
0c460801c0
Version rollout (#10943)
* Bump version and create initial changelog entry

* Update Brazilian_Portuguese.properties (#10941)

* Update Italian.properties (#10935)

* Update Korean.properties (#10934)

* Update Hungarian.properties (#10925)

* Update Hungarian.properties

[...] -> (...)

* Update Hungarian.properties

* Update Hungarian.properties

* Update Spanish.properties (#10920)

* Update Polish.properties (#10919)

* Update French.properties (#10916)

---------

Co-authored-by: yairm210 <yairm210@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: Yattong the Mackerel <saud2410@naver.com>
Co-authored-by: balazsszalab <balazsszalab@freemail.hu>
Co-authored-by: yetanotherfossman <83962798+yetanotherfossman@users.noreply.github.com>
Co-authored-by: Lesiakower <125187776+Lesiakower@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
2024-01-15 19:06:32 +02:00
Ouaz
d69b458481
Add modified nation descriptions (#8261)
* Add modified nation descriptions

Original descriptions reworded and a bit shortened.

* Fix Greece description

* Add modified nation descriptions (vanilla)

* Improvements to Nation descriptions

Fixes and improvements by Yairm

* Improvements to Nations descriptions (vanilla)

Fixes and improvements by Yairm

* Improve startIntroPart2 for all nations

Also add fixes/improvements by Yairm.

* Improve startIntroPart2 for all nations (vanilla)

Also add fixes/improvements by Yairm.
2024-01-14 09:05:09 +02:00
Yair Morgenstern
332a2d0af3 Removed new shortestPath algorithm after we determined it to be objectively slower than the current one :( 2024-01-13 20:58:57 +02:00
Yair Morgenstern
e53f27a847 4.9.18 2024-01-09 23:38:11 +02:00
Yair Morgenstern
5997dde157
Version rollout (#10907)
* Bump version and create initial changelog entry

* Update Simplified Chinese (#10905)

* Update Brazilian_Portuguese.properties (#10899)

* Update Korean.properties (#10892)

* Update Korean.properties

* Update Korean.properties

* Update Korean.properties

* Update Korean.properties

* ctrl+z

* Update Spanish.properties (#10890)

* Update French.properties (#10886)

---------

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: Yattong the Mackerel <saud2410@naver.com>
Co-authored-by: Caballero Arepa <78449553+Caballero-Arepa@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
2024-01-09 23:26:25 +02:00
SomeTroglodyte
7ec7d2a071
Fix the german line blocking #10863 (#10893) 2024-01-08 16:51:05 +02:00
Yair Morgenstern
7a4113554c 4.9.17 2024-01-07 16:20:42 +02:00
Yair Morgenstern
08e1f5704b
Version rollout (#10884)
* Bump version and create initial changelog entry

* Update French.properties (#10875)

* Update Italian.properties (#10873)

* Update Korean.properties (#10872)

* Update Korean.properties

* Update Korean.properties

---------

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: Yattong the Mackerel <saud2410@naver.com>
2024-01-07 16:16:31 +02:00
Yair Morgenstern
cb01bbc176
Experimental pathfinding! (#10883)
* Experimental pathfinding - still not good enough for main branch

* Fixed strange pathfinding and impassible tiles

* Fixed weirdest bug in the history of weird bugs - remove() on an object did not remove the object

* Avoid damaging and enemy tiles for new pathfinding

* Add option for activating experimental movement
2024-01-07 16:08:30 +02:00
Ouaz
f0847a6702
Fix "Performance" not translatable (#10876) 2024-01-07 16:08:15 +02:00
SomeTroglodyte
50a6e5bbdb
Download mod releases or any mod zip (#10881)
* Allow almost any mod zip download source

* Linting

* Add basic "Release page section" link capability, more linting

* Refactor: Move Github to logic

* Refactor: Split Github into files

* Refactor: centralizing all API knowledge

* Try bumping detekt version to fix false complaint

* Attempt to trick detekt to not complain about `it`

* Better overload-ambiguity-solving + detekt-compatible SAM use
2024-01-07 16:07:15 +02:00
Yair Morgenstern
4565907985 4.9.16 2024-01-04 09:24:46 +02:00
Yair Morgenstern
3b66009dd2
Version rollout (#10869)
* Bump version and create initial changelog entry

* Update Hungarian.properties (#10864)

[...] -> (...)

* Fix some right-side uses of square brackets in translations (#10861)

* Update Korean.properties (#10860)

* Update Indonesian.properties (#10859)

Fix extra placeholder issue

* Update Brazilian_Portuguese.properties (#10856)

* Update Latin.properties (#10849)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: balazsszalab <balazsszalab@freemail.hu>
Co-authored-by: SomeTroglodyte <63000004+SomeTroglodyte@users.noreply.github.com>
Co-authored-by: Yattong the Mackerel <saud2410@naver.com>
Co-authored-by: kensvin <kensvin28@gmail.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
Co-authored-by: Lesiakower <125187776+Lesiakower@users.noreply.github.com>
2024-01-04 09:15:49 +02:00
SeventhM
665b5aa87c
Add unique to allow for generalized great generals (#10828)
* Add unique to allow for generalized great generals

* Don't add compatibility for rulesets with conditional generals

* Add to rulesets

* add in pre Kotlin 9 parenthesis

* whoops missed a parenthesis

* I guess pre Kotlin 9 parenthesis was unnecessary, whoops

* Add back old variables to clone function

* Move the list of all potential generals to Ruleset

* Move list of unit construction rejections to IConstruction

* flip !any{} to none{}

* Fix imports

* Typo
2024-01-04 09:03:14 +02:00
Yair Morgenstern
1d789c71b5 4.9.15 2023-12-31 23:15:10 +02:00
Yair Morgenstern
1cd72e4272
Version rollout (#10848)
* Bump version and create initial changelog entry

* Use randomize seed checkbox for partial generation (#10844)

* use randomize seed checkbox for partial generation and debug the behavior of raiseMountainsAndHills in partial generation

* small changes

* Update Finnish.properties (#10843)

* Update Finnish.properties

* Update Finnish.properties

* Update Finnish.properties

* Update Korean.properties (#10842)

* Update French.properties (#10838)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Rémi Dufour <remi.dufour@protonmail.com>
Co-authored-by: Securetux <110048962+Securetux@users.noreply.github.com>
Co-authored-by: Yattong the Mackerel <saud2410@naver.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
2023-12-31 23:09:09 +02:00
Yair Morgenstern
fbef276d0b 4.9.14 2023-12-30 21:36:00 +02:00
Yair Morgenstern
a2fd43f840
Version rollout (#10837)
* Bump version and create initial changelog entry

* Update Catalan.properties (#10834)

* Update Polish.properties (#10831)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Joan Josep <juanjo.ng.83@gmail.com>
Co-authored-by: Lesiakower <125187776+Lesiakower@users.noreply.github.com>
2023-12-30 21:21:25 +02:00
Yair Morgenstern
5898f91bb8
New Citizen Focus Options - again (#10827)
* Add Gold Growth and Production Growth Focus
New Manual Focus doesn't reallocate population

* Use Stat Names (and symbols) for focus

* Missing reassign code

* Clean up table for efficiency

* Table v2

* minor translation changes

* COMPATIBILITY

* v3 table

* Minor fixups

* Add Gold Growth and Production Growth Focus
New Manual Focus doesn't reallocate population

* Use Stat Names (and symbols) for focus

* Missing reassign code

* Clean up table for efficiency

* Table v2

* minor translation changes

* COMPATIBILITY

* v3 table

* Minor fixups

* Update to master code
Remove duplicating Food yield multiply

* Revert Compatibility Version

---------

Co-authored-by: itanasi <44038014+itanasi@users.noreply.github.com>
2023-12-30 20:54:12 +02:00
Yair Morgenstern
869154cc73 4.9.13 2023-12-28 23:31:00 +02:00
Yair Morgenstern
be0d6c9936
Version rollout (#10826)
* Bump version and create initial changelog entry

* Update Spanish.properties (#10821)

* Update Finnish.properties (#10819)

* Update Finnish.properties

* Update Finnish.properties

* Update Simplified Chinese (#10816)

* Update Brazilian_Portuguese.properties (#10813)

* Update French.properties (#10812)

* Update Italian.properties (#10811)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Caballero Arepa <78449553+Caballero-Arepa@users.noreply.github.com>
Co-authored-by: Securetux <110048962+Securetux@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: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
2023-12-28 23:07:37 +02:00
Yair Morgenstern
f8b8cbfa0e 4.9.12 2023-12-25 21:24:17 +02:00
Yair Morgenstern
5859aaadca
Version rollout (#10810)
* Bump version and create initial changelog entry

* Update Italian.properties (#10807)

* Update Catalan.properties (#10806)

* Update Polish.properties (#10805)

* Update Turkish.properties (#10803)

* Update Turkish.properties

Added new translations

* Update Turkish.properties

* Update Turkish.properties

* Update Turkish.properties

* Update Turkish.properties

* Update Turkish.properties

Added fastline translate

* Update Turkish.properties

* Update Turkish.properties

* Update Turkish.properties

* Update French.properties (#10800)

* Update Spanish.properties (#10799)

Tradicción is incorrect

* Update Brazilian_Portuguese.properties (#10796)

* Update Romanian.properties (#10798)

* Update Romanian.properties

* Update Romanian.properties

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@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: komandotayfa <53448093+komandotayfa@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: brihuega <jose.brihuega@gmail.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
Co-authored-by: Tomkode <79474984+Tomkode@users.noreply.github.com>
2023-12-25 21:04:43 +02:00
Yair Morgenstern
c3d592393e Added experimental scenarios! 2023-12-23 23:36:14 +02:00
Yair Morgenstern
075b394e82 4.9.11 2023-12-22 11:00:56 +02:00
Yair Morgenstern
05d9a09579
Version rollout (#10795)
* Bump version and create initial changelog entry

* Update Spanish.properties (#10780)

* Even more translations of Malay.properties (#10778)

I plan to finish the UI section this week. Honestly, going through and skimming a bit I've seen things I've never seen in game.

* Update Brazilian_Portuguese.properties (#10775)

* Some German translations (#10772)

* Update French.properties (#10768)

* Update Italian.properties (#10767)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Caballero Arepa <78449553+Caballero-Arepa@users.noreply.github.com>
Co-authored-by: Mikhail <151419244+MetaFBMI@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
Co-authored-by: SomeTroglodyte <63000004+SomeTroglodyte@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>
2023-12-22 10:12:28 +02:00
Oskar Niesen
7417b4c041
Added AutoPlay until end setting (#10789)
* Added a new AutoPlay until end button

* Added the new AutoPlay until victory setting to translation

* Reverted some comment fixes to hopefully not have a merge conflict
2023-12-22 10:00:03 +02:00
Yair Morgenstern
746918b1d3
Revert "New Citizen Focus Options (#10745)" (#10793)
This reverts commit 07c6728123.
2023-12-22 09:45:45 +02:00
itanasi
07c6728123
New Citizen Focus Options (#10745)
* Add Gold Growth and Production Growth Focus
New Manual Focus doesn't reallocate population

* Use Stat Names (and symbols) for focus

* Missing reassign code

* Clean up table for efficiency

* Table v2

* minor translation changes

* COMPATIBILITY

* v3 table

* Minor fixups
2023-12-22 09:38:43 +02:00
itanasi
ffd5fc62ed
Enable Domination to Capture All Capitals (#10769)
* Enable Domination to Capture All Capitals

* Update Text
2023-12-22 09:38:24 +02:00
SomeTroglodyte
d3ac2c5ede
(UI) Politics overview diagram: Add legend popup (#10451)
* Refactor Battle damage shadowed Label into reusable WidgetGroup

* Make Politics Overview "Grid header" fixed and some linting

* Add a Legend popup explaining line colors in the Politics Overview Diagram: Click inside

* Missing translation template

* Final decision on background didn't make it in properly

* Remove unused png - those are now in the Construction atlas

* Smaller background image

* Color and shadow choices

* Redo atlas to include both 10505 and this
2023-12-22 09:37:47 +02:00
Yair Morgenstern
7a28f15106 Revert "Great Person Points - Rounding changes, Breakdown UI (#10714)"
This reverts commit 64a455152a.
2023-12-19 23:10:36 +02:00
Yair Morgenstern
75af329b16 4.9.10 2023-12-17 22:33:42 +02:00
Yair Morgenstern
805f008af5
Version rollout (#10766)
* Bump version and create initial changelog entry

* Update Latin.properties (#10765)

* Update Malay.properties (#10764)

It's gonna be a long time till I translate everything. Goddamn there's like 10k+ things to translate. Anyways, gonna sleep.

* Update Catalan.properties (#10762)

* Update French.properties (#10754)

* Update Afrikaans.properties (#10752)

Translation update

* Update Polish.properties (#10750)

* Update Brazilian_Portuguese.properties (#10749)

* Update Brazilian_Portuguese.properties

* Update Brazilian_Portuguese.properties

* fix tests

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Lesiakower <125187776+Lesiakower@users.noreply.github.com>
Co-authored-by: Mikhail <151419244+MetaFBMI@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: SielVlokkies <153941039+SielVlokkies@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
2023-12-17 22:20:00 +02:00
Yair Morgenstern
a61e9658ea 4.9.9 2023-12-15 11:55:50 +02:00
Yair Morgenstern
d2d2e5b1ae
Version rollout (#10747)
* Bump version and create initial changelog entry

* Update Russian.properties (#10742)

* Update Polish.properties (#10735)

* Update Polish.properties

* Update Polish.properties

* Update Polish.properties

* Update Korean.properties (#10733)

* Update French.properties (#10732)

* Update Italian.properties (#10731)

* Update Brazilian_Portuguese.properties (#10729)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Anoant <143289571+Anoant@users.noreply.github.com>
Co-authored-by: Lesiakower <125187776+Lesiakower@users.noreply.github.com>
Co-authored-by: Yattong the Mackerel <saud2410@naver.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>
2023-12-15 11:53:05 +02:00
Yair Morgenstern
a90b63c1ba 4.9.8 2023-12-13 23:19:19 +02:00
Yair Morgenstern
be211d0cc4
Version rollout (#10727)
* Bump version and create initial changelog entry

* Update Italian.properties (#10719)

* update Turkish.properties (#10709)

* Update Turkish.properties

Added new translations

* Update Turkish.properties

* Update Turkish.properties

* Update Turkish.properties

* Update Turkish.properties

* Update Turkish.properties

Added fastline translate

* Update Turkish.properties

* Update Turkish.properties

* Update Simplified_Chinese.properties (#10708)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: komandotayfa <53448093+komandotayfa@users.noreply.github.com>
Co-authored-by: AutumnPizazz <114050365+AutumnPizazz@users.noreply.github.com>
2023-12-13 23:10:26 +02:00
WhoIsJohannes
62469daff6
Add another confirmation when buying a religious unit in a city that … (#9570)
* Add another confirmation when buying a religious unit in a city that doesn't follow a religion founded by the city's civ.

* There's other stuff that can be purchased with Faith. Better to use UniqueType.Religious unit I guess.

* Add string to template.properties

* One more space to make unit tests happy

* Better template.properties

* Reinsert trailing space

* Introduce Constants entry for "Cancel"

* Redo ConfirmBuyPopup

* Dev console command to tweak religion pressures

* Translation templates and one test

---------

Co-authored-by: SomeTroglodyte <63000004+SomeTroglodyte@users.noreply.github.com>
2023-12-13 22:45:46 +02:00
SomeTroglodyte
a24f9d7716
Civilopedia key bindings (#10723)
* Move CivilopediaImageGetters object to own file

* Keyboard bindings for Civilopedia

* Better default key choices

* Change default Key Binding Tab visibility to ON
2023-12-13 22:36:29 +02:00
SomeTroglodyte
64a455152a
Great Person Points - Rounding changes, Breakdown UI (#10714)
* Change per-City GPP points math and separate breakdown (producer w/ source doc) from aggregates (consumer ignoring source)

* Change CityScreen GPP list to not do aggregation itself, but show a breakdown on click

* Change "birth" city for GPP to a ***weighted*** random - no Great Mufties from cities not generating any Mufty points!

* Nicer signature for getGreatPersonPointsBreakdown

* Minor warnings linting and template for Sweden's bonus in the breakdown Popup
2023-12-13 22:36:12 +02:00
Yair Morgenstern
0d4c1fd7f8 4.9.7 2023-12-10 23:14:10 +02:00
Yair Morgenstern
5f22172e70
Version rollout (#10704)
* Bump version and create initial changelog entry

* Update Latin.properties (#10700)

* Update Spanish.properties (#10692)

* Update Polish.properties (#10687)

* Update Polish.properties

* Fix a typo

* Update Russian (#10685)

* Update Russian.properties

Partial translation

* Update Russian.properties

* Update Turkish.properties (#10683)

* Update Turkish.properties

Added new translations

* Update Turkish.properties

* Update Turkish.properties

* Update Turkish.properties

* Update Turkish.properties

* Update Turkish.properties

Added fastline translate

* Update Turkish.properties

* Update French.properties (#10681)

* Update Italian.properties (#10680)

* Update Brazilian_Portuguese.properties (#10679)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Lesiakower <125187776+Lesiakower@users.noreply.github.com>
Co-authored-by: Caballero Arepa <78449553+Caballero-Arepa@users.noreply.github.com>
Co-authored-by: Anoant <143289571+Anoant@users.noreply.github.com>
Co-authored-by: komandotayfa <53448093+komandotayfa@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>
2023-12-10 23:08:21 +02:00
Oskar Niesen
4282cdb626
Better Frigate and Ship of the Line sound (#10693)
* Added a frigate cannon fire volley sound with crashing

* Changed the frigate and ship of the line to use shipCannonVolley.mp3

* Added proper credits

* Renamed "Volly" to "Volley"
2023-12-10 22:59:12 +02:00
Yair Morgenstern
d1649d7c41 4.9.6 2023-12-07 10:17:45 +02:00
Yair Morgenstern
7211c04595
Version rollout (#10678)
* Bump version and create initial changelog entry

* Update Spanish.properties (#10675)

* Update Italian.properties (#10673)

* Update French.properties (#10669)

* Update Polish.properties (#10668)

* Update Dutch.properties (#10666)

* Update Dutch.properties

* Update Dutch.properties

* Update Italian.properties

* Update Russian.properties

* Update German.properties

* Update Swedish.properties

* Update Ukrainian.properties

* Update Brazilian_Portuguese.properties

* Update Catalan.properties

* Update Czech.properties

* Update Filipino.properties

* Update Catalan.properties (#10662)

* Update Brazilian_Portuguese.properties (#10661)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Caballero Arepa <78449553+Caballero-Arepa@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: Lesiakower <125187776+Lesiakower@users.noreply.github.com>
Co-authored-by: Lena Bullens <95299589+LenaBullens@users.noreply.github.com>
Co-authored-by: Joan Josep <juanjo.ng.83@gmail.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
2023-12-07 10:13:59 +02:00
Ouaz
085bd8cf26
Fix Carthage civilopedia article (#10637)
* Fix Carthage article

A text line was weirdly displayed on top of the article

* Correct fix for Carthage article

Thanks to SomeTroglodyte (again)
2023-12-07 09:15:36 +02:00
Ouaz
4a570bcd4f
Add "UI tips" civilopedia article (#10625)
* Add an "UI tips" civilopedia article

* Improve UI Tips article

Credits to @SomeTroglodyte and Yairm

* More improvements to UI Tips article

Credits to SomeTroglodyte
2023-12-07 09:14:51 +02:00
dHannasch
48ff198401
Fix failing tests (#10660)
* Update Italian.properties

* Update Russian.properties

* Update German.properties

* Update Polish.properties

* Update Lithuanian.properties

* Update Simplified_Chinese.properties

* Update Korean.properties

* Update Vietnamese.properties

* Update Czech.properties

* Update Hungarian.properties

* Update Dutch.properties

* Update Swedish.properties

* Update Ukrainian.properties

* Update Filipino.properties

* Update French.properties

* Update Indonesian.properties

* Update Catalan.properties

* Update Spanish.properties

* Update Traditional_Chinese.properties

* Update Brazilian_Portuguese.properties
2023-12-04 18:19:33 +02:00
Yair Morgenstern
662c4c219b 4.9.5 2023-12-03 22:28:45 +02:00
Yair Morgenstern
7e869a3616
Version rollout (#10658)
* Bump version and create initial changelog entry

* Update Simplified Chinese (#10652)

* Update Latin.properties (#10642)

* Update Latin.properties

* Update Latin.properties

* Update Brazilian_Portuguese.properties (#10641)

* Update Spanish.properties (#10639)

* Update Spanish.properties

* Update Spanish.properties

* Update Spanish.properties

* Update Polish.properties (#10636)

* Update Polish.properties

* Update Polish.properties

* Update French.properties (#10635)

* Update Italian.properties (#10634)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: chr_56 <30681738+chr56@users.noreply.github.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>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
2023-12-03 22:26:28 +02:00
Caballero Arepa
88333a147e
Mention the Railroad production bonus in the Civilopedia (#10638)
* Mention Railroad production bonus in the Civilopedia

* Railroad production bonus mention in the Civilopedia - Vainilla

* Fix little style error

* Fix another mistake

omg

* Brackets

* Brackets
2023-12-03 22:13:04 +02:00
Yair Morgenstern
afae9a1e96 4.9.4 2023-11-30 19:51:36 +02:00
Yair Morgenstern
4b8bef5def
Version rollout (#10633)
* Bump version and create initial changelog entry

* Update Spanish.properties (#10627)

* Update Brazilian_Portuguese.properties (#10616)

* Update French.properties (#10615)

* Update French.properties

* Update French.properties

- Improve translation of leader lines

* Update Italian.properties (#10612)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
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: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
2023-11-30 19:44:30 +02:00
Yair Morgenstern
09dd8c61aa 4.9.3 2023-11-28 14:50:33 +02:00
Yair Morgenstern
6a8ce41f4f
Version rollout (#10611)
* Bump version and create initial changelog entry

* Update French.properties (#10604)

* Update Latin.properties + question (#10589)

* Update Latin.properties

* Update Latin.properties

* Update Latin.properties

* Update Latin.properties

* Add a space at the end

* Replaced "passus" with "gressus".

* Added relationship translations

* Update Latin.properties

* Update Latin.properties

* Fixed an error

* Corrected an error

* Corrected an error 2

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: Lesiakower <125187776+Lesiakower@users.noreply.github.com>
2023-11-28 14:44:37 +02:00
Oskar Niesen
4b261a9257
Initial AutoPlay implementation (#10315)
* AutoPlay initial hack

* Removed extra changes

* Added canceling AutoPlay and its own button

* Victory screen showing up stops AutoPlay

* Removed AutomateTurn for the spectator

* Right Clicking AutoPlay Button starts AutoPlay immediately

* Renamed NextTurnMenu to AutoPlayMenu

* AutoPlay can now only begin on the players turn

* Added specific unit actions AutoPlay

* AutoPlay stops on VictoryScreen and GreatPersonPickerScreen

* AutoPlay now stops when loading a new game

* Hovering the mouse over the AutoPlayStatusButton now stops AutoPlay

* Removed temporary right click NextTurnButton functionality

* Removed multi-turn AutoPlay from multiplayer games

* Loading a multiplayer game now stops AutoPlay

* AutoPlayStatusButton persists over reloading WorldScreen

* Victory popup now stops autoplay

* AutoPlay now automatically picks great person

* Full AutoPlay now captures cities

* Added settings.isAutoPlaying and fixed bug with closing game in the middle of AutoPlaying a turn

* AutoPlay now correctly stops when a victory screen is shown

* AutoPlay now automates city constructions without autoAssignCityProduction being on

* Reordered NextTurnAction

* Removed extra condition for displaying AutoPlay text on next turn button

* Moved AutoPlay settings to new tab

* Changed AutoPlay slider

* Refactored Settings to have AutoPlay to be in a new subclass

* Added an show AutoPlay button setting, commented out unimplemented settings

* Opening the exit game window stops autoPlay

* Made cyclopedia entry

* Added translations

* AutoPlayStatusButton now ends with a new line

* Commented out extra code and removed extra import statements

* Fixed UncivSlider Change

* Fixed merge conflicts

* Settlers no longer stuck in endless loops wanting to found cities on tiles they can't reach @tuvus

* Support for Leader voices (#10395)

* Prepare Leader Voices: Framework

* Leader Voices: Hooks and corresponding text field comments

* Leader Voices: wiki

* Leader Voices: oops, comments

* Decouple voice play calls to make global modification easier

* Move voices to own folder and give them a separate volume setting

* Oops, template needed too

* Oops, wiki needed too

* Resolved #10366 - City centers don't provide resources you don't have tech to extract

* Add a TriggerUponDiscoveringTile unique type (#10523)

* Add a TriggerUponDiscoveringTile unique type

* Add a check for trigger presence

* Add gain stat modified by speed and improvement speed by filter uniques (#10443)

* Add gain stat modified by speed and improvement speed by filter uniques

* Fix rulesets

* Remove nonfunctional leftover resource text

* Reword improvement unqiue as suggested

* Add the SellBuilding Unique (#10514)

* Restored the SellBuilding Unique

* Rephrased SellBuilding unique

* Version rollout (#10530)

* Bump version and create initial changelog entry

* Update Brazilian_Portuguese.properties (#10528)

* Update French.properties (#10524)

* Update Italian.properties (#10522)

* Update Polish.properties (#10521)

* Update Polish.properties

* Added Fastlane_short_description

* Update Malay.properties (#10520)

Translated line 33 to line 325.
Not at all finished.
This time though I didn't mess up.

---------

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: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: Lesiakower <125187776+Lesiakower@users.noreply.github.com>
Co-authored-by: Mikhail <151419244+MetaFBMI@users.noreply.github.com>

* Better performance for 'best tile to found city' (minimized canReach calls) @tuvus

* 4.9.0

* [Translation] Add back "general" unit types (#10526)

* Add back "general" unit types

These entries have been removed from translation files, making them untranslated in-game (in Civilopedia articles)

* Revert changes in template.properties

* Fix missing unit type translations

Fix by @SomeTroglodyte

* Changed some parts of GameSettings back to master.

* Changed right clicking to call startAutoPlay instead of setting it itself

* Fixed some !isHuman() conditions to also include full AutoPlay and refactored some other AutoPlay code

---------

Co-authored-by: Yair Morgenstern <yairm210@hotmail.com>
Co-authored-by: SomeTroglodyte <63000004+SomeTroglodyte@users.noreply.github.com>
Co-authored-by: Sergey <serdav74@inbox.ru>
Co-authored-by: SeventhM <127357473+SeventhM@users.noreply.github.com>
Co-authored-by: PLynx <pawelrys2011@gmail.com>
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: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: Lesiakower <125187776+Lesiakower@users.noreply.github.com>
Co-authored-by: Mikhail <151419244+MetaFBMI@users.noreply.github.com>
2023-11-28 14:37:21 +02:00
Joan Josep
3c24d6d3af
Update Catalan.properties (#10579) 2023-11-28 12:15:39 +02:00
SomeTroglodyte
48ede93bfa
Wesnoth map import polished up (#10580) 2023-11-28 12:01:53 +02:00
Yair Morgenstern
5396c41efc 4.9.2 2023-11-25 22:35:40 +02:00
Yair Morgenstern
962c6ab7cb
Version rollout (#10578)
* Bump version and create initial changelog entry

* Update Polish.properties (#10556)

* Update Polish.properties

* Update Polish.properties

* Update Polish.properties

* Update Spanish.properties (#10555)

* Update French.properties (#10553)

* Update Italian.properties (#10552)

* Update Turkish.properties (#10549)

* Update Turkish.properties

Added new translations

* Update Turkish.properties

* Update Turkish.properties

* Update Turkish.properties

* Update Turkish.properties

* Update Malay.properties (#10548)

323 - 417

* Update Brazilian_Portuguese.properties (#10547)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Lesiakower <125187776+Lesiakower@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: komandotayfa <53448093+komandotayfa@users.noreply.github.com>
Co-authored-by: Mikhail <151419244+MetaFBMI@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
2023-11-25 21:56:24 +02:00
SomeTroglodyte
b61c9de39e
Comment unique (#10575)
* Comment Unique

* Comment Unique translations

* Comment Unique more descriptive documentation

* New languages
2023-11-25 20:11:30 +02:00
SomeTroglodyte
8c0693c998
Latin reboot (#10573)
* Reboot Latin

* Reboot Latin - 002

* Reboot Latin - 003

* Reboot Latin - atlas
2023-11-25 18:22:23 +02:00
SomeTroglodyte
b7823e0b39
"Fixed" Rusyn language (#10561)
* Rusyn.properties

Translation on Rusyn language (ISO-code "rue")

* Update Rusyn.properties

* Update Rusyn.properties

* Update Rusyn.properties

* Update Rusyn.properties

* Update Rusyn.properties

* Update Rusyn.properties

* Update Rusyn.properties

* Update Rusyn.properties

* Update Rusyn.properties

* Update Rusyn.properties

* Update Rusyn.properties

* Update Rusyn.properties

* Update Rusyn.properties

* Update Rusyn.properties

* Update Rusyn.properties

* Update Rusyn.properties

* Update Rusyn.properties

* Update Rusyn.properties

* Update Rusyn.properties

* Update Rusyn.properties

* Update Rusyn.properties

* Update Rusyn.properties

* Update Rusyn.properties

* Update Rusyn.properties

* Update Rusyn.properties

* Update Rusyn.properties

* Update Rusyn.properties

* Update Rusyn.properties

* Update Rusyn.properties

* Update Rusyn.properties

* Add a flag for Rusyn

* LocaleCode for Rusyn to use Ukrainian Collator but still write separate fastlane files

* Update Rusyn language files

* Redo atlas

---------

Co-authored-by: KotDivuar <148721627+KotDivuar@users.noreply.github.com>
2023-11-24 14:22:24 +02:00
SomeTroglodyte
c4b5925394
Fixed Bosnian (#10559)
* Rescue Bosnian.properties

* Rename and revert

* Let's minimize diff size for completionPercentages.properties from now on

* One generate translations run on Bosnian

* Add the Flag

* Add the LocaleCode

* Fix illegally tranzlahtedd placeholders
2023-11-24 07:21:27 +02:00
Yair Morgenstern
b8b5b71395 4.9.1 2023-11-23 00:11:40 +02:00
Yair Morgenstern
3c8d4cfcbf
Version rollout (#10546)
* Bump version and create initial changelog entry

* Update Polish.properties (#10544)

* Update Spanish.properties (#10542)

* Update Turkish.properties (#10536)

* Update Turkish.properties

Added new translations

* Update Turkish.properties

* Update Turkish.properties

* Update Turkish.properties

* Update Brazilian_Portuguese.properties (#10535)

* Update Simplified Chinese (#10534)

* Update French.properties (#10531)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Lesiakower <125187776+Lesiakower@users.noreply.github.com>
Co-authored-by: Caballero Arepa <78449553+Caballero-Arepa@users.noreply.github.com>
Co-authored-by: komandotayfa <53448093+komandotayfa@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
Co-authored-by: chr_56 <30681738+chr56@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
2023-11-23 00:06:54 +02:00
SomeTroglodyte
3604d82fa9
Add a map import tool able to read "Battle for Wesnoth" maps (#10541)
* Add a map import tool able to read "Battle for Wesnoth" maps

* Fix and explain vertical distortion
2023-11-22 23:59:22 +02:00
Sergey
30c4b323ec
Add a setting to forbid closing popups by clicking behind them (#10539)
* Add a setting to forbit closing popups by clicking behind them

* Change default checkbox state to false

* Update template and Russian translation
2023-11-22 23:59:07 +02:00
Yair Morgenstern
8dc0db49e7 4.9.0 2023-11-20 23:15:39 +02:00
Yair Morgenstern
10cb51795c
Version rollout (#10530)
* Bump version and create initial changelog entry

* Update Brazilian_Portuguese.properties (#10528)

* Update French.properties (#10524)

* Update Italian.properties (#10522)

* Update Polish.properties (#10521)

* Update Polish.properties

* Added Fastlane_short_description

* Update Malay.properties (#10520)

Translated line 33 to line 325.
Not at all finished.
This time though I didn't mess up.

---------

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: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: Lesiakower <125187776+Lesiakower@users.noreply.github.com>
Co-authored-by: Mikhail <151419244+MetaFBMI@users.noreply.github.com>
2023-11-20 22:52:44 +02:00
SeventhM
1744d1271f
Add gain stat modified by speed and improvement speed by filter uniques (#10443)
* Add gain stat modified by speed and improvement speed by filter uniques

* Fix rulesets

* Remove nonfunctional leftover resource text

* Reword improvement unqiue as suggested
2023-11-20 22:47:35 +02:00
SomeTroglodyte
08c3f97f82
Support for Leader voices (#10395)
* Prepare Leader Voices: Framework

* Leader Voices: Hooks and corresponding text field comments

* Leader Voices: wiki

* Leader Voices: oops, comments

* Decouple voice play calls to make global modification easier

* Move voices to own folder and give them a separate volume setting

* Oops, template needed too

* Oops, wiki needed too
2023-11-20 22:21:30 +02:00