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

Cherry-Pick PR "Wallmount Substations Can Once Again Be Created" #27138 #539

Merged
merged 1 commit into from
Jul 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@
- APCElectronics
- SMESMachineCircuitboard
- SubstationMachineCircuitboard
- WallmountSubstationElectronics
- CellRechargerCircuitboard
- BorgChargerCircuitboard
- WeaponCapacitorRechargerCircuitboard
Expand Down
10 changes: 10 additions & 0 deletions Resources/Prototypes/Entities/Structures/Power/substation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,16 @@
- type: Battery
maxCharge: 2000000
startingCharge: 2000000
- type: ContainerFill
containers:
board: [ WallmountSubstationElectronics ]
capacitor: [ CapacitorStockPart ]
powercell: [ PowerCellSmall ]
- type: ContainerContainer
containers:
board: !type:Container
capacitor: !type:Container
powercell: !type:Container

# Construction Frame
- type: entity
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,13 @@
steps:
- material: Cable
amount: 5
doAfter: 2
doAfter: 0.5
- material: CableMV
amount: 5
doAfter: 0.5
- material: CableHV
amount: 5
doAfter: 0.5
- tool: Screwing
doAfter: 2

Expand All @@ -41,12 +47,34 @@
icon:
sprite: "Objects/Misc/module.rsi"
state: "charger_APC"
doAfter: 1
doAfter: 0.5
- anyTags:
- PowerCell
- PowerCellSmall
store: powercell
name: a powercell
icon:
sprite: "Objects/Power/power_cells.rsi"
state: "medium"
doAfter: 0.5
- tag: CapacitorStockPart
name: a capacitor
store: capacitor
icon:
sprite: "Objects/Misc/stock_parts.rsi"
state: "capacitor"
doAfter: 0.5
- to: frame
completed:
- !type:GivePrototype
prototype: CableApcStack1
amount: 5
- !type:GivePrototype
prototype: CableMVStack1
amount: 5
- !type:GivePrototype
prototype: CableHVStack1
amount: 5
steps:
- tool: Cutting
doAfter: 1
Expand Down
2 changes: 1 addition & 1 deletion Resources/Prototypes/Recipes/Lathes/electronics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@
completetime: 4
materials:
Steel: 50
Glass: 350
Glass: 450

- type: latheRecipe
id: SMESMachineCircuitboard
Expand Down
Loading