Commit Graph

11130 Commits

Author SHA1 Message Date
yairm210
5d7b7c6bcb Fixed "don't settle cities" demand button triggering "stop spreading religion" demand as well 2024-08-24 21:10:27 +03:00
yairm210
4a9739a643 Modding: "Costs [amount] [stockpiledResource]" construction accepts conditionals 2024-08-23 16:22:49 +03:00
yairm210
9d13303db6 test: Added test to ensure stockpiled resources are consumed when starting work on "Costs [amount] [stockpiledResource]" construction 2024-08-23 10:41:33 +03:00
yairm210
6265e160e6 Skipping turns for a game now correctly updates the MP screen 2024-08-22 15:15:31 +03:00
yairm210
eadc7b24a2 Added "[unitTriggerTarget] is destroyed" unit triggerable 2024-08-22 10:31:05 +03:00
yairm210
072c3786c4 Added "upon damaging a [mapUnitFilter] unit" which can trigger a unique on the *enemy* unit! 2024-08-22 10:28:48 +03:00
yairm210
f6efdd105f All unit trigger uniques start with a targetting parameter 2024-08-22 01:21:38 +03:00
yairm210
3798dadad4 4.13.1 2024-08-21 23:25:36 +03:00
Yair Morgenstern
4d84128d48
Version rollout (#12139)
* Bump version and create initial changelog entry

* Added the 1st part of lacking polish translation (#12138)

* Added the 1st part of lacking polish translation

* Update Polish.properties

* Update Polish.properties

* Update Polish.properties

* Update Ukrainian translations (#12137)

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

* Update Bulgarian.properties (#12136)

Finished the translations for England, France, Russia, Rome, Arabia and America.

* Update Russian.properties  (#12135)

* Update Russian.properties

Added translation for:
- Air Combat and Interception
- Spies

* Update Russian.properties

added translation for new lines in civilopedia

* Update Russian.properties

added translation:
- Trade Routes
- Roads and RailRoads

* Update Russian.properties

added translation for civilopedia sections:
- Science
- Food
- Prodcution
- Gold
- Natural Wonders
- Idle Units

* Update Bulgarian.properties (#12133)

Finished the translations for Babylon, Greece, China and Egypt

* Update Italian.properties (#12132)

* Update Latin translation (#12131)

* 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

* Update translation

* Update translation

* Fix and update the translation

* Update translation

* Fix translation

* Fix translation

* Update translation

* Update translation

* Fix translation

* Update translation

* Update translation

* Update translation

* Update translation

* Use ë to disinguish words. See <https://la.m.wikisource.org/wiki/Vulgata_Clementina/Liber_Job>

* Update translation

* Update translation

* Update translation

* Update translation

* Update translation

* Update translation

* Update translation

* Update translation

* Update translation

* Update translation

* Update translation

* Fix translation

* Fix translation

---------

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

* Update French.properties (#12130)

* Update Brazilian_Portuguese.properties (#12129)

* Update Brazilian_Portuguese.properties

* Update Brazilian_Portuguese.properties

* Update Indonesian.properties (#12126)

* Update Indonesian.properties

Translated the new codes and corrected a few mistranslated words.

* 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: Kostiantyn Ko <test9@mormat.name>
Co-authored-by: Kostiantyn Ko <mormat.iam@gmail.com>
Co-authored-by: Instrumentarium <143902440+Instrumentarium@users.noreply.github.com>
Co-authored-by: Denis Sharpe <59770002+DeStup@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.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: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
2024-08-21 23:20:02 +03:00
yairm210
93cb098edf Added "unit loses status" trigger unique 2024-08-21 23:16:41 +03:00
yairm210
db5b0057bd Create unitTriggerTarget which will determine 'this unit' / 'target unit' targets for all unit triggers 2024-08-21 22:58:49 +03:00
yairm210
3d506c847d chore: remove test unique 2024-08-21 10:53:56 +03:00
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