Update destructible threshold property casing to follow the rest of the project (#2797)

* Update casing

* Update casing for min/max
This commit is contained in:
DrSmugleaf
2020-12-21 12:11:56 +01:00
committed by GitHub
parent 38dcc058c7
commit fd258a54d3
44 changed files with 244 additions and 236 deletions

View File

@@ -29,15 +29,15 @@ namespace Content.IntegrationTests.Tests.Destructible
- type: Destructible - type: Destructible
thresholds: thresholds:
20: 20:
TriggersOnce: false triggersOnce: false
50: 50:
Sound: /Audio/Effects/woodhit.ogg sound: /Audio/Effects/woodhit.ogg
Spawn: spawn:
WoodPlank: WoodPlank:
Min: 1 min: 1
Max: 1 max: 1
Acts: [""Breakage""] acts: [""Breakage""]
TriggersOnce: false triggersOnce: false
- type: TestThresholdListener - type: TestThresholdListener
"; ";

View File

@@ -1,13 +1,21 @@
using Robust.Shared.ViewVariables; using Robust.Shared.Interfaces.Serialization;
using Robust.Shared.Serialization;
using Robust.Shared.ViewVariables;
namespace Content.Server.GameObjects.Components.Destructible namespace Content.Server.GameObjects.Components.Destructible
{ {
public struct MinMax public struct MinMax : IExposeData
{ {
[ViewVariables] [ViewVariables]
public int Min; public int Min;
[ViewVariables] [ViewVariables]
public int Max; public int Max;
public void ExposeData(ObjectSerializer serializer)
{
serializer.DataField(ref Min, "min", 0);
serializer.DataField(ref Max, "max", 0);
}
} }
} }

View File

@@ -52,12 +52,12 @@ namespace Content.Server.GameObjects.Components.Destructible
public void ExposeData(ObjectSerializer serializer) public void ExposeData(ObjectSerializer serializer)
{ {
serializer.DataField(ref Spawn, "Spawn", null); serializer.DataField(ref Spawn, "spawn", null);
serializer.DataField(ref Sound, "Sound", string.Empty); serializer.DataField(ref Sound, "sound", string.Empty);
serializer.DataField(ref SoundCollection, "SoundCollection", string.Empty); serializer.DataField(ref SoundCollection, "soundCollection", string.Empty);
serializer.DataField(ref Acts, "Acts", 0, WithFormat.Flags<ActsFlags>()); serializer.DataField(ref Acts, "acts", 0, WithFormat.Flags<ActsFlags>());
serializer.DataField(ref Triggered, "Triggered", false); serializer.DataField(ref Triggered, "triggered", false);
serializer.DataField(ref TriggersOnce, "TriggersOnce", false); serializer.DataField(ref TriggersOnce, "triggersOnce", false);
} }
/// <summary> /// <summary>

View File

@@ -61,7 +61,7 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
500: 500:
Acts: ["Destruction"] acts: ["Destruction"]
placement: placement:
mode: SnapgridCenter mode: SnapgridCenter

View File

@@ -32,6 +32,6 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
75: 75:
Acts: ["Destruction"] acts: ["Destruction"]
placement: placement:
mode: SnapgridCenter mode: SnapgridCenter

View File

@@ -24,12 +24,12 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
30: 30:
Sound: /Audio/Effects/woodhit.ogg sound: /Audio/Effects/woodhit.ogg
Spawn: spawn:
WoodPlank: WoodPlank:
Min: 1 min: 1
Max: 1 max: 1
Acts: ["Destruction"] acts: ["Destruction"]
- type: Occluder - type: Occluder
sizeX: 32 sizeX: 32
sizeY: 32 sizeY: 32

View File

@@ -25,7 +25,7 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
50: 50:
Acts: ["Destruction"] acts: ["Destruction"]
- type: UserInterface - type: UserInterface
interfaces: interfaces:
- key: enum.InstrumentUiKey.Key - key: enum.InstrumentUiKey.Key

View File

@@ -16,7 +16,7 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
100: 100:
Acts: ["Destruction"] acts: ["Destruction"]
- type: ShuttleController - type: ShuttleController
- type: Strap - type: Strap
position: Stand position: Stand

View File

@@ -35,7 +35,7 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
50: 50:
Acts: ["Destruction"] acts: ["Destruction"]
- type: entity - type: entity
name: chair name: chair

View File

@@ -32,12 +32,12 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
30: 30:
Sound: /Audio/Effects/metalbreak.ogg sound: /Audio/Effects/metalbreak.ogg
Spawn: spawn:
SteelSheet1: SteelSheet1:
Min: 1 min: 1
Max: 1 max: 1
Acts: ["Destruction"] acts: ["Destruction"]
- type: entity - type: entity
id: Shelf id: Shelf
@@ -73,9 +73,9 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
30: 30:
Sound: /Audio/Effects/metalbreak.ogg sound: /Audio/Effects/metalbreak.ogg
Spawn: spawn:
SteelSheet1: SteelSheet1:
Min: 1 min: 1
Max: 1 max: 1
Acts: ["Destruction"] acts: ["Destruction"]

View File

@@ -40,12 +40,12 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
15: 15:
Sound: /Audio/Effects/metalbreak.ogg sound: /Audio/Effects/metalbreak.ogg
Spawn: spawn:
SteelSheet1: SteelSheet1:
Min: 1 min: 1
Max: 1 max: 1
Acts: ["Destruction"] acts: ["Destruction"]
- type: entity - type: entity
id: TableFrame id: TableFrame
@@ -62,12 +62,12 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
1: 1:
Sound: /Audio/Effects/metalbreak.ogg sound: /Audio/Effects/metalbreak.ogg
Spawn: spawn:
SteelSheet1: SteelSheet1:
Min: 1 min: 1
Max: 1 max: 1
Acts: ["Destruction"] acts: ["Destruction"]
- type: Construction - type: Construction
graph: Tables graph: Tables
node: TableFrame node: TableFrame
@@ -87,12 +87,12 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
1: 1:
Sound: /Audio/Effects/metalbreak.ogg sound: /Audio/Effects/metalbreak.ogg
Spawn: spawn:
SteelSheet1: SteelSheet1:
Min: 1 min: 1
Max: 1 max: 1
Acts: ["Destruction"] acts: ["Destruction"]
- type: entity - type: entity
id: TableMetal id: TableMetal
@@ -109,12 +109,12 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
15: 15:
Sound: /Audio/Effects/metalbreak.ogg sound: /Audio/Effects/metalbreak.ogg
Spawn: spawn:
SteelSheet1: SteelSheet1:
Min: 1 min: 1
Max: 1 max: 1
Acts: ["Destruction"] acts: ["Destruction"]
- type: Construction - type: Construction
graph: Tables graph: Tables
node: MetalTable node: MetalTable
@@ -134,12 +134,12 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
75: 75:
Sound: /Audio/Effects/metalbreak.ogg sound: /Audio/Effects/metalbreak.ogg
Spawn: spawn:
SteelSheet1: SteelSheet1:
Min: 1 min: 1
Max: 1 max: 1
Acts: ["Destruction"] acts: ["Destruction"]
- type: Construction - type: Construction
graph: Tables graph: Tables
node: ReinforcedTable node: ReinforcedTable
@@ -159,12 +159,12 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
5: 5:
Sound: /Audio/Effects/glass_break2.ogg sound: /Audio/Effects/glass_break2.ogg
Spawn: spawn:
ShardGlass: ShardGlass:
Min: 1 min: 1
Max: 1 max: 1
Acts: ["Destruction"] acts: ["Destruction"]
- type: Construction - type: Construction
graph: Tables graph: Tables
node: GlassTable node: GlassTable
@@ -184,12 +184,12 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
20: 20:
Sound: /Audio/Effects/glass_break2.ogg sound: /Audio/Effects/glass_break2.ogg
Spawn: spawn:
ShardGlass: ShardGlass:
Min: 1 min: 1
Max: 1 max: 1
Acts: ["Destruction"] acts: ["Destruction"]
- type: Construction - type: Construction
graph: Tables graph: Tables
node: RGlassTable node: RGlassTable
@@ -209,12 +209,12 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
15: 15:
Sound: /Audio/Effects/woodhit.ogg sound: /Audio/Effects/woodhit.ogg
Spawn: spawn:
WoodPlank: WoodPlank:
Min: 1 min: 1
Max: 1 max: 1
Acts: ["Destruction"] acts: ["Destruction"]
- type: Construction - type: Construction
graph: Tables graph: Tables
node: WoodTable node: WoodTable
@@ -234,12 +234,12 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
15: 15:
Sound: /Audio/Effects/woodhit.ogg sound: /Audio/Effects/woodhit.ogg
Spawn: spawn:
WoodPlank: WoodPlank:
Min: 1 min: 1
Max: 1 max: 1
Acts: ["Destruction"] acts: ["Destruction"]
- type: Construction - type: Construction
graph: Tables graph: Tables
node: PokerTable node: PokerTable
@@ -259,8 +259,8 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
50: 50:
Sound: /Audio/Effects/picaxe2.ogg sound: /Audio/Effects/picaxe2.ogg
Acts: ["Destruction"] acts: ["Destruction"]
- type: entity - type: entity
id: TableDebug id: TableDebug
@@ -277,4 +277,4 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
1: 1:
Acts: ["Destruction"] acts: ["Destruction"]

View File

@@ -14,7 +14,7 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
100: 100:
Acts: ["Destruction"] acts: ["Destruction"]
- type: GasCanisterPort - type: GasCanisterPort
- type: entity - type: entity

View File

@@ -14,7 +14,7 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
100: 100:
Acts: ["Destruction"] acts: ["Destruction"]
- type: GasCanister - type: GasCanister
- type: Anchorable - type: Anchorable
- type: Pullable - type: Pullable

View File

@@ -24,5 +24,5 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
50: 50:
Acts: ["Destruction"] acts: ["Destruction"]
- type: KitchenSpike - type: KitchenSpike

View File

@@ -15,7 +15,7 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
100: 100:
Acts: ["Destruction"] acts: ["Destruction"]
- type: Sprite - type: Sprite
- type: Appearance - type: Appearance
visuals: visuals:

View File

@@ -14,7 +14,7 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
100: 100:
Acts: ["Destruction"] acts: ["Destruction"]
- type: Sprite - type: Sprite
sprite: Constructible/Atmos/pump.rsi sprite: Constructible/Atmos/pump.rsi
- type: Icon - type: Icon

View File

@@ -24,7 +24,7 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
100: 100:
Acts: ["Destruction"] acts: ["Destruction"]
- type: entity - type: entity
parent: ScrubberBase parent: ScrubberBase

View File

@@ -24,7 +24,7 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
100: 100:
Acts: ["Destruction"] acts: ["Destruction"]
- type: entity - type: entity
parent: VentBase parent: VentBase

View File

@@ -35,7 +35,7 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
100: 100:
Acts: ["Destruction"] acts: ["Destruction"]
- type: Appearance - type: Appearance
visuals: visuals:
- type: CloningPodVisualizer - type: CloningPodVisualizer

View File

@@ -99,7 +99,7 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
100: 100:
Acts: ["Destruction"] acts: ["Destruction"]
- type: BreakableConstruction - type: BreakableConstruction
node: monitorBroken node: monitorBroken
- type: Sprite - type: Sprite

View File

@@ -32,7 +32,7 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
100: 100:
Acts: ["Breakage"] acts: ["Breakage"]
- type: Anchorable - type: Anchorable
- type: entity - type: entity

View File

@@ -36,7 +36,7 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
100: 100:
Acts: ["Destruction"] acts: ["Destruction"]
- type: Appearance - type: Appearance
visuals: visuals:
- type: MedicalScannerVisualizer - type: MedicalScannerVisualizer

View File

@@ -237,6 +237,6 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
100: 100:
Acts: ["Breakage"] acts: ["Breakage"]
- type: Anchorable - type: Anchorable
- type: Pullable - type: Pullable

View File

@@ -33,7 +33,7 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
50: 50:
Acts: ["Breakage"] acts: ["Breakage"]
- type: UserInterface - type: UserInterface
interfaces: interfaces:
- key: enum.VendingMachineUiKey.Key - key: enum.VendingMachineUiKey.Key

View File

@@ -23,7 +23,7 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
100: 100:
Acts: ["Destruction"] acts: ["Destruction"]
- type: SubFloorHide - type: SubFloorHide
- type: entity - type: entity
@@ -52,11 +52,11 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
100: 100:
Spawn: spawn:
HVWireStack1: HVWireStack1:
Min: 1 min: 1
Max: 1 max: 1
Acts: ["Destruction"] acts: ["Destruction"]
- type: entity - type: entity
parent: WireBase parent: WireBase
@@ -86,11 +86,11 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
100: 100:
Spawn: spawn:
MVWireStack1: MVWireStack1:
Min: 1 min: 1
Max: 1 max: 1
Acts: ["Destruction"] acts: ["Destruction"]
- type: entity - type: entity
parent: WireBase parent: WireBase
@@ -122,8 +122,8 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
100: 100:
Spawn: spawn:
ApcExtensionCableStack1: ApcExtensionCableStack1:
Min: 1 min: 1
Max: 1 max: 1
Acts: ["Destruction"] acts: ["Destruction"]

View File

@@ -26,7 +26,7 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
500: 500:
Acts: ["Destruction"] acts: ["Destruction"]
- type: SnapGrid - type: SnapGrid
offset: Center offset: Center
- type: Anchorable - type: Anchorable

View File

@@ -26,11 +26,11 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
500: 500:
Spawn: spawn:
AMEPart: AMEPart:
Min: 1 min: 1
Max: 1 max: 1
Acts: ["Destruction"] acts: ["Destruction"]
- type: SnapGrid - type: SnapGrid
offset: Center offset: Center
- type: Airtight - type: Airtight

View File

@@ -22,7 +22,7 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
75: 75:
Acts: ["Destruction"] acts: ["Destruction"]
- type: Anchorable - type: Anchorable
- type: Pullable - type: Pullable
- type: PowerReceiver - type: PowerReceiver

View File

@@ -36,11 +36,11 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
50: 50:
Spawn: spawn:
chem_master_broken: chem_master_broken:
Min: 1 min: 1
Max: 1 max: 1
Acts: ["Destruction"] acts: ["Destruction"]
- type: UserInterface - type: UserInterface
interfaces: interfaces:
- key: enum.ChemMasterUiKey.Key - key: enum.ChemMasterUiKey.Key
@@ -82,11 +82,11 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
25: 25:
Spawn: spawn:
SteelSheet1: SteelSheet1:
Min: 1 min: 1
Max: 1 max: 1
Acts: ["Destruction"] acts: ["Destruction"]
- type: UserInterface - type: UserInterface
interfaces: interfaces:
- key: enum.ChemMasterUiKey.Key - key: enum.ChemMasterUiKey.Key

View File

@@ -18,7 +18,7 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
100: 100:
Acts: ["Breakage"] acts: ["Breakage"]
- type: Rotatable - type: Rotatable
- type: Pullable - type: Pullable
@@ -150,7 +150,7 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
100: 100:
Acts: ["Destruction"] acts: ["Destruction"]
- type: Appearance - type: Appearance
visuals: visuals:
- type: DisposalUnitVisualizer - type: DisposalUnitVisualizer
@@ -389,7 +389,7 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
100: 100:
Acts: ["Destruction"] acts: ["Destruction"]
- type: Appearance - type: Appearance
visuals: visuals:
- type: DisposalUnitVisualizer - type: DisposalUnitVisualizer

View File

@@ -34,7 +34,7 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
150: 150:
Acts: ["Breakage"] acts: ["Breakage"]
- type: GravityGenerator - type: GravityGenerator
- type: UserInterface - type: UserInterface
interfaces: interfaces:

View File

@@ -28,7 +28,7 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
50: 50:
Acts: ["Destruction"] acts: ["Destruction"]
- type: Sprite - type: Sprite
sprite: Constructible/Hydroponics/hydro_tools.rsi sprite: Constructible/Hydroponics/hydro_tools.rsi
state: soil state: soil

View File

@@ -43,7 +43,7 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
100: 100:
Acts: ["Destruction"] acts: ["Destruction"]
- type: Appearance - type: Appearance
visuals: visuals:
- type: StorageVisualizer - type: StorageVisualizer

View File

@@ -40,7 +40,7 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
100: 100:
Acts: ["Destruction"] acts: ["Destruction"]
- type: Appearance - type: Appearance
visuals: visuals:
- type: StorageVisualizer - type: StorageVisualizer

View File

@@ -28,7 +28,7 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
10: 10:
Acts: ["Destruction"] acts: ["Destruction"]
- type: SolutionContainer - type: SolutionContainer
maxVol: 1500 maxVol: 1500
caps: RemoveFrom caps: RemoveFrom

View File

@@ -19,7 +19,7 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
100: 100:
Acts: [ "Destruction" ] acts: [ "Destruction" ]
- type: Occluder - type: Occluder
sizeX: 32 sizeX: 32
sizeY: 32 sizeY: 32

View File

@@ -30,11 +30,11 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
50: 50:
Spawn: spawn:
SteelSheet1: SteelSheet1:
Min: 1 min: 1
Max: 1 max: 1
Acts: ["Destruction"] acts: ["Destruction"]
- type: SnapGrid - type: SnapGrid
offset: Edge offset: Edge
placement: placement:

View File

@@ -41,7 +41,7 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
50: 50:
Acts: [ "Destruction" ] acts: [ "Destruction" ]
- type: entity - type: entity
name: small light name: small light
@@ -68,7 +68,7 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
25: 25:
Acts: [ "Destruction" ] acts: [ "Destruction" ]
- type: entity - type: entity
name: unpowered small light name: unpowered small light
@@ -87,4 +87,4 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
25: 25:
Acts: [ "Destruction" ] acts: [ "Destruction" ]

View File

@@ -30,7 +30,7 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
100: 100:
Acts: [ "Destruction" ] acts: [ "Destruction" ]
- type: BreakableConstruction - type: BreakableConstruction
node: start node: start
- type: SnapGrid - type: SnapGrid

View File

@@ -13,7 +13,7 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
5: 5:
Acts: [ "Destruction" ] acts: [ "Destruction" ]
- type: Sprite - type: Sprite
drawdepth: WallTops drawdepth: WallTops
sprite: Constructible/Misc/decals.rsi sprite: Constructible/Misc/decals.rsi

View File

@@ -49,11 +49,11 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
300: 300:
Spawn: spawn:
Girder: Girder:
Min: 1 min: 1
Max: 1 max: 1
Acts: [ "Destruction" ] acts: [ "Destruction" ]
- type: IconSmooth - type: IconSmooth
key: walls key: walls
base: brick base: brick
@@ -72,11 +72,11 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
300: 300:
Spawn: spawn:
Girder: Girder:
Min: 1 min: 1
Max: 1 max: 1
Acts: ["Destruction"] acts: ["Destruction"]
- type: IconSmooth - type: IconSmooth
key: walls key: walls
base: clock base: clock
@@ -95,11 +95,11 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
300: 300:
Spawn: spawn:
Girder: Girder:
Min: 1 min: 1
Max: 1 max: 1
Acts: ["Destruction"] acts: ["Destruction"]
- type: IconSmooth - type: IconSmooth
key: walls key: walls
base: clown base: clown
@@ -119,11 +119,11 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
300: 300:
Spawn: spawn:
Girder: Girder:
Min: 1 min: 1
Max: 1 max: 1
Acts: ["Destruction"] acts: ["Destruction"]
- type: IconSmooth - type: IconSmooth
key: walls key: walls
base: cult base: cult
@@ -142,11 +142,11 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
300: 300:
Spawn: spawn:
Girder: Girder:
Min: 1 min: 1
Max: 1 max: 1
Acts: ["Destruction"] acts: ["Destruction"]
- type: IconSmooth - type: IconSmooth
key: walls key: walls
base: debug base: debug
@@ -165,11 +165,11 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
300: 300:
Spawn: spawn:
Girder: Girder:
Min: 1 min: 1
Max: 1 max: 1
Acts: ["Destruction"] acts: ["Destruction"]
- type: IconSmooth - type: IconSmooth
key: walls key: walls
base: diamond base: diamond
@@ -189,11 +189,11 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
300: 300:
Spawn: spawn:
Girder: Girder:
Min: 1 min: 1
Max: 1 max: 1
Acts: ["Destruction"] acts: ["Destruction"]
- type: IconSmooth - type: IconSmooth
key: walls key: walls
base: gold base: gold
@@ -212,11 +212,11 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
300: 300:
Spawn: spawn:
Girder: Girder:
Min: 1 min: 1
Max: 1 max: 1
Acts: ["Destruction"] acts: ["Destruction"]
- type: IconSmooth - type: IconSmooth
key: walls key: walls
base: ice base: ice
@@ -235,11 +235,11 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
300: 300:
Spawn: spawn:
Girder: Girder:
Min: 1 min: 1
Max: 1 max: 1
Acts: ["Destruction"] acts: ["Destruction"]
- type: IconSmooth - type: IconSmooth
key: walls key: walls
base: metal base: metal
@@ -258,11 +258,11 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
300: 300:
Spawn: spawn:
Girder: Girder:
Min: 1 min: 1
Max: 1 max: 1
Acts: ["Destruction"] acts: ["Destruction"]
- type: IconSmooth - type: IconSmooth
key: walls key: walls
base: plasma base: plasma
@@ -281,11 +281,11 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
300: 300:
Spawn: spawn:
Girder: Girder:
Min: 1 min: 1
Max: 1 max: 1
Acts: ["Destruction"] acts: ["Destruction"]
- type: IconSmooth - type: IconSmooth
key: walls key: walls
base: plastic base: plastic
@@ -309,7 +309,7 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
600: 600:
Acts: ["Destruction"] acts: ["Destruction"]
- type: BreakableConstruction - type: BreakableConstruction
node: girder node: girder
- type: ReinforcedWall - type: ReinforcedWall
@@ -335,11 +335,11 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
1000: 1000:
Spawn: spawn:
Girder: Girder:
Min: 1 min: 1
Max: 1 max: 1
Acts: ["Destruction"] acts: ["Destruction"]
- type: IconSmooth - type: IconSmooth
key: walls key: walls
base: riveted base: riveted
@@ -358,11 +358,11 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
300: 300:
Spawn: spawn:
Girder: Girder:
Min: 1 min: 1
Max: 1 max: 1
Acts: [ "Destruction" ] acts: ["Destruction"]
- type: IconSmooth - type: IconSmooth
key: walls key: walls
base: sandstone base: sandstone
@@ -381,11 +381,11 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
300: 300:
Spawn: spawn:
Girder: Girder:
Min: 1 min: 1
Max: 1 max: 1
Acts: [ "Destruction" ] acts: ["Destruction"]
- type: IconSmooth - type: IconSmooth
key: walls key: walls
base: silver base: silver
@@ -408,7 +408,7 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
300: 300:
Acts: [ "Destruction" ] acts: [ "Destruction" ]
- type: BreakableConstruction - type: BreakableConstruction
node: girder node: girder
destroySound: /Audio/Effects/metalbreak.ogg destroySound: /Audio/Effects/metalbreak.ogg
@@ -430,11 +430,11 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
300: 300:
Spawn: spawn:
Girder: Girder:
Min: 1 min: 1
Max: 1 max: 1
Acts: [ "Destruction" ] acts: ["Destruction"]
- type: IconSmooth - type: IconSmooth
key: walls key: walls
base: uranium base: uranium
@@ -453,11 +453,11 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
300: 300:
Spawn: spawn:
Girder: Girder:
Min: 1 min: 1
Max: 1 max: 1
Acts: [ "Destruction" ] acts: ["Destruction"]
- type: IconSmooth - type: IconSmooth
key: walls key: walls
base: wood base: wood

View File

@@ -31,12 +31,12 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
15: 15:
SoundCollection: WindowBreak soundCollection: WindowBreak
Spawn: spawn:
ShardGlass: ShardGlass:
Min: 1 min: 1
Max: 2 max: 2
Acts: ["Destruction"] acts: ["Destruction"]
- type: SnapGrid - type: SnapGrid
offset: Center offset: Center
- type: Airtight - type: Airtight
@@ -65,12 +65,12 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
75: 75:
SoundCollection: WindowBreak soundCollection: WindowBreak
Spawn: spawn:
ShardGlassReinforced: ShardGlassReinforced:
Min: 1 min: 1
Max: 2 max: 2
Acts: ["Destruction"] acts: ["Destruction"]
- type: Window - type: Window
base: rwindow base: rwindow
maxDamage: 75 maxDamage: 75
@@ -93,12 +93,12 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
100: 100:
SoundCollection: WindowBreak soundCollection: WindowBreak
Spawn: spawn:
ShardGlassPhoron: ShardGlassPhoron:
Min: 1 min: 1
Max: 2 max: 2
Acts: ["Destruction"] acts: ["Destruction"]
resistances: metallicResistances resistances: metallicResistances
- type: Window - type: Window
base: pwindow base: pwindow

View File

@@ -132,12 +132,12 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
10: 10:
Sound: /Audio/Effects/glass_break1.ogg sound: /Audio/Effects/glass_break1.ogg
Spawn: spawn:
FloodlightBroken: FloodlightBroken:
Min: 1 min: 1
Max: 1 max: 1
Acts: ["Destruction"] acts: ["Destruction"]
- type: Appearance - type: Appearance
visuals: visuals:
- type: FlashLightVisualizer - type: FlashLightVisualizer
@@ -157,12 +157,12 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
20: 20:
Spawn: spawn:
SteelSheet1: SteelSheet1:
Min: 1 min: 1
Max: 1 max: 1
Sound: /Audio/Effects/metalbreak.ogg sound: /Audio/Effects/metalbreak.ogg
Acts: ["Destruction"] acts: ["Destruction"]
- type: Physics - type: Physics
shapes: shapes:
- !type:PhysShapeAabb - !type:PhysShapeAabb

View File

@@ -22,7 +22,7 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
10: 10:
Acts: ["Destruction"] acts: ["Destruction"]
- type: Appearance - type: Appearance
visuals: visuals:
- type: TimerTriggerVisualizer - type: TimerTriggerVisualizer
@@ -48,7 +48,7 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
10: 10:
Acts: ["Destruction"] acts: ["Destruction"]
- type: Appearance - type: Appearance
visuals: visuals:
- type: TimerTriggerVisualizer - type: TimerTriggerVisualizer
@@ -78,7 +78,7 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
10: 10:
Acts: ["Destruction"] acts: ["Destruction"]
- type: Appearance - type: Appearance
visuals: visuals:
- type: TimerTriggerVisualizer - type: TimerTriggerVisualizer
@@ -107,7 +107,7 @@
- type: Destructible - type: Destructible
thresholds: thresholds:
50: 50:
Acts: ["Destruction"] acts: ["Destruction"]
- type: Appearance - type: Appearance
visuals: visuals:
- type: TimerTriggerVisualizer - type: TimerTriggerVisualizer