Fix missing sounds (#4466)

* Fix missing sounds

* Make SoundHitSpecies fallback to SoundHit

* Fix crayon YAML

* Update PlaySoundBehavior YAML

* Fix required
This commit is contained in:
ShadowCommander
2021-08-13 21:31:37 -07:00
committed by GitHub
parent e938234e8c
commit b8e6a996d4
29 changed files with 104 additions and 45 deletions

View File

@@ -25,7 +25,8 @@
damage: 5
behaviors:
- !type:PlaySoundBehavior
collection:: GlassBreak
sound:
collection: GlassBreak
- !type:SpillBehavior { }
- !type:SpawnEntitiesBehavior
spawn:

View File

@@ -104,7 +104,7 @@
# damage: 10
# behaviors:
# - !type:PlaySoundBehavior
# collection:: desecration
# collection: desecration
# - !type:SpawnEntitiesBehavior
# spawn:
# EggBoxBroken:

View File

@@ -28,7 +28,8 @@
damage: 5
behaviors:
- !type:PlaySoundBehavior
collection:: GlassBreak
sound:
collection: GlassBreak
- !type:SpawnEntitiesBehavior
spawn:
FoodPlateTrash:
@@ -67,7 +68,8 @@
damage: 5
behaviors:
- !type:PlaySoundBehavior
collection:: GlassBreak
sound:
collection: GlassBreak
- !type:SpawnEntitiesBehavior
spawn:
FoodPlateSmallTrash:

View File

@@ -56,7 +56,8 @@
damage: 6
behaviors:
- !type:PlaySoundBehavior
collection:: canOpenSounds
sound:
collection: canOpenSounds
- !type:SpawnEntitiesBehavior
spawn:
FoodTinPeachesOpen:
@@ -104,7 +105,8 @@
damage: 6
behaviors:
- !type:PlaySoundBehavior
collection:: canOpenSounds
sound:
collection: canOpenSounds
- !type:SpawnEntitiesBehavior
spawn:
FoodTinPeachesMaintOpen:
@@ -152,7 +154,8 @@
damage: 6
behaviors:
- !type:PlaySoundBehavior
collection:: canOpenSounds
sound:
collection: canOpenSounds
- !type:SpawnEntitiesBehavior
spawn:
FoodTinBeansOpen:
@@ -202,7 +205,8 @@
damage: 6
behaviors:
- !type:PlaySoundBehavior
collection:: canOpenSounds
sound:
collection: canOpenSounds
- !type:SpawnEntitiesBehavior
spawn:
FoodTinMREOpen:

View File

@@ -35,7 +35,8 @@
damage: 1
behaviors:
- !type:PlaySoundBehavior
collection:: desecration
sound:
collection: desecration
- !type:SpawnEntitiesBehavior
spawn:
Eggshells:

View File

@@ -60,7 +60,8 @@
damage: 2
behaviors:
- !type:PlaySoundBehavior
collection:: desecration
sound:
collection: desecration
- !type:SpawnEntitiesBehavior
spawn:
PuddleFlour:
@@ -95,7 +96,8 @@
damage: 2
behaviors:
- !type:PlaySoundBehavior
collection:: desecration
sound:
collection: desecration
- !type:SpawnEntitiesBehavior
spawn:
PuddleFlour:

View File

@@ -258,7 +258,8 @@
damage: 1
behaviors:
- !type:PlaySoundBehavior
collection:: desecration
sound:
collection: desecration
- !type:SpawnEntitiesBehavior
spawn:
PuddleTomato:

View File

@@ -27,7 +27,8 @@
damage: 5
behaviors:
- !type:PlaySoundBehavior
collection:: GlassBreak
sound:
collection: GlassBreak
- !type:SpillBehavior { }
- !type:SpawnEntitiesBehavior
spawn:

View File

@@ -34,7 +34,8 @@
damage: 5
behaviors:
- !type:PlaySoundBehavior
collection:: GlassBreak
sound:
collection: GlassBreak
- !type:SpillBehavior { }
- !type:SpawnEntitiesBehavior
spawn:

View File

@@ -29,7 +29,8 @@
damage: 5
behaviors:
- !type:PlaySoundBehavior
collection:: GlassBreak
sound:
collection: GlassBreak
- !type:SpillBehavior { }
- !type:SpawnEntitiesBehavior
spawn:

View File

@@ -15,6 +15,8 @@
interfaces:
- key: enum.CrayonUiKey.Key
type: CrayonBoundUserInterface
- type: Crayon
capacity: 5
- type: entity
parent: Crayon

View File

@@ -17,7 +17,8 @@
damage: 5
behaviors:
- !type:PlaySoundBehavior
collection: GlassBreak
sound:
collection: GlassBreak
- !type:DoActsBehavior
acts: [ "Breakage" ]
- trigger:
@@ -25,7 +26,8 @@
damage: 10
behaviors:
- !type:PlaySoundBehavior
collection: GlassBreak
sound:
collection: GlassBreak
- !type:SpawnEntitiesBehavior
spawn:
ShardGlass:

View File

@@ -42,7 +42,8 @@
damage: 5
behaviors:
- !type:PlaySoundBehavior
collection:: GlassBreak
sound:
collection: GlassBreak
- !type:SpillBehavior { }
- !type:SpawnEntitiesBehavior
spawn:
@@ -55,7 +56,7 @@
amount: 5
- type: DamageOtherOnHit
amount: 5
- type: entity
name: large beaker
parent: Beaker

View File

@@ -7,6 +7,8 @@
- type: Projectile
damages:
Blunt: 1
soundHit:
path: /Audio/Weapons/Guns/Hits/bullet_hit.ogg
- type: entity
id: BulletDonkSoft

View File

@@ -31,6 +31,10 @@
ammoPrototype: RedLaser
soundGunshot:
path: /Audio/Weapons/Guns/Gunshots/laser.ogg
soundPowerCellInsert:
path: /Audio/Weapons/Guns/MagIn/revolver_magin.ogg
soundPowerCellEject:
path: /Audio/Weapons/Guns/MagOut/revolver_magout.ogg
- type: Appearance
visuals:
- type: MagVisualizer
@@ -71,6 +75,10 @@
ammoPrototype: RedHeavyLaser
soundGunshot:
path: /Audio/Weapons/Guns/Gunshots/laser_cannon.ogg
soundPowerCellInsert:
path: /Audio/Weapons/Guns/MagIn/revolver_magin.ogg
soundPowerCellEject:
path: /Audio/Weapons/Guns/MagOut/revolver_magout.ogg
- type: Appearance
visuals:
- type: MagVisualizer
@@ -93,7 +101,6 @@
- state: mag-unshaded-0
map: ["enum.RangedBarrelVisualLayers.MagUnshaded"]
shader: unshaded
- type: Item
size: 24
sprite: Objects/Weapons/Guns/Battery/xray.rsi
@@ -113,6 +120,10 @@
ammoPrototype: XrayLaser
soundGunshot:
path: /Audio/Weapons/Guns/Gunshots/laser3.ogg
soundPowerCellInsert:
path: /Audio/Weapons/Guns/MagIn/revolver_magin.ogg
soundPowerCellEject:
path: /Audio/Weapons/Guns/MagOut/revolver_magout.ogg
- type: Appearance
visuals:
- type: MagVisualizer
@@ -160,6 +171,10 @@
ammoPrototype: BulletTaser
soundGunshot:
path: /Audio/Weapons/Guns/Gunshots/taser.ogg
soundPowerCellInsert:
path: /Audio/Weapons/Guns/MagIn/revolver_magin.ogg
soundPowerCellEject:
path: /Audio/Weapons/Guns/MagOut/revolver_magout.ogg
- type: Appearance
visuals:
- type: MagVisualizer
@@ -200,6 +215,10 @@
ammoPrototype: RedLaser
soundGunshot:
path: /Audio/Weapons/Guns/Gunshots/laser.ogg
soundPowerCellInsert:
path: /Audio/Weapons/Guns/MagIn/revolver_magin.ogg
soundPowerCellEject:
path: /Audio/Weapons/Guns/MagOut/revolver_magout.ogg
- type: Appearance
visuals:
- type: MagVisualizer

View File

@@ -9,6 +9,8 @@
- type: InteractionOutline
- type: MovedByPressure
- type: DamageOnHighSpeedImpact
soundHit:
path: /Audio/Effects/hit_kick.ogg
- type: CollisionWake
- type: TileFrictionModifier
modifier: 0.5

View File

@@ -36,7 +36,8 @@
damage: 100
behaviors:
- !type:PlaySoundBehavior
collection: GlassBreak
sound:
collection: GlassBreak
- !type:ChangeConstructionNodeBehavior
node: monitorBroken
- !type:DoActsBehavior

View File

@@ -17,7 +17,8 @@
damage: 200
behaviors:
- !type:PlaySoundBehavior
collection: GlassBreak
sound:
collection: GlassBreak
- !type:SpawnEntitiesBehavior
spawn:
ShardGlassPlasma:

View File

@@ -18,7 +18,8 @@
damage: 150
behaviors:
- !type:PlaySoundBehavior
collection: GlassBreak
sound:
collection: GlassBreak
- !type:SpawnEntitiesBehavior
spawn:
ShardGlassReinforced:

View File

@@ -39,7 +39,8 @@
damage: 15
behaviors:
- !type:PlaySoundBehavior
collection: GlassBreak
sound:
collection: GlassBreak
- !type:SpawnEntitiesBehavior
spawn:
ShardGlass: