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
@@ -3,7 +3,7 @@
desc = "It's a basic storage unit."
icon = 'icons/obj/closet.dmi'
icon_state = "generic"
density = 1
density = TRUE
var/icon_door = null
var/icon_door_override = FALSE //override to have open overlay use icon different to its base's
var/secure = FALSE //secure locker or not, also used if overriding a non-secure locker with a secure door overlay to add fancy lights
@@ -130,7 +130,7 @@
playsound(loc, open_sound, 15, 1, -3)
opened = 1
if(!dense_when_open)
density = 0
density = FALSE
climb_time *= 0.5 //it's faster to climb onto an open thing
dump_contents()
update_icon()
@@ -182,7 +182,7 @@
playsound(loc, close_sound, 15, 1, -3)
climb_time = initial(climb_time)
opened = 0
density = 1
density = TRUE
update_icon()
return 1
@@ -381,8 +381,8 @@
to_chat(user, "<span class='warning'>You fail to break out of [src]!</span>")
/obj/structure/closet/proc/bust_open()
welded = 0 //applies to all lockers
locked = 0 //applies to critter crates and secure lockers only
welded = FALSE //applies to all lockers
locked = FALSE //applies to critter crates and secure lockers only
broken = 1 //applies to secure lockers only
open()
@@ -417,7 +417,7 @@
"<span class='italics'>You hear a faint electrical spark.</span>")
playsound(src.loc, 'sound/effects/sparks4.ogg', 50, 1)
broken = 1
locked = 0
locked = FALSE
update_icon()
/obj/structure/closet/get_remote_view_fullscreens(mob/user)