shiv + laundry cart

This commit is contained in:
Bawhoppen
2020-02-18 04:40:28 -06:00
parent 8b2a728291
commit fcf3ce223c
9 changed files with 34 additions and 13 deletions
+13 -2
View File
@@ -309,10 +309,21 @@ GLOBAL_LIST_INIT(plastitaniumglass_recipes, list(
to_chat(M, "<span class='warning'>[src] cuts into your hand!</span>")
M.apply_damage(force*0.5, BRUTE, hit_hand)
/obj/item/shard/attackby(obj/item/I, mob/user, params)
if(istype(I, /obj/item/lightreplacer))
I.attackby(src, user)
var/obj/item/lightreplacer/L = I
L.attackby(src, user)
else if(istype(I, /obj/item/stack/sheet/cloth))
var/obj/item/stack/sheet/cloth/C = I
to_chat(user, "<span class='notice'>You begin to wrap the [C] around the [src]...</span>")
if(do_after(user, 35, target = src))
var/obj/item/kitchen/knife/shiv/S = new /obj/item/kitchen/knife/shiv
user.put_in_hands(S)
C.use(1)
to_chat(user, "<span class='notice'>You wrap the [C] around the [src] forming a makeshift weapon.</span>")
remove_item_from_storage(src)
qdel(src)
else
return ..()