Add construction graph for glass variants (#3537)

This commit is contained in:
ShadowCommander
2021-03-07 15:22:25 -08:00
committed by GitHub
parent f12270718d
commit 0fc70ce57e
3 changed files with 90 additions and 0 deletions

View File

@@ -39,6 +39,9 @@
- type: FloorTile
outputs:
- floor_glass
- type: Construction
graph: glass
node: SheetGlass
- type: entity
id: SheetGlass1
@@ -75,6 +78,9 @@
- type: FloorTile
outputs:
- floor_rglass
- type: Construction
graph: glass
node: SheetRGlass
- type: entity
id: SheetRGlass1
@@ -108,6 +114,9 @@
- pglass
- pglass_2
- pglass_3
- type: Construction
graph: glass
node: SheetPGlass
- type: entity
id: SheetPGlass1
@@ -141,6 +150,9 @@
- rpglass
- rpglass_2
- rpglass_3
- type: Construction
graph: glass
node: SheetRPGlass
- type: entity
id: SheetRPGlass1

View File

@@ -0,0 +1,48 @@
- type: constructionGraph
id: glass
start: start
graph:
- node: start
edges:
- to: SheetRGlass
completed:
- !type:SetStackCount
amount: 1
steps:
- material: Glass
amount: 1
- material: MetalRod
amount: 1
- to: SheetPGlass
completed:
- !type:SetStackCount
amount: 1
steps:
- material: Glass
amount: 1
- material: Plasma
amount: 1
- to: SheetRPGlass
completed:
- !type:SetStackCount
amount: 1
steps:
- material: Glass
amount: 1
- material: Plasma
amount: 1
- material: MetalRod
amount: 1
- node: SheetGlass
entity: SheetGlass
- node: SheetRGlass
entity: SheetRGlass
- node: SheetPGlass
entity: SheetPGlass
- node: SheetRPGlass
entity: SheetRPGlass

View File

@@ -8,3 +8,33 @@
description: A sturdy metal rod that can be used for various purposes.
icon: Objects/Materials/parts.rsi/rods.png
objectType: Item
- type: construction
name: Reinforced Glass
id: sheetRGlass
graph: glass
startNode: start
targetNode: SheetRGlass
category: Materials
icon: Objects/Materials/Sheets/glass.rsi/rglass.png
objectType: Item
- type: construction
name: Plasma Glass
id: sheetPGlass
graph: glass
startNode: start
targetNode: SheetPGlass
category: Materials
icon: Objects/Materials/Sheets/glass.rsi/pglass.png
objectType: Item
- type: construction
name: Reinforced Plasma Glass
id: sheetRPGlass
graph: glass
startNode: start
targetNode: SheetRPGlass
category: Materials
icon: Objects/Materials/Sheets/glass.rsi/rpglass.png
objectType: Item