diff --git a/code/game/objects/structures/morgue.dm b/code/game/objects/structures/morgue.dm index 4f841751e2..6a2c763f4a 100644 --- a/code/game/objects/structures/morgue.dm +++ b/code/game/objects/structures/morgue.dm @@ -141,12 +141,21 @@ GLOBAL_LIST_EMPTY(bodycontainers) //Let them act as spawnpoints for revenants an desc = "Used to keep bodies in until someone fetches them." icon_state = "morgue1" dir = EAST + var/beeper = TRUE /obj/structure/bodycontainer/morgue/New() connected = new/obj/structure/tray/m_tray(src) connected.connected = src ..() +/obj/structure/bodycontainer/morgue/AltClick(mob/user) + ..() + if(user.incapacitated()) + to_chat(user, "You can't do that right now!") + return + beeper = !beeper + to_chat(user, "You turn the speaker function [beeper ? "off" : "on"].") + /obj/structure/bodycontainer/morgue/update_icon() if (!connected || connected.loc != src) // Open or tray is gone. icon_state = "morgue0" @@ -164,6 +173,8 @@ GLOBAL_LIST_EMPTY(bodycontainers) //Let them act as spawnpoints for revenants an var/mob/living/mob_occupant = get_mob_or_brainmob(M) if(mob_occupant.client && !mob_occupant.suiciding && !(mob_occupant.has_trait(TRAIT_NOCLONE)) && !mob_occupant.hellbound) icon_state = "morgue4" // Cloneable + if(mob_occupant.stat == DEAD && beeper) + playsound(src, 'sound/weapons/smg_empty_alarm.ogg', 50, 0) //Clone them you blind fucks break