Files
Citadel-Station-13-RP/maps/rift/rift_telecomms.dm
silicons 183b2f4cab [IDB IGNORE] [MDB IGNORE] dev-merge: NSB Atlas (#3963)
Co-authored-by: silicons <2003111+silicons@users.noreply.github.com>
Co-authored-by: AnalWerewolf <50751907+AnalWerewolf@users.noreply.github.com>
Co-authored-by: AnalWerewolf <kaithewolfy@gmail.com>
Co-authored-by: Captain277 <agentraven16@gmail.com>
Co-authored-by: Zandario <Zandarioh@gmail.com>
Co-authored-by: fake_vm_user <fake_vm_user>
Co-authored-by: CitadelStationBot <citadelstationcommunity@gmail.com>
Co-authored-by: CharlesWedge <52897649+CharlesWedge@users.noreply.github.com>
2022-06-07 18:51:58 -05:00

139 lines
4.6 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/rift/under_shallow
id = "Underground Relay 1"
listening_level = Z_LEVEL_UNDERGROUND
autolinkers = list("rus_relay")
/obj/machinery/telecomms/relay/preset/centcom/rift/under_shallow
listening_level = Z_LEVEL_UNDERGROUND
/obj/machinery/telecomms/relay/preset/rift/under_deep
id = "Underground Relay 2"
listening_level = Z_LEVEL_UNDERGROUND_DEEP
autolinkers = list("rud_relay")
/obj/machinery/telecomms/relay/preset/centcom/rift/under_deep
listening_level = Z_LEVEL_UNDERGROUND_DEEP
/obj/machinery/telecomms/relay/preset/rift/base_low
id = "Base Relay 1"
listening_level = Z_LEVEL_SURFACE_LOW
autolinkers = list("rbl_relay")
/obj/machinery/telecomms/relay/preset/centcom/rift/base_low
listening_level = Z_LEVEL_SURFACE_LOW
/obj/machinery/telecomms/relay/preset/rift/base_mid
id = "Base Relay 2"
listening_level = Z_LEVEL_SURFACE_MID
autolinkers = list("rbm_relay")
/obj/machinery/telecomms/relay/preset/centcom/rift/base_mid
listening_level = Z_LEVEL_SURFACE_MID
/obj/machinery/telecomms/relay/preset/rift/base_high
id = "Base Relay 3"
listening_level = Z_LEVEL_SURFACE_HIGH
autolinkers = list("rbh_relay")
/obj/machinery/telecomms/relay/preset/centcom/rift/base_high
listening_level = Z_LEVEL_SURFACE_HIGH
/*
/obj/machinery/telecomms/relay/preset/tether/sci_outpost
id = "Science Outpost Relay"
listening_level = Z_LEVEL_SOLARS
autolinkers = list("sci_o_relay")
/obj/machinery/telecomms/relay/preset/underdark
id = "Mining Underground Relay"
listening_level = Z_LEVEL_UNDERDARK
autolinkers = list("ud_relay")
*/
// #### Hub ####
/obj/machinery/telecomms/hub/preset/rift
id = "Hub"
network = "tcommsat"
autolinkers = list("hub",
"rus_relay", "rud_relay", "rbl_relay", "rbm_relay", "rbh_relay",
"c_relay", "m_relay", "r_relay", "sci_o_relay", "ud_relay",
"science", "medical", "supply", "service", "common", "command", "engineering", "security", "explorer", "unused",
"hb_relay", "receiverA", "broadcasterA"
)
/obj/machinery/telecomms/receiver/preset_right/rift
// id = "rift_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/rift
// id = "rift_tx"
/obj/machinery/telecomms/bus/preset_two/rift
freq_listening = list(SUP_FREQ, SRV_FREQ, EXP_FREQ)
/obj/machinery/telecomms/server/presets/service/rift
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_flags = AF_BLUE_SHIELDED
/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/rift_buffered
name = "pre-linked multitool (rift hub)"
desc = "This multitool has already been linked to the Atlas telecomms hub and can be used to configure one (1) relay."
/obj/item/multitool/rift_buffered/Initialize()
. = ..()
buffer = locate(/obj/machinery/telecomms/hub/preset/rift)