diff --git a/code/modules/mining/abandonedcrates.dm b/code/modules/mining/abandonedcrates.dm index f289a2dc8e1..06d21232fed 100644 --- a/code/modules/mining/abandonedcrates.dm +++ b/code/modules/mining/abandonedcrates.dm @@ -157,7 +157,7 @@ if(in_range(src, user)) if(input == code) to_chat(user, "The crate unlocks!") - locked = 0 + locked = FALSE overlays.Cut() overlays += "securecrateg" else if(input == null || length(input) != codelen) diff --git a/code/modules/mining/equipment/lazarus_injector.dm b/code/modules/mining/equipment/lazarus_injector.dm index 2114570ebea..f1e06a9f203 100644 --- a/code/modules/mining/equipment/lazarus_injector.dm +++ b/code/modules/mining/equipment/lazarus_injector.dm @@ -26,17 +26,17 @@ if(M.stat == DEAD) M.faction = list("neutral") M.revive() - M.can_collar = 1 + M.can_collar = TRUE if(istype(target, /mob/living/simple_animal/hostile)) var/mob/living/simple_animal/hostile/H = M if(malfunctioning) H.faction |= list("lazarus", "\ref[user]") - H.robust_searching = 1 + H.robust_searching = TRUE H.friends += user - H.attack_same = 1 + H.attack_same = TRUE log_game("[user] has revived hostile mob [target] with a malfunctioning lazarus injector") else - H.attack_same = 0 + H.attack_same = FALSE loaded = 0 user.visible_message("[user] injects [M] with [src], reviving it.") playsound(src,'sound/effects/refill.ogg',50,1) diff --git a/code/modules/mining/equipment/mining_tools.dm b/code/modules/mining/equipment/mining_tools.dm index f5d5d9f68bd..5a56e898ca2 100644 --- a/code/modules/mining/equipment/mining_tools.dm +++ b/code/modules/mining/equipment/mining_tools.dm @@ -14,7 +14,7 @@ attack_verb = list("hit", "pierced", "sliced", "attacked") var/list/digsound = list('sound/effects/picaxe1.ogg','sound/effects/picaxe2.ogg','sound/effects/picaxe3.ogg') var/drill_verb = "picking" - sharp = 1 + sharp = TRUE var/excavation_amount = 100 usesound = 'sound/effects/picaxe1.ogg' toolspeed = 1 diff --git a/code/modules/mining/equipment/survival_pod.dm b/code/modules/mining/equipment/survival_pod.dm index d3d9e97b3b1..3c8122695bc 100644 --- a/code/modules/mining/equipment/survival_pod.dm +++ b/code/modules/mining/equipment/survival_pod.dm @@ -180,8 +180,8 @@ name = "pod computer" icon_state = "pod_computer" icon = 'icons/obj/lavaland/pod_computer.dmi' - anchored = 1 - density = 1 + anchored = TRUE + density = TRUE pixel_y = -32 /obj/item/gps/computer/attackby(obj/item/W, mob/user, params) @@ -252,8 +252,8 @@ icon_state = "fans" name = "environmental regulation system" desc = "A large machine releasing a constant gust of air." - anchored = 1 - density = 1 + anchored = TRUE + density = TRUE var/arbitraryatmosblockingvar = 1 var/buildstacktype = /obj/item/stack/sheet/metal var/buildstackamount = 5 @@ -289,7 +289,7 @@ name = "tiny fan" desc = "A tiny fan, releasing a thin gust of air." layer = TURF_LAYER+0.1 - density = 0 + density = FALSE icon_state = "fan_tiny" buildstackamount = 2 @@ -315,9 +315,9 @@ icon_state = "tubes" icon = 'icons/obj/lavaland/survival_pod.dmi' name = "tubes" - anchored = 1 + anchored = TRUE layer = MOB_LAYER - 0.2 - density = 0 + density = FALSE /obj/structure/tubes/attackby(obj/item/W, mob/user, params) if(istype(W, /obj/item/wrench)) diff --git a/code/modules/mining/lavaland/loot/ashdragon_loot.dm b/code/modules/mining/lavaland/loot/ashdragon_loot.dm index 04b3afdaf86..c5470f80660 100644 --- a/code/modules/mining/lavaland/loot/ashdragon_loot.dm +++ b/code/modules/mining/lavaland/loot/ashdragon_loot.dm @@ -31,7 +31,7 @@ icon_state = "spectral" item_state = "spectral" flags = CONDUCT - sharp = 1 + sharp = TRUE w_class = WEIGHT_CLASS_BULKY force = 1 throwforce = 1 diff --git a/code/modules/mining/lavaland/loot/colossus_loot.dm b/code/modules/mining/lavaland/loot/colossus_loot.dm index fff82ae517e..7d67bfc2434 100644 --- a/code/modules/mining/lavaland/loot/colossus_loot.dm +++ b/code/modules/mining/lavaland/loot/colossus_loot.dm @@ -24,7 +24,7 @@ icon_state = "anomaly_crystal" light_range = 8 use_power = NO_POWER_USE - density = 1 + density = TRUE resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | ACID_PROOF var/activation_method = "touch" var/activation_damage_type = null @@ -252,7 +252,7 @@ health = 2 harm_intent_damage = 1 friendly = "mends" - density = 0 + density = FALSE flying = TRUE obj_damage = 0 pass_flags = PASSTABLE | PASSGRILLE | PASSMOB @@ -263,15 +263,15 @@ damage_coeff = list(BRUTE = 1, BURN = 1, TOX = 0, CLONE = 0, STAMINA = 0, OXY = 0) luminosity = 4 faction = list("neutral") - universal_understand = 1 - del_on_death = 1 + universal_understand = TRUE + del_on_death = TRUE unsuitable_atmos_damage = 0 - flying = 1 + flying = TRUE minbodytemp = 0 maxbodytemp = 1500 environment_smash = 0 AIStatus = AI_OFF - stop_automated_movement = 1 + stop_automated_movement = TRUE var/heal_power = 5 /mob/living/simple_animal/hostile/lightgeist/New() @@ -341,8 +341,8 @@ name = "quantum entanglement stasis warp field" desc = "You can hardly comprehend this thing... which is why you can't see it." icon_state = null //This shouldn't even be visible, so if it DOES show up, at least nobody will notice - density = 1 - anchored = 1 + density = TRUE + anchored = TRUE resistance_flags = FIRE_PROOF | ACID_PROOF | INDESTRUCTIBLE var/mob/living/simple_animal/holder_animal @@ -362,7 +362,7 @@ /obj/structure/closet/stasis/Entered(atom/A) if(isliving(A) && holder_animal) var/mob/living/L = A - L.notransform = 1 + L.notransform = TRUE ADD_TRAIT(L, TRAIT_MUTE, STASIS_MUTE) L.status_flags |= GODMODE L.mind.transfer_to(holder_animal) @@ -375,7 +375,7 @@ for(var/mob/living/L in src) REMOVE_TRAIT(L, TRAIT_MUTE, STASIS_MUTE) L.status_flags &= ~GODMODE - L.notransform = 0 + L.notransform = FALSE if(holder_animal && !QDELETED(holder_animal)) holder_animal.mind.transfer_to(L) L.mind.RemoveSpell(/obj/effect/proc_holder/spell/exit_possession) @@ -393,7 +393,7 @@ name = "Exit Possession" desc = "Exits the body you are possessing" charge_max = 60 - clothes_req = 0 + clothes_req = FALSE invocation_type = "none" action_icon_state = "exit_possession" sound = null diff --git a/code/modules/mining/lavaland/loot/tendril_loot.dm b/code/modules/mining/lavaland/loot/tendril_loot.dm index 7215d031c4a..dfe9702adde 100644 --- a/code/modules/mining/lavaland/loot/tendril_loot.dm +++ b/code/modules/mining/lavaland/loot/tendril_loot.dm @@ -433,11 +433,11 @@ Z.desc = "It's shaped an awful lot like [user.name]." Z.setDir(user.dir) user.forceMove(Z) - user.notransform = 1 + user.notransform = TRUE user.status_flags |= GODMODE spawn(100) user.status_flags &= ~GODMODE - user.notransform = 0 + user.notransform = FALSE user.forceMove(get_turf(Z)) user.visible_message("[user] pops back into reality!") Z.can_destroy = TRUE diff --git a/code/modules/mining/machine_unloading.dm b/code/modules/mining/machine_unloading.dm index 39feeb38a61..7279b0f115a 100644 --- a/code/modules/mining/machine_unloading.dm +++ b/code/modules/mining/machine_unloading.dm @@ -5,8 +5,8 @@ name = "unloading machine" icon = 'icons/obj/machines/mining_machines.dmi' icon_state = "unloader" - density = 1 - anchored = 1.0 + density = TRUE + anchored = TRUE input_dir = WEST output_dir = EAST speed_process = 1 diff --git a/code/modules/mining/mine_items.dm b/code/modules/mining/mine_items.dm index 87937aa2169..3b0f195d5d8 100644 --- a/code/modules/mining/mine_items.dm +++ b/code/modules/mining/mine_items.dm @@ -83,6 +83,6 @@ desc = "A mining car. This one doesn't work on rails, but has to be dragged." name = "mining car (not for rails)" icon_state = "miningcar" - density = 1 + density = TRUE icon_opened = "miningcar_open" icon_closed = "miningcar" diff --git a/code/modules/mining/minebot.dm b/code/modules/mining/minebot.dm index 0f11bd0e665..18a4eadbcda 100644 --- a/code/modules/mining/minebot.dm +++ b/code/modules/mining/minebot.dm @@ -32,11 +32,11 @@ /obj/item/stack/ore/plasma, /obj/item/stack/ore/uranium, /obj/item/stack/ore/iron, /obj/item/stack/ore/bananium, /obj/item/stack/ore/tranquillite, /obj/item/stack/ore/glass, /obj/item/stack/ore/titanium) - healable = 0 + healable = FALSE loot = list(/obj/effect/decal/cleanable/robot_debris) del_on_death = TRUE var/mode = MINEDRONE_COLLECT - var/light_on = 0 + var/light_on = FALSE var/mesons_active var/obj/item/gun/energy/kinetic_accelerator/minebot/stored_gun @@ -70,7 +70,7 @@ /mob/living/simple_animal/hostile/mining_drone/sentience_act() ..() - check_friendly_fire = 0 + check_friendly_fire = FALSE /mob/living/simple_animal/hostile/mining_drone/examine(mob/user) . = ..() diff --git a/code/modules/mining/mint.dm b/code/modules/mining/mint.dm index d8815d15329..96c940cd808 100644 --- a/code/modules/mining/mint.dm +++ b/code/modules/mining/mint.dm @@ -62,7 +62,7 @@ return usr.set_machine(src) add_fingerprint(usr) - if(processing == 1) + if(processing) to_chat(usr, "The machine is processing.") return var/datum/component/material_container/materials = GetComponent(/datum/component/material_container) diff --git a/code/modules/mining/ores_coins.dm b/code/modules/mining/ores_coins.dm index abbfa5242a6..e1390799622 100644 --- a/code/modules/mining/ores_coins.dm +++ b/code/modules/mining/ores_coins.dm @@ -220,7 +220,7 @@ GLOBAL_LIST_INIT(sand_recipes, list(\ item_state = "Gibtonite ore" w_class = WEIGHT_CLASS_BULKY throw_range = 0 - anchored = 1 //Forces people to carry it by hand, no pulling! + anchored = TRUE //Forces people to carry it by hand, no pulling! var/primed = 0 var/det_time = 100 var/quality = GIBTONITE_QUALITY_LOW //How pure this gibtonite is, determines the explosion produced by it and is derived from the det_time of the rock wall it was taken from, higher value = better