Commit Graph

7781 Commits

Author SHA1 Message Date
yairm210
b88e9ef116 Resource uniques are initialized correctly 2024-10-29 23:10:53 +02:00
yairm210
65b96d16ce perf(memory): Don't even create the data classes for intermediates :) 2024-10-29 15:22:40 +02:00
yairm210
cbbec40e00 perf(memory): Don't store city distances intermediately 2024-10-29 15:12:40 +02:00
Yair Morgenstern
4b6963e2b0
Version rollout (#12366)
* Bump version and create initial changelog entry

* Update Italian.properties (#12360)

* Update Bangla.properties (#12359)

* Update Russian.properties (#12358)

* Update Russian.properties

I translated a lot of small texts, corrected some incorrect translations and removed the "requires translation" signs where translation was added.

* Update Russian.properties

* Update Russian.properties

Germany translations

* Update Russian.properties

Ottoman and Korea translations

* Update Russian.properties

Iroquois translation, small fixes

* Update Russian.properties

UI tips translation

* Update Latin translation (#12355)

* Merge a branch

* Update translation

* Fix translation

* Update translation

---------

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

* Update German translation (#12367)

* Update Russian.properties (#12368)

* Update Russian.properties

Civilopedia translations

* Update Russian.properties

Carthage translation

* Update Russian.properties

Persia and polynesia translations

* Update Bangla.properties (#12369)

* Update Bangla.properties

* Update Bangla.properties

* Update Bangla.properties

---------

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

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: Shinigami-alt <76843162+Shinigami-alt@users.noreply.github.com>
Co-authored-by: dadadnet <dadadnet38@gmail.com>
Co-authored-by: sls1005 <90055573+sls1005@users.noreply.github.com>
Co-authored-by: sls1005 <sls1005@github.com>
Co-authored-by: mape6 <mape6@posteo.de>
2024-10-28 20:27:02 +02:00
yairm210
fa9aadd76b Resolved #12370 - Fixed 'can never adopt policies' 2024-10-28 20:26:33 +02:00
itanasi
de43477072
Creating Guard Action (#12324)
* Creating Guard Action

* Forgot Guard icon

* Rework so it doesn't show up for units that can Fortify

* Revert don't run is Fortified. We want weak Withdraw units like Scouts to flee

* Update Guard to work just like Fortify if they can Fortify

* Update tutorial notes
2024-10-28 08:17:24 +02:00
yairm210
c7d51ea38d Resolved #12350 - 'upon gaining/losing the [promotion] status/promotion' triggers now work correctly 2024-10-27 22:34:06 +02:00
yairm210
927b047c0a Resolved #12354 - Allow AI to use perpetual culture/faith conversions 2024-10-27 15:15:01 +02:00
yairm210
fa658e1bd0 chore: Use new tech.isRevealed(resource) in other places 2024-10-25 13:11:24 +03:00
yairm210
ef5970f6f3 Resolved #12349 - Added version to main menu 2024-10-25 09:23:05 +03:00
yairm210
42c6b15a40 4.14.0 2024-10-24 21:14:11 +03:00
Yair Morgenstern
a1e8d9a82d
Version rollout (#12352)
* Bump version and create initial changelog entry

* Update French.properties (#12340)

* update Bangla.properties (#12339)

* Update Bangla.properties

* Update Bangla.properties

* Update Bangla.properties

* Update Bangla.properties

* Update Latin translation (#12336)

* Merge a branch

* Update translation

* Fix translation

* Fix translation

* Fix translation and change long-vowel marks

* Fix translation

---------

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

* Update Italian.properties (#12333)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: Shinigami-alt <76843162+Shinigami-alt@users.noreply.github.com>
Co-authored-by: sls1005 <90055573+sls1005@users.noreply.github.com>
Co-authored-by: sls1005 <sls1005@github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
2024-10-24 21:10:08 +03:00
sulai
835ca58b4e
optimized city screen for smart phone (#12315)
* optimized city screen for smart phone
- moved "buy" button to city info table
- removed "add to queue" button
- expand icon changed to android defaults
- CityStatsTable: big scrollable area, expandable

* made CityStatsTable collapsible

* Extracted BuyButtonFactory and re-added buy button close to construction queue

---------

Co-authored-by: M. Rittweger <m.rittweger@mvolution.de>
Co-authored-by: Yair Morgenstern <yairm210@hotmail.com>
2024-10-24 20:38:26 +03:00
sulai
32247fe437
fix: user only receives yellow resource notification if it is researched (#12337)
* When resource is not researched, don't allow the user to scan the map for it

* inline ruleset.getResource() in getExploredResourcesNotification (resolved review comment)

* changed TechManager.isRevealed (review feedback)

---------

Co-authored-by: M. Rittweger <m.rittweger@mvolution.de>
2024-10-24 20:35:33 +03:00
SeventhM
e348b7c388
Fix constructions that's always visible showing when belonging to another civ (#12346)
* Fix constructions that's always visible showing when belonging to another civ

* Almost forgot

* RequiresTech is common enough that it should be included as well

* Two more that's common enough and has no reason to always show
2024-10-24 20:34:45 +03:00
yairm210
591805b26b Resolved #12308 - Wait action selects next unit 2024-10-22 12:41:13 +03:00
yairm210
44d08c8703 chore: remove deprecated uniques 2024-10-21 22:14:36 +03:00
Yair Morgenstern
f4cd384462
Version rollout (#12329)
* Bump version and create initial changelog entry

* Update French.properties (#12318)

* Update Brazilian_Portuguese.properties (#12317)

* 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: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
2024-10-21 21:58:40 +03:00
Rob Loach
e9481d4bc1
Add <when espionage is enabled> conditional (#12326)
* Modding: Replaced "Hidden when espionage is disabled" with "Only available <when espionage is enabled>"

* Modding: Fix unique deprecation notice

* Add ConditionalEspionageEnabled to isUnavailableBySettings list
2024-10-21 21:51:50 +03:00
itanasi
dcfd2b7a70
Clean up the icon replacement code by adding hide option to .tr() (#12321) 2024-10-21 21:51:13 +03:00
SeventhM
879628b067
Allow purchasing wonders with gold when explicitly given a unique (#12312)
* Allow purchasing wonders with gold when explictly given a unique

* typo

* Reorder stat check to always be checked first

* Why is contiuation indent the defualt in Idea anyways?
2024-10-21 21:50:49 +03:00
yairm210
b0be185bf7 Update mods even if we have cached data 2024-10-21 21:50:00 +03:00
SeventhM
a7f69a6da9
Lint: Move CollectionExtensions (#12320)
* Lint: Move CollectionExtensions

* Forgot to change package name

* Missed a spot
2024-10-21 10:12:56 +03:00
yairm210
e0864bebf0 Resolves #12307 - Unit icon falls back to UnitTypeIcons/<unitType> successfully 2024-10-20 22:48:42 +03:00
yairm210
9497c17b8d Resolved #12311 - Cities reduce tile movement cost to 1, per Civ V 2024-10-20 15:28:12 +03:00
Yair Morgenstern
c4738cff68
Version rollout (#12316)
* Bump version and create initial changelog entry

* Update Latin translation (#12310)

* Merge a branch

* Fix translation

* Update translation

* Fix translation

* Update translation

* Update translation

---------

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

* Update German translation (#12309)

* Update Bangla.properties (#12306)

* Update Bangla.properties

Translated 3 sentences to Bangla

* Update Bangla.properties

* Update Portuguese.properties (#12303)

* Update Italian.properties (#12302)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: sls1005 <90055573+sls1005@users.noreply.github.com>
Co-authored-by: sls1005 <sls1005@github.com>
Co-authored-by: mape6 <mape6@posteo.de>
Co-authored-by: Shinigami-alt <76843162+Shinigami-alt@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>
2024-10-20 14:56:37 +03:00
EmperorPinguin
e60873d75a
Update AI trading logic (#12305)
* 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

* Update worker usage

* Update UnitAutomation.kt

* Tutorials update

* Update Tutorials.json

* Fix spelling error

* Update Tutorials.json

* Update Tutorials.json

* Update Tutorials.json

* Update Tutorials.json

* Update Tutorials.json

* Update Tutorials.json

* Update Tutorials.json

* Update Tutorials.json

* AI tech and policy choices

* Update Techs.json

* Update Policies.json

* Update ConstructionAutomation.kt

* Update UnitPromotions.json

* Update

* Update Policies.json

* Update Tutorials.json

* ReligionAutomation bugfix

* Update ReligionAutomation.kt

* Update ReligionAutomation.kt

* Update ReligionAutomation.kt

* Update ReligionAutomation.kt

* Update ReligionAutomation.kt

* Update ReligionAutomation.kt

* Update ReligionAutomation.kt

* Update AI city settling and science game

* Update ReligionAutomation.kt

* Maybe revert this now the belief picking has improved

* Update ReligionAutomation.kt

* Remove some if-statements

* Update Automation.kt

* Update Automation.kt

* Update ConsoleLauncher.kt

* Update

* Update Automation.kt

* Update TileImprovements.json

* Update AI trading

* Update TradeAutomation.kt
2024-10-20 14:20:53 +03:00
SeventhM
74806e8eec
Add unique to show construction when unbuildable (#12313) 2024-10-20 14:20:44 +03:00
yairm210
63765ef73f Modding: Replaced "Hidden when religion is disabled" with "Only available <when religion is enabled>" 2024-10-20 13:55:42 +03:00
yairm210
579ea79d09 Modding: Replaced "Hidden when [victoryType] Victory is disabled" with "Only available <when [victoryType] Victory is enabled>" 2024-10-20 13:35:55 +03:00
yairm210
31919742e5 chore: StateForConditionals accepts GameInfo, HiddenBySettings -> UnavailableBySettings for pending changes 2024-10-20 12:29:23 +03:00
yairm210
9e1d29f180 AI: Added weighted decision for policy branches 2024-10-20 12:16:49 +03:00
yairm210
e1dbd65bdd AI: Preferred victory type only affects AI policy decision if that victory type is enabled 2024-10-20 10:56:29 +03:00
yairm210
d164f7baf4 Resolved rare crash when map contains improvements not in ruleset 2024-10-20 10:05:37 +03:00
yairm210
c885e2462d Resolved #12307 - Allow fallback to "UnitTypeIcons/$unitName" if "UnitIcons/$unitName" does not exist 2024-10-18 14:55:59 +03:00
Yair Morgenstern
a149335e83
Version rollout (#12301)
* Bump version and create initial changelog entry

* Update Brazilian_Portuguese.properties (#12297)

* Merge a branch (#12294)

Change 'compendium' to 'breviarium' (https://latin-dictionary.net/definition/6936/breviarium-breviari-i)

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

* Update French.properties (#12291)

* Update Indonesian.properties (#12289)

I can only do small corrections and translation for now.

* Update Italian.properties (#12288)

* Update Portuguese.properties (#12287)

* Update German translation (#12286)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@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: X2003 <158255876+Xenia2003@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: murilozinkkkj <78273099+murilozinkkkj@users.noreply.github.com>
Co-authored-by: mape6 <mape6@posteo.de>
2024-10-16 00:42:35 +03:00
yairm210
1159c29f85 Modding: Resolved #12299 - Allow removing free policies 2024-10-16 00:36:39 +03:00
yairm210
0d19bf55e5 Resolved #12295 - crash on modded game with no capital city indicator 2024-10-16 00:32:51 +03:00
yairm210
e0f3c0acd4 AI: Improved automated worker tile selection (workable tile applies to current tile, separated to debuggable function)) 2024-10-16 00:26:46 +03:00
yairm210
afbc15db79 Solve ANRs due to resuming music player which is in an unplayable state 2024-10-15 14:54:02 +03:00
yairm210
d26d942f58 Allow mod search always - hack version (does not remove loader) 2024-10-14 17:11:39 +03:00
yairm210
f9d21d2767 Cache online mod list for fast load 2024-10-14 17:06:06 +03:00
yairm210
755d66e085 Actually I think I had it right the first time - avoid building if all carriable units can already be carried now, NOT if carrier will have empty slots 2024-10-14 11:12:51 +03:00
Yair Morgenstern
b56c868c7c
Version rollout (#12285)
* Bump version and create initial changelog entry

* Update Latin translation (#12284)

* Merge a branch

* Update translation

* Fix translation

* Update translation

* Fix translation

---------

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

* Update French.properties (#12281)

* Update Italian.properties (#12278)

* Update German translation (#12277)

* Update Brazilian_Portuguese.properties (#12275)

---------

Co-authored-by: yairm210 <yairm210@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: 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>
2024-10-13 22:58:18 +03:00
yairm210
e5b4793d58 AI: Better rules to not build unit-carrying units 2024-10-13 22:56:23 +03:00
yairm210
8d10ca881e Added "if [modFilter] is not enabled" conditional - https://github.com/yairm210/Civ-IV/pull/36 2024-10-13 22:46:59 +03:00
EmperorPinguin
899c5d48ea
Update Citizen Assignment and ConsoleLauncher.kt (#12267)
* 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

* Update worker usage

* Update UnitAutomation.kt

* Tutorials update

* Update Tutorials.json

* Fix spelling error

* Update Tutorials.json

* Update Tutorials.json

* Update Tutorials.json

* Update Tutorials.json

* Update Tutorials.json

* Update Tutorials.json

* Update Tutorials.json

* Update Tutorials.json

* AI tech and policy choices

* Update Techs.json

* Update Policies.json

* Update ConstructionAutomation.kt

* Update UnitPromotions.json

* Update

* Update Policies.json

* Update Tutorials.json

* ReligionAutomation bugfix

* Update ReligionAutomation.kt

* Update ReligionAutomation.kt

* Update ReligionAutomation.kt

* Update ReligionAutomation.kt

* Update ReligionAutomation.kt

* Update ReligionAutomation.kt

* Update ReligionAutomation.kt

* Update AI city settling and science game

* Update ReligionAutomation.kt

* Maybe revert this now the belief picking has improved

* Update ReligionAutomation.kt

* Remove some if-statements

* Update Automation.kt

* Update Automation.kt

* Update ConsoleLauncher.kt

* Update

* Update Automation.kt
2024-10-13 22:32:26 +03:00
yairm210
d25a436391 Resolved #12279 - Units that can withdraw before melee do not do so when escorting civilian units 2024-10-13 16:30:37 +03:00
yairm210
edad6d794b Resolved #12282 - Filtering uniques are also checked for in unit types 2024-10-13 16:28:58 +03:00
yairm210
f0fc40bd3e Resolved #12276 - Free tech pickable in any way you enter the tech screen 2024-10-13 16:15:50 +03:00
Yair Morgenstern
327e31b5e2
Version rollout (#12274)
* Bump version and create initial changelog entry

* Update Brazilian_Portuguese.properties (#12270)

* Update Latin translation (#12269)

* Merge a branch
Change 'urbs pupuli' to 'municipium'

* Fix translation; fix typo

* Update translation

---------

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

* Update German translation (#12268)

* Update Italian.properties (#12266)

* Update French.properties (#12265)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
Co-authored-by: sls1005 <90055573+sls1005@users.noreply.github.com>
Co-authored-by: sls1005 <sls1005@github.com>
Co-authored-by: mape6 <mape6@posteo.de>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
2024-10-10 23:14:29 +03:00
yairm210
2e51de3b22 Added "Remaining [civFilter] Civilizations" as countable value 2024-10-10 23:14:14 +03:00
yairm210
be40912b56 AI: Greatly discourage attacking enemies with stronger total combat strength 2024-10-10 23:07:23 +03:00
yairm210
695f536031 Conditional phrasing: "for [civFilter]" -> "for [civFilter] Civilizations" 2024-10-10 23:03:28 +03:00
yairm210
3ff7b935b6 Fixed spies stealing multiple tech steals in one turn 2024-10-10 22:58:00 +03:00
yairm210
feae93b799 Added 'City-State' as value for nationFilter 2024-10-10 22:57:19 +03:00
yairm210
e4ed06abd0 AI: Keep 'don't spread religion' promises better 2024-10-09 08:03:26 +03:00
yairm210
7632e681e7 Resolved new game ANRs in a better way 2024-10-08 13:23:03 +03:00
yairm210
bf8ccee943 Modding: Resolved badly configured ruins causing crashes 2024-10-07 08:53:54 +03:00
yairm210
246142dffc Revert "Missionaries no longer restricted from spreading religion in city where it's already the major religion"
This reverts commit 604b9f10e7.
2024-10-06 16:53:44 +03:00
Yair Morgenstern
2a6516d15e
Version rollout (#12264)
* Bump version and create initial changelog entry

* Update Brazilian_Portuguese.properties (#12263)

* Update translation (#12259)

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

* Update Italian.properties (#12255)

* Update Italian.properties

* Update Italian.properties

* Update Latin translation (#12254)

* Merge a branch
Changed 'passus' to 'gressus'.
Changed 'non validus' to 'irritus'.

* Merge a branch

* Fix translation

* Update translation

* Change '-tor' to '-trum' for some words

* Update translation

* Change 'pugnator' to 'aeroplanum pugnans'

* Update translation

* Update translation

* Update translation

* Update translation

* Update translation

* Fix translation

---------

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

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
Co-authored-by: sls1005 <90055573+sls1005@users.noreply.github.com>
Co-authored-by: sls1005 <sls1005@github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
2024-10-06 16:53:38 +03:00
EmperorPinguin
6f4d8fd7b5
Improve AI city settling, science game, and belief picking (#12256)
* 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

* Update worker usage

* Update UnitAutomation.kt

* Tutorials update

* Update Tutorials.json

* Fix spelling error

* Update Tutorials.json

* Update Tutorials.json

* Update Tutorials.json

* Update Tutorials.json

* Update Tutorials.json

* Update Tutorials.json

* Update Tutorials.json

* Update Tutorials.json

* AI tech and policy choices

* Update Techs.json

* Update Policies.json

* Update ConstructionAutomation.kt

* Update UnitPromotions.json

* Update

* Update Policies.json

* Update Tutorials.json

* ReligionAutomation bugfix

* Update ReligionAutomation.kt

* Update ReligionAutomation.kt

* Update ReligionAutomation.kt

* Update ReligionAutomation.kt

* Update ReligionAutomation.kt

* Update ReligionAutomation.kt

* Update ReligionAutomation.kt

* Update AI city settling and science game

* Update ReligionAutomation.kt

* Maybe revert this now the belief picking has improved

* Update ReligionAutomation.kt
2024-10-06 16:46:46 +03:00
PLynx
5d1c05d8e4
Add two population-related conditional uniques (#12258)
* Added the Conditional Below Population

* Added the Conditional Between Population
2024-10-06 16:46:34 +03:00
yairm210
7fbd8a194b chore: Delete dead code 2024-10-06 16:01:19 +03:00
yairm210
034c081234 chore: Easier debug for canActivateSideEffects 2024-10-06 16:00:21 +03:00
yairm210
35e5a5f674 Remove "-0 HP" from city attack notifications 2024-10-06 15:44:08 +03:00
yairm210
604b9f10e7 Missionaries no longer restricted from spreading religion in city where it's already the major religion 2024-10-06 15:34:49 +03:00
yairm210
50f00d64c4 chore: deprecate old uniques 2024-10-01 18:07:45 +03:00
yairm210
5c7e2c673f Ruleset validation for personalities with victory types not present in ruleset 2024-10-01 18:02:59 +03:00
yairm210
c4c46eb316 Added mod download percentage tracking 2024-10-01 15:58:39 +03:00
yairm210
f398e08928 chore: Simplified brush code - less overload functions, by adding a parameter to existing functions (reduce layers of indirection) 2024-09-30 15:38:35 +03:00
yairm210
ce5a723e5a Simplified brush code - no matter what, always visually update all updated tiles and their neighbors - could have edge images that are now relevant 2024-09-30 15:30:13 +03:00
Yair Morgenstern
b0f0877f8c
Version rollout (#12253)
* Bump version and create initial changelog entry

* Update French.properties (#12252)

* Merge a branch (#12251)

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

* Update Catalan.properties (#12250)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: sls1005 <90055573+sls1005@users.noreply.github.com>
Co-authored-by: sls1005 <sls1005@github.com>
Co-authored-by: Joan Josep <juanjo.ng.83@gmail.com>
2024-09-30 00:02:30 +03:00
Yair Morgenstern
80d565dd06
Homework from @SomeTroglodyte - Remove lastOverviewPage and replace with persistState.last (#12248) 2024-09-29 23:53:00 +03:00
yairm210
bfa42ea433 Minimized MP game update IO by ignoring games older than 2 weeks for 'update all' 2024-09-29 23:52:03 +03:00
yairm210
2ac1699321 Resolved ANRs when pausing game due to game clone time 2024-09-29 23:42:34 +03:00
yairm210
2ee5f08855 Resolved ANRs when starting a new game (checking for multuplayer server connection) 2024-09-29 23:25:15 +03:00
yairm210
0fbfd66bcc Protect terrainImage against incorrectly configured mods (natural wonder turnsInto is not in ruleset) 2024-09-29 23:18:31 +03:00
yairm210
660ae105c3 Resolved race-condition error for loading terrain icons 2024-09-29 23:12:55 +03:00
yairm210
2a8f0be257 4.13.12 2024-09-28 22:13:05 +03:00
Yair Morgenstern
37bf6711c5
Version rollout (#12249)
* Bump version and create initial changelog entry

* Update French.properties (#12246)

* Update Italian.properties (#12244)

* Update German translation (#12243)

* Update Brazilian_Portuguese.properties (#12242)

---------

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: mape6 <mape6@posteo.de>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
2024-09-28 22:08:56 +03:00
yairm210
6c0ba3c094 Branch parsing can now handle branch names containing "/" 2024-09-28 22:08:39 +03:00
yairm210
a905ddebcb Resolved #12245 - Cannot have 2 research agreements at once due to counteroffers 2024-09-28 21:57:36 +03:00
yairm210
f65f869836 Resolved #12247 - added "upon losing/gaining the [promotion] status" unit triggers 2024-09-28 21:28:03 +03:00
yairm210
7f45ccd7b7 chore: Added unit.removeStatus helper function 2024-09-28 21:24:42 +03:00
yairm210
ef53f35e0f Fixed "Top" edge tiles not showing - kudos @legacymtgsalvationuser69544 2024-09-28 21:15:07 +03:00
yairm210
f2e65f156e Better AI evaluation for 'win the game' buildings 2024-09-25 22:21:04 +03:00
Yair Morgenstern
04e4b34576
Version rollout (#12241)
* Bump version and create initial changelog entry

* Update Latin translation (#12240)

* Merge a branch

* Add a word

* Fix translation

* Fix translation

* Change names of books

* Update translation

* Update translation

---------

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

* Update Traditional Chinese translation (#12239)

* Merge a branch

* Fix translation

* Change a letter

* Update translation

* Update translation

* Update translation

---------

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

* Update Simplified_Chinese translation (#12238)

* Update Simplified_Chinese.properties

The previous translation, "在下一次投票\n外交胜利票数:[amount]" means you will get [amount] votes in the next diplomacy victory vote, which does not correspond to the original text. Here is a more appropriate translation that would not mislead the player.

* Update Simplified_Chinese.properties

* Update Simplified_Chinese.properties

* Update German translation (#12237)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: sls1005 <90055573+sls1005@users.noreply.github.com>
Co-authored-by: sls1005 <sls1005@github.com>
Co-authored-by: czyh2022 <126690022+czyh2022@users.noreply.github.com>
Co-authored-by: mape6 <mape6@posteo.de>
2024-09-25 22:17:00 +03:00
EmperorPinguin
41eab84051
Improve AI tech and policy choices (#12234)
* 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

* Update worker usage

* Update UnitAutomation.kt

* Tutorials update

* Update Tutorials.json

* Fix spelling error

* Update Tutorials.json

* Update Tutorials.json

* Update Tutorials.json

* Update Tutorials.json

* Update Tutorials.json

* Update Tutorials.json

* Update Tutorials.json

* Update Tutorials.json

* AI tech and policy choices

* Update Techs.json

* Update Policies.json

* Update ConstructionAutomation.kt

* Update UnitPromotions.json

* Update

* Update Policies.json

* Update Tutorials.json

* ReligionAutomation bugfix

* Update ReligionAutomation.kt

* Update ReligionAutomation.kt

* Update ReligionAutomation.kt

* Update ReligionAutomation.kt

* Update ReligionAutomation.kt

* Update ReligionAutomation.kt

* Update ReligionAutomation.kt
2024-09-25 20:46:07 +03:00
yairm210
4394dcda7a internal - Enable writing new format of civ ranking history 2024-09-23 23:57:54 +03:00
yairm210
9c7e5b3ae6 Resolved #11832 - re-activate Thai language, now with diacritic support 2024-09-23 23:53:59 +03:00
yairm210
9cb20449a5 Resolved #12236 - trigger uniques from religious beliefs activate correctly 2024-09-23 23:39:20 +03:00
yairm210
d22bbaab39 Added "removing the [promotion] promotion/status" unit action modifier 2024-09-23 23:35:05 +03:00
yairm210
980126ff06 Added 'upon gaining/losing [promotionName] promotion' unit trigger uniques - see #3242 2024-09-23 23:21:04 +03:00
yairm210
916317a048 Allow comment uniques and timed uniques in event choices 2024-09-23 18:39:26 +03:00
Yair Morgenstern
bdf00eaaee
Version rollout (#12235)
* Bump version and create initial changelog entry

* Update Latin translation (#12233)

* Merge a branch

* Merge a branch

* Change usus to usor

* Update translation

* Update translation

* Change naturæ to naturalis/naturale

* Update translation

* Update translation

* Update translation

* Merge a branch

---------

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

* Update Italian.properties (#12232)

* Update Brazilian_Portuguese.properties (#12231)

* Update French.properties (#12227)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: sls1005 <90055573+sls1005@users.noreply.github.com>
Co-authored-by: sls1005 <sls1005@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>
2024-09-21 22:56:33 +03:00
yairm210
430a8ac90f detekt 2024-09-21 22:44:38 +03:00
yairm210
5b627389bf Resolved #12176 - Great prophets bought in city with different religion do not get incorrect warning popup 2024-09-21 22:44:01 +03:00
yairm210
cfd12fb4b8 Resolved #12177 - Getting all resources does not eliminate WLTK day 2024-09-21 22:40:07 +03:00
yairm210
a91d32874b Tilesets: Added edge tile images! 2024-09-21 22:11:18 +03:00
yairm210
c5bf9b387b Added validations for 'replaces' being set when 'uniqueTo' is not 2024-09-18 18:46:24 +03:00
yairm210
9fe9ac3c4e chore: renamed MoveImmediatelyOnceBought -> CanMoveImmediatelyOnceBought 2024-09-18 14:27:12 +03:00
yairm210
b722a62454 Resolved #12230 - MP game with invalid preview cannot be joined 2024-09-18 14:11:45 +03:00
yairm210
51bbe4f961 4.13.9-patch1 2024-09-17 17:31:45 +00:00
Yair Morgenstern
97e6f285e8
Solved crash due to race condition (#12225) 2024-09-17 20:31:37 +03:00
yairm210
bbd7f68a88 Resolved #12220 - Changing rulesets in new game screen no longer leads to fake error warnings 2024-09-17 20:17:10 +03:00
yairm210
9f3f5a3a09 chore: CheckModLinks -> GetErrorList 2024-09-17 20:05:13 +03:00
Yair Morgenstern
4b71c1583c
Version rollout (#12223)
* Bump version and create initial changelog entry

* Update Latin translation (#12222)

* Merge a branch

* Update translation

* Update translation

* Update translation

* Update translation

* Fix translation

* Update translation

* Update translation

---------

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

* Update Italian.properties (#12221)

* Update French.properties (#12218)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: sls1005 <90055573+sls1005@users.noreply.github.com>
Co-authored-by: sls1005 <sls1005@github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
2024-09-17 18:30:58 +03:00
yairm210
eb180523d6 More memory perf improvements 2024-09-17 17:54:45 +03:00
yairm210
98c49ecea3 SIGNIFICANTLY decreased memory usage by only initializing overlay images when required 2024-09-17 17:37:23 +03:00
yairm210
7fd1a10a46 Tile.terrainUniqueMap doesn't need to have an initial value set - this is a bogus value that just takes init time and memory (and a lot of memory at that)
Still needs to be set for display purposes though
2024-09-16 08:57:02 +03:00
yairm210
c487a64ba8 Reapply "perf: minor speedup in distance to tiles"
This reverts commit 14115cdea7.
2024-09-16 04:29:55 +03:00
yairm210
0e612ac574 Solve self-introduced bug in unit movement. Thank G-d (literaly) for ConsoleLauncher, may his name (G-d's) be blessed 2024-09-16 04:29:25 +03:00
yairm210
c3d579b278 perf: Decrease getUniques(uniqueType) by adding a EnumMap to store uniques by type, with basically zero lookup time 2024-09-16 04:21:29 +03:00
yairm210
14115cdea7 Revert "perf: minor speedup in distance to tiles"
This reverts commit f78fbfd22d.
2024-09-16 04:13:33 +03:00
yairm210
f78fbfd22d perf: minor speedup in distance to tiles 2024-09-16 04:10:31 +03:00
yairm210
b3e00a7944 Resolved #12213 - escorted unit cannot move if its escort cannot move 2024-09-16 04:07:39 +03:00
yairm210
16c4e2fed8 4.13.8-patch1 2024-09-15 18:48:54 +00:00
Yair Morgenstern
d277b0055e
Fix broken start new game (#12215)
* Revert "perf: Decrease getUniques(uniqueType) by adding a EnumMap to store uniques by type, with basically zero lookup time "

This reverts commit 0533347371.

* Fix new game screen crashing if you have no scenarios
2024-09-15 21:48:46 +03:00
yairm210
f5bf655d12 perf: Decrease great general bonus calculation time 2024-09-15 20:09:48 +03:00
yairm210
0533347371 perf: Decrease getUniques(uniqueType) by adding a EnumMap to store uniques by type, with basically zero lookup time 2024-09-15 19:47:43 +03:00
Yair Morgenstern
8946676bc0
Version rollout (#12212)
* Bump version and create initial changelog entry

* Update Galician.properties (#12209)

update new lines

* Update French.properties (#12208)

* Update Latin translation (#12206)

* Merge a branch

* Update translation

* Update translation

* Fix translation

* Fix translation

* Fix translation

* Merge a branch

---------

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

* Update Italian.properties (#12205)

* Update Indonesian.properties (#12203)

Corrected grammatical errors and translated the new code.

* Update Catalan.properties (#12202)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: ninjum <138787523+ninjum@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: sls1005 <90055573+sls1005@users.noreply.github.com>
Co-authored-by: sls1005 <sls1005@github.com>
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: Joan Josep <juanjo.ng.83@gmail.com>
2024-09-15 18:00:24 +03:00
yairm210
d6d55c0142 Resolved #12188 - WLTK + continuous rendering no longer cause city tiles to be dimmed 2024-09-15 18:00:09 +03:00
yairm210
f096bc0ba5 Allowed starting *multiplayer* Scenarios through the new game screen! :DD 2024-09-15 17:31:08 +03:00
yairm210
b9327b7619 Allowed starting Scenarios through the new game screen! :D 2024-09-15 17:29:13 +03:00
yairm210
f2141d3393 Fixed Scenario mods being undownloadable and needing to restart game to access Scenario picker 2024-09-15 15:52:36 +03:00
yairm210
1c5375f6a2 square-bracket-containing promotions are addable via visible name in dev console 2024-09-15 15:19:10 +03:00
yairm210
b71b9db197 Images are restored to ruleset correctly when resuming open game screen 2024-09-15 12:22:12 +03:00
yairm210
29e6b4a720 4.13.7-patch1 2024-09-15 08:37:30 +00:00
Yair Morgenstern
d75dd50c52
Version rollout (#12201)
* Bump version and create initial changelog entry

* Update Bulgarian.properties (#12200)

* Update Traditional Chinese translation (#12199)

* Update translation

* Fix translation

* Fix translation

---------

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

* Update Bulgarian.properties (#12196)

A bit of work on Germany.

* Update Latin.properties (#12194)

* Update Latin.properties

* Update Latin.properties

* Update Polish.properties (#12193)

* Update Polish.properties

* Update Polish.properties

* Update Polish.properties

* Update Polish.properties

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Instrumentarium <143902440+Instrumentarium@users.noreply.github.com>
Co-authored-by: sls1005 <90055573+sls1005@users.noreply.github.com>
Co-authored-by: sls1005 <sls1005@github.com>
Co-authored-by: Lesiakower <125187776+Lesiakower@users.noreply.github.com>
2024-09-12 21:14:46 +03:00
yairm210
cd537a1f9a AI is displeased when you become the new ally of a city-state it was the ally of 2024-09-12 21:09:14 +03:00
yairm210
6a52382956 Resolve #12197 - kick/skip turn in mutliplayer only active if the game contains the current player ID 2024-09-09 21:45:13 +03:00
yairm210
558b6c03e3 extremely minor perfs 2024-09-08 17:26:22 +03:00
yairm210
8d8134f6b5 perf: 'all techs are researched' now cached per civ 2024-09-08 17:00:29 +03:00
yairm210
457ee1aff7 perf: Map modifiers by type for fast lookup 2024-09-08 16:54:08 +03:00
yairm210
563925bbf5 perf: minor memory perf 2024-09-08 16:31:07 +03:00
yairm210
2647b24e09 perf: Save resource uniques when resources change, so we only need one lookup for all resources for uniques
*significant* impact, estimated at 6% of runtime (!)
2024-09-08 16:19:23 +03:00
Yair Morgenstern
316d57bb26
Version rollout (#12191)
* Bump version and create initial changelog entry

* Update Indonesian.properties (#12186)

Corrected grammatical errors and translated the new code.

* Update Latin translation (#12185)

* Update translation

* Update translation

* Update translation

* Update translation

* Update translation

* Update translation

* Update translation

* Update translation

* Update translation

* Update translation

* Update translation

* Update translation

* Update translation

* Update translation

* Merge a branch

---------

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

* Update French.properties (#12184)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: X2003 <158255876+Xenia2003@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>
2024-09-08 01:17:37 +03:00
yairm210
333b1b194f perf: Don't update city stats at *end turn* when unassigning extra population (won't affect anything until next turn where we'll recalc anyway) 2024-09-08 01:11:29 +03:00
yairm210
d59816af0f chore: rename hasUnique(String) -> hasTagUnique(String)
Now that we *know* tag unique checks are *always* without conditional state, we can name them accordingly
2024-09-08 00:45:18 +03:00
yairm210
4d640a254c perf: Unique mapping overhaul - don't multiply when checking 'has unique', prep for EnumMap for typed uniques 2024-09-08 00:23:51 +03:00
yairm210
eff0a5bebb Moved AI unit upgrade into "use gold" function, so it is prioritized *over* purchasing new constructions 2024-09-07 22:48:04 +03:00
yairm210
9c0e9131f0 Resolved #12187 - units are not added to cities in resistance if non-resistant cities are available 2024-09-07 22:37:29 +03:00
yairm210
16bca8d562 4.13.5 2024-09-05 21:32:07 +03:00
Yair Morgenstern
ea2bd03ab0
Bump version and create initial changelog entry (#12182)
Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
2024-09-05 21:24:50 +03:00
yairm210
2a31c13bc6 Fix test - correct target type for event choice 2024-09-05 21:24:32 +03:00
yairm210
cb432bbb67 Added deprecations to deprecated choice fields 2024-09-05 21:17:08 +03:00
yairm210
08646a6aeb Resolves #11698, resolves #12103 - Apply 'AI choice weight' to event decisions, accepting conditionals 2024-09-05 21:08:57 +03:00
yairm210
84efb797a3 Make event choices ruleset objects, with standard "uniques" field 2024-09-05 21:00:30 +03:00
yairm210
4146a16e31 Added "AI choice weight" for techs policies and promotions, events pending since there's work to do - #11698 2024-09-05 14:38:46 +03:00