From fb440df0b84c3cdb8d7bea809be532a39b53f364 Mon Sep 17 00:00:00 2001 From: dylanstrategie Date: Tue, 30 Sep 2014 20:42:59 +0200 Subject: [PATCH] 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 --- code/game/objects/items/bodybag.dm | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/code/game/objects/items/bodybag.dm b/code/game/objects/items/bodybag.dm index 82bc85211c6..e9097736a2d 100644 --- a/code/game/objects/items/bodybag.dm +++ b/code/game/objects/items/bodybag.dm @@ -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 + src.name = "body bag" + 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"