Yair Morgenstern
6ac3393e9b
Version rollout ( #11791 )
...
* Bump version and create initial changelog entry
* Update Italian.properties (#11782 )
* Update Italian.properties (#11781 )
Some minor improvement
* Update Hungarian.properties (#11776 )
* Update Hungarian.properties
* Update Hungarian.properties
* Update Hungarian.properties
* Update Hungarian.properties
* Update Spanish.properties (#11773 )
* Update Indonesian.properties (#11766 )
Translated the new word.
* Fix Sipahi translation for RU — should be 'Сипахи', not 'Сипаи' (#11764 )
* Update Catalan.properties (#11759 )
Co-authored-by: yairm210 <yairm210@hotmail.com>
---------
Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: andrestu <82871275+andrestu@users.noreply.github.com>
Co-authored-by: balazsszalab <balazsszalab@freemail.hu>
Co-authored-by: Caballero Arepa <78449553+Caballero-Arepa@users.noreply.github.com>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
Co-authored-by: Stas Fomin <stas-fomin@yandex.ru>
Co-authored-by: Joan Josep <juanjo.ng.83@gmail.com>
2024-06-19 17:38:53 +03:00
Yair Morgenstern
4e5ec53d64
Resolves #11772 - Allow hidden conditionals ( #11778 )
...
* Allow hidden conditionals
* SomeTrog fixes
* We sure display uniques to users A LOT
2024-06-19 17:28:53 +03:00
Oskar Niesen
dff8133a7a
Defeated civilizations don't use spies ( #11785 )
...
* Fixed a crash when rigging a city-state election the turn before meeting them
* Civilizations move their spies back to the hideout when defeated
* Players can't move spies when defeated
* Removed some weird indents
2024-06-19 17:23:42 +03:00
yairm210
f52245865c
perf(minor): Don't check stat purchases for non-purchacable stats
2024-06-19 17:15:12 +03:00
Oskar Niesen
27020fb796
Spies deselect when moved on map ( #11767 )
2024-06-19 17:14:04 +03:00
SomeTroglodyte
9f4d0ace49
Add "release patch" section to the wiki ( #11744 )
2024-06-19 17:13:55 +03:00
Oskar Niesen
2d2b730399
Civs can no longer declare war right after peace with a city-state ( #11762 )
...
* Signing peace with a civ and a city state adds a peace treaty with the city-state
* Added a comment
2024-06-19 17:13:36 +03:00
Oskar Niesen
fec30364a9
Moved automation settings to AutoPlayTab and renamed it to AutomationTab ( #11765 )
...
* Moved automation settings to AutoPlayTab
* Renamed the AutoPlayTab to AutomationTab
* Added a translation
2024-06-19 17:13:25 +03:00
SpacedOutChicken
dc9bf45009
- Turn Privateer's unique ability into a promotion ( #11761 )
...
- Add promotion to Privateer and Sea Beggar
2024-06-19 17:13:15 +03:00
SomeTroglodyte
2f6c48a0cf
Fix Civilopedia content clipped at the top ( #11788 )
2024-06-19 17:13:02 +03:00
SomeTroglodyte
33f73f5aae
Thwart the nathty dithband thpammer ( #11790 )
2024-06-19 17:12:47 +03:00
SomeTroglodyte
9431e3cbc4
Fix coastal rivers near Rock of Gibraltar ( #11789 )
2024-06-19 17:12:07 +03:00
yairm210
0d91cf9983
perf: Resolved #11775
2024-06-19 17:05:10 +03:00
yairm210
94acb75967
Resolved #11787 - "join war" offers are only valid if you can actually declare war on them
2024-06-19 16:46:39 +03:00
Yair Morgenstern
109955c523
Simplified DispatcherVetoer, explained dispatcher
2024-06-19 00:37:07 +03:00
Yair Morgenstern
3b74e3311e
Fix misaligned change
2024-06-18 00:40:35 +03:00
Yair Morgenstern
6f868952bb
minor corrections
2024-06-17 23:45:55 +03:00
Yair Morgenstern
79be14e291
Resolved #11082 - Added "Will not be replaced by automated units" unique
2024-06-17 23:12:50 +03:00
Oskar Niesen
bbea08364b
TechDebt: Made getDiplomacyManger() nullable ( #11771 )
...
* Made getDiplomacyManager nullable and added getDiplomacyMangerOrMeet
* Fixed AI Automation having problems when playing as a oneCityChallenger civ
2024-06-16 23:40:45 +03:00
SomeTroglodyte
c5d3bfca9d
Add wiki section on how to begin a new language ( #11756 )
2024-06-16 22:12:17 +03:00
tuvus
498c22396a
4.12.0-patch1
2024-06-16 15:01:33 +00:00
Oskar Niesen
4759287465
Fixed a city-state coup crash ( #11769 )
...
* Fixed the coup crash
* Fixed another potential crash on a failed coup
2024-06-16 18:01:25 +03:00
yairm210
61c5302d31
Don't notify for "0 stat" plunders
2024-06-16 14:27:44 +03:00
Yair Morgenstern
0a357e3598
Resolved #11758
2024-06-15 23:14:51 +03:00
Yair Morgenstern
9dfd82e002
4.12.0
2024-06-15 22:47:04 +03:00
Yair Morgenstern
ac54209d6b
Resolve #11752 - fix crash in spy automation
2024-06-15 22:35:18 +03:00
Yair Morgenstern
5967f56f6d
typo: rigg -> rig
...
Resolves #11748
2024-06-15 22:31:40 +03:00
Yair Morgenstern
0794b800fc
Version rollout ( #11757 )
...
* Bump version and create initial changelog entry
* Update Hungarian.properties (#11753 )
* Provide translations to Ukrainian (#11750 )
Co-authored-by: Kostiantyn Ko <mormat.iam@gmail.com>
* Update Catalan.properties (#11749 )
* Update French.properties (#11738 )
* Update Brazilian_Portuguese.properties (#11737 )
* Update Italian.properties (#11736 )
* Update Indonesian.properties (#11733 )
* Update Indonesian.properties
Translated the new words.
* Update Indonesian.properties
---------
Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: balazsszalab <balazsszalab@freemail.hu>
Co-authored-by: Kostiantyn Ko <test9@mormat.name>
Co-authored-by: Kostiantyn Ko <mormat.iam@gmail.com>
Co-authored-by: Joan Josep <juanjo.ng.83@gmail.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
2024-06-15 22:30:55 +03:00
Oskar Niesen
2b8c965d6b
Personality implementation ( #11729 )
...
* Add Personalities.json
* Personality tags
* Askia, Attila, Augustus Personalities
* Bismark & Boudica
* Added parsed personalities
* Linked Personalities to their nation
* Tweaked some personalities
* Added the declareWar Personality
* Fixed some misnaming
---------
Co-authored-by: Caballero Arepa <78449553+Caballero-Arepa@users.noreply.github.com>
2024-06-15 22:02:51 +03:00
Yair Morgenstern
255e6c7fc9
Adds unique IDs to units ( #11745 )
...
* Adds unique IDs to units
* Add IDs to units in existing games
* civ.getUnitById function
* Fix 'no units' case
2024-06-15 22:00:41 +03:00
Md. Touhidur Rahman
3b40820bf2
Update buildAndDeploy.yml ( #11751 )
...
We'll see if this works, worst case we can revert it
2024-06-15 21:59:54 +03:00
Oskar Niesen
4d1484923c
Renamed getDistanceToTilesWithinTurn to getDistanceToTilesAtLocation ( #11754 )
2024-06-15 21:59:01 +03:00
SomeTroglodyte
bb1057e515
Fix map editor can't place improvements ( #11743 )
...
* Fix map editor can't place improvements
* Prefer the 'has...' approach after all
2024-06-15 21:58:04 +03:00
Oskar Niesen
294a0a71a4
AI is more likely to sign Defensive pacts ( #11740 )
...
* Made the AI more likely to sign defensive pacts
* Reduced AI Declined flags time by half
* Fixed a value
2024-06-14 17:40:45 +03:00
SomeTroglodyte
3c91647fb2
Streamline and thereby reduce size of the save game json ( #11728 )
2024-06-14 17:39:59 +03:00
SomeTroglodyte
e74897469c
Improvement queue ( #11677 )
...
* Improvement queue: Framework
* Improvement queue: Minimal UI
* Remove debug code
* Fix merge error
* Address tuvus's input
* Implement tuvus's UI wishes
* Fix merge errors
* Fix more merge errors
2024-06-14 17:39:46 +03:00
Oskar Niesen
728713dc3e
Giving the AI good trades is stored as credit ( #11326 )
...
* AI Civs now are happy for good trades
* Each gift point is worth 100 gold without inflation
* Gifts can now be used as credit for future trades
* Fixed giftAmount conversions
* Fixed get inflation returning NAN when gpt is negative
* diplomatic gifts are now rounded when checking trade acceptability
* Changed gold gift scaling to account for relationship level
* Fixed percent based value reduction
* Added gold gifting functions to DiplomacyManager
* Added tests
* Declaring war removes gold gifts
* Reversed trade evaluation
* Added more tests for trading
* Fixed who the gifts are given to
* Added more comments
* Added more tests and fixed stuff
* Gifting does not occur with trade treaties
* Renamed handleGoldGifted to GiftGold
* Added two more tests
* Improved comments
* Liberating a civ no longer gives positive relations from open borders
2024-06-14 17:38:54 +03:00
Md. Touhidur Rahman
4257f9dbc7
Use Temurin API to get latest temurin releases ( #11747 )
2024-06-14 17:30:50 +03:00
yairm210
3160416138
Fix tests
2024-06-13 13:50:00 +03:00
yairm210
4f436e98bd
rename: changeImprovement -> setImprovement
2024-06-13 12:23:25 +03:00
yairm210
db85cee3e5
4.11.19-patch1
2024-06-11 15:42:53 +00:00
Oskar Niesen
96951e21c6
Fix election crash ( #11731 )
...
* Fixed the election crash
* Added better comments
2024-06-11 18:42:45 +03:00
Yair Morgenstern
546f7c79a2
4.11.19
2024-06-10 23:00:08 +03:00
Yair Morgenstern
2896181bbb
Version rollout ( #11727 )
...
* Bump version and create initial changelog entry
* Update translations to Ukrainian (#11723 )
Co-authored-by: Kostiantyn Ko <mormat.iam@gmail.com>
* Update Italian.properties (#11722 )
* Update Simplified_Chinese.properties (#11721 )
* Update Simplified_Chinese.properties
* Update Simplified_Chinese.properties
* Update German translation (#11720 )
* Update French.properties (#11716 )
* Update Brazilian_Portuguese.properties (#11715 )
* Update Indonesian.properties (#11714 )
Translated the new words and corrected a few grammar mistakes.
---------
Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Kostiantyn Ko <test9@mormat.name>
Co-authored-by: Kostiantyn Ko <mormat.iam@gmail.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: AutumnPizazz <114050365+AutumnPizazz@users.noreply.github.com>
Co-authored-by: mape6 <mape6@posteo.de>
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-06-10 22:55:01 +03:00
SomeTroglodyte
9ef3fec0ea
Reenable console unit sethealth
and setmovement
with trailing blank ( #11726 )
2024-06-10 22:22:56 +03:00
SomeTroglodyte
03a85fb3ad
Allow EmpireOverview persistence across game launches ( #11725 )
...
* Remove blank space between header and list in ResourceOverviewTab vertical mode
* Allow EmpireOverview persistence across game launches
2024-06-10 22:22:46 +03:00
Oskar Niesen
b61961d0a5
Moddable city ranges ( #11708 )
...
* Added city bombard, work and expand range ModConstants
* Changed some city range integers to city.getWorkRange() or some equivalent
* Fixed city screen
* Fixed create game error
* Improved support for CityScreen when work range is higher than expand range
* Improved WonderOverviewTab Style
* Improved Civilization.modConstants
* Improved random spacing
* Changed WonderOverviewTab to use a constant again
* Added comments in documentation
2024-06-10 22:22:30 +03:00
SomeTroglodyte
d39c7a97bf
Use Events for the floating "Tutorials" ( #11717 )
...
* Split off reuses of CityStateIcons/Cultured to allow modding separately
* Reposition floating tutorials in case the TopBar moved its buttons
* Event definition, art and basic support
* Split off Event rendering from AlertPopup
* Support Event presentation modes and replace hardcoded floating tutorials
* "Meet another civilization" art - can't find any better
* Tweak TranslationFileWriter and some polishing
2024-06-10 22:22:18 +03:00
Oskar Niesen
b496784ab5
Extra Civ and Spy moddability ( #11702 )
...
* Made minimum duration of a war moddable
* Made turns until revolt moddable
* Made spy skill moddable
* Migrated city-state elections to use the Civ flag system
* Moved cityStateElectionTurns away from espionage
* Added new moddable constants to the documentation
* Fixed merge conflicts
2024-06-10 22:22:09 +03:00
SomeTroglodyte
7012297af6
Centralize and organize use of special unicode codepoints ( #11647 )
...
* Centralize and organize use of special unicode codepoints
* Centralize and organize use of special unicode codepoints - minor doc addition
2024-06-10 22:21:56 +03:00