SomeTroglodyte
ec253a5886
ImagePacker detects changed settings file, improve documentation. ( #11625 )
2024-05-21 19:55:22 +03:00
SomeTroglodyte
65b519cb1f
Mod checker reports some problems with texture atlases or their source images ( #11620 )
...
* ImagePacker reports exception cause
* Mod checker reports some problems with texture atlases
2024-05-21 19:55:10 +03:00
Oskar Niesen
94aac8554f
Fixed gold ruin not displaying notification ( #11614 )
2024-05-21 19:52:44 +03:00
Oskar Niesen
783c0aa7c2
AI worker build roads improvement ( #11615 )
...
* Reworked how city connection is calculated
* Fixed neighboringCities being saved
* Improved the A* road finding to work!
* Fixed railroad upgrading incorrectly
* Workers will now try to swap with lazy units blocking them
* Improved support for military worker units
* Worker checks if they can swap with the unit before trying to swap
2024-05-21 19:52:31 +03:00
SomeTroglodyte
ca1a2816c8
Make stateBasedRandom depend on turn ( #11603 )
2024-05-21 19:38:39 +03:00
Yair Morgenstern
99d937ee1f
Sepcific Exception for starting a game with a starting era not defined in the ruleset (not sure how they managed this)
2024-05-21 18:55:07 +03:00
yairm210
36621e7d69
Default city for hexarealm does NOT have a question mark
2024-05-19 23:55:43 +03:00
yairm210
1f97b069e5
Copy stacktrace to clipboard when failing to load mods - #11613
2024-05-19 23:51:23 +03:00
yairm210
d1b918abc3
Added ruleset validation for preferred victory type
2024-05-19 16:15:28 +03:00
Yair Morgenstern
8fa230631b
Update README.md
2024-05-19 15:57:12 +03:00
yairm210
4d728914f4
4.11.13
2024-05-16 08:32:15 +03:00
Yair Morgenstern
99801c797d
Version rollout ( #11602 )
...
* Bump version and create initial changelog entry
* Update French.properties (#11599 )
* Update Indonesian.properties (#11598 )
* Update Indonesian.properties
Translated all the new words and corrected the mistranslated words.
* Update Indonesian.properties
* Update Indonesian.properties
* Update Brazilian_Portuguese.properties (#11595 )
* Update Italian.properties (#11594 )
* Update Ukrainian translations (#11593 )
Co-authored-by: Kostiantyn Ko <mormat.iam@gmail.com>
---------
Co-authored-by: yairm210 <yairm210@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: Vitor Gabriel <59321138+Ranbut@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>
2024-05-16 08:21:16 +03:00
SomeTroglodyte
55201f9e16
This has been annoying me for AGES ( #11604 )
2024-05-16 08:21:03 +03:00
yairm210
0aa70668cc
Barbarian water units no longer pillage
2024-05-16 07:06:21 +03:00
SomeTroglodyte
bdab784534
Console: tile setowner, civ removepolicy ( #11581 )
...
* Refactor knowledge about console parameter to autocomplete options
* Console civ removepolicy
* Console tile setowner
2024-05-16 07:05:41 +03:00
SomeTroglodyte
5238ff23e1
Fix crash when a starting unit has a random conditional ( #11596 )
...
* Harden StateForConditionals.hashCode against uninitialized lateinit
* Fix potential crash in new game screen (leftover debug assert)
2024-05-16 07:03:59 +03:00
Oskar Niesen
428edfb12a
Spies can be moved on map ( #11587 )
...
* Added right click city selection to spy move button
* Fixed random indenting again
* Fixed city buttons moving back up
* Added esc binding to close move spy action
* Added spy selected panel
* Fixed not clicking on a city crash
* Fixed spy selection and deselection
* Made viable cities more visible
* Fixed accidental change
* Spy icons can now be right clicked to enter the map moving view
* Added an X button to close out of the moving spy screen easier.
* Removed extra white space
2024-05-16 07:03:35 +03:00
Oskar Niesen
c7a7bf1474
City state coup ( #11586 )
...
* Added coup success calculation
* Added a coup button
* Added a coup button functionality
* Improved coup chance calculation
* Added coup effects
* Fixed random value being too high
* Fixed percent chance roll
* Hid enemy spy factor from the chance text
* Added coup notifications
* Added translations
* Updated a notification
* Style changes
* Put some text onto multiple lines
* Fixed "failed staged" notification
* Added missing translation
* Finished fixing merge conflicts
* Added AI to city-state coups
* Coup notifications are now sent to the spectators as well
* Changed spy rank modifier to be additive
2024-05-16 07:02:37 +03:00
Oskar Niesen
d4cfd4e563
AI doesn't settle very unfavorable locations ( #11305 )
...
* AI doesn't settle locations with less than 50 value
* Settlers try and found cities at a distance of 7 more
* Reduced the value of being on the coast
* RankTile quits early if the tile is already owned
2024-05-16 07:02:20 +03:00
SomeTroglodyte
1fed88acf6
Espionage icons ( #11600 )
...
* Icons for Espionage Buildings
* Update WorldScreen top left buttons
2024-05-16 07:01:47 +03:00
Yair Morgenstern
66634dba0e
4.11.12
2024-05-14 11:23:52 +03:00
Yair Morgenstern
903cabed27
Version rollout ( #11592 )
...
* Bump version and create initial changelog entry
* Update Ukrainian translations (#11589 )
Co-authored-by: Kostiantyn Ko <mormat.iam@gmail.com>
* Update French.properties (#11585 )
* Update Brazilian_Portuguese.properties (#11582 )
* Update Indonesian.properties (#11580 )
Added new translation and corrected the mistranslation.
---------
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: 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-05-14 11:18:51 +03:00
Oskar Niesen
8227c2f339
More espionage UI improvements ( #11584 )
...
* Renamed "conducting counter-intelligence" to "counter-intelligence"
* Created translations for spy actions
* Clicking on the spy icon selects the spy to be moved
* Fixed spaces in template.properties
* Removed extra translations
2024-05-14 11:01:10 +03:00
SomeTroglodyte
04423be44f
Fix "Move a unit" tutorial isn't completed by moving via right-click ( #11591 )
2024-05-14 11:00:51 +03:00
SomeTroglodyte
9ddc2337ac
Architecture overhaul: openCivilopedia and "hey, who knows which Ruleset we're running"? ( #11590 )
2024-05-14 11:00:40 +03:00
PLynx
cd9db42672
Added the culture-refunding remove policy unique ( #11538 )
2024-05-14 11:00:16 +03:00
Skekdog
50274a42ad
Corrected Coast yields to give 1 Food and 1 Gold ( #11583 )
...
* Coast also yields 1 Gold
* Coast also yields 1 Gold and 1 Food in Vanilla
2024-05-14 10:59:18 +03:00
Oskar Niesen
eb79a777a2
City state election rigging ( #11577 )
...
* Added city-state Elections
* Added Elections notifications
* Removed temporary rigging elections in Spy.kt
* Modified votes from influence a little
* Fixed rigging election turns
* Fixed elections
* Randomised city-state election days
* Refactored geCapital
* Refactored election random to use randomWeighted
* Fixed getSkillModifier being private
* Updated translations and fixed a notification for election rigging
2024-05-14 10:58:07 +03:00
SomeTroglodyte
5b002acfee
Fix "Translating" wiki link ( #11545 )
...
* Fix external wiki link for Translation
* Mini lint - use brighten where functionally equivalent
* Mini lint - condition indent made it unreadable - loop only once
2024-05-14 10:57:36 +03:00
Yair Morgenstern
a8c0bef379
4.11.11
2024-05-11 21:49:47 +03:00
Yair Morgenstern
3f4a4aa93b
Version rollout ( #11579 )
...
* Bump version and create initial changelog entry
* Update Turkish.properties (#11573 )
* Update Turkish.properties
* Update Turkish.properties
* Update Turkish.properties
* Update Turkish.properties
* Update Brazilian_Portuguese.properties (#11566 )
* Update Brazilian_Portuguese.properties
* Update Brazilian_Portuguese.properties
* Update Brazilian_Portuguese.properties
* Update French.properties (#11565 )
* Update Italian.properties (#11564 )
* Update Indonesian.properties (#11563 )
* Update Indonesian.properties
Added and fixed the translation.
* Update Indonesian.properties
* Update Indonesian.properties
* Update Indonesian.properties
---------
Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: komandotayfa <53448093+komandotayfa@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@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: X2003 <158255876+Xenia2003@users.noreply.github.com>
2024-05-11 21:44:44 +03:00
Yair Morgenstern
19be96335d
Removed dead "Start golden age" unit action - #11576
2024-05-11 21:44:30 +03:00
Yair Morgenstern
8af45f774b
Resolved #11544 - Remove 'color civ areas on max zoomout' due to conflict with aircraft
2024-05-11 21:38:25 +03:00
SomeTroglodyte
2136c5f555
Console: civ addpolicy
( #11572 )
2024-05-11 21:36:26 +03:00
SomeTroglodyte
a485510faf
Resource Overview: Info on unavailable strategic and unimproved by allies ( #11571 )
...
* Resource Overview: Info on unavailable strategic and unimproved by allies
* Update tutorial
2024-05-11 21:36:17 +03:00
SomeTroglodyte
628bd71830
Spy UI improvements ( #11570 )
...
* Minor linting
* More linting
* Consistent naming city/location, cache city on Spy (tile visibility perf)
* Empower SpyAction enum (minor perf)
* NotificationAction for Espionage, shorthand on the Spy instance
* Fix National Intelligence Agency giving one extra Spy level
* Fix "Move Spies" NextTurnButton prompt appearing every turn when spies are in Surveillance
* Fix failed tech theft rewarding tech anyway (and open spy kill chance when theft ordered but nothing to steal)
* Finally refactor SmallButtonStyle as standalone component
* Fix unable to assign spies for counter-intelligence
* Shorten establish-network phase for domestic spy placement
* Refactor and prettify MoveToCityButton, reuse as pointer who is to move (and some tiny changes)
* Decorate Spy icons by rank and show those in the hideout too
* Make city name labels in Espionage screen clickable
* Umm... duplicate targets behave same as single targets
* Spy mechanics - no establish network before counter-intelligence, commenting
* Oops, those lines do not belong in this branch anyway
2024-05-11 21:36:07 +03:00
SomeTroglodyte
7bbe218bf0
Fix potential crash in console autocomplete ( #11568 )
2024-05-11 21:35:57 +03:00
yairm210
0f4b52aaea
Nuclear weapon uniques accept conditionals
2024-05-09 08:52:20 +03:00
Yair Morgenstern
d41a18ecd4
More movement uniques that have problems with conditionals
2024-05-05 20:39:48 +03:00
Yair Morgenstern
dee12bf23d
4.11.10
2024-05-04 21:51:28 +03:00
Yair Morgenstern
fbb9c4a7ad
Version rollout ( #11561 )
...
* Bump version and create initial changelog entry
* new update Translate vietnamese (#11558 )
* Update Vietnamese.properties
ok
* Update Vietnamese.properties
1
* Update Vietnamese.properties
2
* new Update Vietnamese.properties
* Updates to Portuguese.prop file (#11556 )
* Update Portuguese.properties
* Update Portuguese.properties
* Update Portuguese.properties
* Update Portuguese.properties
* Update Portuguese.properties
* Update Portuguese.properties
* Update Portuguese.properties
* Update Portuguese.properties
* Update Portuguese.properties
* Update Portuguese.properties
* Update Portuguese.properties
* Update Portuguese.properties
* Update Portuguese.properties
* Update Portuguese.properties
* Update Portuguese.properties
* Update Portuguese.properties
* Add translations to Ukrainian (#11549 )
Co-authored-by: Kostiantyn Ko <mormat.iam@gmail.com>
* Update Filipino.properties (#11548 )
* Update Indonesian.properties (#11547 )
Fixed the mistranslation.
---------
Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: vvinam <vvinam@gmail.com>
Co-authored-by: nexphilim <75545134+nexphilim@users.noreply.github.com>
Co-authored-by: Kostiantyn Ko <test9@mormat.name>
Co-authored-by: Kostiantyn Ko <mormat.iam@gmail.com>
Co-authored-by: Edizen P. Buguina <111935236+zen-pb@users.noreply.github.com>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
2024-05-04 21:17:20 +03:00
Oskar Niesen
4aa75896e1
Add missing espionage uniques ( #11559 )
...
* Added "New spies start with [1] level(s)" unique
* Added England extra spy unique
* Fixed SpyStartingLevel target
* Added addspy notification
2024-05-04 21:04:17 +03:00
Oskar Niesen
da4657fa44
Next turn button shows move spies notification icon ( #11557 )
2024-05-04 21:04:08 +03:00
SomeTroglodyte
59084399a6
Overhaul "hidden" architecture, closing some gaps ( #11546 )
...
* Linting
* Overhaul "hidden" architecture
* Fix unit tests
2024-05-04 21:03:58 +03:00
Oskar Niesen
8c54f41ab5
Added diplomatic repercussions for spying on a civ ( #11553 )
2024-05-04 21:03:44 +03:00
Oskar Niesen
50b1b5144e
Spy rank UI and fixes ( #11551 )
...
* Added spy rank to the spy table
* Dead spies aren't allowed to move
* Fixed AI spy automation
* Fixed AI rank not being cloned
* Removed rank fix (new fix is in MissingEspionageUniques)
2024-05-04 21:03:34 +03:00
PLynx
a13f71e654
Added victoryType conditionals ( #11542 )
2024-05-04 21:03:22 +03:00
Oskar Niesen
69b5e0c905
Fixed city-state alliance join war notification ( #11541 )
2024-05-04 21:03:12 +03:00
Yair Morgenstern
5291c5b79a
4.11.9
2024-04-30 00:50:47 +03:00
Yair Morgenstern
e7c945f910
Version rollout ( #11539 )
...
* Bump version and create initial changelog entry
* Update Czech.properties (#11537 )
* Updated Romanian.properties (#11531 )
* Update Portuguese.properties (#11526 )
* Update Portuguese.properties
* Update Portuguese.properties
* Update Portuguese.properties
* Update Portuguese.properties
* Update Portuguese.properties
* Update Portuguese.properties
* Update Portuguese.properties
* Update Portuguese.properties
* Update Portuguese.properties
* Update Simplified_Chinese.properties (#11524 )
* Update Simplified_Chinese.properties
* Update Simplified_Chinese.properties
* Update Simplified_Chinese.properties
* Update Simplified_Chinese.properties
* Update Simplified_Chinese.properties
* Update Simplified_Chinese.properties
* Update Filipino.properties (#11523 )
* Update Filipino.properties
* Update Filipino.properties
Fix an error.
* Update Filipino.properties
Fixed another minor error.
* Update Filipino.properties
Sorry for these errors. I should have slept instead of translating.
* Update Spanish.properties (#11517 )
* Update Spanish.properties
* Fix civName
* The other one
---------
Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: jahodovykolac <79529669+jahodovykolac@users.noreply.github.com>
Co-authored-by: ghd987654321 <141758961+ghd987654321@users.noreply.github.com>
Co-authored-by: nexphilim <75545134+nexphilim@users.noreply.github.com>
Co-authored-by: AutumnPizazz <114050365+AutumnPizazz@users.noreply.github.com>
Co-authored-by: Edizen P. Buguina <111935236+zen-pb@users.noreply.github.com>
Co-authored-by: Caballero Arepa <78449553+Caballero-Arepa@users.noreply.github.com>
2024-04-30 00:47:43 +03:00