Convert some bools to TRUE/FALSE instead of 1/0. (#11100)

Co-authored-by: Aronai Sieyes <arokha@arokha.com>
This commit is contained in:
MarinaGryphon
2021-07-16 13:43:25 -04:00
committed by GitHub
co-authored by Aronai Sieyes
parent 9ce7af6ca1
commit 577b986ba6
523 changed files with 1301 additions and 1301 deletions
+6 -6
View File
@@ -2,13 +2,13 @@
name = "window"
desc = "A window."
icon = 'icons/obj/structures_vr.dmi' // VOREStation Edit - New icons
density = 1
density = TRUE
can_atmos_pass = ATMOS_PASS_PROC
w_class = ITEMSIZE_NORMAL
layer = WINDOW_LAYER
pressure_resistance = 4*ONE_ATMOSPHERE
anchored = 1.0
anchored = TRUE
flags = ON_BORDER
var/maxhealth = 14.0
var/maximal_heat = T0C + 100 // Maximal heat before this window begins taking damage from fire
@@ -167,7 +167,7 @@
tforce = I.throwforce
if(reinf) tforce *= 0.25
if(health - tforce <= 7 && !reinf)
anchored = 0
anchored = FALSE
update_verbs()
update_nearby_icons()
step(src, get_dir(AM, src))
@@ -325,7 +325,7 @@
user.do_attack_animation(src)
hit(W.force)
if(health <= 7)
anchored = 0
anchored = FALSE
update_nearby_icons()
step(src, get_dir(user, src))
else
@@ -392,7 +392,7 @@
//player-constructed windows
if (constructed)
anchored = 0
anchored = FALSE
state = 0
update_verbs()
@@ -405,7 +405,7 @@
/obj/structure/window/Destroy()
density = 0
density = FALSE
update_nearby_tiles()
var/turf/location = loc
. = ..()