Skip to content

Commit

Permalink
Wallmount substations can once again be created (#27138)
Browse files Browse the repository at this point in the history
* Wallmount substation once again obtainable

* Fill mapped wallmount substations with components
  • Loading branch information
osjarw authored and WarMechanic committed Jul 11, 2024
1 parent a6073ef commit 9f7bb85
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 3 deletions.
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

0 comments on commit 9f7bb85

Please sign in to comment.