From: SnappingOpossum Date: Tue, 21 Oct 2025 09:28:59 +0000 (+1100) Subject: Allow upgraded solars to take structural damage (#40992) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=bba83e88b0b59507cfe912a1ec19b5daa0358718;p=space-station-14.git Allow upgraded solars to take structural damage (#40992) Parent Damageable on solars --- diff --git a/Resources/Prototypes/Entities/Structures/Power/Generation/solar.yml b/Resources/Prototypes/Entities/Structures/Power/Generation/solar.yml index 973bd6e119..bf04eaaab4 100644 --- a/Resources/Prototypes/Entities/Structures/Power/Generation/solar.yml +++ b/Resources/Prototypes/Entities/Structures/Power/Generation/solar.yml @@ -13,6 +13,9 @@ - type: InteractionOutline - type: Transform anchored: true + - type: Damageable + damageContainer: StructuralInorganic + damageModifierSet: Metallic - type: Physics bodyType: Static - type: Fixtures @@ -68,9 +71,6 @@ - type: Sprite sprite: Structures/Power/Generation/solar_panel.rsi state: solar_panel_plasma - - type: Damageable - damageContainer: Inorganic - damageModifierSet: Metallic - type: Destructible thresholds: - trigger: # Excess damage, don't spawn entities @@ -111,9 +111,6 @@ - type: Sprite sprite: Structures/Power/Generation/solar_panel.rsi state: solar_panel_uranium - - type: Damageable - damageContainer: Inorganic - damageModifierSet: Metallic - type: Destructible thresholds: - trigger: # Excess damage, don't spawn entities @@ -150,9 +147,6 @@ supplyRampTolerance: 500 supplyRampRate: 500 - type: SolarPanel - - type: Damageable - damageContainer: StructuralInorganic - damageModifierSet: Metallic - type: Destructible thresholds: - trigger: # Excess damage, don't spawn entities @@ -189,9 +183,6 @@ components: - type: Sprite state: solar_panel_glass_broken - - type: Damageable - damageContainer: StructuralInorganic - damageModifierSet: Metallic - type: Destructible thresholds: - trigger: # Excess damage, don't spawn entities @@ -230,9 +221,6 @@ components: - type: Sprite state: solar_panel_plasma_broken - - type: Damageable - damageContainer: Inorganic - damageModifierSet: Metallic - type: Destructible thresholds: - trigger: # Excess damage, don't spawn entities @@ -271,9 +259,6 @@ components: - type: Sprite state: solar_panel_uranium_broken - - type: Damageable - damageContainer: Inorganic - damageModifierSet: Metallic - type: Destructible thresholds: - trigger: # Excess damage, don't spawn entities