SMES are no longer filled when constructed (#11401)

This commit is contained in:
corentt
2022-09-18 20:02:45 +02:00
committed by GitHub
parent 1eed3db001
commit a26d7b218c
3 changed files with 18 additions and 2 deletions

View File

@@ -318,7 +318,7 @@
sprite: Objects/Misc/module.rsi sprite: Objects/Misc/module.rsi
state: power_mod state: power_mod
- type: MachineBoard - type: MachineBoard
prototype: SMESBasic prototype: SMESBasicEmpty
requirements: requirements:
Capacitor: 10 Capacitor: 10
@@ -329,7 +329,7 @@
description: A machine printed circuit board for a substation description: A machine printed circuit board for a substation
components: components:
- type: MachineBoard - type: MachineBoard
prototype: SubstationBasic prototype: SubstationBasicEmpty
requirements: requirements:
Capacitor: 3 Capacitor: 3
materialRequirements: materialRequirements:

View File

@@ -71,3 +71,11 @@
- type: Battery - type: Battery
maxCharge: 10000000 maxCharge: 10000000
startingCharge: 10000000 startingCharge: 10000000
- type: entity
parent: SMESBasic
id: SMESBasicEmpty
suffix: Empty
components:
- type: Battery
startingCharge: 0

View File

@@ -169,6 +169,14 @@
maxCharge: 4000000 maxCharge: 4000000
startingCharge: 4000000 startingCharge: 4000000
- type: entity
parent: SubstationBasic
id: SubstationBasicEmpty
suffix: Empty
components:
- type: Battery
startingCharge: 0
- type: entity - type: entity
parent: BaseSubstationWall parent: BaseSubstationWall
id: SubstationWallBasic id: SubstationWallBasic