Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Advanced smes recipe fix #2770

Merged
merged 9 commits into from
Jan 31, 2025
Original file line number Diff line number Diff line change
Expand Up @@ -679,13 +679,11 @@
state: power_mod
- type: MachineBoard
prototype: SMESAdvancedEmpty
requirements: # Frontier
Capacitor: 2 # Frontier stackRequirements<requirements
PowerCell: 8 # Frontier componentRequirements<requirements, 4<8
stackRequirements:
Capacitor: 2
CableHV: 20
componentRequirements:
PowerCell:
amount: 4
defaultPrototype: PowerCellMedium

- type: entity
id: CellRechargerCircuitboard
Expand Down
18 changes: 12 additions & 6 deletions Resources/Prototypes/Entities/Structures/Power/smes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,6 @@
- map: [ "enum.WiresVisualLayers.MaintenancePanel" ]
state: smes-open
- type: Smes
- type: UpgradeBattery
maxChargeMultiplier: 2
baseMaxCharge: 8000000
- type: UpgradePowerSupplyRamping
scaling: Linear
supplyRampingMultiplier: 1
- type: Appearance
- type: Battery
startingCharge: 0
Expand Down Expand Up @@ -97,6 +91,14 @@
sendBroadcastAttemptEvent: true
examinableAddress: true
- type: WiredNetworkConnection
# Frontier: upgradable SMES
- type: UpgradeBattery
maxChargeMultiplier: 2
baseMaxCharge: 8000000
- type: UpgradePowerSupplyRamping
scaling: Linear
supplyRampingMultiplier: 1
# End Frontier: upgradable SMES

# SMES' in use

Expand Down Expand Up @@ -153,6 +155,10 @@
collectionName: smes
sprite: Structures/Power/smes.rsi
state: advancedsmes-static
# Frontier: upgradable SMES
- type: UpgradeBattery
baseMaxCharge: 16000000
# End Frontier: upgradable SMES

- type: entity
parent: SMESAdvanced
Expand Down
Loading