SomeTroglodyte
35c3f7b191
Fix "Connect road" going through Mountains ( #11428 )
...
* Cache Road/Railroad improvement objects
* Fix connect roads planning paths through mountains
2024-04-09 23:12:07 +03:00
SeventhM
ecbbad45e2
Allow players to close the policy screen with free policies ( #11424 )
2024-04-09 23:11:57 +03:00
SomeTroglodyte
b8706c1330
New game and custom/mod maps UI update and sync fixes ( #11423 )
...
* Offer custom map mod/ruleset and name as master/child SelectBoxes
* Let map Preview class (partial parse) include starting locations
* Implement button to use map-selected nations
* Show a LoadingImage while the maps are still loading
* Fix merge errors
* Usability improvements
* More out-of-sync fixes and improvements
* Template
2024-04-09 23:11:46 +03:00
TommasoPetrolito
c037776674
Implement Same-majority-religion-based diplomatic modifier ( #11415 )
...
* implement BelieveSameReligion/BelieveDifferentReligion DiplomaticModifiers
* implemented feedbacks
* remove unuseful val instanciation/assignment
* add getMajorityReligion() in ReligionManager.kt
* fixing code style
2024-04-09 23:11:32 +03:00
Oskar Niesen
892b54f651
Civs with a spy set up in a foreign city can view some information ( #11396 )
...
* Civs with a spy set up can view some foreign city information
* Spying Civs can only see city tiles that they are aware of
* Refactored EspionageManager getCitiesWithOurSpies
Co-authored-by: Yair Morgenstern <yairm210@hotmail.com>
* Removed extra parenthesis
---------
Co-authored-by: Yair Morgenstern <yairm210@hotmail.com>
2024-04-09 23:11:12 +03:00
Jeremy Woo
60bb8704ad
Allow AI civilian unit to consider other triggerable uniques ( #11372 )
...
* Enable AI civilian unit to handle other triggerable uniques
* Automation of AI Great Writer
* Automation of AI with GainFreeBuildings unique
* Stop AI unit to blinkly invoke the first action anymore
2024-04-09 23:10:56 +03:00
yairm210
2251bf7595
Cannot trade screen for civs you're at war with through notification action
2024-04-08 17:56:41 +03:00
yairm210
7dfa6682e0
docs: Info regarding triggerable uniques
2024-04-08 08:55:12 +03:00
yairm210
b620d23ff5
Remove city-state construction bonuses from difficulty
2024-04-07 22:04:05 +03:00
yairm210
054bc528ff
Fix untranslateables
2024-04-07 12:54:40 +03:00
yairm210
ef9fb23361
4.11.2
2024-04-07 12:51:07 +03:00
SomeTroglodyte
184b9b25ca
Fix two untranslatables ( #11397 )
...
* Fix two "untranslatables"
* Save a few translations
2024-04-07 12:45:40 +03:00
Yair Morgenstern
3c781e4c25
Version rollout ( #11412 )
...
* Bump version and create initial changelog entry
* Update Spanish.properties (#11410 )
* Update Brazilian_Portuguese.properties (#11406 )
* Update Brazilian_Portuguese.properties
* Update Brazilian_Portuguese.properties
* Update Catalan.properties (#11403 )
* Update Polish.properties (#11402 )
* Update Italian.properties (#11394 )
* Update French.properties (#11392 )
---------
Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Caballero Arepa <78449553+Caballero-Arepa@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
Co-authored-by: Joan Josep <juanjo.ng.83@gmail.com>
Co-authored-by: Lesiakower <125187776+Lesiakower@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
2024-04-07 12:45:22 +03:00
yairm210
8bd8ed683f
Fix deprecated conditionals, caught by new mod checker
2024-04-07 12:43:38 +03:00
Jeremy Woo
d1606cdcb9
Added triggerable unique to remove policy ( #11405 )
...
* Added triggerable unique to remove policy
* Revert a completed branch to incomplete state
* Fixed grammatical error
2024-04-07 11:28:25 +03:00
SomeTroglodyte
cc45cefb99
Work boat construction automation tweaks ( #11395 )
...
* Minor lint and optimize addWorkBoatChoice
* Moddable findTileWorthImproving search distance
* Don't count bonus resources outside any city work range as worth improving
* Look for existing work boat in a fixed radius instead of city-owned tiles, depending on work boat speed
* Some UnitMovement readability
* Work boat construction and automation code synergies
2024-04-07 11:27:12 +03:00
SeventhM
24bbfa49c6
Fix softlock for spectator with free policies ( #11407 )
...
* Fix softlock for spectator with free policies
* Flip order for faster resolving
* Switch to checking if current player
2024-04-07 11:27:03 +03:00
SeventhM
58919f413b
Allow Civilian units to promote ( #11391 )
2024-04-07 11:26:57 +03:00
yairm210
773d996bf8
Mod checker warns against deprecated conditionals
2024-04-07 11:23:30 +03:00
SomeTroglodyte
dada032c63
Fix new game screen mod selection ( #11399 )
2024-04-07 00:10:33 +03:00
yairm210
08bfa381a1
Added exception to catch the situation causing #11404
2024-04-07 00:07:00 +03:00
yairm210
027e56d6a7
Resolved #11400 - unclear settler edge case
2024-04-06 23:45:40 +03:00
yairm210
5263140911
Fixed concurrent modification from triggers adding other triggers
2024-04-06 23:30:39 +03:00
Yair Morgenstern
802a206c53
4.11.1
2024-04-04 23:57:49 +03:00
Yair Morgenstern
8cb200ae4f
Version rollout ( #11390 )
...
* Bump version and create initial changelog entry
* Update Hungarian.properties (#11381 )
* Update French.properties (#11378 )
* Update Italian.properties (#11377 )
* Update Catalan.properties (#11376 )
* Update Catalan.properties
* Update Catalan.properties
* Update Catalan.properties
* Update Indonesian.properties (#11374 )
* Update Indonesian.properties
Added and fixed the translation.
* Update Indonesian.properties
* Update Indonesian.properties
* Update Indonesian.properties
* Update Indonesian.properties
* Update Indonesian.properties
* Update Indonesian.properties
* Update Indonesian.properties
* Update Indonesian.properties
* Update Indonesian.properties
* Update Indonesian.properties
* Update Indonesian.properties
* Update Indonesian.properties
* Update Indonesian.properties
* Update Indonesian.properties
* Update Indonesian.properties
* Update Indonesian.properties
* Update Indonesian.properties
* Update Indonesian.properties
* Update Indonesian.properties
---------
Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: balazsszalab <balazsszalab@freemail.hu>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: Joan Josep <juanjo.ng.83@gmail.com>
Co-authored-by: M792003 <158552928+M792003@users.noreply.github.com>
2024-04-04 23:54:13 +03:00
Yair Morgenstern
0142c07b69
Added "crash early crash often" to guiding principles
2024-04-04 23:53:54 +03:00
SomeTroglodyte
ac35433057
Fix: New game screen, selection of mods from custom maps ( #11387 )
...
* Fix new game portrait mode geometry
* Allow updating ModCheckboxTable state from upstream
* Bubble a few notifications between NewGameScreen elements so changes can propagate better
2024-04-04 23:41:17 +03:00
SomeTroglodyte
d5d05ecd6d
Improve diplomatic vote result screen ( #11386 )
...
* Fix wrong winner displayed for UN vote results
* Display number of received votes in DiplomaticVoteResultScreen
2024-04-04 23:41:08 +03:00
Oskar Niesen
a743c4d8ff
Changed the heuristic to be applicable to any unit and to use canPassThrough() ( #11383 )
2024-04-04 23:40:56 +03:00
Oskar Niesen
455afcee75
Workboats improve resources outside of city work range ( #11384 )
...
* AI now improves luxury resources outside of city work range
* Strategic resources will now be built on as well outside of city working range
* Renamed a helper method
* Added some spaces after type declaration
2024-04-04 23:40:25 +03:00
SomeTroglodyte
aab6e2643e
Make ESC/Back bindable (Main menu and world screen only) ( #11379 )
...
* Some Keyboard code linting
* Make ESC/BACK bindable in two places
2024-04-04 23:40:15 +03:00
SeventhM
48212e8c15
Allow AI to consider building stats more accurately ( #11370 )
...
* Allow AI to consider building stats more accurately
* Adjust AI value of happiness
* Move happiness valuing to the building evaluation
* Consider carry over food uniques
* Just realized I messed up my math. Yes I know about the divide by zero error
2024-04-04 23:40:00 +03:00
SeventhM
3ea1e4a539
Allow for replacement improvements ( #11369 )
...
* Allow for replacement improvements
* imports
* Forgot the most important change, lol
* Docs
* Replacement description, validation, and filter
* Move more into ImprovementDescriptions
* Whoops, forgot to yield
* Fix some copy-paste artifacts
* New translations
* Fix double see also
* Add space for translation engine
2024-04-04 23:39:44 +03:00
PLynx
0caf0cb4fa
Add configurable natural wonder discovery stat bonuses ( #11249 )
...
* Added configurable natural wonder discovery stats
* Shortened the code
* Updated the base rulesets with new unique
* Updated the El Dorado unique
* Applied the suggestions
* Reintroduced the implementation for deprecated uniques
* Changed tile.naturalWonder to naturalWonder
2024-04-04 23:39:31 +03:00
yairm210
0474755a0d
Better performance for reassigning population - important, since AI does this every city every turn
2024-04-03 09:21:07 +03:00
yairm210
7f2b98be17
Add cache for terrain filter results
2024-04-03 09:15:38 +03:00
Yair Morgenstern
be17bbb389
Added documentation about saved games and transients, cleaned up existing unique documentation
2024-04-02 19:17:52 +03:00
yairm210
c2a2bcb417
4.11.0
2024-04-01 14:22:17 +03:00
M792003
18f27bc400
Update Indonesian.properties ( #11373 )
...
* Update Indonesian.properties
Fixed the translation.
* Update Indonesian.properties
2024-04-01 14:15:31 +03:00
yairm210
ce72573504
Deprecate old uniques
2024-04-01 12:08:06 +03:00
Yair Morgenstern
b37c24c177
Version rollout ( #11371 )
...
* Bump version and create initial changelog entry
* Update Catalan.properties (#11363 )
* Update Indonesian.properties (#11361 )
* Update Indonesian.properties
Fixed the translation.
* Update Indonesian.properties
* Update Indonesian.properties
* Update Indonesian.properties
* Update Indonesian.properties
* Update Indonesian.properties
* Update Indonesian.properties
* Update Indonesian.properties
---------
Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Joan Josep <juanjo.ng.83@gmail.com>
Co-authored-by: M792003 <158552928+M792003@users.noreply.github.com>
2024-04-01 12:06:53 +03:00
SeventhM
5d162417ac
Remove mod blacklist ( #11367 )
2024-04-01 12:01:41 +03:00
Ouaz
069427e9d7
UI Tips article additions ( #11365 )
2024-04-01 12:01:36 +03:00
itanasi
b5b58ab6d7
Add UnitActionModifier for Stockpile Cost ( #11344 )
...
* Initial action code
canSpendStockpileCost() doesn't work quite right yet
* Properly check if Stockpile is 0
* Flip signs for consumption
* Fix itemss from review
2024-04-01 12:01:30 +03:00
PLynx
5e89e2f46d
Countable comparison conditional uniques ( #11308 )
...
* Added the countable comparison conditional uniques
* Applied the suggestions of yairm
* Minor wording change
2024-04-01 12:01:20 +03:00
yairm210
231ae86913
Resolved #11345 - Hide battle table after attack if we can move, but not attack again
2024-04-01 10:00:54 +03:00
yairm210
7ac50ddadb
Resolved #11368 - maps with mods change mods visible on new game screen accordingly
2024-04-01 09:48:52 +03:00
ravignir
8b246f17ff
fix misimplemented Dromon ( #11366 )
...
Dromons in civ5 have +50% strength vs Water units not +50% vs Wounded units
2024-03-30 22:55:10 +03:00
Yair Morgenstern
9f798dae2f
Barbarian units always placed next to encampment, so they don't "jump over" tiles they can't enter to the other side
2024-03-27 21:30:50 +02:00
Yair Morgenstern
ef199683cd
Clean up wiki main page - #8665
2024-03-26 23:13:40 +02:00