mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-26 14:31:59 +01:00
applications of phoron: telecomms, SMESs (#22966)
- Represents phoron lore in telecomms stock part descriptions - Represents phoron lore in SMES unit sprites/descriptions - Adds a phoron-free cryogenic alternative to phoronic SMES units - Replaces all instances of quantum mechanics being used for FTL Comms with Bluespace (eg. the Quantum Relay -> Bluespace Relay) Does not map the cryo SMES in anywhere, but use-cases would be Einstein Engines, EE-supported factions, and less affluent indie groups some basic recolouring: <img width="333" height="107" alt="resprite1" src="https://github.com/user-attachments/assets/8961274a-39bc-4523-8e11-9daadc652be7" /> <img width="559" height="106" alt="resprite2" src="https://github.com/user-attachments/assets/3afefe66-5487-41f1-bbd7-59ea1bb37b40" />
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/obj/structure/machinery/ntnet_relay
|
||||
name = "NTNet Quantum Relay"
|
||||
desc = "A very complex core router and transmitter capable of connecting electronic devices together. Looks fragile."
|
||||
name = "NTNet Bluespace Relay"
|
||||
desc = "A very complex router and transmitter capable of connecting electronic devices together. Looks fragile."
|
||||
use_power = POWER_USE_ACTIVE
|
||||
active_power_usage = 20000 //20kW, appropriate for machine that keeps massive cross-Zlevel wireless network operational.
|
||||
idle_power_usage = 100
|
||||
@@ -156,12 +156,12 @@
|
||||
if((dos_overload > dos_capacity) && !dos_failure)
|
||||
dos_failure = TRUE
|
||||
update_icon()
|
||||
GLOB.ntnet_global.add_log("Quantum relay switched from normal operation mode to overload recovery mode.")
|
||||
GLOB.ntnet_global.add_log("Bluespace relay switched from normal operation mode to overload recovery mode.")
|
||||
// If the DoS buffer reaches 0 again, restart.
|
||||
if((dos_overload == 0) && dos_failure)
|
||||
dos_failure = FALSE
|
||||
update_icon()
|
||||
GLOB.ntnet_global.add_log("Quantum relay switched from overload recovery mode to normal operation mode.")
|
||||
GLOB.ntnet_global.add_log("Bluespace relay switched from overload recovery mode to normal operation mode.")
|
||||
..()
|
||||
|
||||
/obj/structure/machinery/ntnet_relay/ui_interact(mob/user, datum/tgui/ui)
|
||||
@@ -194,11 +194,11 @@
|
||||
dos_overload = FALSE
|
||||
dos_failure = FALSE
|
||||
update_icon()
|
||||
GLOB.ntnet_global.add_log("Quantum relay manually restarted from overload recovery mode to normal operation mode.")
|
||||
GLOB.ntnet_global.add_log("Bluespace relay manually restarted from overload recovery mode to normal operation mode.")
|
||||
. = TRUE
|
||||
if(action=="toggle")
|
||||
enabled = !enabled
|
||||
GLOB.ntnet_global.add_log("Quantum relay manually [enabled ? "enabled" : "disabled"].")
|
||||
GLOB.ntnet_global.add_log("Bluespace relay manually [enabled ? "enabled" : "disabled"].")
|
||||
update_icon()
|
||||
. = TRUE
|
||||
|
||||
@@ -216,7 +216,7 @@
|
||||
GLOB.ntnet_global.relays.Add(src)
|
||||
NTNet = GLOB.ntnet_global
|
||||
sync_linked()
|
||||
GLOB.ntnet_global.add_log("New quantum relay activated. Current amount of linked relays: [NTNet.relays.len]")
|
||||
GLOB.ntnet_global.add_log("New bluespace relay activated. Current amount of linked relays: [NTNet.relays.len]")
|
||||
|
||||
/obj/structure/machinery/ntnet_relay/LateInitialize()
|
||||
. = ..()
|
||||
@@ -225,7 +225,7 @@
|
||||
/obj/structure/machinery/ntnet_relay/Destroy()
|
||||
if(GLOB.ntnet_global)
|
||||
GLOB.ntnet_global.relays.Remove(src)
|
||||
GLOB.ntnet_global.add_log("Quantum relay connection severed. Current amount of linked relays: [NTNet.relays.len]")
|
||||
GLOB.ntnet_global.add_log("Bluespace relay connection severed. Current amount of linked relays: [NTNet.relays.len]")
|
||||
return ..()
|
||||
|
||||
/obj/structure/machinery/ntnet_relay/attackby(obj/item/attacking_item, mob/user)
|
||||
|
||||
+2
-2
@@ -138,7 +138,7 @@
|
||||
if(centcomm_message_cooldown)
|
||||
to_chat(usr, SPAN_WARNING("Arrays recycling. Please stand by."))
|
||||
return TRUE
|
||||
var/input = sanitize(tgui_input_text(usr, "Please choose a message to transmit to \[ABNORMAL ROUTING CORDINATES\] via quantum entanglement.", "Emergency M&#e55sage", multiline = TRUE, encode = FALSE))
|
||||
var/input = sanitize(tgui_input_text(usr, "Please choose a message to transmit to \[ABNORMAL ROUTING CORDINATES\] via bluespace.", "Emergency M&#e55sage", multiline = TRUE, encode = FALSE))
|
||||
if(!input || computer.use_check_and_message(usr))
|
||||
return FALSE
|
||||
Syndicate_announce(input, usr)
|
||||
@@ -154,7 +154,7 @@
|
||||
if(!is_relay_online())//Contact Centcom has a check, Syndie doesn't to allow for Traitor funs.
|
||||
to_chat(usr, SPAN_WARNING("No Emergency Bluespace Relay detected. Unable to transmit message."))
|
||||
return
|
||||
var/input = sanitize(tgui_input_text(usr, "Please choose a message to transmit to [SSatlas.current_map.boss_name] via quantum entanglement.", "Emergency Message", multiline = TRUE, encode = FALSE))
|
||||
var/input = sanitize(tgui_input_text(usr, "Please choose a message to transmit to [SSatlas.current_map.boss_name] via bluespace.", "Emergency Message", multiline = TRUE, encode = FALSE))
|
||||
if(!input || computer.use_check_and_message(usr))
|
||||
return
|
||||
Centcomm_announce(input, usr)
|
||||
|
||||
Reference in New Issue
Block a user