From a0ea7d2405bc8759f12f07e374440b1108692820 Mon Sep 17 00:00:00 2001 From: Guti <32563288+TheCaramelion@users.noreply.github.com> Date: Thu, 18 Jan 2024 22:42:45 +0100 Subject: [PATCH] Quiet cryo (#7572) --- code/game/machinery/cryopod.dm | 4 ++++ modular_chomp/code/game/machinery/cryopod.dm | 9 +++++++++ vorestation.dme | 1 + 3 files changed, 14 insertions(+) create mode 100644 modular_chomp/code/game/machinery/cryopod.dm diff --git a/code/game/machinery/cryopod.dm b/code/game/machinery/cryopod.dm index db32484e91..e00791976d 100644 --- a/code/game/machinery/cryopod.dm +++ b/code/game/machinery/cryopod.dm @@ -219,6 +219,7 @@ var/last_no_computer_message = 0 var/applies_stasis = 0 //VOREStation Edit: allow people to change their mind + var/quiet = FALSE // CHOMPEdit - No announcement. /obj/machinery/cryopod/robot name = "robotic storage unit" desc = "A storage unit for robots." @@ -535,6 +536,9 @@ if(istype(to_despawn, /mob/living/dominated_brain)) depart_announce = FALSE + if(src.quiet) // CHOMPEdit - No announcement. + depart_announce = FALSE + if(depart_announce) announce.autosay("[to_despawn.real_name][departing_job ? ", [departing_job], " : " "][on_store_message]", "[on_store_name]", announce_channel, using_map.get_map_levels(z, TRUE, om_range = DEFAULT_OVERMAP_RANGE)) visible_message("\The [initial(name)] [on_store_visible_message_1] [to_despawn.real_name] [on_store_visible_message_2]", 3) diff --git a/modular_chomp/code/game/machinery/cryopod.dm b/modular_chomp/code/game/machinery/cryopod.dm new file mode 100644 index 0000000000..9b3dc8361d --- /dev/null +++ b/modular_chomp/code/game/machinery/cryopod.dm @@ -0,0 +1,9 @@ +/obj/machinery/cryopod/robot/door/gateway/quiet + name = "departure teleporter" + desc = "The short-range teleporter you might've came in from. You could leave easily using this." + quiet = TRUE + +/obj/machinery/cryopod/robot/door/dorms/quiet + name = "departure airlock" + desc = "A secured airlock you might've come in from. You could leave easily using this." + quiet = TRUE diff --git a/vorestation.dme b/vorestation.dme index eed4626723..27ea66ce33 100644 --- a/vorestation.dme +++ b/vorestation.dme @@ -4638,6 +4638,7 @@ #include "modular_chomp\code\game\machinery\airconditioner_ch.dm" #include "modular_chomp\code\game\machinery\autolathe_armory.dm" #include "modular_chomp\code\game\machinery\colormate.dm" +#include "modular_chomp\code\game\machinery\cryopod.dm" #include "modular_chomp\code\game\machinery\holosign.dm" #include "modular_chomp\code\game\machinery\paradox.dm" #include "modular_chomp\code\game\machinery\petrification.dm"