New generators and wallmount substation (Shuttle power PR) (#6795)

This commit is contained in:
Peptide90
2022-03-15 01:27:39 +00:00
committed by GitHub
parent 632c505af2
commit 5d29c8aa61
32 changed files with 994 additions and 114 deletions

View File

@@ -0,0 +1,102 @@
- type: constructionGraph
id: WallmountGenerator
start: start
graph:
- node: start
edges:
- to: frame
steps:
- material: Steel
amount: 5
doAfter: 2
- node: frame
entity: BaseGeneratorWallmountFrame
edges:
- to: start
steps:
- tool: Welding
doAfter: 4
completed:
- !type:SpawnPrototype
prototype: SheetSteel1
amount: 5
- to: parts
steps:
- material: Cable
amount: 5
doAfter: 2
- tool: Screwing
doAfter: 2
- node: parts
edges:
- to: electronics
steps:
- prototype: WallmountGeneratorElectronics
store: board
name: "wallmount generator circuit board"
icon:
sprite: "Objects/Misc/module.rsi"
state: "charger_APC"
doAfter: 1
- to: electronicsAPU
steps:
- prototype: WallmountGeneratorAPUElectronics
store: board
name: "wallmount APU circuit board"
icon:
sprite: "Objects/Misc/module.rsi"
state: "charger_APC"
doAfter: 1
- to: frame
completed:
- !type:SpawnPrototype
prototype: CableHVStack1
amount: 5
steps:
- tool: Cutting
doAfter: 1
- node: electronics
edges:
- to: generator
steps:
- tool: Screwing
doAfter: 2
- node: electronicsAPU
edges:
- to: APU
steps:
- tool: Screwing
doAfter: 2
- node: generator
entity: GeneratorWallmountBasic
edges:
- to: parts
conditions:
- !type:WirePanel {}
- !type:ContainerNotEmpty
container: board
completed:
- !type:EmptyAllContainers {}
steps:
- tool: Prying
doAfter: 1
- node: APU
entity: GeneratorWallmountAPU
edges:
- to: parts
conditions:
- !type:WirePanel {}
- !type:ContainerNotEmpty
container: board
completed:
- !type:EmptyAllContainers {}
steps:
- tool: Prying
doAfter: 1

View File

@@ -0,0 +1,72 @@
- type: constructionGraph
id: WallmountSubstation
start: start
graph:
- node: start
edges:
- to: frame
steps:
- material: Steel
amount: 5
doAfter: 2
- node: frame
entity: BaseSubstationWallFrame
edges:
- to: start
steps:
- tool: Welding
doAfter: 4
completed:
- !type:SpawnPrototype
prototype: SheetSteel1
amount: 5
- to: parts
steps:
- material: Cable
amount: 5
doAfter: 2
- tool: Screwing
doAfter: 2
- node: parts
edges:
- to: electronics
steps:
- prototype: WallmountSubstationElectronics
store: board
name: "wallmount substation circuit board"
icon:
sprite: "Objects/Misc/module.rsi"
state: "charger_APC"
doAfter: 1
- to: frame
completed:
- !type:SpawnPrototype
prototype: CableHVStack1
amount: 5
steps:
- tool: Cutting
doAfter: 1
- node: electronics
edges:
- to: substation
steps:
- tool: Screwing
doAfter: 2
- node: substation
entity: BaseSubstationWall
edges:
- to: parts
conditions:
- !type:WirePanel {}
- !type:ContainerNotEmpty
container: board
completed:
- !type:EmptyAllContainers {}
steps:
- tool: Prying
doAfter: 1

View File

@@ -46,6 +46,50 @@
placementMode: SnapgridCenter
canBuildInImpassable: false
- type: construction
name: wallmount substation
id: WallmountSubstation
graph: WallmountSubstation
startNode: start
targetNode: substation
category: Utilities
description: "A wallmount substation for compact spaces. Make sure to place cable under before building the wall."
icon:
sprite: Structures/Power/substation.rsi
state: substation_wall
objectType: Structure
placementMode: SnapgridCenter
canBuildInImpassable: true
- type: construction
name: wallmount generator
id: WallmountGenerator
graph: WallmountGenerator
startNode: start
targetNode: generator
category: Utilities
description: "A wallmount generator for compact spaces. Make sure to place cable under before building the wall."
icon:
sprite: Structures/Power/Generation/wallmount_generator.rsi
state: panel
objectType: Structure
placementMode: SnapgridCenter
canBuildInImpassable: true
- type: construction
name: wallmount APU
id: WallmountGeneratorAPU
graph: WallmountGenerator
startNode: start
targetNode: APU
category: Utilities
description: "A wallmount APU for compact shuttles. Make sure to place cable under before building the wall."
icon:
sprite: Structures/Power/Generation/wallmount_generator.rsi
state: panel
objectType: Structure
placementMode: SnapgridCenter
canBuildInImpassable: true
# DISPOSALS
- type: construction

View File

@@ -16,15 +16,6 @@
Steel: 50
Plastic: 50
- type: latheRecipe
id: APCElectronics
icon: Objects/Misc/module.rsi/charger_APC.png
result: APCElectronics
completetime: 500
materials:
Steel: 50
Plastic: 50
- type: latheRecipe
id: AirAlarmElectronics
icon: Objects/Misc/module.rsi/airalarm_electronics.png
@@ -43,24 +34,6 @@
Steel: 50
Plastic: 50
- type: latheRecipe
id: SubstationMachineCircuitboard
icon: Objects/Misc/module.rsi/id_mod.png
result: SubstationMachineCircuitboard
completetime: 1000
materials:
Steel: 50
Glass: 450
- type: latheRecipe
id: SMESMachineCircuitboard
icon: Objects/Misc/module.rsi/power_mod.png
result: SMESMachineCircuitboard
completetime: 1000
materials:
Steel: 100
Glass: 900
- type: latheRecipe
id: CloningPodMachineCircuitboard
icon: Objects/Misc/module.rsi/id_mod.png
@@ -109,15 +82,6 @@
Glass: 900
Gold: 100
- type: latheRecipe
id: SolarControlComputerCircuitboard
icon: Objects/Misc/module.rsi/id_mod.png
result: SolarControlComputerCircuitboard
completetime: 1000
materials:
Steel: 100
Glass: 900
- type: latheRecipe
id: HydroponicsTrayMachineCircuitboard
icon: Objects/Misc/module.rsi/id_mod.png
@@ -220,3 +184,85 @@
materials:
Steel: 100
Glass: 900
# Power
- type: latheRecipe
id: APCElectronics
icon: Objects/Misc/module.rsi/charger_APC.png
result: APCElectronics
completetime: 500
materials:
Steel: 50
Glass: 100
- type: latheRecipe
id: SubstationMachineCircuitboard
icon: Objects/Misc/module.rsi/id_mod.png
result: SubstationMachineCircuitboard
completetime: 1000
materials:
Steel: 50
Glass: 450
- type: latheRecipe
id: WallmountSubstationElectronics
icon: Objects/Misc/module.rsi/id_mod.png
result: WallmountSubstationElectronics
completetime: 1000
materials:
Steel: 50
Glass: 350
- type: latheRecipe
id: SMESMachineCircuitboard
icon: Objects/Misc/module.rsi/power_mod.png
result: SMESMachineCircuitboard
completetime: 1000
materials:
Steel: 100
Glass: 900
- type: latheRecipe
id: GeneratorPlasmaMachineCircuitboard
icon: Objects/Misc/module.rsi/id_mod.png
result: GeneratorPlasmaMachineCircuitboard
completetime: 1000
materials:
Steel: 50
Glass: 350
- type: latheRecipe
id: GeneratorUraniumMachineCircuitboard
icon: Objects/Misc/module.rsi/id_mod.png
result: GeneratorUraniumMachineCircuitboard
completetime: 1000
materials:
Steel: 50
Glass: 350
- type: latheRecipe
id: WallmountGeneratorElectronics
icon: Objects/Misc/module.rsi/id_mod.png
result: WallmountGeneratorElectronics
completetime: 1000
materials:
Steel: 50
Glass: 350
- type: latheRecipe
id: WallmountGeneratorAPUElectronics
icon: Objects/Misc/module.rsi/id_mod.png
result: WallmountGeneratorAPUElectronics
completetime: 1000
materials:
Steel: 50
Glass: 350
- type: latheRecipe
id: SolarControlComputerCircuitboard
icon: Objects/Misc/module.rsi/id_mod.png
result: SolarControlComputerCircuitboard
completetime: 1000
materials:
Steel: 100
Glass: 900