modified crowded pods to be more inline with upgrade design
This commit is contained in:
parent
060c69007d
commit
4e55392fe3
3 changed files with 4 additions and 4 deletions
|
@ -50,6 +50,8 @@ namespace TouchyTickets.Attractions {
|
||||||
genRate *= (float) Math.Pow(modifier.Modifier.Multiplier, modifier.Amount);
|
genRate *= (float) Math.Pow(modifier.Modifier.Multiplier, modifier.Amount);
|
||||||
|
|
||||||
// apply star upgrades
|
// apply star upgrades
|
||||||
|
if (Upgrade.FerrisWheelModifier.IsActive() && this.GetSurrounding(map, position, FerrisWheel).Any())
|
||||||
|
genRate *= 2;
|
||||||
if (Upgrade.FoodCourtModifier.IsActive() && this.GetSurrounding(map, position, FoodCourt).Any())
|
if (Upgrade.FoodCourtModifier.IsActive() && this.GetSurrounding(map, position, FoodCourt).Any())
|
||||||
genRate *= 2;
|
genRate *= 2;
|
||||||
if (Upgrade.SpiralSlideModifier.IsActive() && this.GetSurrounding(map, position, SpiralSlide).Any())
|
if (Upgrade.SpiralSlideModifier.IsActive() && this.GetSurrounding(map, position, SpiralSlide).Any())
|
||||||
|
|
|
@ -48,8 +48,6 @@ namespace TouchyTickets.Attractions {
|
||||||
public float GetGenerationRate() {
|
public float GetGenerationRate() {
|
||||||
var genRate = this.generationPerSecond;
|
var genRate = this.generationPerSecond;
|
||||||
|
|
||||||
if (this == FerrisWheel && Upgrade.FerrisWheelModifier.IsActive())
|
|
||||||
genRate *= 4;
|
|
||||||
if (this.Flags.HasFlag(FastCars) && Upgrade.RollerCoasterModifier.IsActive())
|
if (this.Flags.HasFlag(FastCars) && Upgrade.RollerCoasterModifier.IsActive())
|
||||||
genRate *= 2;
|
genRate *= 2;
|
||||||
if (this.Flags.HasFlag(Walking) && Upgrade.ManualRideModifier.IsActive())
|
if (this.Flags.HasFlag(Walking) && Upgrade.ManualRideModifier.IsActive())
|
||||||
|
|
|
@ -66,7 +66,7 @@
|
||||||
"FoodCourtModifier": "Tasty Treats",
|
"FoodCourtModifier": "Tasty Treats",
|
||||||
"FoodCourtModifierDescription": "Doubles ticket sales for all attractions adjacent to food courts.",
|
"FoodCourtModifierDescription": "Doubles ticket sales for all attractions adjacent to food courts.",
|
||||||
"FerrisWheelModifier": "Crowded Pods",
|
"FerrisWheelModifier": "Crowded Pods",
|
||||||
"FerrisWheelModifierDescription": "Quadruples ticket sales for ferris wheels. Who cares about fire safety?",
|
"FerrisWheelModifierDescription": "Allows more people to oversee the area from ferris wheels. Doubles ticket sales for adjacent rides.",
|
||||||
"RollerCoasterModifier": "No Brakes",
|
"RollerCoasterModifier": "No Brakes",
|
||||||
"RollerCoasterModifierDescription": "Increases the speed of all car-based attractions, doubling their ticket sales.",
|
"RollerCoasterModifierDescription": "Increases the speed of all car-based attractions, doubling their ticket sales.",
|
||||||
"ManualRideModifier": "Push and Shove",
|
"ManualRideModifier": "Push and Shove",
|
||||||
|
|
Loading…
Reference in a new issue