[Ready] SoundComponent (#164)
Requires https://github.com/space-wizards/space-station-14/pull/768 - [x] Play sounds - [x] SoundSchedules actually work - [x] Send sound to specific users - [x] Make existing components use SoundComponent - [x] Add ScheduledSounds from prototypes - [x] Add Play methods equivalent to those of AudioSystem. - [x] Document most code.
This commit is contained in:
committed by
Pieter-Jan Briers
parent
8926669f3a
commit
d090e98bd4
@@ -4,6 +4,7 @@
|
||||
components:
|
||||
- type: Clickable
|
||||
- type: BoundingBox
|
||||
- type: Sound
|
||||
- type: Sprite
|
||||
sprite: Buildings/light_tube.rsi
|
||||
state: on
|
||||
|
||||
@@ -95,6 +95,7 @@
|
||||
type: ApcBoundUserInterface
|
||||
- type: BoundingBox
|
||||
aabb: -0.25, -0.25, 0.25, 0.3
|
||||
- type: Sound
|
||||
|
||||
- type: entity
|
||||
id: SMES
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
Size: 24
|
||||
sprite: Objects/laser_retro.rsi
|
||||
prefix: 100
|
||||
- type: Sound
|
||||
|
||||
- type: entity
|
||||
name: Spear
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
- type: Icon
|
||||
sprite: Objects/c20r.rsi
|
||||
state: c20r-5
|
||||
- type: Sound
|
||||
- type: RangedWeapon
|
||||
automatic: true
|
||||
firerate: 8
|
||||
|
||||
Reference in New Issue
Block a user