Unciv/android/assets/jsons/Civ V - Vanilla
Oskar Niesen 548b536818
Add Defensive pact (#9900)
* Defensive Pacts can now be offered.

* Signing a defensive pact now makes the Civs join all defensive wars. Any future defensive wars will force the other civ to join.

* Removed Popup Alert Defensive Pact.

* Defensive pact and Research pact now are only on the trade screen.

* AI now offers defensive pacts.

* Added AI evaluating sending and receiving Defensive Pact offers.

* Reverted some temporary changes

* Reduced the chance an AI offers a defensive pact

* Starting an offensive war now cancels all Defensive Pacts with other civilisations.

* Removed extra requirements before an AI will sign or offer a defensive pact.

* Added Defensive Pacts to the Civilopedia.

* Fixed the AI counter offering with treaties.

* Fixed a test using the old method of checking if a civ is at war.

* Fixed a previous refactor error.

* Deleted commented out Research Agreement button code.

* Fixed some spelling errors and remnant debugging code.

* Removed signing a defensive pact brings both Civ's into each others previous defensive wars.

* Refactored setFriendshipBasedModifier to look better

* Starting an offensive war now removes the defensive pact form both sides.

* Reverted changes to DiplomaticStatus

* Removed extra technology check to sign a defensive pact.

* Removed DiplomacyManager.isAtWar() completely.

* Moved setting defensivePact flags from  TradeLogic.transferTrade() to DiplomacyManager.signDefensivePact.

* Changed diplomatic modifiers related to Defensive Pacts to be less extreme.

* Fixed canceling Defensive Pacts when declaring war and notifying other Civs.

* Updated the Defensive Pact entry in the Civilopedia and fixed some spelling.

* Fixed Defensive Pact behavior while attacking and defending.

* Changed a variable to a more readable name.

* Improved readability of setFriendshipBasedModifier().

* Moved the important onWarDeclared functionality to their own functions.

* Added a notification for the attacking Civ when a Civ joins war through a Defensive Pact.

* Refactored setDefensivePactBasedModifier() to be more readable.

* Increased DeclinedDefensivePact time.

* Deleted old commented code that removed the research agreement button.

* Fixed having reverting changes errors in UnitMovementTests.

* Refactored breaking treaties when declaring war.

* Removed unnecessary semicolons.
2023-08-16 17:59:41 +03:00
..
Buildings.json Resolved #9036 - New Kremlin quote 2023-05-04 10:47:00 +03:00
CityStateTypes.json Added validations for city-state uniques 2022-11-21 23:03:52 +02:00
Difficulties.json
Eras.json Added validations for city-state uniques 2022-11-21 23:03:52 +02:00
GlobalUniques.json Treat remaining untyped Uniques in default rulesets (#9763) 2023-08-03 11:38:50 +03:00
ModOptions.json
Nations.json Correct declaringWar key / English translation (#9838) 2023-07-24 10:42:44 +03:00
Policies.json AI: Better policy selection 2023-08-10 16:20:01 +03:00
Quests.json Moddable quest weighting for city-states 2022-11-19 23:54:16 +02:00
Ruins.json Trigger notifications can go in either direction, for better translations 2023-01-22 16:06:42 +02:00
Specialists.json
Speeds.json Moddable game speeds (#6856) 2022-06-18 23:27:46 +02:00
Techs.json Add Defensive pact (#9900) 2023-08-16 17:59:41 +03:00
Terrains.json Resolves #9703 - AI only buys tiles contiguous to the current city tiles (was: contiguous to civ tiles) 2023-06-30 15:13:14 +03:00
TileImprovements.json Make City center minimum tile yields moddable (#8804) 2023-03-13 17:02:08 +02:00
TileResources.json Improved clarity and moddability of building improvements (#6712) 2022-05-11 00:35:21 +02:00
UnitPromotions.json Add Air Sweep (#7484) 2022-07-27 22:16:53 +03:00
Units.json All units can be automated 2023-03-13 16:55:50 +02:00
UnitTypes.json Add Air Sweep (#7484) 2022-07-27 22:16:53 +03:00
VictoryTypes.json Victory screen reorg/cleanup (#9111) 2023-04-04 10:49:58 +03:00