clean up glass sheets and make their destruction consistent (#16708)
Co-authored-by: deltanedas <@deltanedas:kde.org>
This commit is contained in:
@@ -2,10 +2,10 @@
|
|||||||
abstract: true
|
abstract: true
|
||||||
parent: BaseItem
|
parent: BaseItem
|
||||||
id: SheetGlassBase
|
id: SheetGlassBase
|
||||||
|
name: glass
|
||||||
description: A sheet of glass, used often on the station in various applications.
|
description: A sheet of glass, used often on the station in various applications.
|
||||||
components:
|
components:
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
netsync: false
|
|
||||||
sprite: Objects/Materials/Sheets/glass.rsi
|
sprite: Objects/Materials/Sheets/glass.rsi
|
||||||
- type: Item
|
- type: Item
|
||||||
sprite: Objects/Materials/Sheets/glass.rsi
|
sprite: Objects/Materials/Sheets/glass.rsi
|
||||||
@@ -16,9 +16,11 @@
|
|||||||
tags:
|
tags:
|
||||||
- Sheet
|
- Sheet
|
||||||
- DroneUsable
|
- DroneUsable
|
||||||
|
- type: Material
|
||||||
- type: Damageable
|
- type: Damageable
|
||||||
damageContainer: Inorganic
|
damageContainer: Inorganic
|
||||||
damageModifierSet: Glass
|
damageModifierSet: Glass
|
||||||
|
- type: Appearance
|
||||||
- type: Destructible
|
- type: Destructible
|
||||||
thresholds:
|
thresholds:
|
||||||
- trigger:
|
- trigger:
|
||||||
@@ -37,7 +39,7 @@
|
|||||||
- !type:SpawnEntitiesBehavior
|
- !type:SpawnEntitiesBehavior
|
||||||
spawn:
|
spawn:
|
||||||
ShardGlass:
|
ShardGlass:
|
||||||
min: 0
|
min: 1
|
||||||
max: 1
|
max: 1
|
||||||
- !type:DoActsBehavior
|
- !type:DoActsBehavior
|
||||||
acts: [ "Destruction" ]
|
acts: [ "Destruction" ]
|
||||||
@@ -45,10 +47,8 @@
|
|||||||
- type: entity
|
- type: entity
|
||||||
parent: SheetGlassBase
|
parent: SheetGlassBase
|
||||||
id: SheetGlass
|
id: SheetGlass
|
||||||
name: glass
|
|
||||||
suffix: Full
|
suffix: Full
|
||||||
components:
|
components:
|
||||||
- type: Material
|
|
||||||
- type: PhysicalComposition
|
- type: PhysicalComposition
|
||||||
materialComposition:
|
materialComposition:
|
||||||
Glass: 100
|
Glass: 100
|
||||||
@@ -66,7 +66,6 @@
|
|||||||
map: ["base"]
|
map: ["base"]
|
||||||
- type: Item
|
- type: Item
|
||||||
heldPrefix: glass
|
heldPrefix: glass
|
||||||
- type: Appearance
|
|
||||||
- type: FloorTile
|
- type: FloorTile
|
||||||
outputs:
|
outputs:
|
||||||
- FloorGlass
|
- FloorGlass
|
||||||
@@ -77,7 +76,6 @@
|
|||||||
- type: entity
|
- type: entity
|
||||||
parent: SheetGlass
|
parent: SheetGlass
|
||||||
id: SheetGlass1
|
id: SheetGlass1
|
||||||
name: glass
|
|
||||||
suffix: Single
|
suffix: Single
|
||||||
components:
|
components:
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
@@ -93,7 +91,6 @@
|
|||||||
description: A reinforced sheet of glass.
|
description: A reinforced sheet of glass.
|
||||||
suffix: Full
|
suffix: Full
|
||||||
components:
|
components:
|
||||||
- type: Material
|
|
||||||
- type: PhysicalComposition
|
- type: PhysicalComposition
|
||||||
materialComposition:
|
materialComposition:
|
||||||
ReinforcedGlass: 100
|
ReinforcedGlass: 100
|
||||||
@@ -111,13 +108,34 @@
|
|||||||
map: ["base"]
|
map: ["base"]
|
||||||
- type: Item
|
- type: Item
|
||||||
heldPrefix: rglass
|
heldPrefix: rglass
|
||||||
- type: Appearance
|
|
||||||
- type: FloorTile
|
- type: FloorTile
|
||||||
outputs:
|
outputs:
|
||||||
- FloorRGlass
|
- FloorRGlass
|
||||||
- type: Construction
|
- type: Construction
|
||||||
graph: Glass
|
graph: Glass
|
||||||
node: SheetRGlass
|
node: SheetRGlass
|
||||||
|
- type: Destructible
|
||||||
|
thresholds:
|
||||||
|
- trigger:
|
||||||
|
!type:DamageTrigger
|
||||||
|
damage: 100
|
||||||
|
behaviors:
|
||||||
|
- !type:DoActsBehavior
|
||||||
|
acts: [ "Destruction" ]
|
||||||
|
- trigger:
|
||||||
|
!type:DamageTrigger
|
||||||
|
damage: 50
|
||||||
|
behaviors:
|
||||||
|
- !type:PlaySoundBehavior
|
||||||
|
sound:
|
||||||
|
collection: GlassBreak
|
||||||
|
- !type:SpawnEntitiesBehavior
|
||||||
|
spawn:
|
||||||
|
ShardGlassReinforced:
|
||||||
|
min: 1
|
||||||
|
max: 1
|
||||||
|
- !type:DoActsBehavior
|
||||||
|
acts: [ "Destruction" ]
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
parent: SheetRGlass
|
parent: SheetRGlass
|
||||||
@@ -138,7 +156,6 @@
|
|||||||
description: A sheet of translucent plasma.
|
description: A sheet of translucent plasma.
|
||||||
suffix: Full
|
suffix: Full
|
||||||
components:
|
components:
|
||||||
- type: Material
|
|
||||||
- type: PhysicalComposition
|
- type: PhysicalComposition
|
||||||
materialComposition:
|
materialComposition:
|
||||||
PlasmaGlass: 100
|
PlasmaGlass: 100
|
||||||
@@ -156,10 +173,31 @@
|
|||||||
map: ["base"]
|
map: ["base"]
|
||||||
- type: Item
|
- type: Item
|
||||||
heldPrefix: pglass
|
heldPrefix: pglass
|
||||||
- type: Appearance
|
|
||||||
- type: Construction
|
- type: Construction
|
||||||
graph: Glass
|
graph: Glass
|
||||||
node: SheetPGlass
|
node: SheetPGlass
|
||||||
|
- type: Destructible
|
||||||
|
thresholds:
|
||||||
|
- trigger:
|
||||||
|
!type:DamageTrigger
|
||||||
|
damage: 100
|
||||||
|
behaviors:
|
||||||
|
- !type:DoActsBehavior
|
||||||
|
acts: [ "Destruction" ]
|
||||||
|
- trigger:
|
||||||
|
!type:DamageTrigger
|
||||||
|
damage: 50
|
||||||
|
behaviors:
|
||||||
|
- !type:PlaySoundBehavior
|
||||||
|
sound:
|
||||||
|
collection: GlassBreak
|
||||||
|
- !type:SpawnEntitiesBehavior
|
||||||
|
spawn:
|
||||||
|
ShardGlassPlasma:
|
||||||
|
min: 1
|
||||||
|
max: 1
|
||||||
|
- !type:DoActsBehavior
|
||||||
|
acts: [ "Destruction" ]
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
parent: SheetPGlass
|
parent: SheetPGlass
|
||||||
@@ -174,13 +212,12 @@
|
|||||||
count: 1
|
count: 1
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
parent: SheetGlassBase
|
parent: SheetPGlass
|
||||||
id: SheetRPGlass
|
id: SheetRPGlass
|
||||||
name: reinforced plasma glass
|
name: reinforced plasma glass
|
||||||
description: A reinforced sheet of translucent plasma.
|
description: A reinforced sheet of translucent plasma.
|
||||||
suffix: Full
|
suffix: Full
|
||||||
components:
|
components:
|
||||||
- type: Material
|
|
||||||
- type: PhysicalComposition
|
- type: PhysicalComposition
|
||||||
materialComposition:
|
materialComposition:
|
||||||
ReinforcedPlasmaGlass: 100
|
ReinforcedPlasmaGlass: 100
|
||||||
@@ -198,7 +235,6 @@
|
|||||||
map: ["base"]
|
map: ["base"]
|
||||||
- type: Item
|
- type: Item
|
||||||
heldPrefix: rpglass
|
heldPrefix: rpglass
|
||||||
- type: Appearance
|
|
||||||
- type: Construction
|
- type: Construction
|
||||||
graph: Glass
|
graph: Glass
|
||||||
node: SheetRPGlass
|
node: SheetRPGlass
|
||||||
@@ -222,7 +258,6 @@
|
|||||||
description: A sheet of uranium glass.
|
description: A sheet of uranium glass.
|
||||||
suffix: Full
|
suffix: Full
|
||||||
components:
|
components:
|
||||||
- type: Material
|
|
||||||
- type: PhysicalComposition
|
- type: PhysicalComposition
|
||||||
materialComposition:
|
materialComposition:
|
||||||
UraniumGlass: 100
|
UraniumGlass: 100
|
||||||
@@ -240,10 +275,31 @@
|
|||||||
map: ["base"]
|
map: ["base"]
|
||||||
- type: Item
|
- type: Item
|
||||||
heldPrefix: uglass
|
heldPrefix: uglass
|
||||||
- type: Appearance
|
|
||||||
- type: Construction
|
- type: Construction
|
||||||
graph: Glass
|
graph: Glass
|
||||||
node: SheetUGlass
|
node: SheetUGlass
|
||||||
|
- type: Destructible
|
||||||
|
thresholds:
|
||||||
|
- trigger:
|
||||||
|
!type:DamageTrigger
|
||||||
|
damage: 100
|
||||||
|
behaviors:
|
||||||
|
- !type:DoActsBehavior
|
||||||
|
acts: [ "Destruction" ]
|
||||||
|
- trigger:
|
||||||
|
!type:DamageTrigger
|
||||||
|
damage: 50
|
||||||
|
behaviors:
|
||||||
|
- !type:PlaySoundBehavior
|
||||||
|
sound:
|
||||||
|
collection: GlassBreak
|
||||||
|
- !type:SpawnEntitiesBehavior
|
||||||
|
spawn:
|
||||||
|
ShardGlassUranium:
|
||||||
|
min: 1
|
||||||
|
max: 1
|
||||||
|
- !type:DoActsBehavior
|
||||||
|
acts: [ "Destruction" ]
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
parent: SheetUGlass
|
parent: SheetUGlass
|
||||||
@@ -258,13 +314,11 @@
|
|||||||
count: 1
|
count: 1
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
parent: SheetGlassBase
|
parent: SheetUGlass
|
||||||
id: SheetRUGlass
|
id: SheetRUGlass
|
||||||
name: reinforced uranium glass
|
name: reinforced uranium glass
|
||||||
description: A reinforced sheet of uranium.
|
description: A reinforced sheet of uranium.
|
||||||
suffix: Full
|
|
||||||
components:
|
components:
|
||||||
- type: Material
|
|
||||||
- type: PhysicalComposition
|
- type: PhysicalComposition
|
||||||
materialComposition:
|
materialComposition:
|
||||||
ReinforcedUraniumGlass: 100
|
ReinforcedUraniumGlass: 100
|
||||||
@@ -282,7 +336,6 @@
|
|||||||
map: ["base"]
|
map: ["base"]
|
||||||
- type: Item
|
- type: Item
|
||||||
heldPrefix: ruglass
|
heldPrefix: ruglass
|
||||||
- type: Appearance
|
|
||||||
- type: Construction
|
- type: Construction
|
||||||
graph: Glass
|
graph: Glass
|
||||||
node: SheetRUGlass
|
node: SheetRUGlass
|
||||||
|
|||||||
Reference in New Issue
Block a user