New rollerbed and vitals monitor sprites (#14363)

This commit is contained in:
Wowzewow (Wezzy)
2022-07-07 03:45:08 +02:00
committed by GitHub
parent 466d705330
commit 8cdc20e4f1
7 changed files with 45 additions and 19 deletions
+1 -8
View File
@@ -84,14 +84,7 @@
src.name = "body bag - "
src.name += t
playsound(src, pick('sound/bureaucracy/pen1.ogg','sound/bureaucracy/pen2.ogg'), 20)
if(istype(buckled_to, /obj/structure/bed/roller))
var/obj/structure/bed/roller/R = buckled_to
if(R.bag_strap)
LAZYREMOVE(overlays, image(R.icon, R.bag_strap))
LAZYADD(overlays, image(icon, "bodybag_label"))
LAZYADD(overlays, image(R.icon, R.bag_strap))
else
LAZYADD(overlays, image(icon, "bodybag_label"))
LAZYADD(overlays, image(icon, "bodybag_label"))
else
src.name = "body bag"
return TRUE