Fix to body bags

- "body bags" renamed to "body bag kit". Basically the box with the body
bags in it
- Body bag boxes can now fit body bags, and body bags only for all sorts
of good reasons
- Label system changed a little bit
This commit is contained in:
dylanstrategie
2014-09-30 20:42:59 +02:00
parent 07229be6c3
commit fb440df0b8

View File

@@ -13,9 +13,12 @@
/obj/item/weapon/storage/box/bodybags
name = "body bags"
desc = "This box contains body bags."
name = "body bag kit"
desc = "A kit specifically designed to fit bodybags."
icon_state = "bodybags"
max_w_class = 3
max_combined_w_class = 21
can_hold = list("/obj/item/bodybag") //Needed due to the last two variables, figures
New()
..()
new /obj/item/bodybag(src)
@@ -45,13 +48,10 @@
if (!in_range(src, user) && src.loc != user)
return
t = copytext(sanitize(t),1,MAX_MESSAGE_LEN)
if (t)
src.name = "body bag - "
src.name += t
src.overlays += image(src.icon, "bodybag_label")
else
src.name = "body bag"
//..() //Doesn't need to run the parent. Since when can fucking bodybags be welded shut? -Agouri
if(t)
src.name += " [t]"
src.overlays += image(src.icon, "bodybag_label")
return
else if(istype(W, /obj/item/weapon/wirecutters))
user << "You cut the tag off the bodybag"