public static void ApplyPeace(Kingdom kingdomMakingPeace, Kingdom otherKingdom, bool forcePlayerCharacterCosts = false) { HybridCost diplomacyCost = DiplomacyCostCalculator.DetermineCostForMakingPeace(kingdomMakingPeace, otherKingdom, forcePlayerCharacterCosts); if (!otherKingdom.Leader.IsHumanPlayerCharacter) { AcceptPeace(kingdomMakingPeace, otherKingdom, diplomacyCost); } else if (!CooldownManager.HasPeaceProposalCooldownWithPlayerKingdom(kingdomMakingPeace)) { CreatePeaceInquiry(kingdomMakingPeace, otherKingdom, diplomacyCost); } }