From a26d7b218cdde972f2f539d2411bba8b3c007339 Mon Sep 17 00:00:00 2001 From: corentt <36075110+corentt@users.noreply.github.com> Date: Sun, 18 Sep 2022 20:02:45 +0200 Subject: [PATCH] =?UTF-8?q?SMES=C2=A0are=20no=20longer=20filled=20when=20c?= =?UTF-8?q?onstructed=20(#11401)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Objects/Devices/Circuitboards/Machine/production.yml | 4 ++-- Resources/Prototypes/Entities/Structures/Power/smes.yml | 8 ++++++++ .../Prototypes/Entities/Structures/Power/substation.yml | 8 ++++++++ 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/Resources/Prototypes/Entities/Objects/Devices/Circuitboards/Machine/production.yml b/Resources/Prototypes/Entities/Objects/Devices/Circuitboards/Machine/production.yml index a07d1ad655..3cb9c7dcfa 100644 --- a/Resources/Prototypes/Entities/Objects/Devices/Circuitboards/Machine/production.yml +++ b/Resources/Prototypes/Entities/Objects/Devices/Circuitboards/Machine/production.yml @@ -318,7 +318,7 @@ sprite: Objects/Misc/module.rsi state: power_mod - type: MachineBoard - prototype: SMESBasic + prototype: SMESBasicEmpty requirements: Capacitor: 10 @@ -329,7 +329,7 @@ description: A machine printed circuit board for a substation components: - type: MachineBoard - prototype: SubstationBasic + prototype: SubstationBasicEmpty requirements: Capacitor: 3 materialRequirements: diff --git a/Resources/Prototypes/Entities/Structures/Power/smes.yml b/Resources/Prototypes/Entities/Structures/Power/smes.yml index e555728bdb..38b1acfa54 100644 --- a/Resources/Prototypes/Entities/Structures/Power/smes.yml +++ b/Resources/Prototypes/Entities/Structures/Power/smes.yml @@ -71,3 +71,11 @@ - type: Battery maxCharge: 10000000 startingCharge: 10000000 + +- type: entity + parent: SMESBasic + id: SMESBasicEmpty + suffix: Empty + components: + - type: Battery + startingCharge: 0 diff --git a/Resources/Prototypes/Entities/Structures/Power/substation.yml b/Resources/Prototypes/Entities/Structures/Power/substation.yml index 42bee61ae8..1a06b6ce64 100644 --- a/Resources/Prototypes/Entities/Structures/Power/substation.yml +++ b/Resources/Prototypes/Entities/Structures/Power/substation.yml @@ -169,6 +169,14 @@ maxCharge: 4000000 startingCharge: 4000000 +- type: entity + parent: SubstationBasic + id: SubstationBasicEmpty + suffix: Empty + components: + - type: Battery + startingCharge: 0 + - type: entity parent: BaseSubstationWall id: SubstationWallBasic