From 7b82317b67748763d9f4ad1e33f4c13e58a3c3be Mon Sep 17 00:00:00 2001 From: lzk <124214523+lzk228@users.noreply.github.com> Date: Mon, 2 Sep 2024 04:01:25 +0200 Subject: [PATCH] Cleanup railings yml (#31618) * Cleanup railings * fix line * real fix --- .../Entities/Structures/Walls/railing.yml | 100 +++++------------- 1 file changed, 29 insertions(+), 71 deletions(-) diff --git a/Resources/Prototypes/Entities/Structures/Walls/railing.yml b/Resources/Prototypes/Entities/Structures/Walls/railing.yml index ace34a8052..28227afa17 100644 --- a/Resources/Prototypes/Entities/Structures/Walls/railing.yml +++ b/Resources/Prototypes/Entities/Structures/Walls/railing.yml @@ -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: @@ -24,11 +44,6 @@ - TableMask layer: - TableLayer - - type: InteractionOutline - - type: Repairable - - type: Damageable - damageContainer: Inorganic - damageModifierSet: FlimsyMetallic - type: Destructible thresholds: - trigger: @@ -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: @@ -97,11 +99,6 @@ - TableMask layer: - TableLayer - - type: InteractionOutline - - type: Repairable - - type: Damageable - damageContainer: Inorganic - damageModifierSet: FlimsyMetallic - type: Destructible thresholds: - trigger: @@ -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: @@ -161,11 +145,6 @@ - TableMask layer: - TableLayer - - type: InteractionOutline - - type: Repairable - - type: Damageable - damageContainer: Inorganic - damageModifierSet: FlimsyMetallic - type: Destructible thresholds: - trigger: @@ -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: @@ -240,11 +209,6 @@ - TableMask layer: - TableLayer - - type: InteractionOutline - - type: Repairable - - type: Damageable - damageContainer: Inorganic - damageModifierSet: FlimsyMetallic - type: Destructible thresholds: - trigger: @@ -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 -- 2.51.2