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
@@ -9,7 +9,7 @@
slot_flags = SLOT_BELT
materials = list(MAT_METAL=50, MAT_GLASS=20)
actions_types = list(/datum/action/item_action/toggle_light)
var/on = 0
var/on = FALSE
var/brightness_on = 4 //range of light when on
var/flashlight_power = 1 //strength of the light when on
@@ -208,7 +208,7 @@
w_class = WEIGHT_CLASS_BULKY
flags = CONDUCT
materials = list()
on = 1
on = TRUE
// green-shaded desk lamp
@@ -271,7 +271,7 @@
. = ""
/obj/item/device/flashlight/flare/proc/turn_off()
on = 0
on = FALSE
force = initial(src.force)
damtype = initial(src.damtype)
if(ismob(loc))
@@ -415,7 +415,7 @@
update_icon()
/obj/item/device/flashlight/glowstick/proc/turn_off()
on = 0
on = FALSE
update_icon()
/obj/item/device/flashlight/glowstick/update_icon()