mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Port /tg/ telecomms sprites
Probably originally from Eris? Not sure.
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
/obj/machinery/exonet_node
|
||||
name = "exonet node"
|
||||
desc = null // Gets written in New()
|
||||
icon = 'icons/obj/stationobjs.dmi'
|
||||
icon_state = "exonet_node"
|
||||
icon = 'icons/obj/stationobjs_vr.dmi' //VOREStation Edit
|
||||
icon_state = "exonet" //VOREStation Edit
|
||||
idle_power_usage = 2500
|
||||
density = 1
|
||||
var/on = 1
|
||||
@@ -44,10 +44,12 @@
|
||||
// Description: Self explanatory.
|
||||
/obj/machinery/exonet_node/update_icon()
|
||||
if(on)
|
||||
/* VOREStation Removal
|
||||
if(!allow_external_PDAs && !allow_external_communicators && !allow_external_newscasters)
|
||||
icon_state = "[initial(icon_state)]_idle"
|
||||
else
|
||||
icon_state = initial(icon_state)
|
||||
*/
|
||||
icon_state = initial(icon_state)
|
||||
else
|
||||
icon_state = "[initial(icon_state)]_off"
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
/obj/machinery/pda_multicaster
|
||||
name = "\improper PDA multicaster"
|
||||
desc = "This machine mirrors messages sent to it to specific departments."
|
||||
icon = 'icons/obj/stationobjs.dmi'
|
||||
icon_state = "controller"
|
||||
icon = 'icons/obj/stationobjs_vr.dmi' //VOREStation Edit
|
||||
icon_state = "pdamulti" //VOREStation Edit
|
||||
density = 1
|
||||
anchored = 1
|
||||
circuit = /obj/item/weapon/circuitboard/telecomms/pda_multicaster
|
||||
@@ -43,7 +43,7 @@
|
||||
if(on)
|
||||
icon_state = initial(icon_state)
|
||||
else
|
||||
icon_state = "[initial(icon_state)]-p"
|
||||
icon_state = "[initial(icon_state)]_off" //VOREStation Edit
|
||||
|
||||
/obj/machinery/pda_multicaster/attackby(obj/item/I, mob/user)
|
||||
if(I.is_screwdriver())
|
||||
|
||||
@@ -12,7 +12,7 @@ var/message_delay = 0 // To make sure restarting the recentmessages list is kept
|
||||
|
||||
/obj/machinery/telecomms/broadcaster
|
||||
name = "Subspace Broadcaster"
|
||||
icon = 'icons/obj/stationobjs.dmi'
|
||||
//icon = 'icons/obj/stationobjs.dmi' //VOREStation Removal - use parent icon
|
||||
icon_state = "broadcaster"
|
||||
desc = "A dish-shaped machine used to broadcast processed subspace signals."
|
||||
density = 1
|
||||
@@ -139,8 +139,8 @@ var/message_delay = 0 // To make sure restarting the recentmessages list is kept
|
||||
|
||||
/obj/machinery/telecomms/allinone
|
||||
name = "Telecommunications Mainframe"
|
||||
icon = 'icons/obj/stationobjs.dmi'
|
||||
icon_state = "comm_server"
|
||||
//icon = 'icons/obj/stationobjs.dmi' //VOREStation Removal - use parent icon
|
||||
icon_state = "allinone" //VOREStation Edit
|
||||
desc = "A compact machine used for portable subspace telecommuniations processing."
|
||||
density = 1
|
||||
use_power = USE_POWER_IDLE
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
var/global/list/obj/machinery/telecomms/telecomms_list = list()
|
||||
|
||||
/obj/machinery/telecomms
|
||||
icon = 'icons/obj/stationobjs_vr.dmi' //VOREStation Add
|
||||
var/list/links = list() // list of machines this machine is linked to
|
||||
var/traffic = 0 // value increases as traffic increases
|
||||
var/netspeed = 5 // how much traffic to lose per tick (50 gigabytes/second * netspeed)
|
||||
@@ -246,7 +247,7 @@ var/global/list/obj/machinery/telecomms/telecomms_list = list()
|
||||
|
||||
/obj/machinery/telecomms/receiver
|
||||
name = "Subspace Receiver"
|
||||
icon = 'icons/obj/stationobjs.dmi'
|
||||
//icon = 'icons/obj/stationobjs.dmi' //VOREStation Removal - use parent icon
|
||||
icon_state = "broadcast receiver"
|
||||
desc = "This machine has a dish-like shape and green lights. It is designed to detect and process subspace radio activity."
|
||||
density = 1
|
||||
@@ -340,7 +341,7 @@ var/global/list/obj/machinery/telecomms/telecomms_list = list()
|
||||
|
||||
/obj/machinery/telecomms/hub
|
||||
name = "Telecommunication Hub"
|
||||
icon = 'icons/obj/stationobjs.dmi'
|
||||
//icon = 'icons/obj/stationobjs.dmi' //VOREStation Removal - use parent icon
|
||||
icon_state = "hub"
|
||||
desc = "A mighty piece of hardware used to send/receive massive amounts of data."
|
||||
density = 1
|
||||
@@ -399,7 +400,7 @@ var/global/list/obj/machinery/telecomms/telecomms_list = list()
|
||||
|
||||
/obj/machinery/telecomms/relay
|
||||
name = "Telecommunication Relay"
|
||||
icon = 'icons/obj/stationobjs.dmi'
|
||||
//icon = 'icons/obj/stationobjs.dmi' //VOREStation Removal - use parent icon
|
||||
icon_state = "relay"
|
||||
desc = "A mighty piece of hardware used to send massive amounts of data far away."
|
||||
density = 1
|
||||
@@ -465,7 +466,7 @@ var/global/list/obj/machinery/telecomms/telecomms_list = list()
|
||||
|
||||
/obj/machinery/telecomms/bus
|
||||
name = "Bus Mainframe"
|
||||
icon = 'icons/obj/stationobjs.dmi'
|
||||
//icon = 'icons/obj/stationobjs.dmi' //VOREStation Removal - use parent icon
|
||||
icon_state = "bus"
|
||||
desc = "A mighty piece of hardware used to send massive amounts of data quickly."
|
||||
density = 1
|
||||
@@ -526,7 +527,7 @@ var/global/list/obj/machinery/telecomms/telecomms_list = list()
|
||||
|
||||
/obj/machinery/telecomms/processor
|
||||
name = "Processor Unit"
|
||||
icon = 'icons/obj/stationobjs.dmi'
|
||||
//icon = 'icons/obj/stationobjs.dmi' //VOREStation Removal - use parent icon
|
||||
icon_state = "processor"
|
||||
desc = "This machine is used to process large quantities of information."
|
||||
density = 1
|
||||
@@ -578,7 +579,7 @@ var/global/list/obj/machinery/telecomms/telecomms_list = list()
|
||||
|
||||
/obj/machinery/telecomms/server
|
||||
name = "Telecommunication Server"
|
||||
icon = 'icons/obj/stationobjs.dmi'
|
||||
//icon = 'icons/obj/stationobjs.dmi' //VOREStation Removal - use parent icon
|
||||
icon_state = "comm_server"
|
||||
desc = "A machine used to store data and network statistics."
|
||||
density = 1
|
||||
|
||||
@@ -5,7 +5,8 @@
|
||||
use_power = USE_POWER_ACTIVE
|
||||
active_power_usage = 20000 //20kW, apropriate for machine that keeps massive cross-Zlevel wireless network operational.
|
||||
idle_power_usage = 100
|
||||
icon_state = "bus"
|
||||
icon = 'icons/obj/stationobjs_vr.dmi' //VOREStation Add
|
||||
icon_state = "ntnet" //VOREStation Edit
|
||||
anchored = 1
|
||||
density = 1
|
||||
circuit = /obj/item/weapon/circuitboard/ntnet_relay
|
||||
@@ -31,10 +32,12 @@
|
||||
return 1
|
||||
|
||||
/obj/machinery/ntnet_relay/update_icon()
|
||||
//VOREStation Edit
|
||||
if(operable())
|
||||
icon_state = "bus"
|
||||
icon_state = initial(icon_state)
|
||||
else
|
||||
icon_state = "bus_off"
|
||||
icon_state = "[initial(icon_state)]_off"
|
||||
//VOREStation Edit End
|
||||
|
||||
/obj/machinery/ntnet_relay/process()
|
||||
if(operable())
|
||||
|
||||
Reference in New Issue
Block a user