From f6a302363a343382e0606f367bd7a7d288649cc5 Mon Sep 17 00:00:00 2001 From: Tom Leys Date: Fri, 19 May 2023 20:21:14 +1200 Subject: [PATCH] Several power infrastructure items are more shocking (#16584) --- .../Entities/Structures/Power/Generation/ame.yml | 13 +++++++++++++ .../Structures/Power/Generation/generators.yml | 6 ++++++ .../Entities/Structures/Power/Generation/solar.yml | 6 ++++++ .../Prototypes/Entities/Structures/Power/apc.yml | 7 +++++++ .../Prototypes/Entities/Structures/Power/smes.yml | 7 +++++++ .../Entities/Structures/Power/substation.yml | 7 +++++++ 6 files changed, 46 insertions(+) diff --git a/Resources/Prototypes/Entities/Structures/Power/Generation/ame.yml b/Resources/Prototypes/Entities/Structures/Power/Generation/ame.yml index 44c175de70..92e926a71c 100644 --- a/Resources/Prototypes/Entities/Structures/Power/Generation/ame.yml +++ b/Resources/Prototypes/Entities/Structures/Power/Generation/ame.yml @@ -76,6 +76,13 @@ AMEController-fuelJarContainer: !type:ContainerSlot {} - type: GuideHelp guides: [ AME, Power ] + - type: Electrified + onHandInteract: false + onInteractUsing: false + onBump: false + requirePower: true + highVoltageNode: input + mediumVoltageNode: ame - type: entity noSpawn: true @@ -154,3 +161,9 @@ node: ameShielding - type: GuideHelp guides: [ AME, Power ] + - type: Electrified + onHandInteract: false + onInteractUsing: false + onBump: false + requirePower: true + highVoltageNode: ame diff --git a/Resources/Prototypes/Entities/Structures/Power/Generation/generators.yml b/Resources/Prototypes/Entities/Structures/Power/Generation/generators.yml index 754c4787cf..3c3861f9d2 100644 --- a/Resources/Prototypes/Entities/Structures/Power/Generation/generators.yml +++ b/Resources/Prototypes/Entities/Structures/Power/Generation/generators.yml @@ -76,6 +76,12 @@ totalIntensity: 200 - type: StaticPrice price: 500 + - type: Electrified + onHandInteract: false + onInteractUsing: false + onBump: false + requirePower: true + highVoltageNode: output # Base Wallmount Generator diff --git a/Resources/Prototypes/Entities/Structures/Power/Generation/solar.yml b/Resources/Prototypes/Entities/Structures/Power/Generation/solar.yml index efe6191b7e..378376b9e2 100644 --- a/Resources/Prototypes/Entities/Structures/Power/Generation/solar.yml +++ b/Resources/Prototypes/Entities/Structures/Power/Generation/solar.yml @@ -39,6 +39,12 @@ nodeGroupID: HVPower - type: Anchorable - type: Pullable + - type: Electrified + onHandInteract: false + onInteractUsing: false + onBump: false + requirePower: true + highVoltageNode: output - type: entity id: SolarPanel diff --git a/Resources/Prototypes/Entities/Structures/Power/apc.yml b/Resources/Prototypes/Entities/Structures/Power/apc.yml index 652a031a5d..fce3dd5547 100644 --- a/Resources/Prototypes/Entities/Structures/Power/apc.yml +++ b/Resources/Prototypes/Entities/Structures/Power/apc.yml @@ -117,6 +117,13 @@ - !type:DoActsBehavior acts: [ "Destruction" ] - type: StationInfiniteBatteryTarget + - type: Electrified + onHandInteract: false + onInteractUsing: false + onBump: false + requirePower: true + mediumVoltageNode: input + lowVoltageNode: output - type: StaticPrice price: 500 diff --git a/Resources/Prototypes/Entities/Structures/Power/smes.yml b/Resources/Prototypes/Entities/Structures/Power/smes.yml index 9b934dea02..249a39cf64 100644 --- a/Resources/Prototypes/Entities/Structures/Power/smes.yml +++ b/Resources/Prototypes/Entities/Structures/Power/smes.yml @@ -68,6 +68,13 @@ - type: Machine board: SMESMachineCircuitboard - type: StationInfiniteBatteryTarget + - type: Electrified + onHandInteract: false + onInteractUsing: false + onBump: false + requirePower: true + highVoltageNode: input + mediumVoltageNode: output - type: Damageable damageContainer: Inorganic damageModifierSet: StrongMetallic diff --git a/Resources/Prototypes/Entities/Structures/Power/substation.yml b/Resources/Prototypes/Entities/Structures/Power/substation.yml index dfe34757eb..72ff3a82fa 100644 --- a/Resources/Prototypes/Entities/Structures/Power/substation.yml +++ b/Resources/Prototypes/Entities/Structures/Power/substation.yml @@ -89,6 +89,13 @@ range: 3 sound: path: /Audio/Ambience/Objects/buzzing.ogg + - type: Electrified + onHandInteract: false + onInteractUsing: false + onBump: false + requirePower: true + highVoltageNode: input + mediumVoltageNode: output # Compact Wall Substation Base - type: entity