Commit Graph

10818 Commits

Author SHA1 Message Date
yairm210
43b0c9bbad Temporary unit statuses! Can be applied with "This Unit gains the [promotion] status for [positiveAmount] turn(s)" trigger unique
Example: "This Unit gains the [Morale] status for [1] turn(s) <for [1] movement> <for units without [Morale]>"
2024-08-21 09:32:07 +03:00
yairm210
d8afdd0f42 When selecting a unit, show only arrows relevant to selected unit 2024-08-20 11:26:47 +03:00
yairm210
19943baa44 Better AI conquering of cities 2024-08-20 11:11:52 +03:00
yairm210
ec462f9e86 Fixed unique documentation not updating 2024-08-20 09:08:07 +03:00
yairm210
637a2a8208 Added unit promotions json schema 2024-08-19 16:54:59 +03:00
yairm210
4d39c80c93 Allowed specifying custom colors for unit promotions 2024-08-19 16:24:45 +03:00
yairm210
6944d8d5f5 chore: shortened Portrait functions 2024-08-19 15:58:50 +03:00
yairm210
4ff392e63e chore: shortened imagegetter functions 2024-08-19 15:42:44 +03:00
yairm210
ebde6e6ec7 "ok" warnings now colored in 'accept mod errors' popup 2024-08-18 11:30:27 +03:00
yairm210
b41b36d43f Discourage spreading religion to civs we've promised to not do so 2024-08-18 10:28:46 +03:00
yairm210
b0159502b6 4.13.0-patch1 2024-08-18 06:03:03 +00:00
Yair Morgenstern
854812358e
Fixed uniqueTo check in nation unique units display (#12128) 2024-08-18 09:02:55 +03:00
yairm210
fde781d9bb 4.13.0 changelog 2024-08-17 23:05:44 +03:00
yairm210
b20564a946 4.13.0 2024-08-17 22:00:26 +03:00
Yair Morgenstern
363fff1832
Version rollout (#12125)
* Bump version and create initial changelog entry

* Update Catalan.properties (#12124)

* Update Japanese translation (#12123)

* update

* update

* update

* Update Brazilian_Portuguese.properties (#12121)

added some missing translations for pt-br

* Update Italian.properties (#12119)

* Update Ukrainian translations (#12117)

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

* Update Latin translation (#12116)

* Fix and update translation

* Update translation

* Update translation

* Update translation

* Update translation

* Update translation

* Update translation

* Fix translation

* Update translation

* Fix translation

* Fix translation

* Update translation

* Fix translation

---------

Co-authored-by: sls1005 <sls1005@github.com>

* Update French.properties (#12115)

* Update Indonesian.properties (#12114)

Translated the new words and corrected a few grammatical mistakes.

* Update German translation (#12113)

* Fixed test

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Joan Josep <juanjo.ng.83@gmail.com>
Co-authored-by: yuracla <89312848+yuracla@users.noreply.github.com>
Co-authored-by: murilozinkkkj <78273099+murilozinkkkj@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: sls1005 <90055573+sls1005@users.noreply.github.com>
Co-authored-by: sls1005 <sls1005@github.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
Co-authored-by: mape6 <mape6@posteo.de>
2024-08-17 21:54:46 +03:00
EmperorPinguin
1a6d2279f5
AI changes (#12109)
* AI behaviour changes

* Update Automation.kt

* Update Automation.kt

* Update Automation.kt

* Update Automation.kt

* Update Automation.kt

* Update ConstructionAutomation.kt

* Update Automation.kt

* Reverting some changes

* Changes

* revert changes

* revert changes

* revert changes

* revert changes

* Update CityLocationTileRanker.kt

* Citizen assignment for stat conversion

* Update CityLocationTileRanker.kt

* Reduce AI settling

* Avoid AI building units when in negative Supply

* Update CityLocationTileRanker.kt

* Update CityLocationTileRanker.kt

* Update CityLocationTileRanker.kt

* Update ConstructionAutomation.kt

* Update build.gradle.kts

* Update gradle-wrapper.properties

* Update CityLocationTileRanker.kt

* Update CityLocationTileRanker.kt

* Update ConstructionAutomation.kt

* Update CityLocationTileRanker.kt

* AI changes for humans

* Fix puppet focus

* Update Automation.kt

* Puppet focus

* Update Automation.kt

* Update Automation.kt

* Update Automation.kt

* Update Automation.kt

* Update Automation.kt

* Update Automation.kt

* Update Automation.kt

* Update Automation.kt

* Update Automation.kt

* Update Stats.kt

* Update CityTurnManager.kt

* Remove specialist science modifier

* Update ReligionAutomation.kt

* Update ReligionAutomation.kt

* Update ReligionAutomation.kt

* Update CivilianUnitAutomation.kt

* Update ReligionAutomation.kt

* Worker prioritization

Workers are valuable in expand cities.

* Update ConstructionAutomation.kt

Food always important, it's rarely good to skip e.g. granary if we're on 6 pop.

* Update ConstructionAutomation.kt

Should achieve about the same with less lines of code.

* Update Automation.kt

* Update ConstructionAutomation.kt

* Update Policies.json

* Update Policies.json

* Update Policies.json

* Update ConstructionAutomation.kt

* Update Policies.json

* Update ReligionAutomation.kt

* Update ReligionAutomation.kt

* Update ReligionAutomation.kt

* Update ReligionAutomation.kt

* Rename Crop Yield to Growth
2024-08-17 21:40:20 +03:00
yairm210
ff1596f0ce Revert "perf: Compute 'missing from minimum' stats only when necessary"
This reverts commit 84af8fa3e0.
2024-08-17 21:18:04 +03:00
yairm210
84af8fa3e0 perf: Compute 'missing from minimum' stats only when necessary 2024-08-16 16:01:45 +03:00
yairm210
8206101f34 Fixed Civilopedia not showing non-unique buildings and units on techs 2024-08-15 12:58:20 +03:00
yairm210
c20944469d UI: Show terrain icons in text 2024-08-15 12:47:56 +03:00
yairm210
3687a277a3 UI: Fade in newly-explored tiles 2024-08-15 10:34:56 +03:00
yairm210
b587bfa591 Improvement uniqueTo can apply to civ *filters* 2024-08-14 21:50:39 +03:00
yairm210
8ddc8a3e8b Unit uniqueTo can apply to civ *filters* 2024-08-14 20:40:17 +03:00
yairm210
238e30b86c Building uniqueTo can apply to civ *filters* 2024-08-14 20:27:54 +03:00
yairm210
1cae77d1ad Fixed tests 2024-08-14 12:57:24 +03:00
yairm210
ea2234b9a2 Added "don't spread religion to us" demand 2024-08-14 12:04:17 +03:00
yairm210
04f1508dfa Hopefully fixed commit parsing 2024-08-14 11:04:02 +03:00
yairm210
adc389f5d6 4.12.19 2024-08-14 10:53:32 +03:00
Yair Morgenstern
abe41b721f
Version rollout (#12112)
* Bump version and create initial changelog entry

* Add and correct some Russian translations (#12111)

* Update Latin translation (#12096)

* Update translation

* Update translation

* Update translation

* Update translation

* Update translation

---------

Co-authored-by: sls1005 <sls1005@github.com>

* Update French.properties (#12091)

* Update Spanish.properties (#12090)

* Update Spanish.properties

* Update Spanish.properties

* Update Simplified_Chinese.properties (#12089)

* Update Indonesian.properties (#12088)

Translated new words and corrected grammatical errors.

* Update German translation (#12087)

* Update Italian.properties (#12086)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Nicolas Flamme <nclsf87@gmail.com>
Co-authored-by: sls1005 <90055573+sls1005@users.noreply.github.com>
Co-authored-by: sls1005 <sls1005@github.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: 焕晨HChen <123531821+HChenX@users.noreply.github.com>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
Co-authored-by: mape6 <mape6@posteo.de>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
2024-08-14 10:48:56 +03:00
yairm210
fed54a4b0b Object.entries() apparently had a breaking change
Also updated setup-node to v4, latest
2024-08-14 10:40:00 +03:00
yairm210
9c96171188 Multiplayer 'skip turn' uses new limited automation 2024-08-14 09:53:37 +03:00
yairm210
fb99f579a3 Resolves #12110 - Strategic balance applies only to major civs, as per Civ V 2024-08-14 09:52:05 +03:00
SomeTroglodyte
5ad68bb14d
Deprecate NaturalWonderConvertNeighborsExcept (#12098) 2024-08-14 09:48:43 +03:00
Yair Morgenstern
daf709ea22
Multiplayer: Add button to skip current player if he's taking too long (#12106)
* Add option to skip current player if he's taking too long

* Translations

* Fix translations
2024-08-14 09:48:32 +03:00
Yair Morgenstern
e3ecab44ed
"Skip turn" automation (#12105)
* "Skip turn" automation

* Better descriptions for multiplayer games
2024-08-14 09:48:23 +03:00
yairm210
5eb2d39d5c Resolved #12107 - automated settlers take conditionals on settling locations into account 2024-08-11 22:48:57 +03:00
yairm210
6637e67ddb chore: minor docs 2024-08-11 15:33:44 +03:00
yairm210
451642450c Modding: Added ruleset validation that 2 policies in the same branch do not have the same position 2024-08-11 14:34:03 +03:00
yairm210
dc7f0434a4 Resolved #12104 - "Land to water" natural wonders do not cause ruins on water tiles 2024-08-11 12:34:08 +03:00
yairm210
6e57a02f8f "Timed unique" is definitely a meta-modifier and not a conditional 2024-08-10 23:34:09 +03:00
yairm210
7ad86f80d1 4.12.18-patch1 2024-08-09 07:28:07 +00:00
Yair Morgenstern
cf202c28a4
Fix automatedRoadConnectionPath serialization errors (#12097) 2024-08-09 10:28:00 +03:00
Ouaz
49fa691d7e
Fix untranslatable (#12093)
"Visit the wiki" translatable now
2024-08-09 08:50:10 +03:00
yairm210
33a164c322 4.12.18 2024-08-08 15:11:40 +03:00
Yair Morgenstern
373f72a773
Version rollout (#12085)
* Bump version and create initial changelog entry

* Update Japanese translation (#12082)

* update

* update

* update

* fix

* Update French.properties (#12080)

* Update Ukrainian translations (#12078)

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

* Update German translation (#12075)

* Update Indonesian.properties (#12074)

Translated new words and corrected mistranslation and grammatical errors.

* Update Italian.properties (#12073)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: yuracla <89312848+yuracla@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: mape6 <mape6@posteo.de>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
2024-08-08 15:04:58 +03:00
Yair Morgenstern
210895295f
Added support for new historyranking serialization - saved ~10% of save file size (#12079)
* Added support for new historyranking serialization - saved ~10% of save file size!

* Convert RankingType strings to chars

* Join to string using ranking char instead of generic delimiter

* Keep writing old format for now :)

* Handle negative rankings

* Fix test

* Minor perf

* Revert "Minor perf"

This reverts commit 470b3e9286.
2024-08-08 14:54:33 +03:00
Yair Morgenstern
b9f907e74d
Use custom Vector2 serialization - reduces total file size by 4% (#12077) 2024-08-08 14:38:59 +03:00
yairm210
a4a270c184 lint 2024-08-08 14:36:47 +03:00
yairm210
46f470ffb0 Fix tests please work 2024-08-08 14:30:39 +03:00
yairm210
6777b72753 fix tests 2024-08-08 14:29:12 +03:00