From 39bb4f68376f55e5c83ea90851a715b30b1e2e79 Mon Sep 17 00:00:00 2001 From: Whatstone <166147148+whatston3@users.noreply.github.com> Date: Mon, 5 Oct 2026 00:15:22 +0000 Subject: [PATCH] Cleanup tesla coil & grounding rod (#45968) --- .../Power/Generation/Tesla/coil.yml | 44 +++++-------------- 1 file changed, 12 insertions(+), 32 deletions(-) diff --git a/Resources/Prototypes/Entities/Structures/Power/Generation/Tesla/coil.yml b/Resources/Prototypes/Entities/Structures/Power/Generation/Tesla/coil.yml index aed8746e78..8cbf2ff3ca 100644 --- a/Resources/Prototypes/Entities/Structures/Power/Generation/Tesla/coil.yml +++ b/Resources/Prototypes/Entities/Structures/Power/Generation/Tesla/coil.yml @@ -1,15 +1,9 @@ - type: entity - parent: BaseStructureHealth + parent: [BaseStructure, BaseStructureHealth] id: TeslaCoil name: tesla coil description: A machine that converts lightning strikes into an electric current. - placement: - mode: SnapgridCenter components: - - type: Transform - anchored: true - - type: Physics - bodyType: Static - type: Fixtures fixtures: fix1: @@ -23,14 +17,13 @@ - MachineLayer - type: Sprite sprite: Structures/Power/Generation/Tesla/coil.rsi - snapCardinals: true noRot: true layers: - - state: coil - map: ["enabled"] - - state: coilhit - visible: false - map: ["hit"] + - state: coil + map: ["enabled"] + - state: coilhit + visible: false + map: ["hit"] - type: Appearance - type: GenericVisualizer visuals: @@ -82,9 +75,6 @@ usesApcPower: false highVoltageNode: input - type: Anchorable - - type: Rotatable - - type: Pullable - - type: Clickable - type: InteractionOutline - type: ExaminableDamage messages: WindowMessages @@ -117,17 +107,11 @@ - SingularityTeslaEngine - type: entity - parent: BaseStructureHealth + parent: [BaseStructure, BaseStructureHealth] id: TeslaGroundingRod name: grounding rod description: A machine that keeps lightning from striking too far away. - placement: - mode: SnapgridCenter components: - - type: Transform - anchored: true - - type: Physics - bodyType: Static - type: Fixtures fixtures: fix1: @@ -142,13 +126,12 @@ - type: Sprite sprite: Structures/Power/Generation/Tesla/coil.rsi noRot: true - snapCardinals: true layers: - - state: grounding_rod - map: ["power"] - - state: grounding_rodhit - visible: false - map: ["hit"] + - state: grounding_rod + map: ["power"] + - state: grounding_rodhit + visible: false + map: ["hit"] - type: Appearance - type: GenericVisualizer visuals: @@ -167,9 +150,6 @@ lightningExplode: false damageFromLightning: 0 - type: Anchorable - - type: Rotatable - - type: Pullable - - type: Clickable - type: InteractionOutline - type: ExaminableDamage messages: WindowMessages