Files
Citadel-Station-13-RP/maps/tether/tether_telecomms.dm
silicons abe3121303 important and destructive change to the concept of species (#3991)
* species stuff

* initial

* that

* more

* more

* more

* more

* more

* why

* sorry

* more

* wack

* sigh

* wack

* wack

* more

* pain

* pain

* how

* another goddamn regex

* another goddamn regex

* get that

* IM DONE WE ARE NOT DOING THIS AGAIN

* how about we be able to debug it fuck you

* please just let me debug properly

* fix

* paper

* keys

* my god species need a redo

* Yikes.

* why..

* fixes

* fix

* 'cmon bro..

* wack

* wack

* fix

* WHY OH WHY MUST YOU DO THIS TO ME

* wacky

* that

* that maybe

* that maybe

* that maybe

* fix

* wacky!

* Wack

* wack

* epic

* damnit zandario

Co-authored-by: fake_vm_user <fake_vm_user>
2022-05-11 01:29:33 -07:00

90 lines
3.0 KiB
Plaintext

// ### Preset machines ###
// #### Relays ####
// Telecomms doesn't know about connected z-levels, so we need relays even for the other surface levels.
/obj/machinery/telecomms/relay/preset/tether
id = "Tether Relay"
autolinkers = list("tether_relay")
// #### Hub ####
/obj/machinery/telecomms/hub/preset/tether
id = "Hub"
network = "tcommsat"
autolinkers = list("hub",
"tether_relay", "c_relay", "m_relay", "r_relay",
"science", "medical", "supply", "service", "common", "command", "engineering", "security", "explorer", "unused",
"hb_relay", "receiverA", "broadcasterA"
)
/obj/machinery/telecomms/receiver/preset_right/tether
// id = "tether_rx"
freq_listening = list(AI_FREQ, SCI_FREQ, MED_FREQ, SUP_FREQ, SRV_FREQ, COMM_FREQ, ENG_FREQ, SEC_FREQ, ENT_FREQ, EXP_FREQ)
/obj/machinery/telecomms/broadcaster/preset_right/tether
// id = "tether_tx"
/obj/machinery/telecomms/bus/preset_two/tether
freq_listening = list(SUP_FREQ, SRV_FREQ, EXP_FREQ)
/obj/machinery/telecomms/server/presets/service/tether
freq_listening = list(SRV_FREQ, EXP_FREQ)
autolinkers = list("service", "explorer")
// Telecommunications Satellite
/area/tether/surfacebase/tcomms
name = "\improper Telecomms"
ambience = list('sound/ambience/ambisin2.ogg', 'sound/ambience/signal.ogg', 'sound/ambience/signal.ogg')
/area/tether/surfacebase/tcomms/entrance
name = "\improper Telecomms Teleporter"
icon_state = "tcomsatentrance"
/area/tether/surfacebase/tcomms/foyer
name = "\improper Telecomms Foyer"
icon_state = "tcomsatfoyer"
/area/tether/surfacebase/tcomms/storage
name = "\improper Telecomms Storage"
icon_state = "tcomsatwest"
/area/tether/surfacebase/tcomms/computer
name = "\improper Telecomms Control Room"
icon_state = "tcomsatcomp"
/area/tether/surfacebase/tcomms/chamber
name = "\improper Telecomms Central Compartment"
icon_state = "tcomsatcham"
/area/maintenance/substation/tcomms
name = "\improper Telecomms Substation"
/area/maintenance/station/tcomms
name = "\improper Telecoms Maintenance"
/datum/map/tether/default_internal_channels()
return list(
num2text(PUB_FREQ) = list(),
num2text(AI_FREQ) = list(access_synth),
num2text(ENT_FREQ) = list(),
num2text(ERT_FREQ) = list(access_cent_specops),
num2text(COMM_FREQ)= list(access_heads),
num2text(ENG_FREQ) = list(access_engine_equip, access_atmospherics),
num2text(MED_FREQ) = list(access_medical_equip),
num2text(MED_I_FREQ)=list(access_medical_equip),
num2text(SEC_FREQ) = list(access_security),
num2text(SEC_I_FREQ)=list(access_security),
num2text(SCI_FREQ) = list(access_tox,access_robotics,access_xenobiology),
num2text(SUP_FREQ) = list(access_cargo),
num2text(SRV_FREQ) = list(access_janitor, access_hydroponics),
num2text(EXP_FREQ) = list(access_explorer)
)
/obj/item/multitool/tether_buffered
name = "pre-linked multitool (tether hub)"
desc = "This multitool has already been linked to the Tether telecomms hub and can be used to configure one (1) relay."
/obj/item/multitool/tether_buffered/Initialize(mapload)
. = ..()
buffer = locate(/obj/machinery/telecomms/hub/preset/tether)