diff --git a/TouchyTickets/Content/Localization/Localization.de.json b/TouchyTickets/Content/Localization/Localization.de.json index 0105b19..a452e11 100644 --- a/TouchyTickets/Content/Localization/Localization.de.json +++ b/TouchyTickets/Content/Localization/Localization.de.json @@ -7,7 +7,7 @@ "ReallyEarnStar": "Wenn du jetzt deine eintauschst, erhältst du {0}. Alle platzierten Attraktionen und deine werden gelöscht. Bist du sicher?", "Yes": "Ja", "Okay": "Okay", - "RequiresTickets": "{0} für 1. Höchstens {1}.", + "RequiresTickets": "{0} für 1. Höchstens 3.", "AppliedUpgrades": "Aktives Upgrade", "Options": "Optionen", "RainingTicketLimit": "Max. Fallende Tickets", diff --git a/TouchyTickets/Content/Localization/Localization.json b/TouchyTickets/Content/Localization/Localization.json index 2a8fcbc..dc2d7a5 100644 --- a/TouchyTickets/Content/Localization/Localization.json +++ b/TouchyTickets/Content/Localization/Localization.json @@ -7,7 +7,7 @@ "ReallyEarnStar": "Cashing in your now would earn you {0}. It will also remove all placed attractions and reset your . Are you sure?", "Yes": "Yes", "Okay": "Okay", - "RequiresTickets": "{0} for 1. Maximum {1}.", + "RequiresTickets": "{0} for 1. Maximum 3.", "AppliedUpgrades": "Active Upgrades", "Options": "Options", "RainingTicketLimit": "Max Raining Tickets", diff --git a/TouchyTickets/GameImpl.cs b/TouchyTickets/GameImpl.cs index 6ad99b8..c2ef59e 100644 --- a/TouchyTickets/GameImpl.cs +++ b/TouchyTickets/GameImpl.cs @@ -108,12 +108,8 @@ namespace TouchyTickets { return 1000000000 * BigInteger.Pow(10, this.TimesRestarted); } - public int GetMaxStars() { - return 3 * (this.TimesRestarted + 1); - } - public int GetBuyableStars() { - return Math.Min(this.GetMaxStars(), (int) (this.Tickets / this.GetStarPrice())); + return Math.Min(3, (int) (this.Tickets / this.GetStarPrice())); } } diff --git a/TouchyTickets/Ui.cs b/TouchyTickets/Ui.cs index b8e9fac..befeef3 100644 --- a/TouchyTickets/Ui.cs +++ b/TouchyTickets/Ui.cs @@ -339,7 +339,7 @@ namespace TouchyTickets { this.uiSystem.Add("ReallyEarnStarBox", infoBox); } }); - upgradeHeader.AddChild(new Paragraph(Anchor.AutoCenter, 1, p => string.Format(Localization.Get("RequiresTickets"), PrettyPrintNumber(GameImpl.Instance.GetStarPrice()), GameImpl.Instance.GetMaxStars()), true) { + upgradeHeader.AddChild(new Paragraph(Anchor.AutoCenter, 1, p => string.Format(Localization.Get("RequiresTickets"), PrettyPrintNumber(GameImpl.Instance.GetStarPrice())), true) { PositionOffset = new Vector2(0, 2) }); var upgradeList = upgradeUi.AddChild(new Panel(Anchor.AutoLeft, new Vector2(1), Vector2.Zero, false, true, new Point(10, 30), false) {