Changes some 1s and 0s to TRUE and FALSE (#1967)

This commit is contained in:
CitadelStationBot
2017-07-10 16:13:16 -07:00
committed by kevinz000
parent 1b70c06474
commit ff6bbbedf5
522 changed files with 1924 additions and 1917 deletions
@@ -7,8 +7,8 @@
name = "telecommunications mainframe"
icon_state = "comm_server"
desc = "A compact machine used for portable subspace telecommuniations processing."
density = 1
anchored = 1
density = TRUE
anchored = TRUE
use_power = NO_POWER_USE
idle_power_usage = 0
machinetype = 6
@@ -12,8 +12,8 @@ GLOBAL_VAR_INIT(message_delay, 0) // To make sure restarting the recentmessages
name = "subspace broadcaster"
icon_state = "broadcaster"
desc = "A dish-shaped machine used to broadcast processed subspace signals."
density = 1
anchored = 1
density = TRUE
anchored = TRUE
use_power = IDLE_POWER_USE
idle_power_usage = 25
machinetype = 5
@@ -12,8 +12,8 @@
name = "bus mainframe"
icon_state = "bus"
desc = "A mighty piece of hardware used to send massive amounts of data quickly."
density = 1
anchored = 1
density = TRUE
anchored = TRUE
use_power = IDLE_POWER_USE
idle_power_usage = 50
machinetype = 2
@@ -13,8 +13,8 @@
name = "telecommunication hub"
icon_state = "hub"
desc = "A mighty piece of hardware used to send/receive massive amounts of data."
density = 1
anchored = 1
density = TRUE
anchored = TRUE
use_power = IDLE_POWER_USE
idle_power_usage = 80
machinetype = 7
@@ -11,8 +11,8 @@
name = "processor unit"
icon_state = "processor"
desc = "This machine is used to process large quantities of information."
density = 1
anchored = 1
density = TRUE
anchored = TRUE
use_power = IDLE_POWER_USE
idle_power_usage = 30
machinetype = 3
@@ -11,8 +11,8 @@
name = "subspace receiver"
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
anchored = 1
density = TRUE
anchored = TRUE
use_power = IDLE_POWER_USE
idle_power_usage = 30
machinetype = 1
@@ -10,8 +10,8 @@
name = "telecommunication relay"
icon_state = "relay"
desc = "A mighty piece of hardware used to send massive amounts of data far away."
density = 1
anchored = 1
density = TRUE
anchored = TRUE
use_power = IDLE_POWER_USE
idle_power_usage = 30
machinetype = 8
@@ -82,5 +82,5 @@
/obj/machinery/telecomms/relay/preset/ruskie
id = "Ruskie Relay"
hide = 1
toggled = 0
toggled = FALSE
autolinkers = list("r_relay")
@@ -11,8 +11,8 @@
name = "telecommunication server"
icon_state = "comm_server"
desc = "A machine used to store data and network statistics."
density = 1
anchored = 1
density = TRUE
anchored = TRUE
use_power = IDLE_POWER_USE
idle_power_usage = 15
machinetype = 4
@@ -26,8 +26,8 @@ GLOBAL_LIST_EMPTY(telecomms_list)
var/list/freq_listening = list() // list of frequencies to tune into: if none, will listen to all
var/machinetype = 0 // just a hacky way of preventing alike machines from pairing
var/toggled = 1 // Is it toggled on
var/on = 1
var/toggled = TRUE // Is it toggled on
var/on = TRUE
var/long_range_link = 0 // Can you link it across Z levels or on the otherside of the map? (Relay & Hub)
var/hide = 0 // Is it a hidden machine?
var/listening_level = 0 // 0 = auto set in New() - this is the z level that the machine is listening to.
@@ -193,11 +193,11 @@ GLOBAL_LIST_EMPTY(telecomms_list)
if(toggled)
if(stat & (BROKEN|NOPOWER|EMPED)) // if powered, on. if not powered, off. if too damaged, off
on = 0
on = FALSE
else
on = 1
on = TRUE
else
on = 0
on = FALSE
/obj/machinery/telecomms/process()
update_power()