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
+3 -3
View File
@@ -15,8 +15,8 @@
desc = "A large cabinet with drawers."
icon = 'icons/obj/bureaucracy.dmi'
icon_state = "filingcabinet"
density = 1
anchored = 1
density = TRUE
anchored = TRUE
/obj/structure/filingcabinet/chestdrawer
name = "chest drawer"
@@ -25,7 +25,7 @@
/obj/structure/filingcabinet/chestdrawer/wheeled
name = "rolling chest drawer"
desc = "A small cabinet with drawers. This one has wheels!"
anchored = 0
anchored = FALSE
/obj/structure/filingcabinet/filingcabinet //not changing the path to avoid unecessary map issues, but please don't name stuff like this in the future -Pete
icon_state = "tallcabinet"
+3 -3
View File
@@ -194,11 +194,11 @@
/obj/item/weapon/pen/edagger
origin_tech = "combat=3;syndicate=1"
attack_verb = list("slashed", "stabbed", "sliced", "torn", "ripped", "diced", "cut") //these wont show up if the pen is off
var/on = 0
var/on = FALSE
/obj/item/weapon/pen/edagger/attack_self(mob/living/user)
if(on)
on = 0
on = FALSE
force = initial(force)
w_class = initial(w_class)
name = initial(name)
@@ -208,7 +208,7 @@
playsound(user, 'sound/weapons/saberoff.ogg', 5, 1)
to_chat(user, "<span class='warning'>[src] can now be concealed.</span>")
else
on = 1
on = TRUE
force = 18
w_class = WEIGHT_CLASS_NORMAL
name = "energy dagger"
+13 -13
View File
@@ -12,8 +12,8 @@
desc = "Used to copy important documents and anatomy studies."
icon = 'icons/obj/library.dmi'
icon_state = "photocopier"
anchored = 1
density = 1
anchored = TRUE
density = TRUE
use_power = IDLE_POWER_USE
idle_power_usage = 30
active_power_usage = 200
@@ -28,7 +28,7 @@
var/maxcopies = 10 //how many copies can be copied at once- idea shamelessly stolen from bs12's copier!
var/greytoggle = "Greyscale"
var/mob/living/ass //i can't believe i didn't write a stupid-ass comment about this var when i first coded asscopy.
var/busy = 0
var/busy = FALSE
/obj/machinery/photocopier/attack_ai(mob/user)
return attack_hand(user)
@@ -93,9 +93,9 @@
c.stamped = copy.stamped.Copy()
c.copy_overlays(copy, TRUE)
toner--
busy = 1
busy = TRUE
sleep(15)
busy = 0
busy = FALSE
else
break
updateUsrDialog()
@@ -126,9 +126,9 @@
p.pixel_x = rand(-10, 10)
p.pixel_y = rand(-10, 10)
p.blueprints = photocopy.blueprints //a copy of a picture is still good enough for the syndicate
busy = 1
busy = TRUE
sleep(15)
busy = 0
busy = FALSE
else
break
else if(doccopy)
@@ -136,9 +136,9 @@
if(toner > 5 && !busy && doccopy)
new /obj/item/documents/photocopy(loc, doccopy)
toner-= 6 // the sprite shows 6 papers, yes I checked
busy = 1
busy = TRUE
sleep(15)
busy = 0
busy = FALSE
else
break
updateUsrDialog()
@@ -173,9 +173,9 @@
ic.Blend(small_img,ICON_OVERLAY, 13, 13)
p.icon = ic
toner -= 5
busy = 1
busy = TRUE
sleep(15)
busy = 0
busy = FALSE
else
break
updateUsrDialog()
@@ -228,9 +228,9 @@
p.pixel_x = rand(-10, 10)
p.pixel_y = rand(-10, 10)
toner -= 5 //AI prints color pictures only, thus they can do it more efficiently
busy = 1
busy = TRUE
sleep(15)
busy = 0
busy = FALSE
updateUsrDialog()
else if(href_list["colortoggle"])
if(greytoggle == "Greyscale")
+3 -3
View File
@@ -112,7 +112,7 @@
materials = list(MAT_METAL=2000)
var/pictures_max = 10
var/pictures_left = 10
var/on = 1
var/on = TRUE
var/blueprints = 0 //are blueprints visible in the current photo being created?
var/list/aipictures = list() //Allows for storage of pictures taken by AI, in a similar manner the datacore stores info. Keeping this here allows us to share some procs w/ regualar camera
var/see_ghosts = 0 //for the spoop of it
@@ -435,10 +435,10 @@
pictures_left--
to_chat(user, "<span class='notice'>[pictures_left] photos left.</span>")
icon_state = "camera_off"
on = 0
on = FALSE
spawn(64)
icon_state = "camera"
on = 1
on = TRUE
/obj/item/device/camera/siliconcam/proc/toggle_camera_mode()
if(in_camera_mode)