on-ride cameras

This commit is contained in:
Ellpeck 2020-06-11 01:18:06 +02:00
parent 84828192ac
commit 831e3ddc8c
5 changed files with 9 additions and 5 deletions

View file

@ -9,7 +9,7 @@ namespace TouchyTickets.Attractions {
Relaxed = 1, Relaxed = 1,
Cars = 2, Cars = 2,
Walking = 4, Walking = 4,
FastCars = Cars | 8, FastCars = 8,
All = ~0 All = ~0
} }

View file

@ -3,6 +3,7 @@ using System.Collections.Generic;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using MLEM.Textures; using MLEM.Textures;
using Newtonsoft.Json; using Newtonsoft.Json;
using static TouchyTickets.Attractions.AttractionFlags;
namespace TouchyTickets.Attractions { namespace TouchyTickets.Attractions {
[JsonConverter(typeof(Converter))] [JsonConverter(typeof(Converter))]
@ -11,10 +12,11 @@ namespace TouchyTickets.Attractions {
public static readonly Dictionary<string, AttractionModifier> Modifiers = new Dictionary<string, AttractionModifier>(); public static readonly Dictionary<string, AttractionModifier> Modifiers = new Dictionary<string, AttractionModifier>();
static AttractionModifier() { static AttractionModifier() {
Register(new AttractionModifier("Lubricant", 200, AttractionFlags.Cars, 1.02F, Ui.Texture[0, 4])); Register(new AttractionModifier("Lubricant", 200, Cars | FastCars, 1.02F, Ui.Texture[0, 4]));
Register(new AttractionModifier("LouderMusic", 500, AttractionFlags.Relaxed, 1.05F, Ui.Texture[2, 4])); Register(new AttractionModifier("LouderMusic", 500, Relaxed, 1.03F, Ui.Texture[2, 4]));
Register(new AttractionModifier("LongerQueue", 1000, AttractionFlags.All, 1.1F, Ui.Texture[1, 4])); Register(new AttractionModifier("LongerQueue", 1000, All, 1.06F, Ui.Texture[1, 4]));
Register(new AttractionModifier("Bouncer", 1500, AttractionFlags.Walking, 1.05F, Ui.Texture[3, 4])); Register(new AttractionModifier("Bouncer", 1500, Walking, 1.2F, Ui.Texture[3, 4]));
Register(new AttractionModifier("OnRideCameras", 2500, FastCars, 1.1F, Ui.Texture[4, 4]));
} }
public readonly string Name; public readonly string Name;

View file

@ -46,6 +46,8 @@
"LouderMusicDescription": "Relaxed rides play louder music, causing riders to leave faster.", "LouderMusicDescription": "Relaxed rides play louder music, causing riders to leave faster.",
"Bouncer": "Bouncers", "Bouncer": "Bouncers",
"BouncerDescription": "Bouncers are placed at walking-based rides, allowing only young, energetic people to enter.", "BouncerDescription": "Bouncers are placed at walking-based rides, allowing only young, energetic people to enter.",
"OnRideCameras": "On-Ride Pictures",
"OnRideCamerasDescription": "Cameras are installed on rides, allowing riders to purchase an on-ride picture.",
"----- Upgrades -----": "", "----- Upgrades -----": "",
"MapSize1": "Big Park", "MapSize1": "Big Park",
"MapSize1Description": "Increases your park's buildable area. Existing attractions are not removed.", "MapSize1Description": "Increases your park's buildable area. Existing attractions are not removed.",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB