Guard bell (#1242)
* add Guard Bell * revert vanila changes, add same functionality * revert more vanila changes, replace .ogg, fix locale and locale usage * Update GuardBell.yml * Update base.yml * add attributions.yml for alerts * try changing to proper license --------- Co-authored-by: Ed <96445749+TheShuEd@users.noreply.github.com>
This commit is contained in:
22
Resources/Prototypes/_CP14/AlertLevels/alert_levels.yml
Normal file
22
Resources/Prototypes/_CP14/AlertLevels/alert_levels.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
- type: alertLevels
|
||||
id: CP14TownAlerts
|
||||
defaultLevel: safe
|
||||
levels:
|
||||
safe:
|
||||
announcement: cp14-alert-level-safe-announcement
|
||||
sound: /Audio/_CP14/Misc/safe-alert.ogg
|
||||
color: Green
|
||||
emergencyLightColor: LawnGreen
|
||||
shuttleTime: 600
|
||||
minor:
|
||||
announcement: cp14-alert-level-minor-announcement
|
||||
sound: /Audio/_CP14/Misc/minor-alert.ogg
|
||||
color: DodgerBlue
|
||||
emergencyLightColor: DodgerBlue
|
||||
shuttleTime: 600
|
||||
major:
|
||||
announcement: cp14-alert-level-major-announcement
|
||||
sound: /Audio/_CP14/Misc/major-alert.ogg
|
||||
color: Red
|
||||
emergencyLightColor: Red
|
||||
shuttleTime: 600
|
||||
@@ -0,0 +1,20 @@
|
||||
- type: entity
|
||||
parent: BaseStructure
|
||||
id: CP14GuardBell
|
||||
name: guard bell
|
||||
description: A bell used to set the appropriate alert level.
|
||||
categories: [ ForkFiltered ]
|
||||
components:
|
||||
- type: Sprite
|
||||
drawdepth: Mobs
|
||||
sprite: _CP14/Structures/Specific/Guard/guard_bell.rsi
|
||||
layers:
|
||||
- state: base
|
||||
- type: ActivatableUI
|
||||
key: enum.CommunicationsConsoleUiKey.Key
|
||||
- type: CommunicationsConsole
|
||||
title: cp14-guard-bell-menu-title
|
||||
- type: UserInterface
|
||||
interfaces:
|
||||
enum.CommunicationsConsoleUiKey.Key:
|
||||
type: GuardBellBoundUserInterface
|
||||
@@ -5,7 +5,7 @@
|
||||
- BaseStation
|
||||
- BaseStationAllEventsEligible
|
||||
- BaseStationJobsSpawning
|
||||
- BaseStationAlertLevels #Checks fail without it
|
||||
- CP14BaseTownAlerts
|
||||
- BaseStationRecords # Required for lobby manifest + cryo leave
|
||||
- CP14BaseStationCommonObjectives
|
||||
- CP14BaseStationSalary
|
||||
@@ -26,8 +26,15 @@
|
||||
salary:
|
||||
CP14Guard: 550
|
||||
|
||||
- type: entity
|
||||
id: CP14BaseTownAlerts
|
||||
abstract: true
|
||||
components:
|
||||
- type: AlertLevel
|
||||
alertLevelPrototype: CP14TownAlerts
|
||||
|
||||
- type: entity
|
||||
id: CP14BaseStationDemiplaneMap
|
||||
abstract: true
|
||||
components:
|
||||
- type: CP14StationDemiplaneMap
|
||||
- type: CP14StationDemiplaneMap
|
||||
|
||||
Reference in New Issue
Block a user