diff --git a/Resources/Prototypes/Entities/Objects/Materials/Sheets/glass.yml b/Resources/Prototypes/Entities/Objects/Materials/Sheets/glass.yml index 9fe0554257..f55bed8283 100644 --- a/Resources/Prototypes/Entities/Objects/Materials/Sheets/glass.yml +++ b/Resources/Prototypes/Entities/Objects/Materials/Sheets/glass.yml @@ -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 diff --git a/Resources/Prototypes/Recipes/Construction/Graphs/glass.yml b/Resources/Prototypes/Recipes/Construction/Graphs/glass.yml new file mode 100644 index 0000000000..a604b4752e --- /dev/null +++ b/Resources/Prototypes/Recipes/Construction/Graphs/glass.yml @@ -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 + diff --git a/Resources/Prototypes/Recipes/Construction/materials.yml b/Resources/Prototypes/Recipes/Construction/materials.yml index 11c50dc669..173d82267f 100644 --- a/Resources/Prototypes/Recipes/Construction/materials.yml +++ b/Resources/Prototypes/Recipes/Construction/materials.yml @@ -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