From e7eb3068a0a481fc08b697fed59607c14a5504d6 Mon Sep 17 00:00:00 2001 From: SethLafuente <84478872+SethLafuente@users.noreply.github.com> Date: Sun, 25 Jul 2021 08:30:41 -0700 Subject: [PATCH] Added Makeshift Handcuffs as a craftable item (#4294) Co-authored-by: SETh lafuente --- .../Prototypes/Entities/Objects/Misc/handcuffs.yml | 3 +++ .../Recipes/Crafting/Graphs/makeshifthandcuffs.yml | 14 ++++++++++++++ .../Recipes/Crafting/makeshifthandcuffs.yml | 11 +++++++++++ 3 files changed, 28 insertions(+) create mode 100644 Resources/Prototypes/Recipes/Crafting/Graphs/makeshifthandcuffs.yml create mode 100644 Resources/Prototypes/Recipes/Crafting/makeshifthandcuffs.yml diff --git a/Resources/Prototypes/Entities/Objects/Misc/handcuffs.yml b/Resources/Prototypes/Entities/Objects/Misc/handcuffs.yml index 675f7e2642..23229182c1 100644 --- a/Resources/Prototypes/Entities/Objects/Misc/handcuffs.yml +++ b/Resources/Prototypes/Entities/Objects/Misc/handcuffs.yml @@ -42,6 +42,9 @@ startUncuffSound: /Audio/Items/Handcuffs/rope_start.ogg endUncuffSound: /Audio/Items/Handcuffs/rope_breakout.ogg startBreakoutSound: /Audio/Items/Handcuffs/rope_takeoff.ogg + - type: Construction + graph: makeshifthandcuffs + node: cuffscable - type: Sprite sprite: Objects/Misc/cablecuffs.rsi diff --git a/Resources/Prototypes/Recipes/Crafting/Graphs/makeshifthandcuffs.yml b/Resources/Prototypes/Recipes/Crafting/Graphs/makeshifthandcuffs.yml new file mode 100644 index 0000000000..08d6d57fb9 --- /dev/null +++ b/Resources/Prototypes/Recipes/Crafting/Graphs/makeshifthandcuffs.yml @@ -0,0 +1,14 @@ +- type: constructionGraph + id: makeshifthandcuffs + start: start + graph: + - node: start + edges: + - to: cuffscable + steps: + - material: Cable + amount: 15 + doAfter: 5 + - node: cuffscable + entity: Cablecuffs + diff --git a/Resources/Prototypes/Recipes/Crafting/makeshifthandcuffs.yml b/Resources/Prototypes/Recipes/Crafting/makeshifthandcuffs.yml new file mode 100644 index 0000000000..b7b0344f11 --- /dev/null +++ b/Resources/Prototypes/Recipes/Crafting/makeshifthandcuffs.yml @@ -0,0 +1,11 @@ +- type: construction + name: makeshift handcuffs + id: makeshifthandcuffs + graph: makeshifthandcuffs + startNode: start + targetNode: cuffscable + category: Utility + description: "Homemade handcuffs crafted from spare cables." + icon: Objects/Misc/cablecuffs.rsi/cuff.png + objectType: Item +