yairm210
7e7f8fc267
EventHub removal - Removed 'MultiplayerGameDeleted' event
2024-04-15 00:27:09 +03:00
yairm210
d07815242f
EventHub removal - Removed 'MultiplayerGameAdded' event
2024-04-15 00:21:13 +03:00
yairm210
e7f4c4dd1d
EventHub removal - 'add multiplayer game' no longer works through EventHub
2024-04-15 00:11:23 +03:00
yairm210
0dbc9b0bce
Disallow creating "multiplayer" games with only AI and spectator
2024-04-14 23:58:24 +03:00
yairm210
62259d977d
EventBus removal - deleted GameSounds, play mp sounds directly
2024-04-14 23:43:16 +03:00
yairm210
296a499ae6
There is no SettingsEvent, no one's listening for settings changes
2024-04-14 23:37:30 +03:00
yairm210
0530e262db
EventBus removal - remove 'settings updated' sound playing via eventbus
2024-04-14 23:27:54 +03:00
Yair Morgenstern
43e38e3869
4.11.4
2024-04-12 00:10:52 +03:00
Yair Morgenstern
dfd56e5594
Version rollout ( #11455 )
...
* Bump version and create initial changelog entry
* Update Korean.properties (#11452 )
* Update Polish.properties (#11450 )
* Update Turkish.properties (#11447 )
* Console support for rivers (#11446 )
* Treat "River" parameter to `tile addfeature/removefeature`
* Tile addriver and removeriver commands taking a compass direction
* Show ambiguous autocompletion possibilities
* Update French.properties (#11445 )
* Update Simplified_Chinese.properties (#11441 )
* Update Simplified_Chinese.properties
Add new content, especially the spy part, correct some minor errors to make it more suitable for native Chinese speakers, and delete redundant spaces
* Update Simplified_Chinese.properties
* Update Italian.properties (#11439 )
* Update Brazilian_Portuguese.properties (#11435 )
* Full polish translation, 100% checked (#11442 )
Co-authored-by: Yair Morgenstern <yairm210@hotmail.com>
---------
Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Yattong the Mackerel <saud2410@naver.com>
Co-authored-by: Lesiakower <125187776+Lesiakower@users.noreply.github.com>
Co-authored-by: ygz213 <77006222+ygz213@users.noreply.github.com>
Co-authored-by: SomeTroglodyte <63000004+SomeTroglodyte@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: AutumnPizazz <114050365+AutumnPizazz@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
Co-authored-by: SHypoleac <153895174+SHypoleac@users.noreply.github.com>
2024-04-11 23:49:32 +03:00
Oskar Niesen
9efbbae6de
Added an extra barbarian check to nukes ( #11454 )
2024-04-11 23:38:21 +03:00
SomeTroglodyte
58243152c9
Images for Escort Formation ( #11449 )
...
* Replace and credit "Link" icon
* UnitActionIcons/Escort is a black version of "Link"
* Reprioritize UnitGroup "action" badge to prefer showing what Workers build over escorting
2024-04-11 23:37:57 +03:00
SomeTroglodyte
6ad2fea4d9
Fix OptionPopup should follow the "click behind to close allowed" global setting ( #11444 )
2024-04-11 23:33:51 +03:00
SomeTroglodyte
f590d8d561
Two extension features for custom maps ( #11443 )
...
* Fix apparent bug removing starting locations
* Remove StartingLocation legacy support (when they were TileImprovements)
* Starting locations get a "usage" controlling new game "select players"
* Maps get a description map creators can use to pass info to their users
* Fix bad fix from last PR preventing then map preview of the initial selection to show in some cases
* Wrap all those setProgrammaticChangeEvents calls
* Fix None/Normal discrepancy
2024-04-11 23:33:10 +03:00
SeventhM
a072f452b6
Allow policy removal unique to remove multiple policies ( #11427 )
...
* Allow policy removal unique to remove multiple policies
* Fix typo and filter
* More accurate translation line. Not sure if the engine cares
2024-04-11 23:32:59 +03:00
SeventhM
31cc884323
Fix personality being ignored for tile rankings in small cities ( #11425 )
...
* Fix personality being ignored for tile rankings in small cities
* Simplify wants to focus on function
* Fix cloned city owned tiles
2024-04-11 23:32:38 +03:00
SomeTroglodyte
2d4e8bc83e
Clean up github runner output ( #11451 )
2024-04-11 21:45:25 +03:00
yairm210
5a40c4f563
4.11.3
2024-04-09 23:44:21 +03:00
Yair Morgenstern
958deb6258
Version rollout ( #11430 )
...
* Bump version and create initial changelog entry
* Update Polish.properties (#11421 )
* Update Polish.properties
* Update Polish.properties
* Update French.properties (#11417 )
* Update Italian.properties (#11416 )
* Update Brazilian_Portuguese.properties (#11413 )
---------
Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Lesiakower <125187776+Lesiakower@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: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
2024-04-09 23:37:21 +03:00
Oskar Niesen
ef9965e218
Espionage Uniques, Buildings and Policy ( #11401 )
...
* Added OneTimeSpiesLevelUp, OneTimeGainSpy, SpyEffectiveness, EnemySpyEffectiveness and HiddenWithoutEspionage Uniques
* Spy effectiveness affects stealing tech and rigging elections
* Fixed HiddenWithoutEspionage
* Added Constabulary and Police Station
* Added cityFilter to SpyEffectiveness
* Added national Intelligence agency
* Added Great Firewall
* Fixed great firewall having a float value
* EspionageManager addSpy now returns Spy instead of name
* Added some simple espionage tests
* Fixed OneTimeSpiesLevelUp still wanting parameter
* Spy efficiency occurs after skill modifier
* Added another test
* Added Police State spy efficiency reduction unique
* Fixed "Hidden when espionage is disabled" wording
* Fixed "effectiveness" wording
* Changed "enemy spy effectiveness" unique to use negative matters
* Spy effectiveness only affect tech steal rate
* Changed "Gain an extra spy" and "Promotes all spies" uniques
* Removed Police State comment that is no longer accurate
* Changed spy effectiveness to be multiplicative
2024-04-09 23:12:21 +03:00
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