]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Makes the rolling pin craftable (#32285)
authoraugust-sun <45527070+august-sun@users.noreply.github.com>
Wed, 25 Sep 2024 17:27:30 +0000 (11:27 -0600)
committerGitHub <noreply@github.com>
Wed, 25 Sep 2024 17:27:30 +0000 (19:27 +0200)
* Makes the rolling pin craftable

* Update Resources/Prototypes/Recipes/Crafting/Graphs/improvised/rolling_pin.yml

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
---------

Co-authored-by: august-sun <45527070+august.sun@users.noreply.github.com>
Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
Resources/Prototypes/Entities/Objects/Tools/tools.yml
Resources/Prototypes/Recipes/Crafting/Graphs/improvised/rolling_pin.yml [new file with mode: 0644]
Resources/Prototypes/Recipes/Crafting/improvised.yml

index d985560ac2dad47356cc34aa942f2b73d550c33c..41d167352f2954de50c56abf2003c9b42853dd86 100644 (file)
   - type: Tag
     tags:
     - RollingPin
+  - type: Construction
+    graph: WoodenRollingPin
+    node: rollingpin
diff --git a/Resources/Prototypes/Recipes/Crafting/Graphs/improvised/rolling_pin.yml b/Resources/Prototypes/Recipes/Crafting/Graphs/improvised/rolling_pin.yml
new file mode 100644 (file)
index 0000000..caa9ebb
--- /dev/null
@@ -0,0 +1,15 @@
+- type: constructionGraph
+  id: WoodenRollingPin
+  start: start
+  graph:
+  - node: start
+    edges:
+    - to: rollingpin
+      steps:
+      - material: WoodPlank
+        amount: 2
+      - material: MetalRod
+        amount: 1
+        doAfter: 2
+  - node: rollingpin
+    entity: RollingPin
index 38d254c1416d947e6c7fcceea32e3cc1d9e796d9..c87f4eb3d20c8e7631ac5e6d6d398edbebfef077 100644 (file)
   targetNode: shell
   category: construction-category-weapons
   objectType: Item
-  description: A homemade shotgun shell that shoots painful glass shrapnel. The spread is so wide that it couldn't hit the broad side of a Barn
+  description: A homemade shotgun shell that shoots painful glass shrapnel. The spread is so wide that it couldn't hit the broad side of a barn.
   icon:
     sprite: Objects/Weapons/Guns/Ammunition/Casings/shotgun_shell.rsi
     state: improvised
   icon:
     sprite: Objects/Weapons/Bombs/pipebomb.rsi
     state: icon
+
+- type: construction
+  name: rolling pin
+  id: rollingpin
+  graph: WoodenRollingPin
+  startNode: start
+  targetNode: rollingpin
+  category: construction-category-tools
+  objectType: Item
+  description: A rolling pin, used for cooking and defending the kitchen.
+  icon:
+    sprite: Objects/Tools/rolling_pin.rsi
+    state: icon