mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-15 18:28:42 +07:00
Game speed now affects golden age turns
This commit is contained in:
@ -28,6 +28,7 @@ class GoldenAgeManager{
|
||||
var turnsToGoldenAge = 10.0
|
||||
if (civInfo.containsBuildingUnique("Golden Age length increases +50%")) turnsToGoldenAge *= 1.5
|
||||
if (civInfo.policies.isAdopted("Freedom Complete")) turnsToGoldenAge *= 1.5
|
||||
turnsToGoldenAge *= civInfo.gameInfo.gameParameters.gameSpeed.getModifier()
|
||||
turnsLeftForCurrentGoldenAge += turnsToGoldenAge.toInt()
|
||||
civInfo.addNotification("You have entered a golden age!", null, Color.GOLD)
|
||||
}
|
||||
|
@ -221,7 +221,7 @@ class DiplomacyScreen:CameraStageBaseScreen() {
|
||||
|
||||
val demandsButton = TextButton("Demands".tr(),skin)
|
||||
demandsButton.onClick {
|
||||
rightSideTable.clear();
|
||||
rightSideTable.clear()
|
||||
rightSideTable.add(getDemandsTable(currentPlayerCiv,otherCiv))
|
||||
}
|
||||
diplomacyTable.add(demandsButton).row()
|
||||
|
Reference in New Issue
Block a user