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
@@ -8,8 +8,8 @@
/datum/effect_system/trail_follow
var/turf/oldposition
var/processing = 1
var/on = 1
var/processing = TRUE
var/on = TRUE
/datum/effect_system/trail_follow/set_up(atom/atom)
attach(atom)
@@ -20,8 +20,8 @@
return ..()
/datum/effect_system/trail_follow/proc/stop()
processing = 0
on = 0
processing = FALSE
on = FALSE
oldposition = null
/datum/effect_system/trail_follow/steam
@@ -29,12 +29,12 @@
/datum/effect_system/trail_follow/steam/start()
if(!on)
on = 1
processing = 1
on = TRUE
processing = TRUE
if(!oldposition)
oldposition = get_turf(holder)
if(processing)
processing = 0
processing = FALSE
if(number < 3)
var/obj/effect/particle_effect/steam/I = new /obj/effect/particle_effect/steam(oldposition)
number++
@@ -45,13 +45,13 @@
number--
spawn(2)
if(on)
processing = 1
processing = TRUE
start()
/obj/effect/particle_effect/ion_trails
name = "ion trails"
icon_state = "ion_trails"
anchored = 1
anchored = TRUE
/obj/effect/particle_effect/ion_trails/flight
icon_state = "ion_trails_flight"
@@ -64,12 +64,12 @@
/datum/effect_system/trail_follow/ion/start() //Whoever is responsible for this abomination of code should become an hero
if(!on)
on = 1
processing = 1
on = TRUE
processing = TRUE
if(!oldposition)
oldposition = get_turf(holder)
if(processing)
processing = 0
processing = FALSE
var/turf/T = get_turf(holder)
if(T != oldposition)
if(!T.has_gravity() || !nograv_required)
@@ -83,7 +83,7 @@
oldposition = T
spawn(2)
if(on)
processing = 1
processing = TRUE
start()
/datum/effect_system/trail_follow/ion/proc/set_dir(obj/effect/particle_effect/ion_trails/I)