mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2025-12-10 05:07:17 +00:00
* dme and dmb * Heeeere we gooo * fasease * Continued. * AAAAAAAAAAAAAAAAAAAAAAAA * Brain going numb * agh * The suffering will be worth it... right? * Going blank... * Am I done? * AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA * Fixes * Should be everything I care about right now.
223 lines
5.7 KiB
Plaintext
223 lines
5.7 KiB
Plaintext
// ### Preset machines ###
|
|
|
|
//Relay
|
|
|
|
/obj/machinery/telecomms/relay/preset
|
|
network = "tcommsat"
|
|
|
|
/obj/machinery/telecomms/relay/preset/station
|
|
id = "Station Relay"
|
|
listening_level = 1
|
|
autolinkers = list("s_relay")
|
|
|
|
/obj/machinery/telecomms/relay/preset/telecomms
|
|
id = "Telecomms Relay"
|
|
autolinkers = list("relay")
|
|
|
|
/obj/machinery/telecomms/relay/preset/mining
|
|
id = "Mining Relay"
|
|
autolinkers = list("m_relay")
|
|
|
|
/obj/machinery/telecomms/relay/preset/ruskie
|
|
id = "Ruskie Relay"
|
|
hide = 1
|
|
toggled = 0
|
|
autolinkers = list("r_relay")
|
|
|
|
/obj/machinery/telecomms/relay/preset/centcom
|
|
id = "CentCom Relay"
|
|
hide = 1
|
|
toggled = 1
|
|
//anchored = 1
|
|
//use_power = 0
|
|
//idle_power_usage = 0
|
|
produces_heat = 0
|
|
autolinkers = list("c_relay")
|
|
|
|
//HUB
|
|
|
|
/obj/machinery/telecomms/hub/preset
|
|
id = "Hub"
|
|
network = "tcommsat"
|
|
autolinkers = list("hub", "relay", "c_relay", "s_relay", "m_relay", "r_relay", "science", "medical",
|
|
"supply", "service", "common", "command", "engineering", "security", "unused", "hb_relay",
|
|
"receiverA", "broadcasterA")
|
|
|
|
/obj/machinery/telecomms/hub/preset_cent
|
|
id = "CentCom Hub"
|
|
network = "tcommsat"
|
|
produces_heat = 0
|
|
autolinkers = list("hub_cent", "c_relay", "s_relay", "m_relay", "r_relay", "hb_relay",
|
|
"centcom", "receiverCent", "broadcasterCent")
|
|
|
|
//Receivers
|
|
|
|
/obj/machinery/telecomms/receiver/preset_right
|
|
id = "Receiver A"
|
|
network = "tcommsat"
|
|
autolinkers = list("receiverA") // link to relay
|
|
freq_listening = list(AI_FREQ, SCI_FREQ, MED_FREQ, SUP_FREQ, SRV_FREQ, COMM_FREQ, ENG_FREQ, SEC_FREQ, ENT_FREQ)
|
|
|
|
//Common and other radio frequencies for people to freely use
|
|
New()
|
|
for(var/i = PUBLIC_LOW_FREQ, i < PUBLIC_HIGH_FREQ, i += 2)
|
|
freq_listening |= i
|
|
..()
|
|
|
|
/obj/machinery/telecomms/receiver/preset_cent
|
|
id = "CentCom Receiver"
|
|
network = "tcommsat"
|
|
produces_heat = 0
|
|
autolinkers = list("receiverCent")
|
|
freq_listening = list(ERT_FREQ, DTH_FREQ, SYND_FREQ)
|
|
|
|
|
|
//Buses
|
|
|
|
/obj/machinery/telecomms/bus/preset_one
|
|
id = "Bus 1"
|
|
network = "tcommsat"
|
|
freq_listening = list(SCI_FREQ, MED_FREQ)
|
|
autolinkers = list("processor1", "science", "medical")
|
|
|
|
/obj/machinery/telecomms/bus/preset_two
|
|
id = "Bus 2"
|
|
network = "tcommsat"
|
|
freq_listening = list(SUP_FREQ, SRV_FREQ)
|
|
autolinkers = list("processor2", "supply", "service", "unused")
|
|
|
|
/obj/machinery/telecomms/bus/preset_two/Initialize(mapload)
|
|
for(var/i = PUBLIC_LOW_FREQ, i < PUBLIC_HIGH_FREQ, i += 2)
|
|
if(i == PUB_FREQ)
|
|
continue
|
|
freq_listening |= i
|
|
return ..()
|
|
|
|
/obj/machinery/telecomms/bus/preset_three
|
|
id = "Bus 3"
|
|
network = "tcommsat"
|
|
freq_listening = list(SEC_FREQ, COMM_FREQ)
|
|
autolinkers = list("processor3", "security", "command")
|
|
|
|
/obj/machinery/telecomms/bus/preset_four
|
|
id = "Bus 4"
|
|
network = "tcommsat"
|
|
freq_listening = list(ENG_FREQ, AI_FREQ, PUB_FREQ, ENT_FREQ)
|
|
autolinkers = list("processor4", "engineering", "common")
|
|
|
|
/obj/machinery/telecomms/bus/preset_cent
|
|
id = "CentCom Bus"
|
|
network = "tcommsat"
|
|
freq_listening = list(ERT_FREQ, DTH_FREQ, SYND_FREQ)
|
|
produces_heat = 0
|
|
autolinkers = list("processorCent", "centcom")
|
|
|
|
//Processors
|
|
|
|
/obj/machinery/telecomms/processor/preset_one
|
|
id = "Processor 1"
|
|
network = "tcommsat"
|
|
autolinkers = list("processor1") // processors are sort of isolated; they don't need backward links
|
|
|
|
/obj/machinery/telecomms/processor/preset_two
|
|
id = "Processor 2"
|
|
network = "tcommsat"
|
|
autolinkers = list("processor2")
|
|
|
|
/obj/machinery/telecomms/processor/preset_three
|
|
id = "Processor 3"
|
|
network = "tcommsat"
|
|
autolinkers = list("processor3")
|
|
|
|
/obj/machinery/telecomms/processor/preset_four
|
|
id = "Processor 4"
|
|
network = "tcommsat"
|
|
autolinkers = list("processor4")
|
|
|
|
/obj/machinery/telecomms/processor/preset_cent
|
|
id = "CentCom Processor"
|
|
network = "tcommsat"
|
|
produces_heat = 0
|
|
autolinkers = list("processorCent")
|
|
|
|
//Servers
|
|
|
|
/obj/machinery/telecomms/server/presets
|
|
|
|
network = "tcommsat"
|
|
|
|
/obj/machinery/telecomms/server/presets/science
|
|
id = "Science Server"
|
|
freq_listening = list(SCI_FREQ)
|
|
autolinkers = list("science")
|
|
|
|
/obj/machinery/telecomms/server/presets/medical
|
|
id = "Medical Server"
|
|
freq_listening = list(MED_FREQ)
|
|
autolinkers = list("medical")
|
|
|
|
/obj/machinery/telecomms/server/presets/supply
|
|
id = "Supply Server"
|
|
freq_listening = list(SUP_FREQ)
|
|
autolinkers = list("supply")
|
|
|
|
/obj/machinery/telecomms/server/presets/service
|
|
id = "Service Server"
|
|
freq_listening = list(SRV_FREQ)
|
|
autolinkers = list("service")
|
|
|
|
/obj/machinery/telecomms/server/presets/common
|
|
id = "Common Server"
|
|
freq_listening = list(PUB_FREQ, AI_FREQ, ENT_FREQ) // AI Private and Common
|
|
autolinkers = list("common")
|
|
|
|
// "Unused" channels, AKA all others.
|
|
/obj/machinery/telecomms/server/presets/unused
|
|
id = "Unused Server"
|
|
freq_listening = list()
|
|
autolinkers = list("unused")
|
|
|
|
/obj/machinery/telecomms/server/presets/unused/Initialize(mapload)
|
|
for(var/i = PUBLIC_LOW_FREQ, i < PUBLIC_HIGH_FREQ, i += 2)
|
|
if(i == AI_FREQ || i == PUB_FREQ)
|
|
continue
|
|
freq_listening |= i
|
|
return ..()
|
|
|
|
/obj/machinery/telecomms/server/presets/command
|
|
id = "Command Server"
|
|
freq_listening = list(COMM_FREQ)
|
|
autolinkers = list("command")
|
|
|
|
/obj/machinery/telecomms/server/presets/engineering
|
|
id = "Engineering Server"
|
|
freq_listening = list(ENG_FREQ)
|
|
autolinkers = list("engineering")
|
|
|
|
/obj/machinery/telecomms/server/presets/security
|
|
id = "Security Server"
|
|
freq_listening = list(SEC_FREQ)
|
|
autolinkers = list("security")
|
|
|
|
/obj/machinery/telecomms/server/presets/centcomm
|
|
id = "CentCom Server"
|
|
freq_listening = list(ERT_FREQ, DTH_FREQ, SYND_FREQ)
|
|
produces_heat = 0
|
|
autolinkers = list("centcom")
|
|
|
|
|
|
//Broadcasters
|
|
|
|
//--PRESET LEFT--//
|
|
|
|
/obj/machinery/telecomms/broadcaster/preset_right
|
|
id = "Broadcaster A"
|
|
network = "tcommsat"
|
|
autolinkers = list("broadcasterA")
|
|
|
|
/obj/machinery/telecomms/broadcaster/preset_cent
|
|
id = "CentCom Broadcaster"
|
|
network = "tcommsat"
|
|
produces_heat = 0
|
|
autolinkers = list("broadcasterCent")
|