mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
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:
@@ -13,9 +13,12 @@
|
|||||||
|
|
||||||
|
|
||||||
/obj/item/weapon/storage/box/bodybags
|
/obj/item/weapon/storage/box/bodybags
|
||||||
name = "body bags"
|
name = "body bag kit"
|
||||||
desc = "This box contains body bags."
|
desc = "A kit specifically designed to fit bodybags."
|
||||||
icon_state = "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()
|
||||||
..()
|
..()
|
||||||
new /obj/item/bodybag(src)
|
new /obj/item/bodybag(src)
|
||||||
@@ -45,13 +48,10 @@
|
|||||||
if (!in_range(src, user) && src.loc != user)
|
if (!in_range(src, user) && src.loc != user)
|
||||||
return
|
return
|
||||||
t = copytext(sanitize(t),1,MAX_MESSAGE_LEN)
|
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"
|
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
|
return
|
||||||
else if(istype(W, /obj/item/weapon/wirecutters))
|
else if(istype(W, /obj/item/weapon/wirecutters))
|
||||||
user << "You cut the tag off the bodybag"
|
user << "You cut the tag off the bodybag"
|
||||||
|
|||||||
Reference in New Issue
Block a user