diff --git a/TouchyTickets/Content/Localization/Localization.json b/TouchyTickets/Content/Localization/Localization.json index 2fe02f7..f3a370b 100644 --- a/TouchyTickets/Content/Localization/Localization.json +++ b/TouchyTickets/Content/Localization/Localization.json @@ -39,6 +39,12 @@ "MapSize4Description": "Increases your park's buildable area even more. Existing attractions are not removed.", "MapSize5": "Biggestest Park", "MapSize5Description": "Increases your park's buildable area to the maximum. Existing attractions are not removed.", + "TapIncrease1": "Super Tap", + "TapIncrease1Description": "Increases the amount of tickets gained by tapping the ticket booth to 5", + "TapIncrease2": "Mega Tap", + "TapIncrease2Description": "Increases the amount of tickets gained by tapping the ticket booth to 10", + "TapIncrease3": "Hyper Tap", + "TapIncrease3Description": "Increases the amount of tickets gained by tapping the ticket booth to 50", "FoodCourtModifier": "Tasty Treats", "FoodCourtModifierDescription": "Doubles ticket sales for all attractions adjacent to food courts.", "FerrisWheelModifier": "Crowded Pods", diff --git a/TouchyTickets/Content/Textures/Ui.aseprite b/TouchyTickets/Content/Textures/Ui.aseprite index 61dfa30..3acdc6a 100644 Binary files a/TouchyTickets/Content/Textures/Ui.aseprite and b/TouchyTickets/Content/Textures/Ui.aseprite differ diff --git a/TouchyTickets/Content/Textures/Ui.png b/TouchyTickets/Content/Textures/Ui.png index d3bb9cc..9a7d118 100644 Binary files a/TouchyTickets/Content/Textures/Ui.png and b/TouchyTickets/Content/Textures/Ui.png differ diff --git a/TouchyTickets/Ui.cs b/TouchyTickets/Ui.cs index 3721709..6f03f42 100644 --- a/TouchyTickets/Ui.cs +++ b/TouchyTickets/Ui.cs @@ -89,11 +89,18 @@ namespace TouchyTickets { }); storeGroup.AddChild(new Image(Anchor.TopLeft, Vector2.One, Texture[0, 0, 2, 3]) { OnPressed = e => { + var rate = 1; + if (Upgrade.TapIncrease[2].IsActive()) { + rate = 50; + } else if (Upgrade.TapIncrease[1].IsActive()) { + rate = 10; + } else if (Upgrade.TapIncrease[0].IsActive()) { + rate = 5; + } #if DEBUG - GameImpl.Instance.Tickets += 500000; - #else - GameImpl.Instance.Tickets++; + rate = 500000; #endif + GameImpl.Instance.Tickets += rate; }, CanBeSelected = true, CanBeMoused = true diff --git a/TouchyTickets/Upgrade.cs b/TouchyTickets/Upgrade.cs index 15e850c..e69bee3 100644 --- a/TouchyTickets/Upgrade.cs +++ b/TouchyTickets/Upgrade.cs @@ -9,6 +9,7 @@ namespace TouchyTickets { public static readonly Dictionary Upgrades = new Dictionary(); public static readonly Upgrade[] MapSize = RegisterTiers("MapSize", 5, 1, 1, Ui.Texture[0, 3]); + public static readonly Upgrade[] TapIncrease = RegisterTiers("TapIncrease", 3, 1, 0.5F, Ui.Texture[6, 3]); public static readonly Upgrade FerrisWheelModifier = Register(new Upgrade("FerrisWheelModifier", 1, Ui.Texture[2, 3])); public static readonly Upgrade FoodCourtModifier = Register(new Upgrade("FoodCourtModifier", 2, Ui.Texture[1, 3])); public static readonly Upgrade RollerCoasterModifier = Register(new Upgrade("RollerCoasterModifier", 2, Ui.Texture[3, 3]));