Quiet cryo (#7572)

This commit is contained in:
Guti
2024-01-18 22:42:45 +01:00
committed by GitHub
parent 631a970afd
commit a0ea7d2405
3 changed files with 14 additions and 0 deletions

View File

@@ -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("<span class='notice'>\The [initial(name)] [on_store_visible_message_1] [to_despawn.real_name] [on_store_visible_message_2]</span>", 3)