Adds name and message

This commit is contained in:
Crazylemon64
2016-04-30 01:42:36 -07:00
parent 71c6dfb4b6
commit e6258c31cf
@@ -251,6 +251,7 @@ var/global/list/default_medbay_channels = list(
var/mob/living/automatedannouncer/A = new /mob/living/automatedannouncer(src)
A.name = from
A.role = role
A.message = message
Broadcast_Message(connection, A,
0, "*garbled automated announcement*", src,
message, from, "Automated Announcement", from, "synthesized voice",
@@ -263,6 +264,7 @@ var/global/list/default_medbay_channels = list(
/mob/living/automatedannouncer
var/role = ""
var/lifetime_timer
var/message = ""
universal_speak = 1
/mob/living/automatedannouncer/New()
@@ -275,7 +277,7 @@ var/global/list/default_medbay_channels = list(
..()
/mob/living/automatedannouncer/proc/autocleanup()
log_debug("An announcer somehow managed to outlive the radio! Deleting! Area: [get_area(src)]")
log_debug("An announcer somehow managed to outlive the radio! Deleting! Area: [get_area(src)], Name: \"[name]\", Message: \"[message]\"")
qdel(src)
// Interprets the message mode when talking into a radio, possibly returning a connection datum