Commit Graph

10517 Commits

Author SHA1 Message Date
Yair Morgenstern
d6940afe79
Patch: Fix automation breaking on unknown units with no improvement placements (#11877) 2024-06-28 14:48:03 +03:00
yairm210
6315984da7 perf: sequenceOf() -> emptySequence() 2024-06-28 13:07:08 +03:00
yairm210
ee5d06d187 perf: small 1% cpu optimizations 2024-06-28 00:32:18 +03:00
yairm210
922f459aa4 condition -> conditional 2024-06-27 23:57:56 +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
SeventhM
d92b65cd58
Consider passive strength bonuses for force value (#11863) 2024-06-27 23:26:57 +03:00
SomeTroglodyte
1c25839ddb
On desktop, replace Gdx clipboard with a proxy using AWT (#11857) 2024-06-27 23:26:48 +03:00
SeventhM
e5e52fe916
Pass in civ for building on tiles (#11861) 2024-06-27 23:26:38 +03:00
SomeTroglodyte
bebc769120
Treat compilation warnings (#11741)
* Treat compilation warnings

* Finish treating compiler warnings for now
2024-06-27 23:26:26 +03:00
SomeTroglodyte
8da58ed34a
Add a Unique allowing an Improvement to specify which Resource(s) it improves (#11718)
* Linting

* Add UniqueType.ImprovesResources

* Address reviews and extensive Kdoc

* Oops, better include the generated stuff
2024-06-27 23:26:14 +03:00
yairm210
c9bcf10f2a naming: TradeType -> TradeOfferType 2024-06-27 23:18:16 +03:00
yairm210
432f2fad89 Upgrade Kotlin &co - #11870 2024-06-27 23:13:40 +03:00
yairm210
b43839392d Re-add 'construct great improvement' automation for great units that can't do their main actions 2024-06-27 23:13:05 +03:00
yairm210
929a3b7f22 Resolved #11864 - Promotion added to unit with that promotion does not retrigger trigger uniques 2024-06-27 15:54:35 +03:00
yairm210
195a251ff3 Resolved #11865 - unified unit availability checks to one function 2024-06-27 15:16:58 +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
8be450e6ba Triggered uniques accept multiplying modifiers 2024-06-27 00:33:31 +03:00
yairm210
1da5410324 Religion beliefs are private, uniques are cached 2024-06-27 00:33:31 +03:00
SeventhM
7beb5f34c0
Check 'Will not stale' labels for PRs (#11851) 2024-06-26 19:45:45 +03:00
theofficialgman
9cf3318d69
add parser for pi-apps package_data.json (#11852) 2024-06-26 19:43:58 +03:00
yairm210
c42170a4b8 Fix base rulesets 2024-06-26 09:35:40 +03:00
yairm210
54d872045c Better "Withdraws before melee combat" unique 2024-06-26 00:17:06 +03:00
yairm210
d075ad0100 Clearer "no damage penalty for wounded units" unique 2024-06-25 23:58:53 +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
SomeTroglodyte
a9d07f513d
Fix console city add/remove building format (#11835) 2024-06-25 16:10:23 +03:00
yairm210
0a19cfb739 Resolved #11829 - "after [amount] turns" -> "after turn number [amount]", "before [amount] turns" -> "before turn number [amount]" 2024-06-25 16:09:18 +03:00
yairm210
2093761e2d Resolved #11829 - "after [amount] turns" -> "after turn number [amount]" 2024-06-25 16:01:57 +03:00
yairm210
a540355cc9 docs: Resource unique documentation 2024-06-25 11:57:05 +03:00
Yair Morgenstern
60b374de8d Clean improvement queue from improvements not in ruleset 2024-06-25 00:26:52 +03:00
Yair Morgenstern
581c807da0 Resolve #11686 - Automation control fully moved over to 'automate' field rather than 'action' 2024-06-25 00:26:15 +03:00
Yair Morgenstern
39de50829a Resolve #11795 - fix performance problem for displaying air units in cities 2024-06-24 23:53:36 +03:00
Yair Morgenstern
0678957c8e Resolves #11820 - Fixed "edit existing trade" exploit 2024-06-24 23:42:16 +03:00
Yair Morgenstern
0f683b1725 Resolves #11758 - fix typos in new tutorials 2024-06-24 23:36:37 +03:00
Yair Morgenstern
676ced0f8b Better unique documentation - resolves #11842 2024-06-24 23:20:36 +03:00
Yair Morgenstern
7bd0a03cab Remove unused parameters 2024-06-24 23:13:33 +03:00
SomeTroglodyte
77f02600fd
Unit test to catch game loading problems with religion enabled (#11821)
* Lint regions in UncivFiles

* Create a load-predefined-game test that catches the 4.12.2 bug
2024-06-23 19:18:58 +03:00
tuvus
30a91f2f4a 4.12.2-patch1 2024-06-23 03:30:04 +00:00
Oskar Niesen
5ab535badc
Revert "Cache 'majority religion' and uniques, recalc when updating followers (#11804)" (#11815)
This reverts commit 2087c36c6d.
2024-06-23 06:29:56 +03:00
yairm210
0e4aeef8bc Updating upload requires updating download 2024-06-23 00:17:18 +03:00
yairm210
2bd36b14d2 4.12.2 2024-06-23 00:08:46 +03:00
yairm210
261163ba53 General update of actions, since Github Actions is moving to node 20 2024-06-23 00:06:10 +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