From b11e600cff1cf8d2e73f2f110a787dba4df8756a Mon Sep 17 00:00:00 2001
From: Mickyan <38563876+Mickyan@users.noreply.github.com>
Date: Sun, 13 May 2018 02:14:30 +0200
Subject: [PATCH] Makes gauze deconstructable into cloth
---
code/game/objects/items/stacks/medical.dm | 19 ++++++++++++++++++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/code/game/objects/items/stacks/medical.dm b/code/game/objects/items/stacks/medical.dm
index 511f9754fe..f8e965e295 100644
--- a/code/game/objects/items/stacks/medical.dm
+++ b/code/game/objects/items/stacks/medical.dm
@@ -127,6 +127,18 @@
self_delay = 20
max_amount = 12
+/obj/item/stack/medical/gauze/wirecutter_act(mob/living/user, obj/item/I)
+ if(get_amount() < 2)
+ to_chat(user, "You need at least two gauze to do this!")
+ return
+ new /obj/item/stack/sheet/cloth(user.drop_location())
+ user.visible_message("[user] cuts [src] into pieces of cloth with [I].", \
+ "You cut [src] into pieces of cloth with [I].", \
+ "You hear cutting.")
+ var/obj/item/stack/medical/gauze/R = src
+ src = null
+ R.use(2)
+
/obj/item/stack/medical/gauze/suicide_act(mob/living/user)
user.visible_message("[user] begins tightening \the [src] around [user.p_their()] neck! It looks like [user.p_they()] forgot how to use medical supplies!")
return OXYLOSS
@@ -155,5 +167,10 @@
grind_results = list("silver_sulfadiazine" = 10)
/obj/item/stack/medical/ointment/suicide_act(mob/living/user)
+<<<<<<< HEAD
user.visible_message("[user] is squeezing \the [src] into [user.p_their()] mouth! Don't they know that stuff is toxic?")
- return TOXLOSS
\ No newline at end of file
+ return TOXLOSS
+=======
+ user.visible_message("[user] is squeezing \the [src] into [user.p_their()] mouth! [user.p_do(TRUE)]n't [user.p_they()] know that stuff is toxic?")
+ return TOXLOSS
+>>>>>>> 01f9f56... Makes gauze deconstructable into cloth (#37731)