Gives Surgical Drapes a Use (#25686)

* Gives drapes some utility for starting surgeries

* Adds a nice helping of drapes throughout the codebase

* add icon, realize I didn't think that through

* Handles blood with signals

* whoopsie daisy

* range

* how about borgs

* Apply suggestions from code review

Co-authored-by: Matt <116982774+Burzah@users.noreply.github.com>
Signed-off-by: Luc <89928798+lewcc@users.noreply.github.com>

* burza suggestion

* more dgamer reviews

* Oops

* Update code/modules/surgery/surgery.dm

Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
Signed-off-by: Luc <89928798+lewcc@users.noreply.github.com>

---------

Signed-off-by: Luc <89928798+lewcc@users.noreply.github.com>
Co-authored-by: Matt <116982774+Burzah@users.noreply.github.com>
Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
This commit is contained in:
Luc
2024-07-01 19:01:17 +00:00
committed by GitHub
co-authored by Matt DGamerL
parent 87e6460c58
commit 77253c5ae7
13 changed files with 157 additions and 23 deletions
@@ -368,6 +368,7 @@ GLOBAL_LIST_INIT(cloth_recipes, list (
)),
null,
new /datum/stack_recipe("improvised gauze", /obj/item/stack/medical/bruise_pack/improvised, 1, 2, 6),
new /datum/stack_recipe("imrovised drapes", /obj/item/surgical_drapes/improvised, 1),
new /datum/stack_recipe("rag", /obj/item/reagent_containers/glass/rag, 1),
new /datum/stack_recipe("bedsheet", /obj/item/bedsheet, 3),
new /datum/stack_recipe("empty sandbag", /obj/item/emptysandbag, 4),
@@ -407,6 +408,7 @@ GLOBAL_LIST_INIT(durathread_recipes, list (
new /datum/stack_recipe("durathread beret", /obj/item/clothing/head/beret/durathread, 2, time = 4 SECONDS),
new /datum/stack_recipe("durathread beanie", /obj/item/clothing/head/beanie/durathread, 2, time = 4 SECONDS),
new /datum/stack_recipe("durathread bandana", /obj/item/clothing/mask/bandana/durathread, 1, time = 2.5 SECONDS),
new /datum/stack_recipe("surgical drapes", /obj/item/surgical_drapes, 1, time = 3 SECONDS)
))
/obj/item/stack/sheet/durathread
@@ -596,6 +596,7 @@
new /obj/item/bonegel(src)
new /obj/item/bonesetter(src)
new /obj/item/FixOVein(src)
new /obj/item/surgical_drapes(src)
new /obj/item/clothing/suit/straight_jacket(src)
new /obj/item/clothing/mask/muzzle(src)
new /obj/item/reagent_containers/glass/bottle/reagent/hydrocodone(src)
+1
View File
@@ -123,6 +123,7 @@
/obj/item/clothing/glasses/sunglasses,
/obj/item/food/snacks/fortunecookie,
/obj/item/scalpel/laser/laser1,
/obj/item/surgical_drapes,
/obj/item/toy/figure/crew/cmo,
/obj/item/toy/figure/crew/chemist,
/obj/item/toy/figure/crew/geneticist,
@@ -26,6 +26,10 @@ LINEN BINS
var/list/nightmare_messages = list("black")
var/comfort = 0.5
/obj/item/bedsheet/Initialize(mapload)
. = ..()
AddComponent(/datum/component/surgery_initiator/cloth, null, 0.45) // honestly, not bad.
/obj/item/bedsheet/attack_hand(mob/user)
if(isturf(loc) && user.Move_Pulled(src)) // make sure its on the ground first, prevents a speed exploit
return