]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
fix events starting instantly (#16134)
authorNemanja <98561806+EmoGarbage404@users.noreply.github.com>
Sat, 6 May 2023 01:24:16 +0000 (21:24 -0400)
committerGitHub <noreply@github.com>
Sat, 6 May 2023 01:24:16 +0000 (11:24 +1000)
Resources/Prototypes/GameRules/events.yml

index 6d9f4a7fb096261a0a0ff4ed6ded2a5bc8187cb9..d1b50a302b38fa4e14d44874185d741769c10033 100644 (file)
@@ -5,7 +5,7 @@
   components:
   - type: StationEvent
     weight: 10
-    startAfter: 30
+    startDelay: 30
     duration: 35
   - type: AnomalySpawnRule
 
@@ -16,7 +16,7 @@
   components:
   - type: StationEvent
     weight: 5
-    startAfter: 30
+    startDelay: 30
     duration: 35
   - type: BluespaceArtifactRule
 
     earliestStart: 10
     minimumPlayers: 5
     weight: 5
-    startAfter: 20
+    startDelay: 20
   - type: GasLeakRule
 
 - type: entity
     earliestStart: 15
     minimumPlayers: 15
     weight: 5
-    startAfter: 50
+    startDelay: 50
     duration: 240
   - type: KudzuGrowthRule
 
       params:
         volume: -4
     duration: null #ending is handled by MeteorSwarmRule
-    startAfter: 30
+    startDelay: 30
   - type: MeteorSwarmRule
 
 - type: entity
       path: /Audio/Announcements/power_off.ogg
       params:
        volume: -4
-    startAfter: 12
+    startDelay: 12
     duration: 60
     maxDuration: 120
   - type: PowerGridCheckRule
     earliestStart: 15
     minimumPlayers: 15
     weight: 5
-    startAfter: 50
+    startDelay: 50
     duration: 60
   - type: VentClogRule