Files
Citadel-Station-13-RP/maps/rift/rift_telecomms.dm
silicons 934ad25bfe refactors: inventory, mousedrag, stripping, species bodytypes, inventory HUD, and probably some unrelated things (#4092)
* start

* i hate people who pack shit into one file

* sigh

* regex

* inventory rework

* stubs

* regex

* this is insanity

* oh no

* backend moment

* a

* changes

* wild

* regexing

* changes

* put in hands

* more errorS

* attackby

* more helpers

* replacements

* wild

* fixes

* pain

* fxies

* fixes

* unneeded

* ape

* ape

* wild

* wild

* more

* wild

* there

* fixes

* fixes

* l

* wild

* more

* moer

* fixes

* enough for todayd

* regexing

* long time coming

* shaking and crying

* end me

* fixes

* fixes

* e

* fxies

* rig refactor moment

* fixes

* fixes

* fixes

* fixes

* out with the shitcode

* thanks git

* partial rig rewrite here we go

* more

* fixes

* WWWW

* ok

* wild

* bitfield defines

* nobludgeon

* pain

* pain

* fixes

* more

* wild

* wild

* fixes

* pain

* move behaviorsr

* fixes

* next up, finishing core procs

* y

* .

* time to finish this

* time to finish this

* propagate accessories

* hate this accursed engine

* hate this accursed engine

* pain

* more

* cancer

* epic

* genuinely hate

* wild

* that

* why

* circuitry is my bane

* y

* how

* sort

* logging

* logging

* im dying

* fixes

* next

* f

* more

* epic style

* fixes

* on meta

* fix

* wild

* uh

* quirky

* fixes

* agh

* pain

* fixes

* fix

* sigh

* a

* epic1

* fixes

* ugh

* epic

* fixes

* uhh.

* is this even a fix

* fix

* fixes

* fixes

* we love optimization

* wear over system

* correct

* worn over stuff

* just augments

* coggy

* implant magnetic catch

* implant magnetic catch

* fixe

* a

* g

* t

* fix

* fix

* wack!

* fix

* a

* semantics

* fix

* that

* fixes

* handle denesting

* w

* fixes

* e

* bugs

* fixes

* fixes

* unit tests

* absolutely wild

* fixes

* fix

* fix

* fixes

* on god this is bad

* fixes

* fixes

* fix

* fix

* wacky!

* fix

* wack

* manual

* fixes

* closets

* OOPS

* wack

* pain

* pain

* flags

* regex

* fixes

* wakc

* changes

* more

* augh

* more

* replaces

* more

* that

* acc

* acc

* fix

* fix

* fix

* oh woops that was important

* wack

* epic

Co-authored-by: fake_vm_user <fake_vm_user>
Co-authored-by: VM_USER <VM_USER>
2022-07-29 00:20:47 -07: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 = AREA_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)