mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-21 02:57:48 +01:00
Integrates NTTC + Other Stuff
This commit is contained in:
@@ -14,20 +14,10 @@
|
||||
if(prob(30)) //most of the time, we don't want an announcement, so as to allow AIs to fake blackouts.
|
||||
GLOB.event_announcement.Announce(alert)
|
||||
|
||||
#warn AA, make ion anomalies disable the hubs only
|
||||
/*
|
||||
/datum/event/communications_blackout/start()
|
||||
for(var/obj/machinery/tcomms/T in GLOB.telecomms_list)
|
||||
T.emp_act(1)
|
||||
|
||||
/proc/communications_blackout(var/silent = 1)
|
||||
if(!silent)
|
||||
GLOB.event_announcement.Announce("Ionospheric anomalies detected. Temporary telecommunication failure imminent. Please contact you-BZZT", new_sound = 'sound/misc/interference.ogg')
|
||||
else // AIs will always know if there's a comm blackout, rogue AIs could then lie about comm blackouts in the future while they shutdown comms
|
||||
for(var/mob/living/silicon/ai/A in GLOB.player_list)
|
||||
to_chat(A, "<br>")
|
||||
to_chat(A, "<span class='warning'><b>Ionospheric anomalies detected. Temporary telecommunication failure imminent. Please contact you-BZZT<b></span>")
|
||||
to_chat(A, "<br>")
|
||||
for(var/obj/machinery/telecomms/T in GLOB.telecomms_list)
|
||||
T.emp_act(1)
|
||||
*/
|
||||
// This only affects the cores, relays should be unaffected imo
|
||||
for(var/obj/machinery/tcomms/core/T in GLOB.tcomms_machines)
|
||||
T.disable_machine()
|
||||
// Bring it back sometime between 3-5 minutes. This uses deciseconds, so 1800 and 3000 respecticely.
|
||||
// Note that because this is a strict enable not a toggle, the crew or AI can re-enable the machine themselves
|
||||
addtimer(CALLBACK(T, /obj/machinery/tcomms.proc/enable_machine), rand(1800, 3000))
|
||||
|
||||
@@ -302,16 +302,6 @@
|
||||
build_path = /obj/item/circuitboard/supplycomp
|
||||
category = list("Computer Boards")
|
||||
|
||||
/datum/design/comm_traffic
|
||||
name = "Console Board (Telecommunications Traffic Control Console)"
|
||||
desc = "Allows for the construction of circuit boards used to build a telecommunications traffic control console."
|
||||
id = "comm_traffic"
|
||||
req_tech = list("programming" = 3, "magnets" = 3, "bluespace" = 2)
|
||||
build_type = IMPRINTER
|
||||
materials = list(MAT_GLASS = 1000)
|
||||
build_path = /obj/item/circuitboard/comm_traffic
|
||||
category = list("Computer Boards")
|
||||
|
||||
/datum/design/teleconsole
|
||||
name = "Console Board (Teleporter Console)"
|
||||
desc = "Allows for the construction of circuit boards used to build a teleporter control console."
|
||||
|
||||
@@ -1,3 +1,23 @@
|
||||
////////////////////////////////////////
|
||||
//////////Telecomms Equipment///////////
|
||||
////////////////////////////////////////
|
||||
// Only 2 of these exist, so they should really be in a different place. But oh well.
|
||||
/datum/design/telecomms_core
|
||||
name = "Machine Board (Telecommunications Core)"
|
||||
desc = "Allows for the construction of Telecommunications Cores."
|
||||
id = "s-hub"
|
||||
req_tech = list("programming" = 2, "engineering" = 2)
|
||||
build_type = IMPRINTER
|
||||
materials = list(MAT_GLASS = 1000)
|
||||
build_path = /obj/item/circuitboard/tcomms/core
|
||||
category = list("Subspace Telecomms")
|
||||
|
||||
/datum/design/telecomms_relay
|
||||
name = "Machine Board (Telecommunications Core)"
|
||||
desc = "Allows for the construction of Telecommunications Relays."
|
||||
id = "s-relay"
|
||||
req_tech = list("programming" = 2, "engineering" = 2, "bluespace" = 2)
|
||||
build_type = IMPRINTER
|
||||
materials = list(MAT_GLASS = 1000)
|
||||
build_path = /obj/item/circuitboard/tcomms/relay
|
||||
category = list("Subspace Telecomms")
|
||||
|
||||
Reference in New Issue
Block a user