From fd4bf1ab69f2f1dd9dc383cb0eac43cc427d1b41 Mon Sep 17 00:00:00 2001 From: ninruB <38016303+asperger-sind@users.noreply.github.com> Date: Sat, 5 Mar 2022 22:47:19 +0200 Subject: [PATCH] White and dark tiles craftable 2: Electric Boogalo! (#6837) * Uncommented the white and dark tile recipe. * Added a crafting recipe for white and dark tiles. * smol fix * another fix, 6 days late, I wish I wasn't blind * I can't read, thanks Peptide * Added construction graphs for white and dark tiles, pascalcased wood and steel tiles * minor fixes and pascalcase * Pascalcased wood and steel IDs * Pascalcase and stuff, also I think fixes? --- .../Entities/Objects/Misc/tiles.yml | 10 +++- .../Recipes/Crafting/Graphs/tiles.yml | 36 ++++++++++++- .../Prototypes/Recipes/Crafting/tiles.yml | 52 +++++++++---------- 3 files changed, 68 insertions(+), 30 deletions(-) diff --git a/Resources/Prototypes/Entities/Objects/Misc/tiles.yml b/Resources/Prototypes/Entities/Objects/Misc/tiles.yml index 8bc856ccf5..3031d91525 100644 --- a/Resources/Prototypes/Entities/Objects/Misc/tiles.yml +++ b/Resources/Prototypes/Entities/Objects/Misc/tiles.yml @@ -32,7 +32,7 @@ - type: Stack stackType: FloorTileSteel - type: Construction - graph: tileSteel + graph: TileSteel node: steeltile - type: entity @@ -51,7 +51,7 @@ - type: Stack stackType: FloorTileWood - type: Construction - graph: tileWood + graph: TileWood node: woodtile - type: entity @@ -69,6 +69,9 @@ - floor_white - type: Stack stackType: FloorTileWhite + - type: Construction + graph: TileWhite + node: whitetile - type: entity name: dark tile @@ -85,6 +88,9 @@ - floor_dark - type: Stack stackType: FloorTileDark + - type: Construction + graph: TileDark + node: darktile - type: entity name: techmaint floor diff --git a/Resources/Prototypes/Recipes/Crafting/Graphs/tiles.yml b/Resources/Prototypes/Recipes/Crafting/Graphs/tiles.yml index 99abd6f204..329037efb2 100644 --- a/Resources/Prototypes/Recipes/Crafting/Graphs/tiles.yml +++ b/Resources/Prototypes/Recipes/Crafting/Graphs/tiles.yml @@ -1,5 +1,5 @@ - type: constructionGraph - id: tileSteel + id: TileSteel start: start graph: - node: start @@ -15,7 +15,7 @@ entity: FloorTileItemSteel - type: constructionGraph - id: tileWood + id: TileWood start: start graph: - node: start @@ -30,3 +30,35 @@ amount: 1 - node: woodtile entity: FloorTileItemWood + +- type: constructionGraph + id: TileWhite + start: start + graph: + - node: start + edges: + - to: whitetile + completed: + - !type:SetStackCount + amount: 4 + steps: + - material: Steel + amount: 1 + - node: whitetile + entity: FloorTileItemWhite + +- type: constructionGraph + id: TileDark + start: start + graph: + - node: start + edges: + - to: darktile + completed: + - !type:SetStackCount + amount: 4 + steps: + - material: Steel + amount: 1 + - node: darktile + entity: FloorTileItemDark diff --git a/Resources/Prototypes/Recipes/Crafting/tiles.yml b/Resources/Prototypes/Recipes/Crafting/tiles.yml index dcc8685ae0..f43c2cd52f 100644 --- a/Resources/Prototypes/Recipes/Crafting/tiles.yml +++ b/Resources/Prototypes/Recipes/Crafting/tiles.yml @@ -2,8 +2,8 @@ - type: construction name: steel tile - id: tileSteel - graph: tileSteel + id: TileSteel + graph: TileSteel startNode: start targetNode: steeltile category: Tiles @@ -13,8 +13,8 @@ - type: construction name: wood floor - id: tileWood - graph: tileWood + id: TileWood + graph: TileWood startNode: start targetNode: woodtile category: Tiles @@ -22,28 +22,28 @@ icon: Objects/Tiles/tile.rsi/wood.png objectType: Item -# - type: construction -# name: white tile -# id: tileWhite -# graph: tileWhite -# startNode: start -# targetNode: whitetile -# category: Tiles -# description: "A white station tile." -# icon: Objects/Tiles/tile.rsi/white.png -# objectType: Item -# -# - type: construction -# name: dark tile -# id: tileDark -# graph: tile -# startNode: start -# targetNode: darktile -# category: Tiles -# description: "A dark station tile." -# icon: Objects/Tiles/tile.rsi/dark.png -# objectType: Item -# +- type: construction + name: white tile + id: TileWhite + graph: TileWhite + startNode: start + targetNode: whitetile + category: Tiles + description: "Four white station tiles." + icon: Objects/Tiles/tile.rsi/white.png + objectType: Item + +- type: construction + name: dark tile + id: TileDark + graph: TileDark + startNode: start + targetNode: darktile + category: Tiles + description: "Four dark station tiles." + icon: Objects/Tiles/tile.rsi/dark.png + objectType: Item + # - type: construction # name: techmaint floor # id: tileTechmaint