Skip to content

Commit

Permalink
Nerf event scheduler (again) and gas leak (cosmatic-drift-14#369)
Browse files Browse the repository at this point in the history
  • Loading branch information
dffdff2423 authored Aug 21, 2024
1 parent 5493d5d commit 32ca77c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Content.Server.StationEvents.Events;
using Content.Server.StationEvents.Events;
using Content.Shared.Atmos;
using Robust.Shared.Map;

Expand Down Expand Up @@ -42,6 +42,6 @@ public sealed partial class GasLeakRuleComponent : Component
public int MaximumMolesPerSecond = 200;

public int MinimumGas = 1000;
public int MaximumGas = 4000;
public int MaximumGas = 3000; // CD: Nerf max gas a bit to hopefully stop it from hijacking the round as often.
public float SparkChance = 0.05f;
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ public sealed partial class RampingStationEventSchedulerComponent : Component
/// Max chaos chosen for a round will deviate from this
/// </summary>
[DataField]
public float AverageChaos = 4f;
public float AverageChaos = 3f;

/// <summary>
/// Average time (in minutes) for when the ramping event scheduler should stop increasing the chaos modifier.
/// Close to how long you expect a round to last, so you'll probably have to tweak this on downstreams.
/// </summary>
[DataField]
public float AverageEndTime = 200f;
public float AverageEndTime = 240f;

[DataField]
public float EndTime;
Expand Down
17 changes: 10 additions & 7 deletions Resources/Prototypes/GameRules/meteorswarms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
components:
- type: GameRule
- type: BasicStationEventScheduler
minimumTimeUntilFirstEvent: 1200 # 20 min
minimumTimeUntilFirstEvent: 1200 # 20 min
minMaxEventTiming:
min: 4500 # CD Change: 75 min
max: 5400 # CD Change: 90 min
Expand Down Expand Up @@ -138,8 +138,9 @@
min: 2
max: 3
meteorsPerWave:
min: 8
max: 12
# CD: Decrease count
min: 6
max: 10

- type: entity
parent: GameRuleMeteorSwarm
Expand All @@ -150,8 +151,9 @@
minimumPlayers: 15
- type: MeteorSwarm
meteors:
MeteorSmall: 7
MeteorMedium: 3
# CD: Decrease count
MeteorSmall: 5
MeteorMedium: 2

- type: entity
parent: GameRuleMeteorSwarm
Expand All @@ -161,8 +163,9 @@
weight: 5
- type: MeteorSwarm
meteors:
MeteorSmall: 3
MeteorMedium: 6
# CD: Decrease count
MeteorSmall: 2
MeteorMedium: 3
MeteorLarge: 1

# - type: entity
Expand Down

0 comments on commit 32ca77c

Please sign in to comment.