]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Remove Rat King from MouseMigration and add it to it's own Event (#28872)
authorcrasg <109207982+Scruq445@users.noreply.github.com>
Fri, 14 Jun 2024 02:12:24 +0000 (19:12 -0700)
committerGitHub <noreply@github.com>
Fri, 14 Jun 2024 02:12:24 +0000 (12:12 +1000)
Resources/Prototypes/GameRules/events.yml

index d3b0971be081c72d0ba494c5216e27e584e380b8..04918578fa3e0a5fab2f75bfc026368e2d7d8697 100644 (file)
       prob: 0.02
     - id: MobMouseCancer
       prob: 0.001
+# Events always spawn a critter regardless of Probability https://github.com/space-wizards/space-station-14/issues/28480 I added the Rat King to their own event with a player cap.
+
+- type: entity
+  id: KingRatMigration
+  parent: BaseStationEventShortDelay
+  components:
+  - type: StationEvent
+    startAnnouncement: station-event-vent-creatures-start-announcement
+    startAudio:
+      path: /Audio/Announcements/attention.ogg
+    earliestStart: 15
+    weight: 6
+    duration: 50
+    minimumPlayers: 15 # Hopefully this is enough for the Rat King's potential Army
+  - type: VentCrittersRule
+    entries:
+    - id: MobMouse
+      prob: 0.02
+    - id: MobMouse1
+      prob: 0.02
+    - id: MobMouse2
+      prob: 0.02
+    - id: MobMouseCancer
+      prob: 0.001
     specialEntries:
     - id: SpawnPointGhostRatKing
       prob: 0.001