/tg/ Station 13 - Modules - TypesVar Details - Proc Details

requests_console

Vars

announcement_authenticatedWill be set to TRUE when you authenticate yourself for announcements
announcement_cooldownCooldown to prevent announcement spam
areaReference to our area
auto_nameIs autonaming by area on?
can_send_announcementsFALSE = This console cannot be used to send department announcements, TRUE = This console can send department announcements
departmentDepartment name (Determined from this variable on each unit) Set this to the same thing if you want several consoles in one department
emergencyIf an emergency has been called by this device. Acts as both a cooldown and lets the responder know where it the emergency was triggered from
has_mail_send_errorDid we error in the last mail?
message_stamped_byIf a message is stamped, this will contain the stamp name
message_verified_byWill contain the name of the person who verified it
messagesList of all messages
new_message_priorityPriority of the latest message
radioReference to the internal radio
receive_ore_updatesIf ore redemption machines will send an update when it receives new ores.

Procs

clear_emergencyTurns the emergency console back to its normal sprite once the emergency has timed out
create_messageFrom message_server.dm: Console.create_message(data)
send_messageSends the message from the request console

Var Details

announcement_authenticated

Will be set to TRUE when you authenticate yourself for announcements

announcement_cooldown

Cooldown to prevent announcement spam

area

Reference to our area

auto_name

Is autonaming by area on?

can_send_announcements

FALSE = This console cannot be used to send department announcements, TRUE = This console can send department announcements

department

Department name (Determined from this variable on each unit) Set this to the same thing if you want several consoles in one department

emergency

If an emergency has been called by this device. Acts as both a cooldown and lets the responder know where it the emergency was triggered from

has_mail_send_error

Did we error in the last mail?

message_stamped_by

If a message is stamped, this will contain the stamp name

message_verified_by

Will contain the name of the person who verified it

messages

List of all messages

new_message_priority

Priority of the latest message

radio

Reference to the internal radio

receive_ore_updates

If ore redemption machines will send an update when it receives new ores.

Proc Details

clear_emergency

Turns the emergency console back to its normal sprite once the emergency has timed out

create_message

From message_server.dm: Console.create_message(data)

send_message

Sends the message from the request console