Commit Graph

4386 Commits

Author SHA1 Message Date
Yair Morgenstern
64e2c9aee0
Multiplayer notifications need to be untranslated because it accesses 'current game' (#11963) 2024-07-14 18:36:15 +03:00
yairm210
767759f42c 4.12.11 2024-07-14 10:03:41 +03:00
Yair Morgenstern
3e24a33b46
Version rollout (#11960)
* Bump version and create initial changelog entry

* Add translations to Ukrainian (#11957)

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

* Update French.properties (#11952)

* Update German translation (#11949)

* Update Italian.properties (#11948)

* Update Indonesian.properties (#11945)

Translated the new words.

* Update Brazilian_Portuguese.properties (#11944)

---------

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: mape6 <mape6@posteo.de>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
2024-07-14 10:00:07 +03:00
Md. Touhidur Rahman
a2574c2831
More Numbers Translations Coverage (#11943)
* `setText()` coverage

* fix suggestions

* fix victory status > our status issues

* `toString()` coverage

* fix build issues

* Update MultiplayerTurnCheckWorker.kt
2024-07-14 09:22:38 +03:00
yairm210
8912f6adc1 Resolved #11953 - Ouaz's lower-case 'clicking' 2024-07-14 00:25:13 +03:00
Kostiantyn Ko
ae7aaf0d2d
Correct the colors of the flag of Ukraine (#11958)
Co-authored-by: Kostiantyn Ko <mormat.iam@gmail.com>
2024-07-14 00:20:42 +03:00
yairm210
5a015a4ddb 4.12.10 2024-07-11 19:54:51 +03:00
Yair Morgenstern
dfd07555a9
Version rollout (#11942)
* Bump version and create initial changelog entry

* Ninjum patch 2 (#11940)

* Update Galician.properties

update translate

* Update Galician.properties

* Update Galician.properties

* Update Galician.properties

instalando traducion vella para tentar correxir erro

* Update Galician.properties

* Update German translation (#11939)

* Update Spanish.properties (#11937)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: ninjum <138787523+ninjum@users.noreply.github.com>
Co-authored-by: mape6 <mape6@posteo.de>
Co-authored-by: Caballero Arepa <78449553+Caballero-Arepa@users.noreply.github.com>
2024-07-11 19:49:15 +03:00
yairm210
31162d4d30 4.12.9 2024-07-09 18:07:13 +03:00
Yair Morgenstern
05f7ac1529
Version rollout (#11935)
* Bump version and create initial changelog entry

* Update Turkish.properties (#11930)

* Update Simplified_Chinese.properties (#11923)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: ygz213 <77006222+ygz213@users.noreply.github.com>
Co-authored-by: AutumnPizazz <114050365+AutumnPizazz@users.noreply.github.com>
2024-07-09 17:57:56 +03:00
SpacedOutChicken
81130a541e
Remove old "will be replaced by automated units" unique (#11932)
* Remove "will be replaced" old unique

* Update TileImprovements.json
2024-07-09 17:24:58 +03:00
SomeTroglodyte
95bc8d09d1
Update flag for Latin so it's same size as the others (#11918) 2024-07-07 13:13:38 +03:00
yairm210
39a303358b 4.12.8 2024-07-05 16:23:35 +03:00
Yair Morgenstern
351c515e02
Version rollout (#11917)
* Bump version and create initial changelog entry

* Ninjum patch 2 (#11916)

* Update Galician.properties

translate up to line 2000

* Update Galician.properties

line 2137

* Update Galician.properties

2249 line

* Update Galician.properties

translate up to line 2300

* Update Galician.properties

repair line 2269, translate up to line 2300

* Update Galician.properties

translate up to line 2400

* Update Galician.properties

translate up to line 2800

* Update Galician.properties

translate up to line 2800 and repair some lines

* Update Galician.properties

translate up to line 3200

* Update Galician.properties

translate up to line 3500

* Update Galician.properties

translate up to line 4090

* Update Galician.properties

translate up to line 4670

* Update Galician.properties

translate up to line 5057

* Update Galician.properties

translate update to line 6036

* Update Galician.properties

translate up to line 6700

* Update Galician.properties

all lines translated

* Update Turkish.properties (#11914)

* Update Catalan.properties (#11912)

* Update Hungarian.properties (#11910)

Added some translations

* Update Indonesian.properties (#11906)

Corrected the mistranslated word.

* Update Ukrainian translations (#11905)

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

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: ninjum <138787523+ninjum@users.noreply.github.com>
Co-authored-by: ygz213 <77006222+ygz213@users.noreply.github.com>
Co-authored-by: Joan Josep <juanjo.ng.83@gmail.com>
Co-authored-by: JurDan | Werewolf Cookie <80947706+JurDan775@users.noreply.github.com>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
Co-authored-by: Kostiantyn Ko <test9@mormat.name>
Co-authored-by: Kostiantyn Ko <mormat.iam@gmail.com>
2024-07-05 16:17:46 +03:00
SomeTroglodyte
ebba2eaeea
Galician support (#11742)
* Galician support

* Redo Flags.atlas
2024-07-05 16:09:01 +03:00
SpacedOutChicken
aeea13bb71
Update uniques for withdrawing before melee combat (#11904)
* - Turn Privateer's unique ability into a promotion
- Add promotion to Privateer and Sea Beggar

* Update uniques for withdrawing before melee combat
2024-07-03 15:08:49 +03:00
yairm210
fb4735908a 4.12.7 2024-07-02 21:25:54 +03:00
Yair Morgenstern
ebd7f0cd34
Version rollout (#11902)
* Bump version and create initial changelog entry

* Update Italian.properties (#11897)

* Update French.properties (#11894)

* Update translations to Ukrainian (#11893)

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

* Update Indonesian.properties (#11887)

Put "" on the right of diacritics support codes.

* Bangla Translations (15%) (#11755)

* Start Bangla Translations

* translations from previous night

* try to fix linting errors

* Update GameSettings.kt

* Update completionPercentages.properties

* Add Bangladeshi Circular Flag

Designed by: Md. Touhidur Rahman (@touhidurrr)
Special thanks to: H M Naimuzzaman Shuvo

* Update Credits.md

* add changes from 0a357e3 and 5967f56

* start managing requires translation strings to track translation progress

* add more translations

* fix png metadata

* interlacing, rgba 16, compression 1, anitalias 2

* Update Credits.md

* add more translations

* add more translations, reached 500th line!

* possibly last commit for now

* fix flag issue

* add diacritics support stuff, thanks to #11806

* update diacritics settings for ae779ed and complete main screen translations for testing

* add some translations

* support modified diacritics settings

* Add changes from recent commits and some translations

* save work. lines translated: 1103 / 5665 (19.47%), characters translated: 24856 / 198675 (12.51%).

* Update completionPercentages.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: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: Kostiantyn Ko <test9@mormat.name>
Co-authored-by: Kostiantyn Ko <mormat.iam@gmail.com>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
Co-authored-by: Md. Touhidur Rahman <46617994+touhidurrr@users.noreply.github.com>
2024-07-02 21:19:41 +03:00
Yair Morgenstern
58e58ccfec Regenerated altases from scratch so other contributors don't encounter problems 2024-07-02 08:35:08 +03:00
Yair Morgenstern
9b3ea6beb3 Resolved #11890 - oxipng lossless compression 2024-07-02 00:00:04 +03:00
Yair Morgenstern
519939adc2 Move debug keystore to android folder 2024-07-01 23:24:25 +03:00
yairm210
0f07ec93e4 DAMN you autoformat 2024-06-30 10:45:49 +03:00
yairm210
96db86cdc2 translation: Map types section clarity 2024-06-30 00:58:31 +03:00
yairm210
2f99b166eb 4.12.6 2024-06-30 00:39:17 +03:00
Yair Morgenstern
05ccc84201
Version rollout (#11883)
* Bump version and create initial changelog entry

* Update translations to Ukrainian (#11880)

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

* Update French.properties (#11878)

* Update Simplified_Chinese.properties (#11876)

* Update Simplified_Chinese.properties

* Update Simplified_Chinese.properties

* Update Indonesian.properties (#11873)

Translated the new words and corrected the symbols.

* Update Brazilian_Portuguese.properties (#11872)

* Update Brazilian_Portuguese.properties

* Update Brazilian_Portuguese.properties

---------

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: 焕晨HChen <123531821+HChenX@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>
2024-06-30 00:19:06 +03:00
焕晨HChen
4db4400105
Optimize screen orientation (#11875) 2024-06-29 23:57:11 +03:00
SomeTroglodyte
b5622df92d
Support for languages using Diacritics as multi-codepoint joiners (#11806)
* Diacritics support - achieving 1-Char-Per-Glyph via a fake alphabet

* Diacritics support - Redesign state engine and polishing

* Diacritics support - Unit test

* Diacritics support - Expand unit test to cover more cases

* Diacritics support - Expand unit test to cover more cases

* Clarify a function name

* Change format of diacritic definitions

* Refactor DiacriticSupport to per-language class with statics in Companion

* Update DiacriticSupport to use CharCategory and enable support of surrogate pairs

* Documentation
2024-06-29 23:39:46 +03:00
yairm210
87b9a71c03 4.12.5 2024-06-27 23:48:14 +03:00
Yair Morgenstern
d6ee828e4e
Version rollout (#11871)
* Bump version and create initial changelog entry

* Update Catalan.properties (#11869)

* Update Simplified_Chinese.properties (#11868)

* Update Simplified_Chinese.properties

* Update Simplified_Chinese.properties

* Provide translations to Ukrainian (#11867)

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

* Update Italian.properties (#11866)

* Update French.properties (#11862)

* galician translate (#11848)

* Add files via upload

* Update Galician.properties

under construction

* Update Galician.properties

corrections and translated more

* Update Galician.properties

all lines translated, errors missing

* Update Galician.properties

Complete translation, revised brackets, pending text revision but already functional

* Update Galician.properties

* Update Galician.properties

correxida liña 637 posto [time] que e o correcto.

* Update Galician.properties

revisado ata 2000

* Update Galician.properties

repair line 1496 and 1905

* Update Galician.properties

lines 1496 to 1499 repair

* Update Galician.properties

hei por he varias, liña 995 correxida

* Update Galician.properties

+ correccions

* Update Galician.properties

starting the translation again and little by little to see if we can make it through this one, the other one pains me to say but it was real garbage.

Only the first 500 lines have been translated to check for errors

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Joan Josep <juanjo.ng.83@gmail.com>
Co-authored-by: 焕晨HChen <123531821+HChenX@users.noreply.github.com>
Co-authored-by: Kostiantyn Ko <test9@mormat.name>
Co-authored-by: Kostiantyn Ko <mormat.iam@gmail.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: ninjum <138787523+ninjum@users.noreply.github.com>
2024-06-27 23:37:04 +03:00
yairm210
7b89d1ef57 4.12.4 2024-06-27 00:41:40 +03:00
Yair Morgenstern
855d3be220
Version rollout (#11860)
* Bump version and create initial changelog entry

* Provide translations to Ukrainian (#11853)

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

* Update French.properties (#11850)

* Update Indonesian.properties (#11849)

Translated the new words.

* Update Italian.properties (#11846)

---------

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: X2003 <158255876+Xenia2003@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
2024-06-27 00:36:27 +03:00
SomeTroglodyte
6935833919
UI: Improve load game screen - better feedback, missing templates (#11856)
* Improve load game screen - better feedback, missing templates

* Minor drive-by template comment fix
2024-06-27 00:34:17 +03:00
yairm210
c42170a4b8 Fix base rulesets 2024-06-26 09:35:40 +03:00
yairm210
095c4faed6 Countables for Cities, Units, Buildings allow filters 2024-06-25 23:56:01 +03:00
yairm210
d640ed9557 Revert "Better countables - phase 1"
This reverts commit 7165c62573.
2024-06-25 23:44:10 +03:00
yairm210
7165c62573 Better countables - phase 1 2024-06-25 23:43:11 +03:00
yairm210
f7f5ab78d3 4.12.3 2024-06-25 16:17:29 +03:00
Yair Morgenstern
cc90f48b1e
Version rollout (#11844)
* Bump version and create initial changelog entry

* Apply a few fixes to wording in Ukrainian (#11840)

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

* Update Italian.properties (#11838)

* Update Indonesian.properties (#11814)

Corrected a capitalisation and translated the new words.

---------

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: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
2024-06-25 16:12:01 +03:00
yairm210
2093761e2d Resolved #11829 - "after [amount] turns" -> "after turn number [amount]" 2024-06-25 16:01:57 +03:00
Yair Morgenstern
0f683b1725 Resolves #11758 - fix typos in new tutorials 2024-06-24 23:36:37 +03:00
yairm210
2bd36b14d2 4.12.2 2024-06-23 00:08:46 +03:00
Yair Morgenstern
cbd8193867
Version rollout (#11812)
* Bump version and create initial changelog entry

* Provide translations to Ukrainian (#11809)

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

* Update Simplified_Chinese.properties (#11805)

* Update Simplified_Chinese.properties

Has been a long time since my last translation. (Seems to be, a few months?)

* Update Simplified_Chinese.properties

* Update Spanish.properties (#11797)

* Update French.properties (#11796)

* Update Indonesian.properties (#11794)

Translated the new words.

* Update Hungarian.properties (#11793)

* Update Hungarian.properties

* Update Hungarian.properties

* Update Brazilian_Portuguese.properties (#11792)

---------

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: heipizhu4 <100454479+heipizhu4@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: X2003 <158255876+Xenia2003@users.noreply.github.com>
Co-authored-by: balazsszalab <balazsszalab@freemail.hu>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
2024-06-22 23:54:31 +03:00
SomeTroglodyte
fcc0b999d0
Clarify translation template header of the obsoleted tutorial tasks (#11811) 2024-06-22 23:53:25 +03:00
yairm210
e61c6c2a90 4.12.1 2024-06-19 17:44:09 +03:00
Yair Morgenstern
6ac3393e9b
Version rollout (#11791)
* Bump version and create initial changelog entry

* Update Italian.properties (#11782)

* Update Italian.properties (#11781)

Some minor improvement

* Update Hungarian.properties (#11776)

* Update Hungarian.properties

* Update Hungarian.properties

* Update Hungarian.properties

* Update Hungarian.properties

* Update Spanish.properties (#11773)

* Update Indonesian.properties (#11766)

Translated the new word.

* Fix Sipahi translation for RU — should be 'Сипахи', not 'Сипаи' (#11764)

* Update Catalan.properties (#11759)

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

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: andrestu <82871275+andrestu@users.noreply.github.com>
Co-authored-by: balazsszalab <balazsszalab@freemail.hu>
Co-authored-by: Caballero Arepa <78449553+Caballero-Arepa@users.noreply.github.com>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
Co-authored-by: Stas Fomin <stas-fomin@yandex.ru>
Co-authored-by: Joan Josep <juanjo.ng.83@gmail.com>
2024-06-19 17:38:53 +03:00
Oskar Niesen
fec30364a9
Moved automation settings to AutoPlayTab and renamed it to AutomationTab (#11765)
* Moved automation settings to AutoPlayTab

* Renamed the AutoPlayTab to AutomationTab

* Added a translation
2024-06-19 17:13:25 +03:00
SpacedOutChicken
dc9bf45009
- Turn Privateer's unique ability into a promotion (#11761)
- Add promotion to Privateer and Sea Beggar
2024-06-19 17:13:15 +03:00
Yair Morgenstern
79be14e291 Resolved #11082 - Added "Will not be replaced by automated units" unique 2024-06-17 23:12:50 +03:00
Yair Morgenstern
0a357e3598 Resolved #11758 2024-06-15 23:14:51 +03:00
Yair Morgenstern
9dfd82e002 4.12.0 2024-06-15 22:47:04 +03:00
Yair Morgenstern
5967f56f6d typo: rigg -> rig
Resolves #11748
2024-06-15 22:31:40 +03:00
Yair Morgenstern
0794b800fc
Version rollout (#11757)
* Bump version and create initial changelog entry

* Update Hungarian.properties (#11753)

* Provide translations to Ukrainian (#11750)

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

* Update Catalan.properties (#11749)

* Update French.properties (#11738)

* Update Brazilian_Portuguese.properties (#11737)

* Update Italian.properties (#11736)

* Update Indonesian.properties (#11733)

* Update Indonesian.properties

Translated the new words.

* Update Indonesian.properties

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: balazsszalab <balazsszalab@freemail.hu>
Co-authored-by: Kostiantyn Ko <test9@mormat.name>
Co-authored-by: Kostiantyn Ko <mormat.iam@gmail.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: X2003 <158255876+Xenia2003@users.noreply.github.com>
2024-06-15 22:30:55 +03:00
Oskar Niesen
2b8c965d6b
Personality implementation (#11729)
* Add Personalities.json

* Personality tags

* Askia, Attila, Augustus Personalities

* Bismark & Boudica

* Added parsed personalities

* Linked Personalities to their nation

* Tweaked some personalities

* Added the declareWar Personality

* Fixed some misnaming

---------

Co-authored-by: Caballero Arepa <78449553+Caballero-Arepa@users.noreply.github.com>
2024-06-15 22:02:51 +03:00
Yair Morgenstern
546f7c79a2 4.11.19 2024-06-10 23:00:08 +03:00
Yair Morgenstern
2896181bbb
Version rollout (#11727)
* Bump version and create initial changelog entry

* Update translations to Ukrainian (#11723)

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

* Update Italian.properties (#11722)

* Update Simplified_Chinese.properties (#11721)

* Update Simplified_Chinese.properties

* Update Simplified_Chinese.properties

* Update German translation (#11720)

* Update French.properties (#11716)

* Update Brazilian_Portuguese.properties (#11715)

* Update Indonesian.properties (#11714)

Translated the new words and corrected a few grammar mistakes.

---------

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: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: AutumnPizazz <114050365+AutumnPizazz@users.noreply.github.com>
Co-authored-by: mape6 <mape6@posteo.de>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
2024-06-10 22:55:01 +03:00
SomeTroglodyte
d39c7a97bf
Use Events for the floating "Tutorials" (#11717)
* Split off reuses of CityStateIcons/Cultured to allow modding separately

* Reposition floating tutorials in case the TopBar moved its buttons

* Event definition, art and basic support

* Split off Event rendering from AlertPopup

* Support Event presentation modes and replace hardcoded floating tutorials

* "Meet another civilization" art - can't find any better

* Tweak TranslationFileWriter and some polishing
2024-06-10 22:22:18 +03:00
yairm210
c89b2666c9 Specific uniques to generic trigger: "upon expending a [mapUnitFilter] unit" 2024-06-10 17:35:23 +03:00
Yair Morgenstern
2f8b8ca974 4.11.18 2024-06-08 23:33:38 +03:00
Yair Morgenstern
fe72b8f012
Version rollout (#11711)
* Bump version and create initial changelog entry

* Provide missing Ukrainian translations (#11710)

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

* Update Indonesian.properties (#11697)

* Update Indonesian.properties

Translated the new words and fixed some grammar mistakes.

* Update Indonesian.properties

* Update French.properties (#11695)

* Update Brazilian_Portuguese.properties (#11694)

* Update Italian.properties (#11693)

* Update Italian.properties

* Update Italian.properties

---------

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: X2003 <158255876+Xenia2003@users.noreply.github.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>
2024-06-08 22:21:23 +03:00
Yair Morgenstern
68e29e9c53
"(modified by game speed)" modifier (#11696)
* "(modified by game speed)" modifier

* Added missing flags

* Fixed G&K ruleset
2024-06-08 21:58:52 +03:00
Oskar Niesen
9cd531c8cf
Reworked AI war evaluation and plans (#11688)
* hasAtLeastMotivationToAttack now takes uses City.neighboringCities

* Changed attack pathing to use Astar

* Made the base force higher

* Declare war checks for total population instead of number of cities

* MotivationToAttackAutomation takes into account denunciation

* Set up DeclareWarTargetAutomation.kt

* Added logic for Civs to try and gang up on other Civs

* Added logic for civs to try and join an ally civ in their war and to declare war directly

* Added declineJoinWarOffer flag

* Reduced the likelyhood of declaring war a little

* Civs don't try to join wars against city-states

* Removed calculating targets with 0 motivation

* Relative production is not calculated against city-states

* Improved getAttackPathsModifier to only calculate the best path per city

* Refactored filter statements

* AI now tries to execute planned wars by default

* Culture Civs can now declare war, AI can declare multiple wars

* AI won't gift gold to city-states that it wants to attack

* Changed motivation from combat

* Changed AI aggression towards city-states

* Civs don't want to sign a DOF with the only nearby major civ as much

* City.neighboringCities filters out cities that are not visible

* Fixed some conditionals in tryJoinWar

* Fixed some war plan types breaking instead of continuing

* Civs are more likely to sign open borders if they haven't seen their cities

* Changed far away cities to have less of a value

* Fixed neighboringCities and getNeighboringCivilizations

* Other fixes

* Reduced motivation to attack from relative strength

* Added more to motivation to attack

* Added extra friendship modifiers

* Moved war evaluation to WarPlanEvaluator

* Added comments and re-named preparingWarPlan

* AI Team wars require neutral relations to send

* Added a team war notification

* Added evaluation of join war trades

* Tweaked MotivationToAttackAutomation

* Improved peace deal offers

* AI peace deals wait until 10 turns after declaring war

* Made the AI declare war a little less

* AI builds more military units

* AI keeps at least 2 great generals to not build citadels with

* AI TeamWar is more specialized for fighting stronger Civs

* Removed extra line

* Added more comments

* Improved unit tryPrepare logic

* Minor respelling and style improvements

* Changed MotivationToAttackAutomation HashMap to be a list

* Added a heuristic for the Astar search

* TeamWarPlan focuses more on relative force and fighting stronger civs

* MotivationToAttackAutomation takes into account planned wars and can target stronger civs

* Added logic for AI's to request other civs to join their war

* Fixed some WarDeclaration TradeEvaluation logic and reduced costs

* Added some extra safety against extreme force values in DeclareWarPlanEvaluator
2024-06-08 21:56:51 +03:00
yairm210
1296b16f90 4.11.17 2024-06-04 18:18:49 +03:00
Yair Morgenstern
533e6b7832
Version rollout (#11692)
* Bump version and create initial changelog entry

* Update Spanish.properties (#11685)

* Update German translation (#11672)

* Update Brazilian_Portuguese.properties (#11671)

* Update French.properties (#11670)

* Update Indonesian.properties (#11669)

Translated the new words and corrected the mistranslated words.

* Update Italian.properties (#11606)

* Update Italian.properties

* Update Italian.properties

* Add translations to Ukrainian (#11684)

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

* Update Polish.properties (#11679)

* Update Polish.properties

* Update Polish.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: mape6 <mape6@posteo.de>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@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: 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>
Co-authored-by: Lesiakower <125187776+Lesiakower@users.noreply.github.com>
2024-06-04 18:13:26 +03:00
Oskar Niesen
ba0c5cfbae
Spy max rank can be modded (#11650)
* Changed the spy level cap to be a mod constant

* Spy rank shows with more stars

* Reverted some temporary debug changes

* Changed Promotes all spies to accept an amount

* Change Promotes all spies [amount] time(s) to have parenthesis around the s

* Fixed problem with merging
2024-06-04 18:03:48 +03:00
Oskar Niesen
9e6e157835
Added an option to disable move by long press (#11681)
* Added an option to disable move by long press

* Moved setting check to tileGroup.onActivation and changed it to check for longTapMove

* Added translation
2024-06-04 18:02:01 +03:00
SomeTroglodyte
a046e43dbf
UI candy: WLTK fireworks (#11616)
* Particle effect fireworks for WLTK

* Refactor fireworks, try another location calculation

* Save todo list

* Fireworks assets

* ParticleEffectAnimation framework refactor and FasterUIDevelopment

* ParticleEffectAnimation rework - works correctly now

* ParticleEffectAnimation - credits and fine-tune

* ParticleEffectAnimation - atlas

* ParticleEffectAnimation - clean up testing code

* ParticleEffectAnimation - fix bungled texture move
2024-06-04 18:00:44 +03:00
yairm210
5404b97009 4.11.16 2024-05-30 00:07:01 +03:00
Yair Morgenstern
371f9639c1
Version rollout (#11667)
* Bump version and create initial changelog entry

* Update Indonesian.properties (#11662)

* Update Indonesian.properties

Translated the new words and fixed some mistranslated words.

* Update Indonesian.properties

* Update Spanish.properties (#11661)

* Update French.properties (#11660)

* Update Brazilian_Portuguese.properties (#11656)

* Update Brazilian_Portuguese.properties

* Update Brazilian_Portuguese.properties

* Update Italian.properties (#11655)

* Update Italian.properties

* Update Italian.properties

Oops

* Update German translation (#11654)

* Update German translation

* Update German translation

* Update German translation

* Update German translation

* Update German translation

* Update Ukrainian.properties (#11653)

Co-authored-by: Viktoriia <158747182+moonytori@users.noreply.github.com>

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: X2003 <158255876+Xenia2003@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: Vitor Gabriel <59321138+Ranbut@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: Viktoriia <158747182+execsuvikky@users.noreply.github.com>
Co-authored-by: Viktoriia <158747182+moonytori@users.noreply.github.com>
2024-05-30 00:00:11 +03:00
SomeTroglodyte
d82669d26c
Tune "work has started" notification (#11663)
* Make UncivGame.screenStack private

* Tune "work has started" notification

* Remove obsolete template (since commit [25b1259](25b1259ab6))

* Linting

* General suppression of duplicate notifications

* Little cheap optimization
2024-05-29 23:58:36 +03:00
yairm210
5739afe173 Resolved #11643 - Mamalahoe Kawanai -> Kanawai Mamalahoe 2024-05-27 14:09:06 +03:00
yairm210
265b2d6292 4.11.15 2024-05-27 14:02:33 +03:00
yairm210
0c95fdc4e7 4.11.15 2024-05-27 12:44:53 +03:00
Yair Morgenstern
64ef738fd7
Version rollout (#11652)
* Bump version and create initial changelog entry

* Create Zulu.properties (#11634)

zulu language translation for unciv, very early, will continue transcribing.

* Updates + Fixes to Belarusian, Russian, Italian (#11633)

* Updates + Fixes to Belarusian

Even more content

* Russian Update

* Revert "Russian Update"

This reverts commit 0b44358510.

* Italian + Russian + BelarusianUpdate

Update for Belarusian

* Update Indonesian.properties (#11632)

Corrected the mistranslation.

* Add a few translations to Ukrainian (#11629)

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

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: graycloud0 <151023736+graycloud0@users.noreply.github.com>
Co-authored-by: GameBoyNoob <94763659+GameBoyNoob@users.noreply.github.com>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
Co-authored-by: Kostiantyn Ko <test9@mormat.name>
Co-authored-by: Kostiantyn Ko <mormat.iam@gmail.com>
2024-05-27 12:41:12 +03:00
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
Oskar Niesen
0412d4f143
Revert Espionage button icon (#11630)
* Reverted spy button to show the spy white icon

* Changed the docs credits

* Espionage button now uses a separate path

* Reverted changing Icons.png

* Changed Espionage.png to the new sprite
2024-05-27 12:31:04 +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
36621e7d69 Default city for hexarealm does NOT have a question mark 2024-05-19 23:55:43 +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
SomeTroglodyte
1fed88acf6
Espionage icons (#11600)
* Icons for Espionage Buildings

* Update WorldScreen top left buttons
2024-05-16 07:01:47 +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