Fixed "Positive" diplomatic modifier for warmongering
This commit is contained in:
parent
87a746f79b
commit
ef272b3208
4 changed files with 10 additions and 3 deletions
|
@ -500,7 +500,11 @@
|
|||
Russian:"Ваша воинственность для нас неприемлема."
|
||||
Czech:"Vaše chování je pro nás nepřijatelné."
|
||||
German:"Ihr kriegerisches Verhalten ist für uns inakzeptabel."
|
||||
}
|
||||
},
|
||||
|
||||
"We applaud your liberation of conquered cities!": {
|
||||
|
||||
},
|
||||
|
||||
"You have captured our cities!":{
|
||||
Italian:"Hai preso una delle nostre città!"
|
||||
|
|
|
@ -420,7 +420,7 @@ class CityInfo {
|
|||
val otherCivsRespecForLiberating = (respecForLiberatingOurCity / 10).roundToInt().toFloat()
|
||||
for (thirdPartyCiv in conqueringCiv.getKnownCivs().filter { it.isMajorCiv() && it != oldOwningCiv }) {
|
||||
thirdPartyCiv.getDiplomacyManager(conqueringCiv)
|
||||
.addModifier(DiplomaticModifiers.WarMongerer, otherCivsRespecForLiberating) // Cool, keep at at! =D
|
||||
.addModifier(DiplomaticModifiers.LiberatedCity, otherCivsRespecForLiberating) // Cool, keep at at! =D
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -48,6 +48,7 @@ enum class DiplomaticModifiers{
|
|||
|
||||
YearsOfPeace,
|
||||
SharedEnemy,
|
||||
LiberatedCity,
|
||||
DeclarationOfFriendship,
|
||||
DeclaredFriendshipWithOurAllies,
|
||||
DenouncedOurEnemies,
|
||||
|
@ -283,6 +284,7 @@ class DiplomacyManager() {
|
|||
revertToZero(DiplomaticModifiers.RefusedToNotSettleCitiesNearUs, 1 / 4f)
|
||||
revertToZero(DiplomaticModifiers.BetrayedPromiseToNotSettleCitiesNearUs, 1 / 8f) // That's a bastardly thing to do
|
||||
revertToZero(DiplomaticModifiers.UnacceptableDemands, 1 / 4f)
|
||||
revertToZero(DiplomaticModifiers.LiberatedCity, 1 / 8f)
|
||||
|
||||
if (!hasFlag(DiplomacyFlags.DeclarationOfFriendship))
|
||||
revertToZero(DiplomaticModifiers.DeclarationOfFriendship, 1 / 2f) //decreases slowly and will revert to full if it is declared later
|
||||
|
@ -327,7 +329,7 @@ class DiplomacyManager() {
|
|||
|
||||
for(thirdCiv in civInfo.getKnownCivs()){
|
||||
if(thirdCiv.isAtWarWith(otherCiv))
|
||||
thirdCiv.getDiplomacyManager(civInfo).addModifier(DiplomaticModifiers.WarMongerer,5f)
|
||||
thirdCiv.getDiplomacyManager(civInfo).addModifier(DiplomaticModifiers.SharedEnemy,5f)
|
||||
else thirdCiv.getDiplomacyManager(civInfo).addModifier(DiplomaticModifiers.WarMongerer,-5f)
|
||||
}
|
||||
|
||||
|
|
|
@ -260,6 +260,7 @@ class DiplomacyScreen(val viewingCiv:CivilizationInfo):CameraStageBaseScreen() {
|
|||
var text = when (valueOf(modifier.key)) {
|
||||
DeclaredWarOnUs -> "You declared war on us!"
|
||||
WarMongerer -> "Your warmongering ways are unacceptable to us."
|
||||
LiberatedCity -> "We applaud your liberation of conquered cities!"
|
||||
CapturedOurCities -> "You have captured our cities!"
|
||||
YearsOfPeace -> "Years of peace have strengthened our relations."
|
||||
SharedEnemy -> "Our mutual military struggle brings us closer together."
|
||||
|
|
Loading…
Reference in a new issue