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

This commit is contained in:
CitadelStationBot
2017-07-10 18:13:16 -05:00
committed by kevinz000
parent 1b70c06474
commit ff6bbbedf5
522 changed files with 1924 additions and 1917 deletions
+2 -2
View File
@@ -22,8 +22,8 @@
desc = "A \"replacement\" for the deconstructive analyzer with a slight tendency to catastrophically fail."
icon = 'icons/obj/machines/heavy_lathe.dmi'
icon_state = "h_lathe"
density = 1
anchored = 1
density = TRUE
anchored = TRUE
use_power = IDLE_POWER_USE
var/recentlyExperimented = 0
var/mob/trackedIan
+4 -4
View File
@@ -67,8 +67,8 @@ GLOBAL_LIST_INIT(message_servers, list())
icon = 'icons/obj/machines/research.dmi'
icon_state = "server"
name = "Messaging Server"
density = 1
anchored = 1
density = TRUE
anchored = TRUE
use_power = IDLE_POWER_USE
idle_power_usage = 10
active_power_usage = 100
@@ -133,8 +133,8 @@ GLOBAL_LIST_INIT(message_servers, list())
icon = 'icons/obj/stationobjs.dmi'
icon_state = "blackbox"
name = "Blackbox Recorder"
density = 1
anchored = 1
density = TRUE
anchored = TRUE
use_power = IDLE_POWER_USE
idle_power_usage = 10
active_power_usage = 100
+7 -7
View File
@@ -152,7 +152,7 @@ won't update every console in existence) but it's more of a hassle to do. Also,
/obj/machinery/computer/rdconsole/emag_act(mob/user)
if(!emagged)
playsound(src.loc, 'sound/effects/sparks4.ogg', 75, 1)
emagged = 1
emagged = TRUE
to_chat(user, "<span class='notice'>You disable the security protocols</span>")
/obj/machinery/computer/rdconsole/Topic(href, href_list)
@@ -295,13 +295,13 @@ won't update every console in existence) but it's more of a hassle to do. Also,
if(!cancontinue)
var/choice = input("This item does not raise tech levels. Proceed destroying loaded item anyway?") in list("Proceed", "Cancel")
if(choice == "Cancel" || !linked_destroy || !linked_destroy.loaded_item) return
linked_destroy.busy = 1
linked_destroy.busy = TRUE
screen = 0.1
updateUsrDialog()
flick("d_analyzer_process", linked_destroy)
spawn(24)
if(linked_destroy)
linked_destroy.busy = 0
linked_destroy.busy = FALSE
if(!linked_destroy.loaded_item)
screen = 1.0
return
@@ -412,7 +412,7 @@ won't update every console in existence) but it's more of a hassle to do. Also,
var/g2g = 1
var/enough_materials = 1
linked_lathe.busy = 1
linked_lathe.busy = TRUE
flick("protolathe_n",linked_lathe)
use_power(power)
@@ -455,7 +455,7 @@ won't update every console in existence) but it's more of a hassle to do. Also,
SSblackbox.add_details("item_printed","[new_item.type]|[amount]")
already_logged = 1
screen = old_screen
linked_lathe.busy = 0
linked_lathe.busy = FALSE
else
say("Protolathe connection failed. Production halted.")
screen = 1.0
@@ -488,7 +488,7 @@ won't update every console in existence) but it's more of a hassle to do. Also,
var/g2g = 1
var/enough_materials = 1
linked_imprinter.busy = 1
linked_imprinter.busy = TRUE
flick("circuit_imprinter_ani", linked_imprinter)
use_power(power)
@@ -521,7 +521,7 @@ won't update every console in existence) but it's more of a hassle to do. Also,
new_item.materials = efficient_mats.Copy()
SSblackbox.add_details("circuit_printed","[new_item.type]")
screen = old_screen
linked_imprinter.busy = 0
linked_imprinter.busy = FALSE
else
say("Circuit Imprinter connection failed. Production halted.")
screen = 1.0
+5 -5
View File
@@ -6,13 +6,13 @@
/obj/machinery/r_n_d
name = "R&D Device"
icon = 'icons/obj/machines/research.dmi'
density = 1
anchored = 1
density = TRUE
anchored = TRUE
use_power = IDLE_POWER_USE
var/busy = 0
var/hacked = 0
var/busy = FALSE
var/hacked = FALSE
var/disabled = 0
var/shocked = 0
var/shocked = FALSE
var/obj/machinery/computer/rdconsole/linked_console
var/obj/item/loaded_item = null //the item loaded inside the machine (currently only used by experimentor and destructive analyzer)
+1 -1
View File
@@ -318,7 +318,7 @@
/obj/machinery/computer/rdservercontrol/emag_act(mob/user)
if(!emagged)
playsound(src.loc, 'sound/effects/sparks4.ogg', 75, 1)
emagged = 1
emagged = TRUE
to_chat(user, "<span class='notice'>You you disable the security protocols.</span>")
/obj/machinery/r_n_d/server/robotics
@@ -475,7 +475,7 @@
flags = ABSTRACT | NODROP
/obj/effect/golemrune
anchored = 1
anchored = TRUE
desc = "a strange rune used to create golems. It glows when spirits are nearby."
name = "rune"
icon = 'icons/obj/rune.dmi'
@@ -546,7 +546,7 @@
/obj/effect/timestop
anchored = 1
anchored = TRUE
name = "chronofield"
desc = "ZA WARUDO"
icon = 'icons/effects/160x160.dmi'
@@ -580,7 +580,7 @@
if(M in immune)
continue
M.Stun(200, 1, 1)
M.anchored = 1
M.anchored = TRUE
if(ishostile(M))
var/mob/living/simple_animal/hostile/H = M
H.AIStatus = AI_OFF
@@ -610,7 +610,7 @@
/obj/effect/timestop/proc/unfreeze_mob(mob/living/M)
M.AdjustStun(-200, 1, 1)
M.anchored = 0
M.anchored = FALSE
if(ishostile(M))
var/mob/living/simple_animal/hostile/H = M
H.AIStatus = initial(H.AIStatus)