add immovable rod event (#17278)

This commit is contained in:
Slava0135
2023-07-02 16:40:07 +03:00
committed by GitHub
parent 9194c548f8
commit 41cf8cc554
6 changed files with 90 additions and 9 deletions

View File

@@ -0,0 +1 @@
station-event-immovable-rod-start-announcement = High velocity unidentified object is on a collision course with the station. Impact imminent.

View File

@@ -1,6 +1,4 @@
# Immovable rod
- type: entity
- type: entity
id: ImmovableRod
name: immovable rod
description: You can sense that it's hungry. That's usually a bad sign.
@@ -33,12 +31,32 @@
layer:
- Impassable
- Opaque
- type: WarpPoint
follow: true
location: immovable rod
- type: entity
parent: ImmovableRod
id: ImmovableRodSlow
suffix: Slow
parent: ImmovableRod
components:
- type: ImmovableRod
minSpeed: 1
maxSpeed: 5
- type: entity
parent: ImmovableRod
id: ImmovableRodKeepTiles
suffix: Keep Tiles
components:
- type: ImmovableRod
destroyTiles: false
hitSoundProbability: 1.0
- type: entity
parent: ImmovableRodKeepTiles
id: ImmovableRodKeepTilesStill
suffix: Keep Tiles, Still
components:
- type: ImmovableRod
randomizeVelocity: false

View File

@@ -332,3 +332,18 @@
maxSoundDistance: 7
sounds:
collection: Paracusia
- type: entity
id: ImmovableRodSpawn
parent: BaseGameRule
noSpawn: true
components:
- type: StationEvent
startAnnouncement: station-event-immovable-rod-start-announcement
startAudio:
path: /Audio/Announcements/attention.ogg
weight: 1
duration: 1
earliestStart: 45
minimumPlayers: 20
- type: ImmovableRodRule