behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/woodhit.ogg
+ collection: WoodDestroy
- !type:SpawnEntitiesBehavior
spawn:
{SpawnedEntityId}:
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/woodhit.ogg
+ collection: WoodDestroyHeavy
- !type:SpawnEntitiesBehavior
spawn:
{SpawnedEntityId}:
Assert.Multiple(() =>
{
Assert.That(actsThreshold.Acts, Is.EqualTo(ThresholdActs.Breakage));
- Assert.That(audio.GetSound(soundThreshold.Sound), Is.EqualTo("/Audio/Effects/woodhit.ogg"));
Assert.That(spawnThreshold.Spawn, Is.Not.Null);
Assert.That(spawnThreshold.Spawn, Has.Count.EqualTo(1));
Assert.That(spawnThreshold.Spawn.Single().Key, Is.EqualTo(SpawnedEntityId));
Assert.Multiple(() =>
{
Assert.That(actsThreshold.Acts, Is.EqualTo(ThresholdActs.Breakage));
- Assert.That(audio.GetSound(soundThreshold.Sound), Is.EqualTo("/Audio/Effects/woodhit.ogg"));
Assert.That(spawnThreshold.Spawn, Is.Not.Null);
Assert.That(spawnThreshold.Spawn, Has.Count.EqualTo(1));
Assert.That(spawnThreshold.Spawn.Single().Key, Is.EqualTo(SpawnedEntityId));
Assert.Multiple(() =>
{
Assert.That(actsThreshold.Acts, Is.EqualTo(ThresholdActs.Breakage));
- Assert.That(audio.GetSound(soundThreshold.Sound), Is.EqualTo("/Audio/Effects/woodhit.ogg"));
Assert.That(spawnThreshold.Spawn, Is.Not.Null);
Assert.That(spawnThreshold.Spawn, Has.Count.EqualTo(1));
Assert.That(spawnThreshold.Spawn.Single().Key, Is.EqualTo(SpawnedEntityId));
/// </summary>
[DataField("injectSound")]
[ViewVariables(VVAccess.ReadWrite)]
- public SoundSpecifier InjectSound = new SoundPathSpecifier("/Audio/Effects/bang.ogg");
+ public SoundSpecifier InjectSound = new SoundCollectionSpecifier("MetalThud");
/// <summary>
/// The last time this could have injected fuel into the AME.
public int MobCount = 0;
[DataField("hitSound")]
- public SoundSpecifier Sound = new SoundPathSpecifier("/Audio/Effects/bang.ogg");
+ public SoundSpecifier Sound = new SoundCollectionSpecifier("MetalSlam");
[DataField("hitSoundProbability")]
public float HitSoundProbability = 0.1f;
/// Sound to play when a disarmed (hands comp with 0 hands) entity opens the door. What?
/// </summary>
[DataField("tryOpenDoorSound")]
- public SoundSpecifier TryOpenDoorSound = new SoundPathSpecifier("/Audio/Effects/bang.ogg");
+ public SoundSpecifier TryOpenDoorSound = new SoundCollectionSpecifier("MetalSlam");
/// <summary>
/// Sound to play when door has been emagged or possibly electrically tampered
/// </summary>
[ViewVariables(VVAccess.ReadWrite)]
[DataField("soundNoDamage"), AutoNetworkedField]
- public SoundSpecifier NoDamageSound { get; set; } = new SoundPathSpecifier("/Audio/Weapons/tap.ogg");
+ public SoundSpecifier NoDamageSound { get; set; } = new SoundCollectionSpecifier("WeakHit");
}
/// <summary>
{
var playedSound = false;
+ if (Deleted(target))
+ return;
+
+ // hitting can obv destroy an entity so we play at coords and not following them
+ var coords = Transform(target).Coordinates;
// Play sound based off of highest damage type.
if (TryComp<MeleeSoundComponent>(target, out var damageSoundComp))
{
if (type == null && damageSoundComp.NoDamageSound != null)
{
- Audio.PlayPredicted(damageSoundComp.NoDamageSound, target, user, AudioParams.Default.WithVariation(DamagePitchVariation));
+ Audio.PlayPredicted(damageSoundComp.NoDamageSound, coords, user, AudioParams.Default.WithVariation(DamagePitchVariation));
playedSound = true;
}
else if (type != null && damageSoundComp.SoundTypes?.TryGetValue(type, out var damageSoundType) == true)
{
- Audio.PlayPredicted(damageSoundType, target, user, AudioParams.Default.WithVariation(DamagePitchVariation));
+ Audio.PlayPredicted(damageSoundType, coords, user, AudioParams.Default.WithVariation(DamagePitchVariation));
playedSound = true;
}
else if (type != null && damageSoundComp.SoundGroups?.TryGetValue(type, out var damageSoundGroup) == true)
{
- Audio.PlayPredicted(damageSoundGroup, target, user, AudioParams.Default.WithVariation(DamagePitchVariation));
+ Audio.PlayPredicted(damageSoundGroup, coords, user, AudioParams.Default.WithVariation(DamagePitchVariation));
playedSound = true;
}
}
{
if (hitSoundOverride != null)
{
- Audio.PlayPredicted(hitSoundOverride, target, user, AudioParams.Default.WithVariation(DamagePitchVariation));
+ Audio.PlayPredicted(hitSoundOverride, coords, user, AudioParams.Default.WithVariation(DamagePitchVariation));
playedSound = true;
}
else if (hitSound != null)
{
- Audio.PlayPredicted(hitSound, target, user, AudioParams.Default.WithVariation(DamagePitchVariation));
+ Audio.PlayPredicted(hitSound, coords, user, AudioParams.Default.WithVariation(DamagePitchVariation));
playedSound = true;
}
}
break;
// No damage, fallback to tappies
case null:
- Audio.PlayPredicted(new SoundPathSpecifier("/Audio/Weapons/tap.ogg"), target, user, AudioParams.Default.WithVariation(DamagePitchVariation));
+ Audio.PlayPredicted(new SoundCollectionSpecifier("WeakHit"), target, user, AudioParams.Default.WithVariation(DamagePitchVariation));
break;
case "Brute":
- Audio.PlayPredicted(new SoundPathSpecifier("/Audio/Weapons/smash.ogg"), target, user, AudioParams.Default.WithVariation(DamagePitchVariation));
+ Audio.PlayPredicted(new SoundCollectionSpecifier("MetalThud"), target, user, AudioParams.Default.WithVariation(DamagePitchVariation));
break;
}
}
/// Sound played at the end of a successful crush.
/// </summary>
[DataField, AutoNetworkedField]
- public SoundSpecifier? CrushingCompleteSound = new SoundPathSpecifier("/Audio/Effects/metal_crunch.ogg");
+ public SoundSpecifier? CrushingCompleteSound = new SoundCollectionSpecifier("MetalCrunch");
/// <summary>
/// Sound played throughout the entire crushing. Cut off if ended early.
license: "CC-BY-NC-SA-3.0"
copyright: "Taken from DragishaRambo21 via freesound.org and mixed from stereo to mono."
source: "https://freesound.org/people/DragishaRambo21/sounds/345920/"
-
+
- files: ["tesla_consume.ogg"]
license: "CC0-1.0"
copyright: "Taken from egomassive via freesound.org and mixed from stereo to mono."
source: "https://freesound.org/people/egomassive/sounds/536741/"
-
+
- files: ["sizzle.ogg"]
license: "CC-BY-SA-3.0"
copyright: "Recorded by deltanedas for SS14"
license: Custom
source: https://gdc.sonniss.com
-- files: ["wall_bonk.ogg"]
- copyright: '"Nuts and Bolts" by 344 Audio of SONNISS.com. See https://sonniss.com/gdc-bundle-license/ for license.'
- license: Custom
- source: https://gdc.sonniss.com
-
- files: ["pop.ogg"]
copyright: '"pop.ogg" by mirrorcult of GitHub.com'
license: "CC0-1.0"
license: "CC-BY-NC-4.0"
source: "https://freesound.org/people/PNMCarrieRailfan/sounds/682439/"
+- files: ["metal_slam5.ogg", "metal_break1.ogg", "metal_break1.ogg", "metal_break1.ogg", "metal_break1.ogg", "metal_break5.ogg", "metal_glass_break1.ogg", "metal_glass_break2.ogg"]
+ copyright: 'Created by and released in a sound pack by PNMCarrieRailfan on Freesound.org. Cut, edited and exported to mono .ogg by mirrorcult (github)'
+ license: "CC-BY-NC-4.0"
+ source: "https://freesound.org/people/PNMCarrieRailfan/packs/38016/"
+
+- files: ["glass_break1.ogg", "glass_break2.ogg", "glass_break3.ogg", "glass_break4.ogg", "glass_smack.ogg", "glass_smash.ogg", "metal_thud1.ogg", "metal_thud2.ogg", "metal_thud3.ogg", "weak_hit.ogg", "wood_destroy1.ogg", "window_shatter1.ogg", "window_shatter2.ogg", "window_shatter3.ogg"]
+ copyright: "CM-SS13 at 84dc482572649ae7c2264c71ea1fe9fd169e4774"
+ license: "CC-BY-SA-3.0"
+ source: "https://github.com/cmss13-devs/cmss13"
+
+- files: ["glass_crack1.ogg", "glass_crack2.ogg", "glass_crack3.ogg", "glass_crack4.ogg", "metal_scrape1.ogg", "metal_scrape2.ogg", "metal_scrape3.ogg"]
+ copyright: "Baystation 12 at 23c0d851246ebbaeb0df647318ce9874da895d3d"
+ license: "CC-BY-SA-3.0"
+ source: "https://github.com/Baystation12/Baystation12"
+
+- files: ["wood_destroy2.ogg", "wood_destroy3.ogg", "wood_destroy_heavy1.ogg", "metal_slam1.ogg", "metal_slam2.ogg", "metal_slam3.ogg"]
+ copyright: "Based on sounds from OpenSourceWeb at edb003dc8ff5009476a9bcb74e79206039fb3390, edited and reworked by mirrorcult"
+ license: "CC-BY-SA-3.0"
+ source: "https://github.com/Open-SourceWeb/OpenSourceWeb"
+
- files: ["voteding.ogg"]
copyright: '"Bike, Bell Ding, Single, 01-01.wav" byInspectorJ (www.jshaw.co.uk) of Freesound.org; The volume has been reduced.'
license: "CC-BY-4.0"
types:
Blunt: 5
soundHit:
- path: /Audio/Effects/hit_kick.ogg
+ collection: MetalThud
- type: CombatMode
- type: NoSlip
- type: StaticPrice
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
- !type:EmptyContainersBehaviour
containers:
- borg_brain
channels:
- Syndicate
- type: ShowSyndicateIcons
- - type: MovementAlwaysTouching
\ No newline at end of file
+ - type: MovementAlwaysTouching
types:
Blunt: 5
soundHit:
- path: /Audio/Effects/hit_kick.ogg
+ collection: MetalThud
- type: RandomSprite
available:
- enum.DamageStateVisualLayers.Base:
types:
Blunt: 5
soundHit:
- path: /Audio/Effects/hit_kick.ogg
+ collection: MetalThud
- type: Clickable
- type: Damageable
damageContainer: Inorganic
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
params:
volume: -8
- !type:SpawnEntitiesBehavior
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/glass_break1.ogg
+ collection: GlassBreak
- !type:SpawnEntitiesBehavior
spawn:
FloodlightBroken:
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalGlassBreak
- !type:SpawnEntitiesBehavior
spawn:
SheetSteel1:
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
params:
volume: -8
- !type:DoActsBehavior
- type: MeleeSound
soundGroups:
Brute:
- path:
- "/Audio/Effects/glass_hit.ogg"
+ collection: GlassSmash
- type: Sprite
sprite: Objects/Power/light_bulb.rsi
layers:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- !type:PlaySoundBehavior
- sound: /Audio/Effects/metalbreak.ogg
+ sound:
+ collection: MetalBreak
- !type:SpawnEntitiesBehavior
spawn:
SheetSteel:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- !type:PlaySoundBehavior
- sound: /Audio/Effects/metalbreak.ogg
+ sound:
+ collection: WoodDestroy
- !type:SpawnEntitiesBehavior
spawn:
MaterialWoodPlank:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- !type:PlaySoundBehavior
- sound: /Audio/Effects/metalbreak.ogg
+ sound:
+ collection: MetalBreak
- !type:SpawnEntitiesBehavior
spawn:
SheetSteel:
max: 1
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/woodhit.ogg
+ collection: WoodDestroy
#Magic/Cult Shields (give these to wizard for now)
- !type:DoActsBehavior
acts: [ "Destruction" ]
- !type:PlaySoundBehavior
- sound: /Audio/Effects/glass_break1.ogg
+ sound:
+ collection: GlassBreak
- !type:SpawnEntitiesBehavior
spawn:
SheetGlass:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- !type:PlaySoundBehavior
- sound: /Audio/Effects/metalbreak.ogg
+ sound:
+ collection: GlassBreak
- !type:SpawnEntitiesBehavior
spawn:
BrokenEnergyShield:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- !type:PlaySoundBehavior
- sound: /Audio/Effects/metalbreak.ogg
+ sound:
+ collection: MetalGlassBreak
- !type:SpawnEntitiesBehavior
spawn:
SheetSteel:
acts: ["Destruction"]
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
- type: ItemMapper
mapLayers:
cart_plunger:
acts: [ "Destruction" ]
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
- type: entity
name: plunger
acts: ["Destruction"]
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
- type: Appearance
- type: UserInterface
interfaces:
max: 5
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: PointLight
max: 5
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
- !type:DoActsBehavior
acts: [ "Destruction" ]
max: 10
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
- !type:DoActsBehavior
acts: [ "Destruction" ]
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
- !type:DumpRestockInventory
- !type:DoActsBehavior
acts: [ "Destruction" ]
acts: ["Destruction"]
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalGlassBreak
- !type:ExplodeBehavior
- type: entity
acts: ["Destruction"]
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalGlassBreak
- !type:ExplodeBehavior
- !type:SpawnEntitiesBehavior # in future should also emit a cloud of hot gas
spawn:
acts: ["Destruction"]
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
- type: entity
parent: VehicleUnicycle
types:
Heat: 5
soundHit:
- path: "/Audio/Weapons/tap.ogg"
+ collection: WeakHit
forceSound: true
- type: entity
types:
Heat: 1
soundHit:
- path: "/Audio/Weapons/tap.ogg"
+ collection: WeakHit
forceSound: true
- type: entity
types:
Heat: 2
soundHit:
- path: "/Audio/Weapons/tap.ogg"
+ collection: WeakHit
forceSound: true
- type: entity
acts: [ "Destruction" ]
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalGlassBreak
- !type:SpawnEntitiesBehavior
spawn:
SheetSteel1:
acts: [ "Destruction" ]
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalGlassBreak
- !type:SpawnEntitiesBehavior
spawn:
SheetSteel1:
damage: 15
behaviors:
- !type:PlaySoundBehavior
- sound: /Audio/Effects/metalbreak.ogg
+ sound:
+ collection: MetalBreak
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: DamageOnLand
- type: MovedByPressure
- type: EmitSoundOnCollide
sound:
- path: /Audio/Effects/wall_bonk.ogg
+ collection: WeakHit
- type: EmitSoundOnLand
sound:
path: /Audio/Effects/drop.ogg
types:
Blunt: 5
soundHit:
- path: /Audio/Effects/hit_kick.ogg
+ collection: MetalThud
- type: CollisionWake
- type: TileFrictionModifier
modifier: 0.5
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
- !type:SpawnEntitiesBehavior
spawn:
PartRodMetal1:
acts: ["Destruction"]
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalGlassBreak
- type: ReagentDispenser
storageWhitelist:
tags:
!type:DamageTrigger
damage: 100
behaviors:
+ - !type:PlaySoundBehavior
+ sound:
+ collection: MetalGlassBreak
- !type:ChangeConstructionNodeBehavior
node: machineFrame
- !type:DoActsBehavior
components:
- type: Sprite
sprite: Structures/Doors/Airlocks/Standard/hatch_maint.rsi
-
+
# Glass
- type: entity
- type: MeleeSound
soundGroups:
Brute:
- path:
- "/Audio/Effects/glass_hit.ogg"
+ collection: GlassSmack
- type: Door
occludes: false
- type: Occluder
behaviors:
- !type:DoActsBehavior
acts: ["Destruction"]
+ # TODO this should go to the broken node first
+ - !type:PlaySoundBehavior
+ sound:
+ collection: MetalSlam
- type: Construction
graph: Airlock
node: airlock
acts: ["Destruction"]
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/woodhit.ogg
+ collection: WoodDestroy
- !type:SpawnEntitiesBehavior
spawn:
MaterialWebSilk:
- type: MeleeSound
soundGroups:
Brute:
- path:
- "/Audio/Effects/glass_hit.ogg"
+ collection: GlassSmash
- type: InteractionOutline
- type: Physics
- type: Fixtures
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
params:
volume: -6
- !type:SpawnEntitiesBehavior
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/woodhit.ogg
+ collection: WoodDestroy
- !type:SpawnEntitiesBehavior
spawn:
MaterialWoodPlank1:
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
params:
volume: -6
- !type:SpawnEntitiesBehavior
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
params:
volume: -6
- !type:SpawnEntitiesBehavior
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
params:
volume: -6
- !type:SpawnEntitiesBehavior
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
+ - !type:PlaySoundBehavior
+ sound:
+ collection: GlassBreak
- trigger:
!type:DamageTrigger
damage: 5
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/glass_break2.ogg
+ collection: GlassBreak
- !type:SpawnEntitiesBehavior
spawn:
ShardGlass:
behaviors: #excess damage (nuke?). avoid computational cost of spawning entities.
- !type:DoActsBehavior
acts: [ "Destruction" ]
+ - !type:PlaySoundBehavior
+ sound:
+ collection: GlassBreak
- trigger:
!type:DamageTrigger
damage: 20
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/glass_break2.ogg
+ collection: GlassBreak
- !type:ChangeConstructionNodeBehavior
node: TableFrame
- !type:SpawnEntitiesBehavior
behaviors: #excess damage (nuke?). avoid computational cost of spawning entities.
- !type:DoActsBehavior
acts: [ "Destruction" ]
+ - !type:PlaySoundBehavior
+ sound:
+ collection: GlassBreak
- trigger:
!type:DamageTrigger
damage: 50
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/glass_break2.ogg
+ collection: GlassBreak
- !type:ChangeConstructionNodeBehavior
node: TableFrame
- !type:SpawnEntitiesBehavior
behaviors: #excess damage (nuke?). avoid computational cost of spawning entities.
- !type:DoActsBehavior
acts: [ "Destruction" ]
+ - !type:PlaySoundBehavior
+ sound:
+ collection: GlassBreak
- trigger:
!type:DamageTrigger
damage: 15
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/woodhit.ogg
+ collection: WoodDestroy
- !type:SpawnEntitiesBehavior
spawn:
MaterialWoodPlank:
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/woodhit.ogg
+ collection: WoodDestroy
- !type:SpawnEntitiesBehavior
spawn:
MaterialWoodPlank:
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/woodhit.ogg
+ collection: WoodDestroy
- !type:SpawnEntitiesBehavior
spawn:
MaterialWoodPlank1:
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
params:
volume: -6
- !type:SpawnEntitiesBehavior
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
- !type:SpawnEntitiesBehavior
spawn:
SheetSteel1:
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/woodhit.ogg
+ collection: WoodDestroyHeavy
- !type:SpawnEntitiesBehavior
spawn:
MaterialWoodPlank:
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
- !type:SpawnEntitiesBehavior
spawn:
SheetSteel1:
acts: ["Destruction"]
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/woodhit.ogg
+ collection: WoodDestroy
- !type:SpawnEntitiesBehavior
spawn:
MaterialWoodPlank:
acts: ["Destruction"]
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/woodhit.ogg
+ collection: WoodDestroy
- !type:SpawnEntitiesBehavior
spawn:
MaterialWebSilk:
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/woodhit.ogg
+ collection: WoodDestroyHeavy
- !type:SpawnEntitiesBehavior
spawn:
MaterialWoodPlank:
acts: ["Destruction"]
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
- type: StaticPrice
price: 10
acts: ["Destruction"]
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/woodhit.ogg
+ collection: WoodDestroy
- !type:SpawnEntitiesBehavior
spawn:
MaterialWoodPlank:
acts: ["Destruction"]
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/woodhit.ogg
+ collection: WoodDestroy
- !type:SpawnEntitiesBehavior
spawn:
MaterialWebSilk:
visible: false
- type: MovedByPressure
- type: DamageOnHighSpeedImpact
- soundHit: /Audio/Effects/bang.ogg
+ soundHit:
+ collection: MetalThud
- type: InteractionOutline
- type: Physics
- type: Fixtures
acts: [ "Destruction" ]
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
- type: AmbientSound
enabled: false
volume: -8
- type: MeleeSound
soundGroups:
Brute:
- path:
- "/Audio/Effects/glass_hit.ogg"
+ collection: GlassSmash
- type: Transform
anchored: true
- type: Clickable
behaviors: #excess damage, don't spawn entities.
- !type:DoActsBehavior
acts: [ "Destruction" ]
+ - !type:PlaySoundBehavior
+ sound:
+ collection: GlassBreak
- trigger:
!type:DamageTrigger
damage: 50
max: 2
- !type:DoActsBehavior
acts: ["Destruction"]
+ - !type:PlaySoundBehavior
+ sound:
+ collection: GlassBreak
placement:
mode: SnapgridCenter
snap:
- !type:EmptyAllContainersBehaviour
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalGlassBreak
- type: entity
parent: BaseLightStructure
- type: MeleeSound
soundGroups:
Brute:
- path:
- "/Audio/Effects/glass_hit.ogg"
+ collection: GlassSmash
- type: Construction
graph: Computer
node: computer
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalGlassBreak
params:
volume: -6
- !type:SpawnEntitiesBehavior
damage: 100
behaviors:
- !type:EmptyAllContainersBehaviour
+ - !type:PlaySoundBehavior
+ sound:
+ collection: WindowShatter
- !type:ChangeConstructionNodeBehavior
node: machineFrame
- !type:DoActsBehavior
acts: ["Destruction"]
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalGlassBreak
- !type:ExplodeBehavior
- type: GuideHelp
guides:
acts: ["Destruction"]
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
- type: entity
abstract: true
!type:DamageTrigger
damage: 50
behaviors:
+ - !type:PlaySoundBehavior
+ sound:
+ collection: MetalGlassBreak
- !type:ChangeConstructionNodeBehavior
node: machineFrame
- !type:DoActsBehavior
!type:DamageTrigger
damage: 100
behaviors:
+ - !type:PlaySoundBehavior
+ sound:
+ collection: MetalGlassBreak
- !type:ChangeConstructionNodeBehavior
node: machineFrame
- !type:DoActsBehavior
acts: ["Destruction"]
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalGlassBreak
- !type:SpawnEntitiesBehavior
spawn:
SheetSteel1:
!type:DamageTrigger
damage: 100
behaviors:
+ - !type:PlaySoundBehavior
+ sound:
+ collection: MetalGlassBreak
- !type:ChangeConstructionNodeBehavior
node: machineFrame
- !type:DoActsBehavior
!type:DamageTrigger
damage: 100
behaviors:
+ - !type:PlaySoundBehavior
+ sound:
+ collection: MetalBreak
- !type:ChangeConstructionNodeBehavior
node: start
- !type:DoActsBehavior
!type:DamageTrigger
damage: 100
behaviors:
+ - !type:PlaySoundBehavior
+ sound:
+ collection: MetalBreak
- !type:ChangeConstructionNodeBehavior
node: missingWires
- !type:DoActsBehavior
acts: ["Destruction"]
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalGlassBreak
- !type:SpawnEntitiesBehavior
spawn:
MachineFrameDestroyed:
!type:DamageTrigger
damage: 100
behaviors:
+ - !type:PlaySoundBehavior
+ sound:
+ collection: MetalBreak
- !type:ChangeConstructionNodeBehavior
node: machineFrame
- !type:DoActsBehavior
!type:DamageTrigger
damage: 100
behaviors:
+ - !type:PlaySoundBehavior
+ sound:
+ collection: MetalGlassBreak
- !type:ChangeConstructionNodeBehavior
node: machineFrame
- !type:DoActsBehavior
!type:DamageTrigger
damage: 100
behaviors:
+ - !type:PlaySoundBehavior
+ sound:
+ collection: MetalGlassBreak
- !type:ChangeConstructionNodeBehavior
node: machineFrame
- !type:DoActsBehavior
acts: ["Destruction"]
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
- !type:SpawnEntitiesBehavior
spawn:
SheetSteel1:
acts: ["Destruction"]
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
- !type:SpawnEntitiesBehavior
spawn:
SheetSteel1:
acts: [ "Destruction" ]
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
- type: Damageable
damageContainer: Inorganic
damageModifierSet: Metallic
types:
Blunt: 5
soundHit:
- path: /Audio/Effects/bang.ogg
+ collection: MetalThud
!type:DamageTrigger
damage: 100
behaviors:
+ - !type:PlaySoundBehavior
+ sound:
+ collection: MetalBreak
- !type:ChangeConstructionNodeBehavior
node: machineFrame
- !type:DoActsBehavior
acts: [ "Destruction" ]
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalGlassBreak
- type: ActivatableUI
key: enum.VendingMachineUiKey.Key
- type: ActivatableUIRequiresPower
!type:DamageTrigger
damage: 100
behaviors:
+ - !type:PlaySoundBehavior
+ sound:
+ collection: MetalGlassBreak
- !type:ChangeConstructionNodeBehavior
node: machineFrame
- !type:DoActsBehavior
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
params:
volume: -8
- !type:SpawnEntitiesBehavior
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
- !type:SpawnEntitiesBehavior
spawn:
SheetSteel1:
solution: tank
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
- type: NodeContainer
nodes:
pipe:
!type:DamageTrigger
damage: 100
behaviors:
+ - !type:PlaySoundBehavior
+ sound:
+ collection: MetalBreak
- !type:ChangeConstructionNodeBehavior
node: start
- !type:DoActsBehavior
!type:DamageTrigger
damage: 50
behaviors:
+ - !type:PlaySoundBehavior
+ sound:
+ collection: MetalBreak
- !type:DoActsBehavior
acts: ["Breakage"]
- !type:ChangeConstructionNodeBehavior
acts: ["Destruction"]
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
params:
volume: -6
- !type:SpawnEntitiesBehavior
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
- !type:SpawnEntitiesBehavior
spawn:
SheetSteel1:
acts: [ "Destruction" ]
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
- !type:SpawnEntitiesBehavior
spawn:
SheetSteel1:
messages: WindowMessages
- type: Repairable
- type: Damageable
- damageContainer: StructuralInorganic
+ damageContainer: StructuralInorganic
- type: DamageVisuals
thresholds: [8, 16, 25]
damageDivisor: 3.333
- trigger:
!type:DamageTrigger
damage: 300
- behaviors:
+ behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
- !type:SpawnEntitiesBehavior
spawn:
SheetSteel1:
acts: ["Destruction"]
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
- !type:ExplodeBehavior
- type: Explosive
explosionType: Default
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
- !type:SpawnEntitiesBehavior
spawn:
GeneratorRTGDamaged:
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
- !type:SpawnEntitiesBehavior
spawn:
SheetSteel1:
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
- !type:ChangeConstructionNodeBehavior
node: machineFrame
- !type:DoActsBehavior
- output_mv
sprite: Structures/Power/Generation/portable_generator.rsi
state: portgen0
-
+
- type: entity
name: S.U.P.E.R.P.A.C.M.A.N.-type portable generator
description: |-
- output_mv
sprite: Structures/Power/Generation/portable_generator.rsi
state: portgen1
-
+
- type: entity
name: J.R.P.A.C.M.A.N.-type portable generator
description: |-
nodes:
output:
!type:CableDeviceNode
- nodeGroupID: Apc
+ nodeGroupID: Apc
- type: PowerMonitoringDevice
group: Generator
loadNode: output
solution: tank
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
- !type:ChangeConstructionNodeBehavior
node: machineFrame
- !type:DoActsBehavior
- type: MeleeSound
soundGroups:
Brute:
- path:
- "/Audio/Effects/glass_hit.ogg"
+ collection: GlassSmash
- type: Clickable
- type: InteractionOutline
- type: Transform
behaviors: #excess damage, don't spawn entities.
- !type:DoActsBehavior
acts: [ "Destruction" ]
+ - !type:PlaySoundBehavior
+ sound:
+ collection: MetalGlassBreak
- trigger:
!type:DamageTrigger
damage: 50
max: 1
- !type:DoActsBehavior
acts: [ "Destruction" ]
+ - !type:PlaySoundBehavior
+ sound:
+ collection: MetalGlassBreak
- type: StationInfiniteBatteryTarget
- type: Electrified
onHandInteract: false
SheetSteel1:
min: 1
max: 1
+ - !type:PlaySoundBehavior
+ sound:
+ collection: MetalBreak
- !type:DoActsBehavior
acts: [ "Destruction" ]
acts: ["Destruction"]
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
- type: StaticPrice
price: 25
acts: ["Destruction"]
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalGlassBreak
- !type:ExplodeBehavior
- !type:SpawnEntitiesBehavior
spawn:
- !type:ExplodeBehavior
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalGlassBreak
- type: Construction
graph: WallmountSubstation
node: substation
acts: ["Destruction"]
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
- type: StaticPrice
price: 300
placement:
acts: ["Destruction"]
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
- !type:ChangeConstructionNodeBehavior
node: machineFrame
- type: Sprite
acts: ["Destruction"]
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
- !type:ChangeConstructionNodeBehavior
node: machineFrame
- type: UpgradePowerDraw
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
- !type:SpawnEntitiesBehavior
spawn:
GasCanisterBrokenBase:
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
- !type:SpawnEntitiesBehavior
spawn:
StorageCanisterBroken:
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
- !type:SpawnEntitiesBehavior
spawn:
AirCanisterBroken:
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
- !type:SpawnEntitiesBehavior
spawn:
OxygenCanisterBroken:
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
- !type:SpawnEntitiesBehavior
spawn:
NitrogenCanisterBroken:
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
- !type:SpawnEntitiesBehavior
spawn:
CarbonDioxideCanisterBroken:
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
- !type:SpawnEntitiesBehavior
spawn:
PlasmaCanisterBroken:
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
- !type:SpawnEntitiesBehavior
spawn:
TritiumCanisterBroken:
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
- !type:SpawnEntitiesBehavior
spawn:
WaterVaporCanisterBroken:
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
- !type:SpawnEntitiesBehavior
spawn:
AmmoniaCanisterBroken:
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
- !type:SpawnEntitiesBehavior
spawn:
NitrousOxideCanisterBroken:
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
- !type:SpawnEntitiesBehavior
spawn:
FrezonCanisterBroken:
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
- !type:SpawnEntitiesBehavior
spawn:
SheetPlasteel1:
acts: ["Destruction"]
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
params:
volume: -6
- !type:SpawnEntitiesBehavior
types:
Blunt: 5
soundHit:
- path: /Audio/Effects/bang.ogg
+ collection: MetalThud
- type: InteractionOutline
- type: Physics
- type: Fixtures
acts: ["Destruction"]
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
params:
volume: -6
- !type:SpawnEntitiesBehavior
acts: ["Destruction"]
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
params:
volume: -6
- !type:SpawnEntitiesBehavior
types:
Blunt: 5
soundHit:
- path: /Audio/Effects/bang.ogg
+ collection: MetalThud
- type: InteractionOutline
- type: Physics
- type: Fixtures
acts: ["Destruction"]
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
params:
volume: -6
- !type:SpawnEntitiesBehavior
behaviors:
- !type:DoActsBehavior
acts: ["Destruction"]
+ - !type:PlaySoundBehavior
+ sound:
+ collection: MetalBreak
- type: Appearance
- type: EntityStorageVisuals
stateDoorOpen: open
behaviors:
- !type:DoActsBehavior
acts: ["Destruction"]
+ - !type:PlaySoundBehavior
+ sound:
+ collection: MetalBreak
- type: Construction
graph: CrateSecure
node: cratesecure
acts: ["Destruction"]
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/woodhit.ogg
+ collection: WoodDestroy
- !type:SpawnEntitiesBehavior
spawn:
MaterialWebSilk:
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/woodhit.ogg
+ collection: WoodDestroyHeavy
- !type:SpawnEntitiesBehavior
spawn:
MaterialWoodPlank1:
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/woodhit.ogg
+ collection: MetalGlassBreak
- !type:SpawnEntitiesBehavior
spawn:
SheetPlastic:
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/woodhit.ogg
+ collection: WoodDestroy
- !type:SpawnEntitiesBehavior
spawn:
MaterialWoodPlank1:
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/woodhit.ogg
+ collection: WoodDestroy
- !type:SpawnEntitiesBehavior
spawn:
MaterialWoodPlank1:
solution: tank
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
- !type:DoActsBehavior
acts: ["Destruction"]
- type: SolutionContainerManager
acts: ["Destruction"]
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
- !type:SpawnEntitiesBehavior
spawn:
SheetSteel1:
acts: ["Destruction"]
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
- !type:SpawnEntitiesBehavior
spawn:
SheetSteel1:
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
params:
volume: -6
- !type:SpawnEntitiesBehavior
- type: MeleeSound
soundGroups:
Brute:
- path:
- "/Audio/Effects/glass_hit.ogg"
+ collection: GlassSmash
- type: WallMount
- type: Sprite
drawdepth: Objects
acts: [ "Destruction" ]
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalGlassBreak
params:
volume: -4
- state: bell
- type: InteractionPopup
successChance: 1
- interactSuccessSound:
+ interactSuccessSound:
path: /Audio/Weapons/boxingbell.ogg
- type: Clickable
- type: MeleeSound
acts: ["Destruction"]
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
acts: [ "Destruction" ]
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalGlassBreak
placement:
mode: SnapgridCenter
acts: [ "Destruction" ]
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalGlassBreak
params:
volume: -4
placement:
acts: [ "Destruction" ]
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalGlassBreak
params:
volume: -4
placement:
- type: MeleeSound
soundGroups:
Brute:
- path:
- "/Audio/Effects/glass_hit.ogg"
+ collection: GlassSmash
- type: WallMount
- type: Clickable
- type: InteractionOutline
acts: [ "Destruction" ]
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalGlassBreak
params:
volume: -4
- type: GenericVisualizer
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/woodhit.ogg
+ collection: WoodDestroy
- !type:SpawnEntitiesBehavior
spawn:
MaterialWoodPlank:
acts: [ "Destruction" ]
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
params:
volume: -8
placement:
acts: [ "Destruction" ]
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
params:
volume: -8
description: Wallmount reagent dispenser.
placement:
mode: SnapgridCenter
- snap:
+ snap:
- Wallmount
components:
- type: WallMount
solution: tank
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
- !type:DoActsBehavior
acts: ["Destruction"]
- type: SolutionContainerManager
- Welding
weldingDamage:
types:
- Heat: 20
\ No newline at end of file
+ Heat: 20
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
- !type:SpawnEntitiesBehavior
spawn:
PartRodMetal1:
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
- !type:SpawnEntitiesBehavior
spawn:
PartRodMetal1:
max: 1
- !type:DoActsBehavior
acts: [ "Destruction" ]
+ - !type:PlaySoundBehavior
+ sound:
+ collection: MetalBreak
- type: StaticPrice
price: 10
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
+ - !type:PlaySoundBehavior
+ sound:
+ collection: MetalBreak
- trigger:
!type:DamageTrigger
damage: 50
max: 1
- !type:DoActsBehavior
acts: [ "Destruction" ]
+ - !type:PlaySoundBehavior
+ sound:
+ collection: MetalBreak
- type: StaticPrice
price: 66
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
params:
volume: -6
- !type:SpawnEntitiesBehavior
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
params:
volume: -6
- !type:SpawnEntitiesBehavior
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
params:
volume: -6
- !type:SpawnEntitiesBehavior
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
params:
volume: -6
- !type:SpawnEntitiesBehavior
!type:DamageTrigger
damage: 300
behaviors:
+ - !type:PlaySoundBehavior
+ sound:
+ collection: MetalSlam
- !type:DoActsBehavior
acts: ["Destruction"]
- trigger:
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalSlam
- !type:ChangeConstructionNodeBehavior
node: girder
- !type:DoActsBehavior
acts: ["Destruction"]
- destroySound:
- path: /Audio/Effects/metalbreak.ogg
- type: IconSmooth
key: walls
base: gold
!type:DamageTrigger
damage: 300
behaviors:
+ - !type:PlaySoundBehavior
+ sound:
+ collection: MetalSlam
- !type:DoActsBehavior
acts: ["Destruction"]
- trigger:
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalSlam
- !type:ChangeConstructionNodeBehavior
node: girder
- !type:DoActsBehavior
acts: ["Destruction"]
- destroySound:
- path: /Audio/Effects/metalbreak.ogg
- type: IconSmooth
key: walls
base: plasma
behaviors:
- !type:DoActsBehavior
acts: ["Destruction"]
+ - !type:PlaySoundBehavior
+ sound:
+ collection: MetalSlam
- trigger:
!type:DamageTrigger
damage: 150
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalSlam
- !type:ChangeConstructionNodeBehavior
node: girder
- !type:DoActsBehavior
acts: ["Destruction"]
- destroySound:
- path: /Audio/Effects/metalbreak.ogg
- type: IconSmooth
key: walls
base: plastic
behaviors:
- !type:DoActsBehavior
acts: ["Destruction"]
+ - !type:PlaySoundBehavior
+ sound:
+ collection: MetalSlam
- trigger:
!type:DamageTrigger
damage: 400
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalSlam
- !type:ChangeConstructionNodeBehavior
node: girder
- !type:DoActsBehavior
acts: ["Destruction"]
- destroySound:
- path: /Audio/Effects/metalbreak.ogg
- type: IconSmooth
key: walls
base: reinf_over
behaviors:
- !type:DoActsBehavior
acts: ["Destruction"]
+ - !type:PlaySoundBehavior
+ sound:
+ collection: MetalSlam
- trigger:
!type:DamageTrigger
damage: 150
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalSlam
- !type:ChangeConstructionNodeBehavior
node: girder
- !type:DoActsBehavior
acts: ["Destruction"]
- destroySound:
- path: /Audio/Effects/metalbreak.ogg
- type: IconSmooth
key: walls
base: silver
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
+ - !type:PlaySoundBehavior
+ sound:
+ collection: MetalSlam
- trigger:
!type:DamageTrigger
damage: 300
node: girder
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalSlam
- !type:DoActsBehavior
acts: ["Destruction"]
- type: Construction
behaviors:
- !type:DoActsBehavior
acts: ["Destruction"]
+ - !type:PlaySoundBehavior
+ sound:
+ collection: MetalSlam
- trigger:
!type:DamageTrigger
damage: 200
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalSlam
- !type:ChangeConstructionNodeBehavior
node: girder
- !type:DoActsBehavior
acts: ["Destruction"]
- destroySound:
- path: /Audio/Effects/metalbreak.ogg
- type: IconSmooth
key: walls
base: solid
behaviors:
- !type:DoActsBehavior
acts: ["Destruction"]
+ - !type:PlaySoundBehavior
+ sound:
+ collection: MetalSlam
- trigger:
!type:DamageTrigger
damage: 200
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalSlam
- !type:ChangeConstructionNodeBehavior
node: girder
- !type:DoActsBehavior
acts: ["Destruction"]
- destroySound:
- path: /Audio/Effects/metalbreak.ogg
- type: IconSmooth
key: walls
base: solidrust
behaviors:
- !type:DoActsBehavior
acts: ["Destruction"]
+ - !type:PlaySoundBehavior
+ sound:
+ collection: MetalSlam
- trigger:
!type:DamageTrigger
damage: 150
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalSlam
- !type:ChangeConstructionNodeBehavior
node: girder
- !type:DoActsBehavior
acts: ["Destruction"]
- destroySound:
- path: /Audio/Effects/metalbreak.ogg
- type: IconSmooth
key: walls
base: uranium
behaviors:
- !type:DoActsBehavior
acts: ["Destruction"]
+ - !type:PlaySoundBehavior
+ sound:
+ collection: WoodDestroyHeavy
- trigger:
!type:DamageTrigger
damage: 150
behaviors:
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: WoodDestroyHeavy
- !type:ChangeConstructionNodeBehavior
node: girder
- !type:DoActsBehavior
acts: ["Destruction"]
- destroySound:
- path: /Audio/Effects/metalbreak.ogg
- type: IconSmooth
key: walls
base: wood
max: 1
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/woodhit.ogg
+ collection: WoodDestroy
- type: IconSmooth
key: walls
base: wall
behaviors:
- !type:PlaySoundBehavior
sound:
- collection: GlassBreak
+ collection: WindowShatter
- !type:SpawnEntitiesBehavior
spawn:
ShardGlassReinforced:
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
+ - !type:PlaySoundBehavior
+ sound:
+ collection: WindowShatter
- trigger:
!type:DamageTrigger
damage: 60
behaviors:
- !type:PlaySoundBehavior
sound:
- collection: GlassBreak
+ collection: WindowShatter
- !type:SpawnEntitiesBehavior
spawn:
ShardGlassPlasma:
behaviors:
- !type:PlaySoundBehavior
sound:
- collection: GlassBreak
+ collection: WindowShatter
- !type:SpawnEntitiesBehavior
spawn:
ShardGlassPlasma:
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
+ - !type:PlaySoundBehavior
+ sound:
+ collection: WindowShatter
- trigger:
!type:DamageTrigger
damage: 75
behaviors:
- !type:PlaySoundBehavior
sound:
- collection: GlassBreak
+ collection: WindowShatter
- !type:SpawnEntitiesBehavior
spawn:
ShardGlassReinforced:
behaviors:
- !type:PlaySoundBehavior
sound:
- collection: GlassBreak
+ collection: WindowShatter
- !type:SpawnEntitiesBehavior
spawn:
ShardGlassReinforced:
behaviors: #excess damage, don't spawn entities.
- !type:DoActsBehavior
acts: [ "Destruction" ]
+ - !type:PlaySoundBehavior
+ sound:
+ collection: WindowShatter
- trigger:
!type:DamageTrigger
damage: 100
behaviors:
- !type:PlaySoundBehavior
sound:
- collection: GlassBreak
+ collection: WindowShatter
- !type:SpawnEntitiesBehavior
spawn:
ShardGlassPlasma:
behaviors:
- !type:PlaySoundBehavior
sound:
- collection: GlassBreak
+ collection: WindowShatter
- !type:SpawnEntitiesBehavior
spawn:
ShardGlassPlasma:
behaviors:
- !type:PlaySoundBehavior
sound:
- collection: GlassBreak
+ collection: WindowShatter
- !type:SpawnEntitiesBehavior
spawn:
ShardGlassUranium:
behaviors:
- !type:PlaySoundBehavior
sound:
- collection: GlassBreak
+ collection: WindowShatter
- !type:SpawnEntitiesBehavior
spawn:
ShardGlassReinforced:
behaviors:
- !type:PlaySoundBehavior
sound:
- collection: GlassBreak
+ collection: WindowShatter
- !type:SpawnEntitiesBehavior
spawn:
ShardGlassUranium:
- type: MeleeSound
soundGroups:
Brute:
- path:
- "/Audio/Effects/glass_hit.ogg"
+ collection: GlassSmack
- type: WallMount
arc: 360 # interact despite grilles
- type: Tag
!type:DamageTrigger
damage: 100
behaviors:
+ - !type:PlaySoundBehavior
+ sound:
+ collection: WindowShatter
- !type:DoActsBehavior
acts: [ "Destruction" ]
- trigger:
behaviors:
- !type:PlaySoundBehavior
sound:
- collection: GlassBreak
+ collection: WindowShatter
- !type:SpawnEntitiesBehavior
spawn:
ShardGlass:
- type: MeleeSound
soundGroups:
Brute:
- path:
- "/Audio/Effects/glass_hit.ogg"
+ collection: GlassSmack
- type: Sprite
drawdepth: Mobs
sprite: Structures/Windows/directional.rsi
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
+ - !type:PlaySoundBehavior
+ sound:
+ collection: WindowShatter
- trigger:
!type:DamageTrigger
damage: 50
behaviors:
- !type:PlaySoundBehavior
sound:
- collection: GlassBreak
+ collection: WindowShatter
- !type:SpawnEntitiesBehavior
spawn:
ShardGlass:
behaviors:
- !type:ChangeConstructionNodeBehavior
node: machineFrame
+ - !type:PlaySoundBehavior
+ sound:
+ collection: MetalGlassBreak
- !type:DoActsBehavior
acts: ["Destruction"]
- type: Machine
acts: ["Destruction"]
- !type:PlaySoundBehavior
sound:
- path: /Audio/Effects/metalbreak.ogg
+ collection: MetalBreak
params:
volume: -4
- !type:SpawnEntitiesBehavior
--- /dev/null
+- type: soundCollection
+ id: GlassBreak
+ files:
+ - /Audio/Effects/glass_break1.ogg
+ - /Audio/Effects/glass_break2.ogg
+ - /Audio/Effects/glass_break3.ogg
+ - /Audio/Effects/glass_break4.ogg
+
+- type: soundCollection
+ id: GlassCrack
+ files:
+ - /Audio/Effects/glass_crack1.ogg
+ - /Audio/Effects/glass_crack2.ogg
+ - /Audio/Effects/glass_crack3.ogg
+ - /Audio/Effects/glass_crack4.ogg
+
+- type: soundCollection
+ id: WindowShatter
+ files:
+ - /Audio/Effects/window_shatter1.ogg
+ - /Audio/Effects/window_shatter2.ogg
+ - /Audio/Effects/window_shatter3.ogg
+
+- type: soundCollection
+ id: WoodDestroy
+ files:
+ - /Audio/Effects/wood_destroy1.ogg
+ - /Audio/Effects/wood_destroy2.ogg
+ - /Audio/Effects/wood_destroy3.ogg
+
+- type: soundCollection
+ id: WoodDestroyHeavy
+ files:
+ - /Audio/Effects/wood_destroy_heavy1.ogg
+
+- type: soundCollection
+ id: MetalCrunch
+ files:
+ - /Audio/Effects/metal_crunch.ogg
+
+- type: soundCollection
+ id: MetalBreak
+ files:
+ - /Audio/Effects/metal_break1.ogg
+ - /Audio/Effects/metal_break2.ogg
+ - /Audio/Effects/metal_break3.ogg
+ - /Audio/Effects/metal_break4.ogg
+ - /Audio/Effects/metal_break5.ogg
+
+- type: soundCollection
+ id: MetalGlassBreak
+ files:
+ - /Audio/Effects/metal_glass_break1.ogg
+ - /Audio/Effects/metal_glass_break2.ogg
+
+- type: soundCollection
+ id: MetalSlam
+ files:
+ - /Audio/Effects/metal_slam1.ogg
+ - /Audio/Effects/metal_slam2.ogg
+ - /Audio/Effects/metal_slam3.ogg
+ - /Audio/Effects/metal_slam4.ogg
+ - /Audio/Effects/metal_slam5.ogg
+++ /dev/null
-- type: soundCollection
- id: GlassBreak
- files:
- - /Audio/Effects/glass_break1.ogg
- - /Audio/Effects/glass_break2.ogg
- - /Audio/Effects/glass_break3.ogg
--- /dev/null
+- type: soundCollection
+ id: MetalThud
+ files:
+ - /Audio/Effects/metal_thud1.ogg
+ - /Audio/Effects/metal_thud2.ogg
+ - /Audio/Effects/metal_thud3.ogg
+
+- type: soundCollection
+ id: MetalScrape
+ files:
+ - /Audio/Effects/metal_scrape1.ogg
+ - /Audio/Effects/metal_scrape2.ogg
+ - /Audio/Effects/metal_scrape3.ogg
+
+- type: soundCollection
+ id: WeakHit
+ files:
+ - /Audio/Effects/weak_hit1.ogg
+ - /Audio/Effects/weak_hit2.ogg
+
+- type: soundCollection
+ id: GlassSmack
+ files:
+ - /Audio/Effects/glass_smack.ogg
+
+- type: soundCollection
+ id: GlassSmash
+ files:
+ - /Audio/Effects/glass_smash.ogg
- /Audio/Effects/bodyfall4.ogg
- /Audio/Effects/demon_dies.ogg
- /Audio/Effects/demon_attack1.ogg
- - /Audio/Effects/bang.ogg
- /Audio/Effects/clang.ogg
- - /Audio/Effects/metalbreak.ogg
+ - /Audio/Effects/metal_slam1.ogg
+ - /Audio/Effects/metal_slam5.ogg
- /Audio/Effects/minibombcountdown.ogg
- /Audio/Effects/sadtrombone.ogg
- /Audio/Effects/sparks1.ogg