diff --git a/code/modules/atmospherics/environmental/LINDA_fire.dm b/code/modules/atmospherics/environmental/LINDA_fire.dm index ace235e0c8f8..d4e00991b509 100644 --- a/code/modules/atmospherics/environmental/LINDA_fire.dm +++ b/code/modules/atmospherics/environmental/LINDA_fire.dm @@ -45,7 +45,7 @@ //This is the icon for fire on turfs, also helps for nurturing small fires until they are full tile /obj/effect/hotspot - anchored = 1 + anchored = TRUE mouse_opacity = MOUSE_OPACITY_TRANSPARENT icon = 'icons/goonstation/effects/fire.dmi' icon_state = "1" diff --git a/code/modules/atmospherics/machinery/airalarm.dm b/code/modules/atmospherics/machinery/airalarm.dm index 74dde0f4c167..fd8a4646df58 100644 --- a/code/modules/atmospherics/machinery/airalarm.dm +++ b/code/modules/atmospherics/machinery/airalarm.dm @@ -73,7 +73,7 @@ name = "alarm" icon = 'icons/obj/monitors.dmi' icon_state = "alarm0" - anchored = 1 + anchored = TRUE use_power = IDLE_POWER_USE idle_power_usage = 4 active_power_usage = 8 @@ -92,12 +92,12 @@ var/remote_control = TRUE var/rcon_setting = RCON_AUTO var/rcon_time = 0 - var/locked = 1 + var/locked = TRUE var/datum/wires/alarm/wires = null - var/wiresexposed = 0 // If it's been screwdrivered open. - var/aidisabled = 0 + var/wiresexposed = FALSE // If it's been screwdrivered open. + var/aidisabled = FALSE var/AAlarmwires = 31 - var/shorted = 0 + var/shorted = FALSE // Waiting on a device to respond. // Specifies an id_tag. NULL means we aren't waiting. @@ -223,7 +223,7 @@ setDir(direction) buildstage = 0 - wiresexposed = 1 + wiresexposed = TRUE set_pixel_offsets_from_dir(-24, 24, -24, 24) . = ..() diff --git a/code/modules/atmospherics/machinery/atmospherics.dm b/code/modules/atmospherics/machinery/atmospherics.dm index 9d76c6f1a83d..8f5fc1355770 100644 --- a/code/modules/atmospherics/machinery/atmospherics.dm +++ b/code/modules/atmospherics/machinery/atmospherics.dm @@ -9,7 +9,7 @@ Pipes -> Pipelines Pipelines + Other Objects -> Pipe network */ /obj/machinery/atmospherics - anchored = 1 + anchored = TRUE layer = GAS_PIPE_HIDDEN_LAYER //under wires resistance_flags = FIRE_PROOF max_integrity = 200 @@ -18,8 +18,8 @@ Pipelines + Other Objects -> Pipe network active_power_usage = 0 power_channel = ENVIRON on_blueprints = TRUE - var/nodealert = 0 - var/can_unwrench = 0 + var/nodealert = FALSE + var/can_unwrench = FALSE /// If the machine is currently operating or not. var/on = FALSE /// The amount of pressure the machine wants to operate at. diff --git a/code/modules/atmospherics/machinery/components/binary_devices/circulator.dm b/code/modules/atmospherics/machinery/components/binary_devices/circulator.dm index 90361aca549e..308ba3e38ee9 100644 --- a/code/modules/atmospherics/machinery/components/binary_devices/circulator.dm +++ b/code/modules/atmospherics/machinery/components/binary_devices/circulator.dm @@ -10,11 +10,11 @@ var/obj/machinery/power/generator/generator - anchored = 1 - density = 1 + anchored = TRUE + density = TRUE - can_unwrench = 1 - var/side_inverted = 0 + can_unwrench = TRUE + var/side_inverted = FALSE /obj/machinery/atmospherics/binary/circulator/detailed_examine() return "This generates electricity, depending on the difference in temperature between each side of the machine. The meter in \ @@ -72,39 +72,36 @@ update_icon() /obj/machinery/atmospherics/binary/circulator/proc/get_inlet_air() - if(side_inverted==0) - return air2 - else + if(side_inverted) return air1 + else + return air2 /obj/machinery/atmospherics/binary/circulator/proc/get_outlet_air() - if(side_inverted==0) - return air1 - else + if(side_inverted) return air2 + else + return air1 /obj/machinery/atmospherics/binary/circulator/proc/get_inlet_side() if(dir==SOUTH||dir==NORTH) - if(side_inverted==0) - return "South" - else + if(side_inverted) return "North" + else + return "South" /obj/machinery/atmospherics/binary/circulator/proc/get_outlet_side() if(dir==SOUTH||dir==NORTH) - if(side_inverted==0) - return "North" - else + if(side_inverted) return "South" + else + return "North" /obj/machinery/atmospherics/binary/circulator/multitool_act(mob/user, obj/item/I) . = TRUE if(!I.use_tool(src, user, 0, volume = I.tool_volume)) return - if(!side_inverted) - side_inverted = TRUE - else - side_inverted = FALSE + side_inverted = !side_inverted to_chat(user, "You reverse the circulator's valve settings. The inlet of the circulator is now on the [get_inlet_side(dir)] side.") desc = "A gas circulator pump and heat exchanger. Its input port is on the [get_inlet_side(dir)] side, and its output port is on the [get_outlet_side(dir)] side." diff --git a/code/modules/atmospherics/machinery/components/binary_devices/passive_gate.dm b/code/modules/atmospherics/machinery/components/binary_devices/passive_gate.dm index 1b1443f78538..ad13f06dbe2e 100644 --- a/code/modules/atmospherics/machinery/components/binary_devices/passive_gate.dm +++ b/code/modules/atmospherics/machinery/components/binary_devices/passive_gate.dm @@ -7,7 +7,7 @@ name = "passive gate" desc = "A one-way air valve that does not require power" - can_unwrench = 1 + can_unwrench = TRUE target_pressure = ONE_ATMOSPHERE diff --git a/code/modules/atmospherics/machinery/components/binary_devices/pump.dm b/code/modules/atmospherics/machinery/components/binary_devices/pump.dm index e6fb4f66f8c0..2b8ccb022aa4 100644 --- a/code/modules/atmospherics/machinery/components/binary_devices/pump.dm +++ b/code/modules/atmospherics/machinery/components/binary_devices/pump.dm @@ -19,7 +19,7 @@ Thus, the two variables affect pump operation are set in New(): name = "gas pump" desc = "A pump" - can_unwrench = 1 + can_unwrench = TRUE target_pressure = ONE_ATMOSPHERE @@ -55,7 +55,7 @@ Thus, the two variables affect pump operation are set in New(): /obj/machinery/atmospherics/binary/pump/on icon_state = "map_on" - on = 1 + on = TRUE /obj/machinery/atmospherics/binary/pump/update_icon() ..() diff --git a/code/modules/atmospherics/machinery/components/binary_devices/valve.dm b/code/modules/atmospherics/machinery/components/binary_devices/valve.dm index e13854d04b49..283aca14f916 100644 --- a/code/modules/atmospherics/machinery/components/binary_devices/valve.dm +++ b/code/modules/atmospherics/machinery/components/binary_devices/valve.dm @@ -5,9 +5,9 @@ name = "manual valve" desc = "A pipe valve." - can_unwrench = 1 + can_unwrench = TRUE - var/open = 0 + var/open = FALSE req_one_access_txt = "24;10" @@ -19,7 +19,7 @@ return "Click this to turn the valve. If red, the pipes on each end are separated. Otherwise, they are connected." /obj/machinery/atmospherics/binary/valve/open - open = 1 + open = TRUE icon_state = "map_valve1" /obj/machinery/atmospherics/binary/valve/update_icon(animation) @@ -40,7 +40,7 @@ add_underlay(T, node2, get_dir(src, node2)) /obj/machinery/atmospherics/binary/valve/proc/open() - open = 1 + open = TRUE update_icon() parent1.update = 0 parent2.update = 0 @@ -49,7 +49,7 @@ return /obj/machinery/atmospherics/binary/valve/proc/close() - open = 0 + open = FALSE update_icon() investigate_log("was closed by [usr ? key_name(usr) : "a remote signal"]", "atmos") return @@ -98,7 +98,7 @@ ..() /obj/machinery/atmospherics/binary/valve/digital/open - open = 1 + open = TRUE icon_state = "map_valve1" /obj/machinery/atmospherics/binary/valve/digital/power_change() diff --git a/code/modules/atmospherics/machinery/components/binary_devices/volume_pump.dm b/code/modules/atmospherics/machinery/components/binary_devices/volume_pump.dm index f7e50707cdb3..5929225ea16d 100644 --- a/code/modules/atmospherics/machinery/components/binary_devices/volume_pump.dm +++ b/code/modules/atmospherics/machinery/components/binary_devices/volume_pump.dm @@ -19,7 +19,7 @@ Thus, the two variables affect pump operation are set in New(): name = "volumetric gas pump" desc = "A volumetric pump" - can_unwrench = 1 + can_unwrench = TRUE var/transfer_rate = 200 @@ -51,7 +51,7 @@ Thus, the two variables affect pump operation are set in New(): return ..() /obj/machinery/atmospherics/binary/volume_pump/on - on = 1 + on = TRUE icon_state = "map_on" /obj/machinery/atmospherics/binary/volume_pump/atmos_init() diff --git a/code/modules/atmospherics/machinery/components/trinary_devices/filter.dm b/code/modules/atmospherics/machinery/components/trinary_devices/filter.dm index f40ecda91475..f27d01c89696 100644 --- a/code/modules/atmospherics/machinery/components/trinary_devices/filter.dm +++ b/code/modules/atmospherics/machinery/components/trinary_devices/filter.dm @@ -58,7 +58,7 @@ /obj/machinery/atmospherics/trinary/filter/flipped icon_state = "mmap" - flipped = 1 + flipped = TRUE /obj/machinery/atmospherics/trinary/filter/update_icon() ..() @@ -74,7 +74,7 @@ icon_state += on ? "on" : "off" else icon_state += "off" - on = 0 + on = FALSE /obj/machinery/atmospherics/trinary/filter/update_underlays() if(..()) diff --git a/code/modules/atmospherics/machinery/components/trinary_devices/mixer.dm b/code/modules/atmospherics/machinery/components/trinary_devices/mixer.dm index 3b34a95c1bab..f1568410eb9c 100644 --- a/code/modules/atmospherics/machinery/components/trinary_devices/mixer.dm +++ b/code/modules/atmospherics/machinery/components/trinary_devices/mixer.dm @@ -2,7 +2,7 @@ icon = 'icons/atmos/mixer.dmi' icon_state = "map" - can_unwrench = 1 + can_unwrench = TRUE name = "gas mixer" @@ -33,7 +33,7 @@ /obj/machinery/atmospherics/trinary/mixer/flipped icon_state = "mmap" - flipped = 1 + flipped = TRUE /obj/machinery/atmospherics/trinary/mixer/update_icon(safety = 0) ..() @@ -49,7 +49,7 @@ icon_state += on ? "on" : "off" else icon_state += "off" - on = 0 + on = FALSE /obj/machinery/atmospherics/trinary/mixer/update_underlays() if(..()) diff --git a/code/modules/atmospherics/machinery/components/trinary_devices/trinary_base.dm b/code/modules/atmospherics/machinery/components/trinary_devices/trinary_base.dm index 86b1aa74699b..7a6f32261b36 100644 --- a/code/modules/atmospherics/machinery/components/trinary_devices/trinary_base.dm +++ b/code/modules/atmospherics/machinery/components/trinary_devices/trinary_base.dm @@ -17,7 +17,7 @@ var/datum/pipeline/parent2 var/datum/pipeline/parent3 - var/flipped = 0 + var/flipped = FALSE /obj/machinery/atmospherics/trinary/New() ..() diff --git a/code/modules/atmospherics/machinery/components/trinary_devices/tvalve.dm b/code/modules/atmospherics/machinery/components/trinary_devices/tvalve.dm index 1ad9a1095a79..d59a206d0008 100644 --- a/code/modules/atmospherics/machinery/components/trinary_devices/tvalve.dm +++ b/code/modules/atmospherics/machinery/components/trinary_devices/tvalve.dm @@ -8,7 +8,7 @@ name = "manual switching valve" desc = "A pipe valve" - can_unwrench = 1 + can_unwrench = TRUE var/state = TVALVE_STATE_STRAIGHT @@ -21,11 +21,11 @@ /obj/machinery/atmospherics/trinary/tvalve/flipped icon_state = "map_tvalvem0" - flipped = 1 + flipped = TRUE /obj/machinery/atmospherics/trinary/tvalve/flipped/bypass icon_state = "map_tvalvem1" - flipped = 1 + flipped = TRUE state = TVALVE_STATE_SIDE /obj/machinery/atmospherics/trinary/tvalve/update_icon(animation) @@ -121,11 +121,11 @@ /obj/machinery/atmospherics/trinary/tvalve/digital/flipped icon_state = "map_tvalvem0" - flipped = 1 + flipped = TRUE /obj/machinery/atmospherics/trinary/tvalve/digital/flipped/bypass icon_state = "map_tvalvem1" - flipped = 1 + flipped = TRUE state = TVALVE_STATE_SIDE /obj/machinery/atmospherics/trinary/tvalve/digital/power_change() diff --git a/code/modules/atmospherics/machinery/components/unary_devices/cryo.dm b/code/modules/atmospherics/machinery/components/unary_devices/cryo.dm index cd573c2f3e90..1de74b34eb0a 100644 --- a/code/modules/atmospherics/machinery/components/unary_devices/cryo.dm +++ b/code/modules/atmospherics/machinery/components/unary_devices/cryo.dm @@ -6,11 +6,11 @@ desc = "Lowers the body temperature so certain medications may take effect." icon = 'icons/obj/cryogenics.dmi' icon_state = "pod0" - density = 1 - anchored = 1.0 + density = TRUE + anchored = TRUE layer = ABOVE_WINDOW_LAYER plane = GAME_PLANE - interact_offline = 1 + interact_offline = TRUE max_integrity = 350 armor = list(MELEE = 0, BULLET = 0, LASER = 0, ENERGY = 100, BOMB = 0, BIO = 100, RAD = 100, FIRE = 30, ACID = 30) var/temperature_archived @@ -23,7 +23,7 @@ var/current_heat_capacity = 50 var/efficiency - var/running_bob_animation = 0 // This is used to prevent threads from building up if update_icons is called multiple times + var/running_bob_animation = FALSE // This is used to prevent threads from building up if update_icons is called multiple times light_color = LIGHT_COLOR_WHITE @@ -361,7 +361,7 @@ if(src.on && !running_bob_animation) //no bobbing if off var/up = 0 //used to see if we are going up or down, 1 is down, 2 is up spawn(0) // Without this, the icon update will block. The new thread will die once the occupant leaves. - running_bob_animation = 1 + running_bob_animation = TRUE while(occupant) overlays -= "lid[on]" //have to remove the overlays first, to force an update- remove cloning pod overlay overlays -= pickle //remove mob overlay @@ -388,7 +388,7 @@ overlays += "lid[on]" //re-add the overlay of the pod, they are inside it, not floating sleep(7) //don't want to jiggle violently, just slowly bob - running_bob_animation = 0 + running_bob_animation = FALSE /obj/machinery/atmospherics/unary/cryo_cell/proc/process_occupant() if(air_contents.total_moles() < 10) diff --git a/code/modules/atmospherics/machinery/components/unary_devices/generator_input.dm b/code/modules/atmospherics/machinery/components/unary_devices/generator_input.dm index cb095b1e5516..ae4cb9d270b5 100644 --- a/code/modules/atmospherics/machinery/components/unary_devices/generator_input.dm +++ b/code/modules/atmospherics/machinery/components/unary_devices/generator_input.dm @@ -1,7 +1,7 @@ /obj/machinery/atmospherics/unary/generator_input icon = 'icons/obj/atmospherics/heat_exchanger.dmi' icon_state = "intact" - density = 1 + density = TRUE name = "generator input" desc = "Placeholder" diff --git a/code/modules/atmospherics/machinery/components/unary_devices/outlet_injector.dm b/code/modules/atmospherics/machinery/components/unary_devices/outlet_injector.dm index f1bf25957d89..80d4f7bc4ca2 100644 --- a/code/modules/atmospherics/machinery/components/unary_devices/outlet_injector.dm +++ b/code/modules/atmospherics/machinery/components/unary_devices/outlet_injector.dm @@ -6,23 +6,23 @@ resistance_flags = FIRE_PROOF | UNACIDABLE | ACID_PROOF //really helpful in building gas chambers for xenomorphs - can_unwrench = 1 + can_unwrench = TRUE name = "air injector" desc = "Has a valve and pump attached to it" req_one_access_txt = "24;10" - var/injecting = 0 + var/injecting = FALSE var/volume_rate = 50 var/id - Mtoollink = 1 + Mtoollink = TRUE settagwhitelist = list("id_tag") /obj/machinery/atmospherics/unary/outlet_injector/on - on = 1 + on = TRUE /obj/machinery/atmospherics/unary/outlet_injector/New() ..() @@ -64,7 +64,7 @@ /obj/machinery/atmospherics/unary/outlet_injector/process_atmos() ..() - injecting = 0 + injecting = FALSE if(!on || stat & NOPOWER) return 0 @@ -85,7 +85,7 @@ if(on || injecting) return 0 - injecting = 1 + injecting = TRUE if(air_contents.temperature > 0) var/transfer_moles = (air_contents.return_pressure())*volume_rate/(air_contents.temperature * R_IDEAL_GAS_EQUATION) @@ -157,7 +157,7 @@ icon_state = "[i == 1 && istype(loc, /turf/simulated) ? "h" : "" ]off" else icon_state = "[i == 1 && istype(loc, /turf/simulated) ? "h" : "" ]exposed" - on = 0 + on = FALSE return*/ /obj/machinery/atmospherics/unary/outlet_injector/multitool_menu(mob/user, obj/item/multitool/P) diff --git a/code/modules/atmospherics/machinery/components/unary_devices/oxygen_generator.dm b/code/modules/atmospherics/machinery/components/unary_devices/oxygen_generator.dm index fdeb02b7b833..ac223678e699 100644 --- a/code/modules/atmospherics/machinery/components/unary_devices/oxygen_generator.dm +++ b/code/modules/atmospherics/machinery/components/unary_devices/oxygen_generator.dm @@ -1,7 +1,7 @@ /obj/machinery/atmospherics/unary/oxygen_generator icon = 'icons/obj/atmospherics/oxygen_generator.dmi' icon_state = "intact_off" - density = 1 + density = TRUE name = "oxygen generator" desc = "" @@ -19,7 +19,7 @@ else icon_state = "exposed_off" - on = 0 + on = FALSE /obj/machinery/atmospherics/unary/oxygen_generator/New() ..() diff --git a/code/modules/atmospherics/machinery/components/unary_devices/passive_vent.dm b/code/modules/atmospherics/machinery/components/unary_devices/passive_vent.dm index 94f9f17e4b59..438e95f021dd 100644 --- a/code/modules/atmospherics/machinery/components/unary_devices/passive_vent.dm +++ b/code/modules/atmospherics/machinery/components/unary_devices/passive_vent.dm @@ -6,7 +6,7 @@ name = "passive vent" desc = "A large air vent" - can_unwrench = 1 + can_unwrench = TRUE var/volume = 250 diff --git a/code/modules/atmospherics/machinery/components/unary_devices/portables_connector.dm b/code/modules/atmospherics/machinery/components/unary_devices/portables_connector.dm index 64aaa045c8f8..5f032649e40a 100644 --- a/code/modules/atmospherics/machinery/components/unary_devices/portables_connector.dm +++ b/code/modules/atmospherics/machinery/components/unary_devices/portables_connector.dm @@ -5,7 +5,7 @@ name = "connector port" desc = "For connecting portables devices related to atmospherics control." - can_unwrench = 1 + can_unwrench = TRUE layer = GAS_FILTER_LAYER var/obj/machinery/portable_atmospherics/connected_device diff --git a/code/modules/atmospherics/machinery/components/unary_devices/tank.dm b/code/modules/atmospherics/machinery/components/unary_devices/tank.dm index ed0c438008a3..9b772373fe7c 100644 --- a/code/modules/atmospherics/machinery/components/unary_devices/tank.dm +++ b/code/modules/atmospherics/machinery/components/unary_devices/tank.dm @@ -9,7 +9,7 @@ var/volume = 10000 //in liters, 1 meters by 1 meters by 2 meters ~tweaked it a little to simulate a pressure tank without needing to recode them yet - density = 1 + density = TRUE /obj/machinery/atmospherics/unary/tank/update_underlays() if(..()) diff --git a/code/modules/atmospherics/machinery/components/unary_devices/thermal_plate.dm b/code/modules/atmospherics/machinery/components/unary_devices/thermal_plate.dm index 6cd050de0229..e27754d25c91 100644 --- a/code/modules/atmospherics/machinery/components/unary_devices/thermal_plate.dm +++ b/code/modules/atmospherics/machinery/components/unary_devices/thermal_plate.dm @@ -5,7 +5,7 @@ icon = 'icons/obj/atmospherics/cold_sink.dmi' icon_state = "off" - can_unwrench = 1 + can_unwrench = TRUE name = "thermal tansfer plate" desc = "Transfers heat to and from an area" diff --git a/code/modules/atmospherics/machinery/components/unary_devices/vent_scrubber.dm b/code/modules/atmospherics/machinery/components/unary_devices/vent_scrubber.dm index c489ae93b250..4799db33bd3a 100644 --- a/code/modules/atmospherics/machinery/components/unary_devices/vent_scrubber.dm +++ b/code/modules/atmospherics/machinery/components/unary_devices/vent_scrubber.dm @@ -12,7 +12,7 @@ idle_power_usage = 10 active_power_usage = 60 - can_unwrench = 1 + can_unwrench = TRUE var/area/initial_loc @@ -20,17 +20,17 @@ var/list/turf/simulated/adjacent_turfs = list() - var/scrubbing = 1 //0 = siphoning, 1 = scrubbing - var/scrub_O2 = 0 - var/scrub_N2 = 0 - var/scrub_CO2 = 1 - var/scrub_Toxins = 0 - var/scrub_N2O = 0 + var/scrubbing = TRUE //FALSE = siphoning, TRUE = scrubbing + var/scrub_O2 = FALSE + var/scrub_N2 = FALSE + var/scrub_CO2 = TRUE + var/scrub_Toxins = FALSE + var/scrub_N2O = FALSE var/volume_rate = 200 - var/widenet = 0 //is this scrubber acting on the 3x3 area around it. + var/widenet = FALSE //is this scrubber acting on the 3x3 area around it. - var/welded = 0 + var/welded = FALSE var/area_uid var/radio_filter_out @@ -201,7 +201,7 @@ return if(!node) - on = 0 + on = FALSE if(welded) return 0 diff --git a/code/modules/atmospherics/machinery/pipes/pipe.dm b/code/modules/atmospherics/machinery/pipes/pipe.dm index 2e79545b2061..5641306414d4 100644 --- a/code/modules/atmospherics/machinery/pipes/pipe.dm +++ b/code/modules/atmospherics/machinery/pipes/pipe.dm @@ -4,7 +4,7 @@ var/volume = 0 force = 20 use_power = NO_POWER_USE - can_unwrench = 1 + can_unwrench = TRUE damage_deflection = 12 var/alert_pressure = 80*ONE_ATMOSPHERE //minimum pressure before check_pressure(...) should be called diff --git a/code/modules/atmospherics/machinery/portable/canister.dm b/code/modules/atmospherics/machinery/portable/canister.dm index e945d2117932..54bbd15930d6 100644 --- a/code/modules/atmospherics/machinery/portable/canister.dm +++ b/code/modules/atmospherics/machinery/portable/canister.dm @@ -43,13 +43,13 @@ GLOBAL_DATUM_INIT(canister_icon_container, /datum/canister_icons, new()) name = "canister" icon = 'icons/obj/atmos.dmi' icon_state = "yellow" - density = 1 + density = TRUE flags = CONDUCT armor = list(MELEE = 50, BULLET = 50, LASER = 50, ENERGY = 100, BOMB = 10, BIO = 100, RAD = 100, FIRE = 80, ACID = 50) max_integrity = 250 integrity_failure = 100 - var/valve_open = 0 + var/valve_open = FALSE var/release_pressure = ONE_ATMOSPHERE var/list/canister_color //variable that stores colours @@ -61,13 +61,13 @@ GLOBAL_DATUM_INIT(canister_icon_container, /datum/canister_icons, new()) //passed to the ui to render the color lists var/list/colorcontainer - var/can_label = 1 + var/can_label = TRUE var/filled = 0.5 pressure_resistance = 7 * ONE_ATMOSPHERE var/temperature_resistance = 1000 + T0C volume = 1000 use_power = NO_POWER_USE - interact_offline = 1 + interact_offline = TRUE var/release_log = "" var/update_flag = 0 @@ -254,9 +254,9 @@ update_flag if(air_contents.return_pressure() < 1) - can_label = 1 + can_label = TRUE else - can_label = 0 + can_label = FALSE updateDialog() return @@ -396,31 +396,31 @@ update_flag /obj/machinery/portable_atmospherics/canister/toxins name = "Canister \[Toxin (Plasma)\]" icon_state = "orange" //See New() - can_label = 0 + can_label = FALSE /obj/machinery/portable_atmospherics/canister/oxygen name = "Canister: \[O2\]" icon_state = "blue" //See New() - can_label = 0 + can_label = FALSE /obj/machinery/portable_atmospherics/canister/sleeping_agent name = "Canister: \[N2O\]" icon_state = "redws" //See New() - can_label = 0 + can_label = FALSE /obj/machinery/portable_atmospherics/canister/nitrogen name = "Canister: \[N2\]" icon_state = "red" //See New() - can_label = 0 + can_label = FALSE /obj/machinery/portable_atmospherics/canister/carbon_dioxide name = "Canister \[CO2\]" icon_state = "black" //See New() - can_label = 0 + can_label = FALSE /obj/machinery/portable_atmospherics/canister/air name = "Canister \[Air\]" icon_state = "grey" //See New() - can_label = 0 + can_label = FALSE /obj/machinery/portable_atmospherics/canister/custom_mix name = "Canister \[Custom\]" icon_state = "whiters" //See New() - can_label = 0 + can_label = FALSE /obj/machinery/portable_atmospherics/canister/toxins/New() diff --git a/code/modules/atmospherics/machinery/portable/portable_atmospherics.dm b/code/modules/atmospherics/machinery/portable/portable_atmospherics.dm index 625b47a7fe77..0f8789859d87 100644 --- a/code/modules/atmospherics/machinery/portable/portable_atmospherics.dm +++ b/code/modules/atmospherics/machinery/portable/portable_atmospherics.dm @@ -65,7 +65,7 @@ connected_port.build_network() connected_port.parent.reconcile_air() - anchored = 1 //Prevent movement + anchored = TRUE //Prevent movement return 1 @@ -73,7 +73,7 @@ if(!connected_port) return 0 - anchored = 0 + anchored = FALSE connected_port.connected_device = null connected_port = null diff --git a/code/modules/atmospherics/machinery/portable/scrubber.dm b/code/modules/atmospherics/machinery/portable/scrubber.dm index f106e7b84064..0904fd72a553 100644 --- a/code/modules/atmospherics/machinery/portable/scrubber.dm +++ b/code/modules/atmospherics/machinery/portable/scrubber.dm @@ -164,14 +164,14 @@ /obj/machinery/portable_atmospherics/scrubber/huge name = "Huge Air Scrubber" icon_state = "scrubber:0" - anchored = 1 + anchored = TRUE volume = 50000 volume_rate = 5000 - widenet = 1 + widenet = TRUE var/global/gid = 1 var/id = 0 - var/stationary = 0 + var/stationary = FALSE /obj/machinery/portable_atmospherics/scrubber/huge/New() ..() @@ -212,6 +212,6 @@ /obj/machinery/portable_atmospherics/scrubber/huge/stationary name = "Stationary Air Scrubber" - stationary = 1 + stationary = TRUE #undef MAX_RATE