]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Adds craftable ducky slippers (#26138)
authorPlykiya <58439124+Plykiya@users.noreply.github.com>
Mon, 18 Mar 2024 21:34:34 +0000 (14:34 -0700)
committerGitHub <noreply@github.com>
Mon, 18 Mar 2024 21:34:34 +0000 (15:34 -0600)
* Craftable ducky slippers

* fix node

---------

Co-authored-by: Plykiya <plykiya@protonmail.com>
Resources/Prototypes/Entities/Clothing/Shoes/misc.yml
Resources/Prototypes/Entities/Objects/Fun/toys.yml
Resources/Prototypes/Recipes/Construction/Graphs/clothing/ducky_slippers.yml [new file with mode: 0644]
Resources/Prototypes/Recipes/Construction/clothing.yml
Resources/Prototypes/tags.yml

index ee1708caef6e80b2dd6b204e3d34db3c1e667bb3..d1f6e083f40f6d54633256709215524cabaad7f3 100644 (file)
@@ -47,6 +47,9 @@
       collection: FootstepDuck
       params:
         variation: 0.07
+  - type: Construction
+    graph: ClothingShoeSlippersDuck
+    node: shoes
 
 - type: entity
   parent: ClothingShoesBaseButcherable
index 34c8ab0910f67aa4165922673d66ae6324595db4..180386c6929bc61c90a0825bc1cb4ac29c98bdf7 100644 (file)
     requiresSpecialDigestion: true
     useSound:
       path: /Audio/Items/Toys/mousesqueek.ogg
+  - type: Tag
+    tags:
+    - ToyRubberDuck
 
 - type: entity
   parent: BasePlushie
diff --git a/Resources/Prototypes/Recipes/Construction/Graphs/clothing/ducky_slippers.yml b/Resources/Prototypes/Recipes/Construction/Graphs/clothing/ducky_slippers.yml
new file mode 100644 (file)
index 0000000..e017096
--- /dev/null
@@ -0,0 +1,22 @@
+- type: constructionGraph
+  id: ClothingShoeSlippersDuck
+  start: start
+  graph:
+    - node: start
+      edges:
+        - to: shoes
+          steps:
+            - tag: ToyRubberDuck
+              name: a rubber ducky
+              icon:
+                sprite: Objects/Fun/ducky.rsi
+                state: icon
+              doAfter: 1
+            - tag: ToyRubberDuck
+              name: a rubber ducky
+              icon:
+                sprite: Objects/Fun/ducky.rsi
+                state: icon
+              doAfter: 1
+    - node: shoes
+      entity: ClothingShoeSlippersDuck
index 75d3dd7f951263581c31990b098a1302673ef974..89f22cdf3051460e2dc43d332d0fbd8c13b6b110 100644 (file)
   category: construction-category-clothing
   description: Two huds joined by arms
   icon: { sprite: Clothing/Eyes/Hud/medsec.rsi, state: icon }
-  objectType: Item
\ No newline at end of file
+  objectType: Item
+
+- type: construction
+  name: ducky slippers
+  id: ClothingShoeSlippersDuck
+  graph: ClothingShoeSlippersDuck
+  startNode: start
+  targetNode: shoes
+  category: construction-category-clothing
+  description: Comfy, yet haunted by the ghosts of ducks you fed bread to as a child.
+  icon: { sprite: Clothing/Shoes/Misc/duck-slippers.rsi, state: icon }
+  objectType: Item
index ab154c6b8f5ea73679809ba5f07da38731fea79f..543765f7db41e6bdafc0bb387d4fe918dfbecb63 100644 (file)
 - type: Tag
   id: Torch
 
+- type: Tag
+  id: ToyRubberDuck
+
 - type: Tag
   id: ToySidearm