Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup railings yml #31618

Merged
merged 3 commits into from
Sep 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading