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
+2 -2
View File
@@ -12,9 +12,9 @@
name = "acid"
desc = "Burbling corrossive stuff."
icon_state = "acid"
density = 0
density = FALSE
opacity = 0
anchored = 1
anchored = TRUE
resistance_flags = FIRE_PROOF | UNACIDABLE | ACID_PROOF
layer = ABOVE_NORMAL_TURF_LAYER
var/turf/target
+5 -5
View File
@@ -4,8 +4,8 @@
name = "anomaly"
desc = "A mysterious anomaly, seen commonly only in the region of space that the station orbits..."
icon_state = "bhole3"
density = 0
anchored = 1
density = FALSE
anchored = TRUE
light_range = 3
var/movechance = 70
var/obj/item/device/assembly/signaler/anomaly/aSignal = null
@@ -81,7 +81,7 @@
/obj/effect/anomaly/grav
name = "gravitational anomaly"
icon_state = "shield2"
density = 0
density = FALSE
var/boing = 0
/obj/effect/anomaly/grav/New()
@@ -125,7 +125,7 @@
/obj/effect/anomaly/flux
name = "flux wave anomaly"
icon_state = "electricity2"
density = 1
density = TRUE
var/canshock = 0
var/shockdamage = 20
var/explosive = TRUE
@@ -177,7 +177,7 @@
name = "bluespace anomaly"
icon = 'icons/obj/projectiles.dmi'
icon_state = "bluespace"
density = 1
density = TRUE
/obj/effect/anomaly/bluespace/New()
..()
+2 -2
View File
@@ -5,8 +5,8 @@
var/id = null //id of this bump_teleporter.
var/id_target = null //id of bump_teleporter which this moves you to.
invisibility = INVISIBILITY_ABSTRACT //nope, can't see this
anchored = 1
density = 1
anchored = TRUE
density = TRUE
opacity = 0
var/static/list/AllTeleporters
+1 -1
View File
@@ -49,7 +49,7 @@
var/original_name
desc = "A large piece of space-resistant printed paper."
icon = 'icons/obj/contraband.dmi'
anchored = 1
anchored = TRUE
var/ruined = FALSE
var/random_basetype
var/never_random = FALSE // used for the 'random' subclasses.
+2 -2
View File
@@ -1,6 +1,6 @@
/obj/effect/decal
name = "decal"
anchored = 1
anchored = TRUE
resistance_flags = FIRE_PROOF | UNACIDABLE | ACID_PROOF
/obj/effect/decal/ex_act(severity, target)
@@ -19,7 +19,7 @@
var/group = TURF_DECAL_PAINT
icon = 'icons/turf/decals.dmi'
icon_state = "warningline"
anchored = 1
anchored = TRUE
//in case we need some special decals
/obj/effect/turf_decal/proc/get_decal()
+1 -1
View File
@@ -31,4 +31,4 @@
desc = "A lightweight support lattice."
icon = 'icons/obj/smooth_structures/lattice.dmi'
icon_state = "lattice"
density = 1
density = TRUE
@@ -2,7 +2,7 @@
name = "fire"
icon_state = "explosion_particle"
opacity = 1
anchored = 1
anchored = TRUE
/obj/effect/particle_effect/expl_particles/New()
..()
@@ -26,7 +26,7 @@
icon = 'icons/effects/96x96.dmi'
icon_state = "explosion"
opacity = 1
anchored = 1
anchored = TRUE
mouse_opacity = 0
pixel_x = -32
pixel_y = -32
@@ -9,8 +9,8 @@
name = "foam"
icon_state = "foam"
opacity = 0
anchored = 1
density = 0
anchored = TRUE
density = FALSE
layer = WALL_OBJ_LAYER
mouse_opacity = 0
var/amount = 3
@@ -194,9 +194,9 @@
/obj/structure/foamedmetal
icon = 'icons/effects/effects.dmi'
icon_state = "metalfoam"
density = 1
density = TRUE
opacity = 1 // changed in New()
anchored = 1
anchored = TRUE
resistance_flags = FIRE_PROOF | ACID_PROOF
name = "foamed metal"
desc = "A lightweight foamed metal wall."
@@ -210,7 +210,7 @@
/obj/structure/foamedmetal/Destroy()
density = 0
density = FALSE
air_update_turf(1)
return ..()
@@ -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)
@@ -10,7 +10,7 @@
pixel_y = -32
opacity = 0
layer = FLY_LAYER
anchored = 1
anchored = TRUE
mouse_opacity = 0
animate_movement = 0
var/amount = 4
@@ -176,7 +176,7 @@
G.garbage_collect()
for(var/obj/machinery/atmospherics/components/unary/U in T)
if(!isnull(U.welded) && !U.welded) //must be an unwelded vent pump or vent scrubber.
U.welded = 1
U.welded = TRUE
U.update_icon()
U.visible_message("<span class='danger'>[U] was frozen shut!</span>")
for(var/mob/living/L in T)
@@ -19,7 +19,7 @@
/obj/effect/particle_effect/sparks
name = "sparks"
icon_state = "sparks"
anchored = 1
anchored = TRUE
light_range = 1
/obj/effect/particle_effect/sparks/New()
@@ -43,7 +43,7 @@ steam.start() -- spawns the effect
/obj/effect/particle_effect/steam
name = "steam"
icon_state = "extinguish"
density = 0
density = FALSE
/obj/effect/particle_effect/steam/New()
..()
+2 -2
View File
@@ -2,9 +2,9 @@
desc = "A space wizard's magic wall."
name = "FORCEWALL"
icon_state = "m_shield"
anchored = 1
anchored = TRUE
opacity = 0
density = 1
density = TRUE
CanAtmosPass = ATMOS_PASS_DENSITY
/obj/effect/forcefield/cult
+2 -2
View File
@@ -3,9 +3,9 @@
/obj/structure/glowshroom
name = "glowshroom"
desc = "Mycena Bregprox, a species of mushroom that glows in the dark."
anchored = 1
anchored = TRUE
opacity = 0
density = 0
density = FALSE
icon = 'icons/obj/lighting.dmi'
icon_state = "glowshroom" //replaced in New
layer = ABOVE_NORMAL_TURF_LAYER
+2 -2
View File
@@ -2,7 +2,7 @@
name = "landmark"
icon = 'icons/mob/screen_gen.dmi'
icon_state = "x2"
anchored = 1
anchored = TRUE
invisibility = INVISIBILITY_ABSTRACT
/obj/effect/landmark/New()
@@ -18,7 +18,7 @@
name = "start"
icon = 'icons/mob/screen_gen.dmi'
icon_state = "x"
anchored = 1
anchored = TRUE
/obj/effect/landmark/start/New()
GLOB.start_landmarks_list += src
+3 -3
View File
@@ -1,8 +1,8 @@
/obj/effect/mine
name = "dummy mine"
desc = "Better stay away from that thing."
density = 0
anchored = 1
density = FALSE
anchored = TRUE
icon = 'icons/obj/weapons.dmi'
icon_state = "uglymine"
var/triggered = 0
@@ -95,7 +95,7 @@
desc = "pick me up"
icon = 'icons/effects/effects.dmi'
icon_state = "electricity2"
density = 0
density = FALSE
var/duration = 0
/obj/effect/mine/pickup/New()
+2 -2
View File
@@ -4,8 +4,8 @@
desc = "It's a ... present?"
icon = 'icons/obj/items.dmi'
icon_state = "strangepresent"
density = 1
anchored = 0
density = TRUE
anchored = FALSE
/obj/effect/beam
name = "beam"
+4 -4
View File
@@ -22,17 +22,17 @@
name = "Palm tree"
icon = 'icons/misc/beach2.dmi'
icon_state = "palm1"
density = 1
density = TRUE
layer = WALL_OBJ_LAYER
anchored = 1
anchored = TRUE
/obj/effect/overlay/palmtree_l
name = "Palm tree"
icon = 'icons/misc/beach2.dmi'
icon_state = "palm2"
density = 1
density = TRUE
layer = WALL_OBJ_LAYER
anchored = 1
anchored = TRUE
/obj/effect/overlay/coconut
name = "Coconuts"
+3 -3
View File
@@ -3,8 +3,8 @@
name = "web"
icon = 'icons/effects/effects.dmi'
desc = "it's stringy and sticky"
anchored = 1
density = 0
anchored = TRUE
density = FALSE
max_integrity = 15
@@ -80,7 +80,7 @@
name = "spiderling"
desc = "It never stays still for long."
icon_state = "spiderling"
anchored = 0
anchored = FALSE
layer = PROJECTILE_HIT_THRESHHOLD_LAYER
max_integrity = 3
var/amount_grown = 0
+1 -1
View File
@@ -5,7 +5,7 @@
var/stopper = 1 // stops throwers
var/mobs_only = FALSE
invisibility = INVISIBILITY_ABSTRACT // nope cant see this shit
anchored = 1
anchored = TRUE
/obj/effect/step_trigger/proc/Trigger(atom/movable/A)
return 0
@@ -1,7 +1,7 @@
//temporary visual effects
/obj/effect/temp_visual
icon_state = "nothing"
anchored = 1
anchored = TRUE
layer = ABOVE_MOB_LAYER
mouse_opacity = 0
var/duration = 10 //in deciseconds