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
+9 -9
View File
@@ -23,9 +23,9 @@
desc = "Looks like some kind of slimy growth."
icon_state = "resin"
density = 1
density = TRUE
opacity = 1
anchored = 1
anchored = TRUE
can_atmos_pass = ATMOS_PASS_NO
var/health = 200
//var/mob/living/affecting = null
@@ -54,7 +54,7 @@
/obj/effect/alien/resin/proc/healthcheck()
if(health <=0)
density = 0
density = FALSE
qdel(src)
return
@@ -163,8 +163,8 @@
name = "growth"
desc = "Weird organic growth."
icon_state = "weeds"
anchored = 1
density = 0
anchored = TRUE
density = FALSE
plane = TURF_PLANE
layer = ABOVE_TURF_LAYER
@@ -374,9 +374,9 @@
desc = "Burbling corrossive stuff. I wouldn't want to touch it."
icon_state = "acid"
density = 0
density = FALSE
opacity = 0
anchored = 1
anchored = TRUE
var/atom/target
var/ticks = 0
@@ -439,8 +439,8 @@
name = "egg"
// icon_state = "egg_growing" // So the egg looks 'grown', even though it's not.
icon_state = "egg"
density = 0
anchored = 1
density = FALSE
anchored = TRUE
var/health = 100
var/status = BURST //can be GROWING, GROWN or BURST; all mutually exclusive
+2 -2
View File
@@ -7,8 +7,8 @@ var/list/obj/effect/bump_teleporter/BUMP_TELEPORTERS = list()
var/id = null //id of this bump_teleporter.
var/id_target = null //id of bump_teleporter which this moves you to.
invisibility = 101 //nope, can't see this
anchored = 1
density = 1
anchored = TRUE
density = TRUE
opacity = 0
/obj/effect/bump_teleporter/New()
+5 -5
View File
@@ -6,8 +6,8 @@
name = "foam"
icon_state = "foam"
opacity = 0
anchored = 1
density = 0
anchored = TRUE
density = FALSE
layer = OBJ_LAYER + 0.9
mouse_opacity = 0
animate_movement = 0
@@ -134,9 +134,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
name = "foamed metal"
desc = "A lightweight foamed metal wall."
can_atmos_pass = ATMOS_PASS_NO
@@ -147,7 +147,7 @@
update_nearby_tiles(1)
/obj/structure/foamedmetal/Destroy()
density = 0
density = FALSE
update_nearby_tiles(1)
return ..()
@@ -4,7 +4,7 @@
icon_state = "fuel"
plane = DIRTY_PLANE
layer = DIRTY_LAYER
anchored = 1
anchored = TRUE
var/amount = 1
generic_filth = TRUE
persistent = FALSE
@@ -51,7 +51,7 @@
/obj/effect/decal/cleanable/liquid_fuel/flamethrower_fuel
icon_state = "mustard"
anchored = 0
anchored = FALSE
/obj/effect/decal/cleanable/liquid_fuel/flamethrower_fuel/New(newLoc, amt = 1, d = 0)
set_dir(d) //Setting this direction means you won't get torched by your own flamethrower.
@@ -8,8 +8,8 @@ var/global/list/image/splatter_cache=list()
desc = "It's thick and gooey. Perhaps it's the chef's cooking?"
var/drydesc = "It's dry and crusty. Someone is not doing their job."
gender = PLURAL
density = 0
anchored = 1
density = FALSE
anchored = TRUE
plane = BLOOD_PLANE
layer = BLOOD_DECAL_LAYER
icon = 'icons/effects/blood.dmi'
@@ -173,8 +173,8 @@ var/global/list/image/splatter_cache=list()
name = "gibs"
desc = "They look bloody and gruesome."
gender = PLURAL
density = 0
anchored = 1
density = FALSE
anchored = TRUE
icon = 'icons/effects/blood.dmi'
icon_state = "gibbl5"
random_icon_states = list("gib1", "gib2", "gib3", "gib5", "gib6")
@@ -229,8 +229,8 @@ var/global/list/image/splatter_cache=list()
name = "mucus"
desc = "Disgusting mucus."
gender = PLURAL
density = 0
anchored = 1
density = FALSE
anchored = TRUE
icon = 'icons/effects/blood.dmi'
icon_state = "mucus"
random_icon_states = list("mucus")
@@ -2,8 +2,8 @@
name = "clutter"
desc = "Someone should clean that up."
gender = PLURAL
density = 0
anchored = 1
density = FALSE
anchored = TRUE
icon = 'icons/obj/objects.dmi'
icon_state = "shards"
@@ -13,7 +13,7 @@
gender = PLURAL
icon = 'icons/obj/objects.dmi'
icon_state = "ash"
anchored = 1
anchored = TRUE
/obj/effect/decal/cleanable/ash/attack_hand(mob/user as mob)
to_chat(user, "<span class='notice'>[src] sifts through your fingers.</span>")
@@ -32,8 +32,8 @@
name = "dirt"
desc = "Someone should clean that up."
gender = PLURAL
density = 0
anchored = 1
density = FALSE
anchored = TRUE
icon = 'icons/effects/effects.dmi'
icon_state = "dirt"
mouse_opacity = 0
@@ -42,8 +42,8 @@
name = "flour"
desc = "It's still good. Four second rule!"
gender = PLURAL
density = 0
anchored = 1
density = FALSE
anchored = TRUE
icon = 'icons/effects/effects.dmi'
icon_state = "flour"
@@ -51,8 +51,8 @@
name = "glowing goo"
desc = "Jeez. I hope that's not for lunch."
gender = PLURAL
density = 0
anchored = 1
density = FALSE
anchored = TRUE
light_range = 1
icon = 'icons/effects/effects.dmi'
icon_state = "greenglow"
@@ -60,8 +60,8 @@
/obj/effect/decal/cleanable/cobweb
name = "cobweb"
desc = "Somebody should remove that."
density = 0
anchored = 1
density = FALSE
anchored = TRUE
plane = OBJ_PLANE
icon = 'icons/effects/effects.dmi'
icon_state = "cobweb1"
@@ -69,8 +69,8 @@
/obj/effect/decal/cleanable/molten_item
name = "gooey grey mass"
desc = "It looks like a melted... something."
density = 0
anchored = 1
density = FALSE
anchored = TRUE
plane = OBJ_PLANE
icon = 'icons/obj/chemical.dmi'
icon_state = "molten"
@@ -78,8 +78,8 @@
/obj/effect/decal/cleanable/cobweb2
name = "cobweb"
desc = "Somebody should remove that."
density = 0
anchored = 1
density = FALSE
anchored = TRUE
plane = OBJ_PLANE
icon = 'icons/effects/effects.dmi'
icon_state = "cobweb2"
@@ -89,8 +89,8 @@
name = "vomit"
desc = "Gosh, how unpleasant."
gender = PLURAL
density = 0
anchored = 1
density = FALSE
anchored = TRUE
icon = 'icons/effects/blood.dmi'
icon_state = "vomit_1"
random_icon_states = list("vomit_1", "vomit_2", "vomit_3", "vomit_4")
@@ -99,32 +99,32 @@
/obj/effect/decal/cleanable/tomato_smudge
name = "tomato smudge"
desc = "It's red."
density = 0
anchored = 1
density = FALSE
anchored = TRUE
icon = 'icons/effects/tomatodecal.dmi'
random_icon_states = list("tomato_floor1", "tomato_floor2", "tomato_floor3")
/obj/effect/decal/cleanable/egg_smudge
name = "smashed egg"
desc = "Seems like this one won't hatch."
density = 0
anchored = 1
density = FALSE
anchored = TRUE
icon = 'icons/effects/tomatodecal.dmi'
random_icon_states = list("smashed_egg1", "smashed_egg2", "smashed_egg3")
/obj/effect/decal/cleanable/pie_smudge //honk
name = "smashed pie"
desc = "It's pie cream from a cream pie."
density = 0
anchored = 1
density = FALSE
anchored = TRUE
icon = 'icons/effects/tomatodecal.dmi'
random_icon_states = list("smashed_pie")
/obj/effect/decal/cleanable/fruit_smudge
name = "smudge"
desc = "Some kind of fruit smear."
density = 0
anchored = 1
density = FALSE
anchored = TRUE
icon = 'icons/effects/blood.dmi'
icon_state = "mfloor1"
random_icon_states = list("mfloor1", "mfloor2", "mfloor3", "mfloor4", "mfloor5", "mfloor6", "mfloor7")
@@ -129,7 +129,7 @@
name = "poster"
desc = "A large piece of space-resistant printed paper. "
icon = 'icons/obj/contraband_vr.dmi' //VOREStation Edit
anchored = 1
anchored = TRUE
var/serial_number //Will hold the value of src.loc if nobody initialises it
var/poster_type //So mappers can specify a desired poster
var/ruined = 0
+1 -1
View File
@@ -4,7 +4,7 @@
icon = 'icons/obj/rune.dmi'
plane = DIRTY_PLANE
layer = DIRTY_LAYER
anchored = 1
anchored = TRUE
/obj/effect/decal/cleanable/crayon/New(location,main = "#FFFFFF",shade = "#000000",var/type = "rune")
..()
+3 -3
View File
@@ -4,11 +4,11 @@
icon = 'icons/mob/screen1.dmi'
icon_state = "arrow"
plane = ABOVE_PLANE
anchored = 1
anchored = TRUE
mouse_opacity = 0
// Used for spray that you spray at walls, tables, hydrovats etc
/obj/effect/decal/spraystill
density = 0
anchored = 1
density = FALSE
anchored = TRUE
plane = ABOVE_PLANE
@@ -117,7 +117,7 @@
desc = "A large piece of space-resistant printed paper. "
icon = 'icons/obj/contraband_vr.dmi' //VOREStation Edit
icon_state = "poster" //VOREStation Edit
anchored = 1
anchored = TRUE
var/decl/poster/poster_decl = null
var/target_poster_decl_path = /decl/poster
var/roll_type = /obj/item/poster
+1 -1
View File
@@ -3,7 +3,7 @@
gender = PLURAL
icon = 'icons/effects/blood.dmi'
icon_state = "remains"
anchored = 0
anchored = FALSE
/obj/effect/decal/remains/human
desc = "They look like human remains. They have a strange aura about them."
+5 -5
View File
@@ -11,7 +11,7 @@ would spawn and follow the beaker, even if it is carried or thrown.
name = "effect"
icon = 'icons/effects/effects.dmi'
mouse_opacity = 0
unacidable = 1//So effect are not targeted by alien acid.
unacidable = TRUE//So effect are not targeted by alien acid.
pass_flags = PASSTABLE | PASSGRILLE
blocks_emissive = EMISSIVE_BLOCK_GENERIC
light_on = TRUE
@@ -60,7 +60,7 @@ steam.start() -- spawns the effect
name = "steam"
icon = 'icons/effects/effects.dmi'
icon_state = "extinguish"
density = 0
density = FALSE
/datum/effect/effect/system/steam_spread/set_up(n = 3, c = 0, turf/loc)
if(n > 10)
@@ -98,7 +98,7 @@ steam.start() -- spawns the effect
name = "sparks"
icon_state = "sparks"
var/amount = 6.0
anchored = 1.0
anchored = TRUE
mouse_opacity = 0
/obj/effect/effect/sparks/Initialize()
@@ -168,7 +168,7 @@ steam.start() -- spawns the effect
name = "smoke"
icon_state = "smoke"
opacity = 1
anchored = 0.0
anchored = FALSE
mouse_opacity = 0
var/amount = 6.0
var/time_to_live = 100
@@ -422,7 +422,7 @@ steam.start() -- spawns the effect
/obj/effect/effect/ion_trails
name = "ion trails"
icon_state = "ion_trails"
anchored = 1.0
anchored = TRUE
/datum/effect/effect/system/ion_trail_follow
var/turf/oldposition
@@ -3,7 +3,7 @@
icon = 'icons/effects/effects.dmi'
icon_state = "explosion_particle"
opacity = 1
anchored = 1
anchored = TRUE
mouse_opacity = 0
/obj/effect/expl_particles/New()
@@ -37,7 +37,7 @@
icon = 'icons/effects/96x96.dmi'
icon_state = "explosion"
opacity = 1
anchored = 1
anchored = TRUE
mouse_opacity = 0
pixel_x = -32
pixel_y = -32
@@ -1,5 +1,5 @@
/obj/effect/temporary_effect/item_pickup_ghost
anchored = 1
anchored = TRUE
plane = MOB_PLANE
layer = ABOVE_MOB_LAYER
mouse_opacity = 0//just in case something dumb happens
+6 -6
View File
@@ -2,9 +2,9 @@
name = "landmark"
icon = 'icons/mob/screen1.dmi'
icon_state = "x2"
anchored = 1.0
unacidable = 1
simulated = 0
anchored = TRUE
unacidable = TRUE
simulated = FALSE
invisibility = 100
var/delete_me = 0
@@ -24,7 +24,7 @@
return
if("JoinLate") // Bit difference, since we need the spawn point to move.
latejoin += src
simulated = 1
simulated = TRUE
// delete_me = 1
return
if("JoinLateGateway")
@@ -99,7 +99,7 @@
name = "start"
icon = 'icons/mob/screen1.dmi'
icon_state = "x"
anchored = 1.0
anchored = TRUE
/obj/effect/landmark/start/New()
..()
@@ -122,7 +122,7 @@
name = "virtual_reality"
icon = 'icons/mob/screen1.dmi'
icon_state = "x"
anchored = 1.0
anchored = TRUE
/obj/effect/landmark/virtual_reality/New()
..()
+1 -1
View File
@@ -2,7 +2,7 @@
name = "manifest"
icon = 'icons/mob/screen1.dmi'
icon_state = "x"
unacidable = 1//Just to be sure.
unacidable = TRUE//Just to be sure.
/obj/effect/manifest/New()
+3 -3
View File
@@ -1,14 +1,14 @@
/obj/effect/mine
name = "land mine" //The name and description are deliberately NOT modified, so you can't game the mines you find.
desc = "A small explosive land mine."
density = 0
anchored = 1
density = FALSE
anchored = TRUE
icon = 'icons/obj/weapons.dmi'
icon_state = "uglymine"
var/triggered = 0
var/smoke_strength = 3
var/obj/item/weapon/mine/mineitemtype = /obj/item/weapon/mine
var/panel_open = 0
var/panel_open = FALSE
var/datum/wires/mines/wires = null
var/camo_net = FALSE // Will the mine 'cloak' on deployment?
+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/temporary_effect
name = "self deleting effect"
+8 -8
View File
@@ -1,6 +1,6 @@
/obj/effect/overlay
name = "overlay"
unacidable = 1
unacidable = TRUE
var/i_attached//Added for possible image attachments to objects. For hallucinations and the like.
/obj/effect/overlay/beam//Not actually a projectile, just an effect.
@@ -18,19 +18,19 @@
name = "Palm tree"
icon = 'icons/misc/beach2.dmi'
icon_state = "palm1"
density = 1
density = TRUE
plane = MOB_PLANE
layer = ABOVE_MOB_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
plane = MOB_PLANE
layer = ABOVE_MOB_LAYER
anchored = 1
anchored = TRUE
/obj/effect/overlay/coconut
name = "Coconuts"
@@ -47,8 +47,8 @@
name = "wallrot"
desc = "Ick..."
icon = 'icons/effects/wallrot.dmi'
anchored = 1
density = 1
anchored = TRUE
density = TRUE
plane = MOB_PLANE
layer = ABOVE_MOB_LAYER
mouse_opacity = 0
@@ -62,7 +62,7 @@
name = "snow"
icon = 'icons/turf/overlays.dmi'
icon_state = "snow"
anchored = 1
anchored = TRUE
plane = TURF_PLANE
// Todo: Add a version that gradually reaccumulates over time by means of alpha transparency. -Spades
+3 -3
View File
@@ -5,12 +5,12 @@ GLOBAL_LIST_BOILERPLATE(all_portals, /obj/effect/portal)
desc = "Looks unstable. Best to test it with the clown."
icon = 'icons/obj/stationobjs.dmi'
icon_state = "portal"
density = 1
unacidable = 1//Can't destroy energy portals.
density = TRUE
unacidable = TRUE//Can't destroy energy portals.
var/failchance = 5
var/obj/item/target = null
var/creator = null
anchored = 1.0
anchored = TRUE
/obj/effect/portal/Bumped(mob/M as mob|obj)
if(istype(M,/mob) && !(istype(M,/mob/living)))
+3 -3
View File
@@ -3,8 +3,8 @@
name = "web"
desc = "it's stringy and sticky"
icon = 'icons/effects/effects.dmi'
anchored = 1
density = 0
anchored = TRUE
density = FALSE
var/health = 15
//similar to weeds, but only barfed out by nurses manually
@@ -137,7 +137,7 @@
name = "spiderling"
desc = "It never stays still for long."
icon_state = "spiderling"
anchored = 0
anchored = FALSE
layer = HIDING_LAYER
health = 3
var/last_itch = 0
+1 -1
View File
@@ -5,7 +5,7 @@
var/stopper = 1 // stops throwers
invisibility = 99 // nope cant see this shit
plane = ABOVE_PLANE
anchored = 1
anchored = TRUE
icon = 'icons/mob/screen1.dmi' //VS Edit
icon_state = "centermarker" //VS Edit
+2 -2
View File
@@ -4,8 +4,8 @@
icon = 'icons/mob/screen1.dmi'
icon_state = "x3"
invisibility = 101 //nope, can't see this
anchored = 1
density = 0
anchored = TRUE
density = FALSE
opacity = 0
can_atmos_pass = ATMOS_PASS_PROC