From a5ec01792b113caac2590fce5058e85d0dc302de Mon Sep 17 00:00:00 2001 From: saga3152 <133799418+saga3152@users.noreply.github.com> Date: Wed, 10 Jul 2024 07:52:33 +0200 Subject: [PATCH] Crafting pizza boxes. (#29680) * We can now craft pizza boxes * Fixing errors --- .../Crafting/Graphs/storage/foodboxpizza.yml | 15 +++++++++++++++ Resources/Prototypes/Recipes/Crafting/crates.yml | 13 +++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 Resources/Prototypes/Recipes/Crafting/Graphs/storage/foodboxpizza.yml diff --git a/Resources/Prototypes/Recipes/Crafting/Graphs/storage/foodboxpizza.yml b/Resources/Prototypes/Recipes/Crafting/Graphs/storage/foodboxpizza.yml new file mode 100644 index 0000000000..b475289e11 --- /dev/null +++ b/Resources/Prototypes/Recipes/Crafting/Graphs/storage/foodboxpizza.yml @@ -0,0 +1,15 @@ +- type: constructionGraph + id: FoodBoxPizza + start: start + graph: + - node: start + edges: + - to: foodboxpizza + steps: + - material: Cardboard + amount: 1 + doAfter: 4 + + + - node: foodboxpizza + entity: FoodBoxPizza \ No newline at end of file diff --git a/Resources/Prototypes/Recipes/Crafting/crates.yml b/Resources/Prototypes/Recipes/Crafting/crates.yml index 4177b3fa2a..72fabc2221 100644 --- a/Resources/Prototypes/Recipes/Crafting/crates.yml +++ b/Resources/Prototypes/Recipes/Crafting/crates.yml @@ -64,6 +64,19 @@ icon: { sprite: Objects/Storage/boxes.rsi, state: box } objectType: Item +- type: construction + name: pizza box + id: FoodBoxPizza + graph: FoodBoxPizza + startNode: start + targetNode: foodboxpizza + category: construction-category-storage + description: A box for pizza. + icon: + sprite: Objects/Consumable/Food/Baked/pizza.rsi + state: box + objectType: Item + - type: construction name: coffin id: CrateCoffin -- 2.51.2