diff --git a/baystation12.dme b/baystation12.dme index 480e15e302..79cc454d5b 100644 --- a/baystation12.dme +++ b/baystation12.dme @@ -314,10 +314,10 @@ #include "code\game\machinery\bees_items.dm" #include "code\game\machinery\biogenerator.dm" #include "code\game\machinery\bioprinter.dm" +#include "code\game\machinery\bluespacerelay.dm" #include "code\game\machinery\buttons.dm" #include "code\game\machinery\cell_charger.dm" #include "code\game\machinery\cloning.dm" -#include "code\game\machinery\commsbantenna.dm" #include "code\game\machinery\constructable_frame.dm" #include "code\game\machinery\cryo.dm" #include "code\game\machinery\cryopod.dm" diff --git a/code/game/machinery/bluespacerelay.dm b/code/game/machinery/bluespacerelay.dm new file mode 100644 index 0000000000..03d4a311b1 --- /dev/null +++ b/code/game/machinery/bluespacerelay.dm @@ -0,0 +1,34 @@ +/obj/machinery/bluespacerelay + name = "Emergency Bluespace Relay" + desc = "This sends messages through bluespace! Wow!" + icon = 'icons/obj/stationobjs.dmi' + icon_state = "bspacerelay" + + anchored = 1 + density = 1 + use_power = 1 + var/on = 1 + + idle_power_usage = 15000 + active_power_usage = 15000 + +/obj/machinery/bluespacerelay/process() + + update_power() + + update_icon() + + +/obj/machinery/bluespacerelay/update_icon() + if(on) + icon_state = initial(icon_state) + else + icon_state = "[initial(icon_state)]_off" + +/obj/machinery/bluespacerelay/proc/update_power() + + if(stat & (BROKEN|NOPOWER|EMPED)) + on = 0 + else + on = 1 + diff --git a/code/game/machinery/computer/communications.dm b/code/game/machinery/computer/communications.dm index 75bbc59f2b..8dd89f28bb 100644 --- a/code/game/machinery/computer/communications.dm +++ b/code/game/machinery/computer/communications.dm @@ -48,9 +48,7 @@ /obj/machinery/computer/communications/Topic(href, href_list) if(..()) return 1 - //if (src.z > 1) - // usr << "\red Unable to establish a connection: \black You're too far away from the station!" - // return + usr.set_machine(src) if(!href_list["operation"]) @@ -194,7 +192,7 @@ if(!input || !(usr in view(1,src))) return Centcomm_announce(input, usr) - usr << "blue Message transmitted." + usr << "Message transmitted." log_say("[key_name(usr)] has made an IA Centcomm announcement: [input]") centcomm_message_cooldown = 1 spawn(300)//30 second cooldown @@ -211,7 +209,7 @@ if(!input || !(usr in view(1,src))) return Syndicate_announce(input, usr) - usr << "blue Message transmitted." + usr << "Message transmitted." log_say("[key_name(usr)] has made an illegal announcement: [input]") centcomm_message_cooldown = 1 spawn(300)//10 minute cooldown @@ -282,9 +280,6 @@ /obj/machinery/computer/communications/attack_hand(var/mob/user as mob) if(..()) return - //if (src.z > 6) - // user << "\red Unable to establish a connection: \black You're too far away from the station!" - // return user.set_machine(src) var/dat = "