Exemple #1
0
 private void ConsiderPeaceActions(Kingdom kingdom)
 {
     foreach (Kingdom targetKingdom in FactionManager.GetEnemyKingdoms(kingdom))
     {
         if (_warExhaustionManager.HasMaxWarExhaustion(kingdom, targetKingdom) && IsValidQuestState(kingdom, targetKingdom))
         {
             KingdomPeaceAction.ApplyPeace(kingdom, targetKingdom);
         }
     }
 }
 private void ExecuteExecutiveAction()
 {
     KingdomPeaceAction.ApplyPeace(Faction1 as Kingdom, Faction2 as Kingdom, forcePlayerCharacterCosts: true);
 }