Фиксы метеоров (#410)
* Missing meteor presets (#29044) * add meteors into missing game presets * changes for real * implement code * this too * Revert "Missing meteor presets (#29044)" This reverts commit d6554159b30d395b2ab0a1e47b67efcf895be903. * add: more meteors * add: less meteors --------- Co-authored-by: Nemanja <98561806+EmoGarbage404@users.noreply.github.com>
This commit is contained in:
@@ -48,11 +48,11 @@ public sealed partial class MeteorSwarmComponent : Component
|
||||
public Dictionary<EntProtoId, float> Meteors = new();
|
||||
|
||||
[DataField]
|
||||
public MinMax Waves = new(3, 3);
|
||||
public MinMax Waves = new(2, 4);
|
||||
|
||||
[DataField]
|
||||
public MinMax MeteorsPerWave = new(3, 4);
|
||||
|
||||
[DataField]
|
||||
public MinMax WaveCooldown = new (10, 60);
|
||||
public MinMax WaveCooldown = new (30, 60);
|
||||
}
|
||||
|
||||
@@ -125,13 +125,13 @@ namespace Content.Shared.CCVar
|
||||
/// Minimum time between meteor swarms in minutes.
|
||||
/// </summary>
|
||||
public static readonly CVarDef<float>
|
||||
MeteorSwarmMinTime = CVarDef.Create("events.meteor_swarm_min_time", 12.5f, CVar.ARCHIVE | CVar.SERVERONLY);
|
||||
MeteorSwarmMinTime = CVarDef.Create("events.meteor_swarm_min_time", 20f, CVar.ARCHIVE | CVar.SERVERONLY);
|
||||
|
||||
/// <summary>
|
||||
/// Maximum time between meteor swarms in minutes.
|
||||
/// </summary>
|
||||
public static readonly CVarDef<float>
|
||||
MeteorSwarmMaxTime = CVarDef.Create("events.meteor_swarm_max_time", 17.5f, CVar.ARCHIVE | CVar.SERVERONLY);
|
||||
MeteorSwarmMaxTime = CVarDef.Create("events.meteor_swarm_max_time", 30f, CVar.ARCHIVE | CVar.SERVERONLY);
|
||||
|
||||
/*
|
||||
* Game
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
rules:
|
||||
- RampingStationEventScheduler
|
||||
- BasicRoundstartVariation
|
||||
- GameRuleMeteorScheduler
|
||||
|
||||
- type: gamePreset
|
||||
id: AllAtOnce
|
||||
@@ -24,6 +25,7 @@
|
||||
- Cult
|
||||
- Wizard
|
||||
- BasicRoundstartVariation
|
||||
- GameRuleMeteorScheduler
|
||||
|
||||
- type: gamePreset
|
||||
id: Extended
|
||||
@@ -175,6 +177,7 @@
|
||||
- Pirates
|
||||
- BasicStationEventScheduler
|
||||
- BasicRoundstartVariation
|
||||
- GameRuleMeteorScheduler
|
||||
|
||||
#WD EDIT START
|
||||
- type: gamePreset
|
||||
@@ -190,6 +193,7 @@
|
||||
- SubGamemodesRule
|
||||
- BasicStationEventScheduler
|
||||
- BasicRoundstartVariation
|
||||
- GameRuleMeteorScheduler
|
||||
|
||||
- type: gamePreset
|
||||
id: Changeling
|
||||
@@ -204,6 +208,7 @@
|
||||
- SubGamemodesRule
|
||||
- BasicStationEventScheduler
|
||||
- BasicRoundstartVariation
|
||||
- GameRuleMeteorScheduler
|
||||
|
||||
- type: gamePreset
|
||||
id: Wizard
|
||||
@@ -219,4 +224,5 @@
|
||||
- SubGamemodesRule
|
||||
- BasicStationEventScheduler
|
||||
- BasicRoundstartVariation
|
||||
- GameRuleMeteorScheduler
|
||||
#WD EDIT END
|
||||
|
||||
Reference in New Issue
Block a user