Commit Graph

11293 Commits

Author SHA1 Message Date
yairm210
e5c20f78dd chore: isRemovable(terrain) returns if the tile improvement is actually buildable 2024-12-01 12:30:26 +02:00
SeventhM
4f5d550e7b
Fix promotion uniques being ignored if it didn't match a promotion names (#12539)
Some checks failed
Build and test / Check code and run unit tests (push) Failing after 5m42s
Conflict marking / main (push) Failing after 6s
Detekt / detekt (ubuntu-latest) (push) Failing after 19s
Generate mkdocs from docs folder / deploy (push) Failing after 20s
Close stale issues and PRs / stale (push) Successful in 14s
Docker / build (push) Failing after 46s
2024-11-29 14:23:15 +02:00
yairm210
2a8536b60e Resolved #12540 - automated workers don't remove terrain features without the proper tech 2024-11-29 14:22:07 +02:00
yairm210
2c47d791ed Allow unit triggers to be used in unit-triggered events
Some checks failed
Conflict marking / main (push) Failing after 6s
Detekt / detekt (ubuntu-latest) (push) Failing after 32s
Generate mkdocs from docs folder / deploy (push) Failing after 18s
Build and test / Check code and run unit tests (push) Failing after 49m59s
Docker / build (push) Failing after 10m27s
2024-11-28 21:54:47 +02:00
yairm210
df2a56a0e5 Add statusMap as lookup-performant alternative to status list - not yet source of truth 2024-11-28 21:29:32 +02:00
yairm210
306907568d 4.14.11
Some checks failed
Build and test / Check code and run unit tests (push) Failing after 5m53s
Conflict marking / main (push) Failing after 4s
Detekt / detekt (ubuntu-latest) (push) Failing after 19s
Generate mkdocs from docs folder / deploy (push) Failing after 21s
Docker / build (push) Failing after 58s
Close stale issues and PRs / stale (push) Successful in 17s
2024-11-27 23:22:35 +02:00
Yair Morgenstern
3d1bd65c09
Version rollout (#12533)
* Bump version and create initial changelog entry

* Update Indonesian.properties (#12530)

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update Croatian translation (#12526)

* Translate technologies and terrains

* Translate tile improvements, tile resources, unit promotions, units, unit types, victory types and beliefs

* Translate Gods & Kings

* Partial translation of tutorials

* check and fix grammar

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
Co-authored-by: metablaster <44481081+metablaster@users.noreply.github.com>
2024-11-27 23:14:40 +02:00
yairm210
5e87950bf2 Allow loading games where a buildings' "replaces" has been removed 2024-11-27 23:06:31 +02:00
yairm210
a5a2157bc6 Allow loading games with natural wonders that have been removed from mods 2024-11-27 22:46:47 +02:00
yairm210
ed16fb9a3f Added lake-land edge tiles - by @legacymtgsalvationuser69544 2024-11-27 20:19:26 +02:00
yairm210
44ab57e33b Added Github icon+link on main menu
Some checks failed
Conflict marking / main (push) Failing after 13s
Detekt / detekt (ubuntu-latest) (push) Failing after 48s
Docker / build (push) Failing after 39s
Generate mkdocs from docs folder / deploy (push) Failing after 32s
Build and test / Check code and run unit tests (push) Failing after 50m10s
Close stale issues and PRs / stale (push) Successful in 17s
Removed "community" submenu
2024-11-27 17:31:46 +02:00
yairm210
a7f69adfbb Added Discord icon+link on main menu 2024-11-27 16:55:54 +02:00
yairm210
6524a5157a Re-allow long-tile swapping - resolves #12527, relevant to #12522 2024-11-27 14:16:36 +02:00
SeventhM
5a204eb929
Move Capital building function from city to civ (#12529) 2024-11-27 13:00:08 +02:00
yairm210
e150cc102a Resolved #12528 - city construction progress is reset when puppeting, not when annexing 2024-11-27 12:59:17 +02:00
yairm210
6b64bc6f1a Resolved #12524 - only add city ruins improvements if they exist in the ruleset
Some checks failed
Conflict marking / main (push) Failing after 7s
Detekt / detekt (ubuntu-latest) (push) Failing after 35s
Generate mkdocs from docs folder / deploy (push) Failing after 20s
Build and test / Check code and run unit tests (push) Failing after 39m11s
Close stale issues and PRs / stale (push) Successful in 53s
Docker / build (push) Failing after 53s
2024-11-26 14:06:08 +02:00
yairm210
62480c5d92 4.14.10
Some checks failed
Conflict marking / main (push) Failing after 6s
Detekt / detekt (ubuntu-latest) (push) Failing after 41s
Docker / build (push) Failing after 1m6s
Generate mkdocs from docs folder / deploy (push) Failing after 1m3s
Build and test / Check code and run unit tests (push) Failing after 5m38s
2024-11-26 08:54:57 +02:00
Yair Morgenstern
45e86fef5d
Version rollout (#12525)
* Bump version and create initial changelog entry

* Update Latin translation (#12520)

* Update translation

* Update translation

* Fix translation

* Update translation

* Update Brazilian_Portuguese.properties (#12518)

* Update German translation (#12515)

* Update Croatian.properties (#12513)

* Update Croatian.properties

* fix invalid placeholder

* Update Croatian translation

* revisited existing translation

* Update 2 Croatian translation

* Update 3 Croatian translation

* check grammar and consistency of existing translation

* Update 4 Croatian translation

* Update 5 Croatian translation

* fix invalid placeholders

* fix missing placeholder

* Update 6 Croatian translation

* Update 7 Croatian translation

* fix invalid placeholders

* Update 8 Croatian translation

* Translate buildings, difficulties and eras

* check word usage consistency of existing translation

* Partial translation of nations

* Partial translation of nations 2

* finish translation of nations

* fix typos and grammar for translation of nations

* Translate policies, quests, ruins and specialists

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: sls1005 <90055573+sls1005@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
Co-authored-by: mape6 <mape6@posteo.de>
Co-authored-by: metablaster <44481081+metablaster@users.noreply.github.com>
2024-11-26 08:49:10 +02:00
yairm210
7fbdfd13e5 More #12522 edge case 2024-11-26 08:32:05 +02:00
yairm210
72329aec94 Revert "Resolved #12467 - Nat wonders land->water conversion no longer causes rivers on water tiles"
This reverts commit 914b9e2f03.
2024-11-26 08:21:25 +02:00
yairm210
e4025afb4c Resolved #12522 - fixed crash when swapping while retreating 2024-11-26 08:18:15 +02:00
yairm210
d91319b792 Resolved #12506 - debug option to show tile image locations
Some checks failed
Conflict marking / main (push) Failing after 19s
Detekt / detekt (ubuntu-latest) (push) Failing after 1m0s
Generate mkdocs from docs folder / deploy (push) Failing after 24s
Build and test / Check code and run unit tests (push) Failing after 35m3s
Close stale issues and PRs / stale (push) Successful in 14s
Docker / build (push) Failing after 1m8s
2024-11-25 17:00:48 +02:00
yairm210
9dc1d5b4f1 console: Don't allow adding cities to spectator/barbarian (will crash)
Some checks failed
Conflict marking / main (push) Failing after 9s
Detekt / detekt (ubuntu-latest) (push) Failing after 2m12s
Build and test / Check code and run unit tests (push) Failing after 7m30s
Generate mkdocs from docs folder / deploy (push) Failing after 1m35s
Close stale issues and PRs / stale (push) Successful in 40s
Docker / build (push) Failing after 2m4s
2024-11-24 11:59:42 +02:00
yairm210
d816b50cd9 Resolved #12437 - Worker units do not try and swap with non-adjacent tiles 2024-11-24 11:14:24 +02:00
yairm210
b09b6c92f7 Allow MP updates to catch Throwable, which includes OutOfMemoryError 2024-11-24 10:39:01 +02:00
yairm210
11fb47484a Resolved MP update task concurrent modification exception 2024-11-24 10:28:32 +02:00
yairm210
59bd7d200b Resolved crashes due to incorrect music state - no idea what's actually causing it, but the entire music track handling needs a revamp anyway 2024-11-24 10:26:04 +02:00
itanasi
6b1031dae5
Adding Dollar Sign (#12514) 2024-11-22 10:54:58 +02:00
yairm210
f303c4f7be Resolved #12516 - console cannot change player type for non-major civs 2024-11-22 10:38:13 +02:00
yairm210
ac6fbad068 4.14.9 2024-11-21 19:45:29 +02:00
Yair Morgenstern
b18daec354
Version rollout (#12512)
* Bump version and create initial changelog entry

* Add files via upload (#12508)

* Add Croatian language for translation (#12507)

* Add Croatian language

* Update Croatian.properties

* fix invalid placeholder in Croatian.properties

* restore translated placeholder

* update Croatian.properties and full_description.txt

* Update French.properties (#12503)

* Update Indonesian.properties (#12502)

Translation and corrections.

* Update Italian.properties (#12499)

* Update Russian.properties (#12498)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: SHypoleac <michal.wolonciej@interia.pl>
Co-authored-by: metablaster <44481081+metablaster@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: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: dadadnet <dadadnet38@gmail.com>
2024-11-21 19:42:36 +02:00
yairm210
c73e78549e resolved #12505 - uniques hidden from users do not show icons in tech tree 2024-11-21 19:30:06 +02:00
Leonard Günther
862762735a
Added more options for UI skin mods (#12501)
* Add fallback skin to skin config

* Add icon and font color to SkinElement

* Use foregroundColor if no icon color is specified

+ Fix fallbackSkinVariants are not used

* Add defaultVariantTint to reduce mod copy pasta

* Add docs for new skin variables
2024-11-21 19:28:09 +02:00
SeventhM
37169ae719
Fix capital indicating uniques ignoring gamestate (#12509)
* Fix capital indicating uniques ignoring gamestate

* Use hasUnique instead of getMatchingUnique.any
2024-11-21 19:27:45 +02:00
SeventhM
98096de9e5
Fix tile defence uniques ignoring unit state (#12510) 2024-11-21 19:27:37 +02:00
yairm210
c68f1fe0dc resolved #12511 - disallow slashes in mp game names 2024-11-21 19:26:24 +02:00
yairm210
d28aabaf7c chore: rename canSwap to allowSwap so we don't think it's a precomputed value of something 2024-11-21 19:19:10 +02:00
yairm210
78d54ac440 perf(cpu): Changed when(string) for performance
- More performant than hash lookup so got rid of nation and improvement filter cache
2024-11-21 08:44:39 +02:00
itanasi
6bf3de0549
ConsoleLauncher: Add binomial test output (#12496)
* Add binomial test

* Fix Major Civ count
2024-11-20 13:30:17 +02:00
itanasi
e4f5d65684
Adding Server Icons (#12495)
* Adding files and credits

* Add Bobot

* Fix Major Civ count
2024-11-20 12:05:14 +02:00
yairm210
fbfeb4d508 docs: 2024-11-19 17:38:02 +02:00
yairm210
e228572c4f 4.14.8 2024-11-19 09:39:17 +02:00
yairm210
c5a8753cf7 Fix 'new game' error message thread handling 2024-11-19 09:32:15 +02:00
Yair Morgenstern
b4f9c95caf
Version rollout (#12497)
* Bump version and create initial changelog entry

* Add files via upload (#12492)

corrections and full translation. Isn't perfect but fairly good

* Update Catalan translation (#12489)

* Update Indonesian.properties (#12485)

Corrections.

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: SHypoleac <michal.wolonciej@interia.pl>
Co-authored-by: Joan Josep <juanjo.ng.83@gmail.com>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
2024-11-19 09:11:38 +02:00
SeventhM
dffef35779
Cache state for units, civs, and cities (#12491)
* Cache unit state

* Cache city state

* Cache civ state

* Have to update state after getting gameInfo
2024-11-19 09:02:41 +02:00
SpacedOutChicken
ef54bc8545
Update Buildings.json (#12490) 2024-11-19 09:02:27 +02:00
itanasi
e84944be06
Changes (#12469) 2024-11-19 09:02:14 +02:00
EmperorPinguin
4aed19358b
Update TradeEvaluation.kt (#12486)
* Update TradeEvaluation.kt

* Update TradeEvaluation.kt

* Update TradeEvaluation.kt
2024-11-19 09:01:59 +02:00
yairm210
78c02df317 Avoid ANR errors when attempting to start a MP game when server takes too long to respond 2024-11-19 08:55:49 +02:00
yairm210
a914571b8e Avoid OOM errors when updating all games by avoiding parallelization 2024-11-19 08:50:59 +02:00