Commit Graph

11057 Commits

Author SHA1 Message Date
yairm210
cf93f81956 DoF popup requires choosing an option 2024-10-31 07:17:36 +02:00
yairm210
096c4cf140 Packed versions created with JRE 21 2024-10-31 07:09:05 +02:00
yairm210
0c6ae89be3 Revert "LibGDX 1.13.0 (#12338)"
This reverts commit add48125c7.
2024-10-31 07:07:30 +02:00
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
yairm210
a7ccbde718 4.14.1 2024-10-28 20:31:58 +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
itanasi
4cfd93caf2
Update with latest Grade build versions (#12364) 2024-10-28 08:12:32 +02:00
itanasi
96dab14159
Align Civilopedia on Idle Units and Wait command to current behavior (#12365) 2024-10-28 08:12:18 +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
Yair Morgenstern
add48125c7
LibGDX 1.13.0 (#12338) 2024-10-25 09:23: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
Rob Loach
1721fb605d
Docs: Update Portrait documentation (#12351)
This moves the portrait documentation into the same spot so it's easier to read.
2024-10-24 20:33:48 +03:00
Yair Morgenstern
a999ba8f28
Gradle 8.2->8.7, AGP 8.2.2->8.5.0 (#12325)
* Gradle 8.2->8.7, AGP 8.2.2->8.5.0

* *Conditionally* add android project only if ANDROID_HOME is set
2024-10-22 21:53:30 +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
yairm210
84abd709f0 4.13.19 2024-10-21 22:13:13 +03:00
yairm210
debe04b81e city screen -> City Screen
Continuation of #12323
2024-10-21 21:59:09 +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
itanasi
50486eab53
Add Specialists Tutorial (#12323)
* Updating compilation documentation

* Add Specialists card to Civiliopedia Tutorials

* Revert "Updating compilation documentation"

This reverts commit 68dec7926c.
2024-10-21 21:52:40 +03:00
itanasi
2930e5ead5
Updating documentation (#12322)
* Updating compilation documentation

* Add Specialists card to Civiliopedia Tutorials

* Revert "Add Specialists card to Civiliopedia Tutorials"

This reverts commit 7ebf0e0045.

* Local Building is actually on Android 14 according to latest build.gradle.kts (compileSdk=34)
2024-10-21 21:52:23 +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
itanasi
8f45b15c49
Small fix to Modding Wiki for Ranged Strength clarification (#12328) 2024-10-21 18:17:49 +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
yairm210
9140acb432 4.13.18 2024-10-20 15:02:04 +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
2abe72df6e AI: Don't choose piety branch when religion is disabled, don't choose Patronage when few city-states remain
Resolves #12272
2024-10-20 14:00:22 +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
Rob Loach
46644bcc05
Docs: Add documentation for Remaining Civilizations (#12314) 2024-10-20 12:41:36 +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