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
+2 -2
View File
@@ -16,8 +16,8 @@
name = "AI"
icon = 'icons/mob/ai.dmi'
icon_state = "ai"
anchored = 1
density = 1
anchored = TRUE
density = TRUE
canmove = 0
status_flags = CANSTUN|CANPUSH
a_intent = INTENT_HARM //so we always get pushed instead of trying to swap
+1 -1
View File
@@ -11,7 +11,7 @@
cameraFollow = null
anchored = 0 //unbolt floorbolts
anchored = FALSE //unbolt floorbolts
update_canmove()
if(eyeobj)
eyeobj.setLoc(get_turf(src))
@@ -12,7 +12,7 @@
var/list/cameras = list()
var/list/turfs = list()
var/list/seenby = list()
var/visible = 0
var/visible = FALSE
var/changed = 0
var/updating = 0
var/x = 0
@@ -1,5 +1,5 @@
/mob/living/silicon/apply_damage(damage = 0,damagetype = BRUTE, def_zone = null, blocked = 0)
/mob/living/silicon/apply_damage(damage = 0,damagetype = BRUTE, def_zone = null, blocked = FALSE)
var/hit_percent = (100-blocked)/100
if(!damage || (hit_percent <= 0))
return 0
@@ -14,7 +14,7 @@
return 1
/mob/living/silicon/apply_effect(effect = 0,effecttype = STUN, blocked = 0)
/mob/living/silicon/apply_effect(effect = 0,effecttype = STUN, blocked = FALSE)
return 0 //The only effect that can hit them atm is flashes and they still directly edit so this works for now
/mob/living/silicon/adjustToxLoss(amount, updating_health = TRUE, forced = FALSE) //immune to tox damage
+1 -1
View File
@@ -5,7 +5,7 @@
icon = 'icons/mob/pai.dmi'
icon_state = "repairbot"
mouse_opacity = 2
density = 0
density = FALSE
luminosity = 0
pass_flags = PASSTABLE | PASSMOB
mob_size = MOB_SIZE_TINY
@@ -19,7 +19,7 @@
. = ..()
locked = 0 //unlock cover
locked = FALSE //unlock cover
update_canmove()
if(camera && camera.status)
@@ -45,12 +45,12 @@
var/obj/machinery/camera/camera = null
var/opened = 0
var/emagged = 0
var/emagged = FALSE
var/emag_cooldown = 0
var/wiresexposed = 0
var/ident = 0
var/locked = 1
var/locked = TRUE
var/list/req_access = list(GLOB.access_robotics)
var/alarms = list("Motion"=list(), "Fire"=list(), "Atmosphere"=list(), "Power"=list(), "Camera"=list(), "Burglar"=list())
@@ -550,7 +550,7 @@
if(locked)
switch(alert("You cannot lock your cover again, are you sure?\n (You can still ask for a human to lock it)", "Unlock Own Cover", "Yes", "No"))
if("Yes")
locked = 0
locked = FALSE
update_icons()
to_chat(usr, "<span class='notice'>You unlock your cover.</span>")
@@ -983,7 +983,7 @@
camera.toggle_cam(src,0)
update_headlamp()
if(admin_revive)
locked = 1
locked = TRUE
notify_ai(NEW_BORG)
. = 1
@@ -92,7 +92,7 @@
if(!opened)//Cover is closed
if(locked)
to_chat(user, "<span class='notice'>You emag the cover lock.</span>")
locked = 0
locked = FALSE
if(shell) //A warning to Traitors who may not know that emagging AI shells does not slave them.
to_chat(user, "<span class='boldwarning'>[src] seems to be controlled remotely! Emagging the interface may not work as expected.</span>")
else