Skip to content

Commit baf9bb9

Browse files
authored
Add snakes to vent spawn event (space-wizards#32070)
Add snakes to vents
1 parent def864d commit baf9bb9

File tree

1 file changed

+41
-20
lines changed

1 file changed

+41
-20
lines changed

Resources/Prototypes/GameRules/events.yml

+41-20
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
- id: RandomSentience
2020
- id: SlimesSpawn
2121
- id: SolarFlare
22+
- id: SnakeSpawn
2223
- id: SpiderClownSpawn
2324
- id: SpiderSpawn
2425
- id: VentClog
@@ -35,36 +36,35 @@
3536
- id: SleeperAgents
3637
- id: ZombieOutbreak
3738

38-
3939
- type: entity
4040
id: BaseStationEvent
4141
parent: BaseGameRule
4242
abstract: true
4343
components:
44-
- type: GameRule
45-
delay:
46-
min: 10
47-
max: 20
44+
- type: GameRule
45+
delay:
46+
min: 10
47+
max: 20
4848

4949
- type: entity
5050
id: BaseStationEventShortDelay
5151
parent: BaseGameRule
5252
abstract: true
5353
components:
54-
- type: GameRule
55-
delay:
56-
min: 10
57-
max: 20
54+
- type: GameRule
55+
delay:
56+
min: 10
57+
max: 20
5858

5959
- type: entity
6060
id: BaseStationEventLongDelay
6161
parent: BaseGameRule
6262
abstract: true
6363
components:
64-
- type: GameRule
65-
delay:
66-
min: 40
67-
max: 60
64+
- type: GameRule
65+
delay:
66+
min: 40
67+
max: 60
6868

6969
- type: entity
7070
id: AnomalySpawn
@@ -286,7 +286,7 @@
286286
startAudio:
287287
path: /Audio/Announcements/power_off.ogg
288288
params:
289-
volume: -4
289+
volume: -4
290290
duration: 60
291291
maxDuration: 120
292292
- type: PowerGridCheckRule
@@ -354,6 +354,27 @@
354354
- id: MobAdultSlimesYellowAngry
355355
prob: 0.02
356356

357+
- type: entity
358+
id: SnakeSpawn
359+
parent: BaseStationEventShortDelay
360+
components:
361+
- type: StationEvent
362+
startAnnouncement: station-event-vent-creatures-start-announcement
363+
startAudio:
364+
path: /Audio/Announcements/attention.ogg
365+
earliestStart: 20
366+
minimumPlayers: 15
367+
weight: 5
368+
duration: 60
369+
- type: VentCrittersRule
370+
entries:
371+
- id: MobPurpleSnake
372+
prob: 0.02
373+
- id: MobSmallPurpleSnake
374+
prob: 0.02
375+
- id: MobCobraSpace
376+
prob: 0.02
377+
357378
- type: entity
358379
id: SpiderSpawn
359380
parent: BaseStationEventShortDelay
@@ -518,9 +539,9 @@
518539
id: MimicVendorRule
519540
parent: BaseGameRule
520541
components:
521-
- type: StationEvent
522-
earliestStart: 0
523-
minimumPlayers: 20
524-
maxOccurrences: 1 # this event has diminishing returns on interesting-ness, so we cap it
525-
weight: 5
526-
- type: MobReplacementRule
542+
- type: StationEvent
543+
earliestStart: 0
544+
minimumPlayers: 20
545+
maxOccurrences: 1 # this event has diminishing returns on interesting-ness, so we cap it
546+
weight: 5
547+
- type: MobReplacementRule

0 commit comments

Comments
 (0)