Skip to content

Commit

Permalink
Cleanup railings yml (#31618)
Browse files Browse the repository at this point in the history
* Cleanup railings

* fix line

* real fix
  • Loading branch information
lzk228 committed Sep 2, 2024
1 parent 49e0933 commit 7b82317
Showing 1 changed file with 29 additions and 71 deletions.
100 changes: 29 additions & 71 deletions Resources/Prototypes/Entities/Structures/Walls/railing.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,38 @@
- type: entity
parent: BaseStructure
id: Railing
id: BaseRailing
abstract: true
name: railing
description: Basic railing meant to protect idiots like you from falling.
components:
- type: Sprite
drawdepth: SmallObjects
sprite: Structures/Walls/railing.rsi
state: side
- type: Icon
sprite: Structures/Walls/railing.rsi
state: side
- type: Physics
bodyType: Static
- type: InteractionOutline
- type: Repairable
- type: Damageable
damageContainer: Inorganic
damageModifierSet: FlimsyMetallic
- type: Climbable
- type: Construction
graph: Railing
- type: RCDDeconstructable
cost: 2
delay: 2
fx: EffectRCDDeconstruct2

- type: entity
parent: BaseRailing
id: Railing
components:
- type: Sprite
state: side
- type: Icon
state: side
- type: Fixtures
fixtures:
fix1:
Expand All @@ -24,11 +44,6 @@
- TableMask
layer:
- TableLayer
- type: InteractionOutline
- type: Repairable
- type: Damageable
damageContainer: Inorganic
damageModifierSet: FlimsyMetallic
- type: Destructible
thresholds:
- trigger:
Expand All @@ -53,30 +68,17 @@
max: 1
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: Climbable
- type: Construction
graph: Railing
node: railing
- type: RCDDeconstructable
cost: 2
delay: 2
fx: EffectRCDDeconstruct2

- type: entity
parent: BaseStructure
parent: BaseRailing
id: RailingCorner
name: railing
description: Basic railing meant to protect idiots like you from falling.
components:
- type: Sprite
drawdepth: SmallObjects
sprite: Structures/Walls/railing.rsi
state: corner
- type: Icon
sprite: Structures/Walls/railing.rsi
state: corner
- type: Physics
bodyType: Static
- type: Fixtures
fixtures:
fix1:
Expand All @@ -97,11 +99,6 @@
- TableMask
layer:
- TableLayer
- type: InteractionOutline
- type: Repairable
- type: Damageable
damageContainer: Inorganic
damageModifierSet: FlimsyMetallic
- type: Destructible
thresholds:
- trigger:
Expand All @@ -126,30 +123,17 @@
max: 2
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: Climbable
- type: Construction
graph: Railing
node: railingCorner
- type: RCDDeconstructable
cost: 2
delay: 2
fx: EffectRCDDeconstruct2

- type: entity
parent: BaseStructure
parent: BaseRailing
id: RailingCornerSmall
name: railing
description: Basic railing meant to protect idiots like you from falling.
components:
- type: Sprite
drawdepth: SmallObjects
sprite: Structures/Walls/railing.rsi
state: corner_small
- type: Icon
sprite: Structures/Walls/railing.rsi
state: corner_small
- type: Physics
bodyType: Static
- type: Fixtures
fixtures:
fix1:
Expand All @@ -161,11 +145,6 @@
- TableMask
layer:
- TableLayer
- type: InteractionOutline
- type: Repairable
- type: Damageable
damageContainer: Inorganic
damageModifierSet: FlimsyMetallic
- type: Destructible
thresholds:
- trigger:
Expand All @@ -190,27 +169,17 @@
max: 1
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: Climbable
- type: Construction
graph: Railing
node: railingCornerSmall
- type: RCDDeconstructable
cost: 2
delay: 2
fx: EffectRCDDeconstruct2


- type: entity
parent: BaseStructure
parent: BaseRailing
id: RailingRound
name: railing
description: Basic railing meant to protect idiots like you from falling.
components:
- type: Sprite
drawdepth: SmallObjects
sprite: Structures/Walls/railing.rsi
state: round
- type: Physics
bodyType: Static
- type: Icon
state: round
- type: Fixtures
fixtures:
fix1:
Expand Down Expand Up @@ -240,11 +209,6 @@
- TableMask
layer:
- TableLayer
- type: InteractionOutline
- type: Repairable
- type: Damageable
damageContainer: Inorganic
damageModifierSet: FlimsyMetallic
- type: Destructible
thresholds:
- trigger:
Expand All @@ -269,11 +233,5 @@
max: 2
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: Climbable
- type: Construction
graph: Railing
node: railingRound
- type: RCDDeconstructable
cost: 2
delay: 2
fx: EffectRCDDeconstruct2

0 comments on commit 7b82317

Please sign in to comment.