little trolling

This commit is contained in:
Katherine Kiefer
2022-05-30 18:47:18 +10:00
parent f570b65dcd
commit 575cbe8c3e
63 changed files with 53 additions and 106 deletions

View File

@@ -36,7 +36,6 @@
stank.set_temperature(BODYTEMP_NORMAL) // otherwise we have gas below 2.7K which will break our lag generator
stank_breath.merge(stank)
T.assume_air(stank_breath)
T.air_update_turf()
/datum/component/rot/corpse
amount = MIASMA_CORPSE_MOLES

View File

@@ -441,7 +441,7 @@
//Restore air flow if we were blocking it (movables with ATMOS_PASS_PROC will need to do this manually if necessary)
if(((CanAtmosPass == ATMOS_PASS_DENSITY && density) || CanAtmosPass == ATMOS_PASS_NO) && isturf(loc))
CanAtmosPass = ATMOS_PASS_YES
air_update_turf(TRUE)
air_update_turf()
loc.handle_atom_del(src)
for(var/atom/movable/AM in contents)
qdel(AM)

View File

@@ -1364,7 +1364,7 @@
sleep(0.1 SECONDS)
density = FALSE
sleep(0.3 SECONDS)
air_update_turf(1)
air_update_turf()
sleep(0.1 SECONDS)
layer = OPEN_DOOR_LAYER
update_icon(AIRLOCK_OPEN, 1)
@@ -1406,11 +1406,11 @@
layer = CLOSED_DOOR_LAYER
if(air_tight)
density = TRUE
air_update_turf(1)
air_update_turf()
sleep(0.1 SECONDS)
density = TRUE
if(!air_tight)
air_update_turf(1)
air_update_turf()
sleep(0.4 SECONDS)
if(!safe)
crush()

View File

@@ -80,7 +80,7 @@
. = ..()
set_init_door_layer()
update_freelook_sight()
air_update_turf(1)
air_update_turf()
GLOB.airlocks += src
spark_system = new /datum/effect_system/spark_spread
spark_system.set_up(2, 1, src)
@@ -323,7 +323,7 @@
update_icon()
set_opacity(0)
operating = FALSE
air_update_turf(1)
air_update_turf()
update_freelook_sight()
if(autoclose)
spawn(autoclose)
@@ -355,7 +355,7 @@
if(visible && !glass)
set_opacity(1)
operating = FALSE
air_update_turf(1)
air_update_turf()
update_freelook_sight()
if(safe)
CheckForMobs()

View File

@@ -281,7 +281,7 @@
//this is here to prevent sleeps from messing with decomp, by closing firedoors instantly
/obj/machinery/door/firedoor/proc/emergency_pressure_close()
density = TRUE
air_update_turf(1)
air_update_turf()
update_icon()
if(visible && !glass)
set_opacity(1)

View File

@@ -153,7 +153,7 @@
sleep(1 SECONDS)
density = FALSE
air_update_turf(1)
air_update_turf()
update_freelook_sight()
if(operating == 1) //emag again
@@ -175,7 +175,7 @@
icon_state = base_state
density = TRUE
air_update_turf(1)
air_update_turf()
update_freelook_sight()
sleep(1 SECONDS)

View File

@@ -97,7 +97,6 @@
removed.adjust_moles(GAS_O2, (proportion * workingPower))
removed.adjust_moles(GAS_H2, (proportion * 2 * workingPower))
env.merge(removed) //put back the new gases in the turf
air_update_turf()
cell.use((5 * proportion * workingPower) / (efficiency + workingPower))
/obj/machinery/electrolyzer/RefreshParts()

View File

@@ -14,7 +14,7 @@
/obj/structure/emergency_shield/Initialize()
. = ..()
setDir(pick(GLOB.cardinals))
air_update_turf(1)
air_update_turf()
/obj/structure/emergency_shield/Move()
var/turf/T = loc

View File

@@ -124,7 +124,6 @@
if(deltaTemperature < 0)
return
env.set_temperature(env.return_temperature() + deltaTemperature)
air_update_turf()
/obj/machinery/shuttle/engine/attackby(obj/item/I, mob/living/user, params)
check_setup()

View File

@@ -107,7 +107,6 @@
deltaTemperature *= -1
if(deltaTemperature)
env.set_temperature(env.return_temperature() + deltaTemperature)
air_update_turf()
cell.use(requiredPower / efficiency)
else
on = FALSE

View File

@@ -44,7 +44,6 @@
absorbed_plasma += plas_amt
if(G.return_temperature() > T20C)
G.set_temperature(max(G.return_temperature()/2,T20C))
T.air_update_turf()
/obj/effect/particle_effect/foam/firefighting/kill_foam()
STOP_PROCESSING(SSfastprocess, src)
@@ -269,7 +268,7 @@
/obj/structure/foamedmetal/Initialize()
. = ..()
air_update_turf(1)
air_update_turf()
/obj/structure/foamedmetal/Move()
var/turf/T = loc
@@ -318,7 +317,6 @@
if(I == GAS_O2 || I == GAS_N2)
continue
G.set_moles(I, 0)
O.air_update_turf()
for(var/obj/machinery/atmospherics/components/unary/U in O)
if(!U.welded)
U.welded = TRUE

View File

@@ -165,7 +165,6 @@
var/datum/gas_mixture/G = T.air
if(!distcheck || get_dist(T, location) < blast) // Otherwise we'll get silliness like people using Nanofrost to kill people through walls with cold air
G.set_temperature(temperature)
T.air_update_turf()
for(var/obj/effect/hotspot/H in T)
qdel(H)
if(G.get_moles(GAS_PLASMA))

View File

@@ -121,8 +121,6 @@
return FALSE
atmos_source.atmos_adjacent_turfs[atmos_destination] = TRUE
atmos_destination.atmos_adjacent_turfs[atmos_source] = TRUE
atmos_source.air_update_turf(FALSE)
atmos_destination.air_update_turf(FALSE)
/obj/effect/portal/proc/unlink_atmos()
if(istype(atmos_source))

View File

@@ -45,7 +45,6 @@
floor_loc.MakeSlippery(TURF_WET_PERMAFROST, (5 / distance_from_center) MINUTES)
if(floor_loc.air.get_gases(GAS_PLASMA))
floor_loc.air.adjust_moles(GAS_PLASMA, -(floor_loc.air.get_moles(GAS_PLASMA) * 0.5 / distance_from_center))
floor_loc.air_update_turf()
for(var/mob/living/carbon/live_mob in turf_loc)
live_mob.adjustStaminaLoss(stamina_damage / distance_from_center)
live_mob.adjust_bodytemperature(-150 / distance_from_center)

View File

@@ -79,7 +79,6 @@
if(!T)
return
T.assume_air(gasused)
T.air_update_turf()
if(!gasused)
to_chat(user, span_warning("\The [src]'s tank is empty!"))
target.apply_damage((force / 5), BRUTE)

View File

@@ -120,7 +120,6 @@
var/turf/T = get_turf(src)
if(T)
T.assume_air(air_contents)
air_update_turf()
playsound(src.loc, 'sound/effects/spray.ogg', 10, 1, -3)
qdel(src)

View File

@@ -66,7 +66,7 @@
/obj/structure/alien/resin/Initialize(mapload)
. = ..()
air_update_turf(TRUE)
air_update_turf()
/obj/structure/alien/resin/Move()
var/turf/T = loc

View File

@@ -609,7 +609,6 @@ GLOBAL_LIST_EMPTY(lockers)
var/remove_amount = (loc_air.total_moles() + air_contents.total_moles()) * air_contents.return_volume() / (loc_air.return_volume() + air_contents.return_volume())
loc.assume_air(air_contents)
loc.remove_air(remove_amount)
loc.air_update_turf()
air_contents = null
/obj/structure/closet/return_air()

View File

@@ -35,7 +35,7 @@
/obj/structure/falsewall/Initialize()
. = ..()
air_update_turf(TRUE)
air_update_turf()
/obj/structure/falsewall/ratvar_act()
new /obj/structure/falsewall/brass(loc)
@@ -68,7 +68,7 @@
set_opacity(density)
opening = FALSE
update_icon()
air_update_turf(TRUE)
air_update_turf()
/obj/structure/falsewall/update_icon()//Calling icon_update will refresh the smoothwalls if it's closed, otherwise it will make sure the icon is correct if it's open
if(opening)

View File

@@ -106,7 +106,7 @@
/obj/structure/holosign/barrier/atmos/Initialize()
. = ..()
air_update_turf(TRUE)
air_update_turf()
/obj/structure/holosign/barrier/cyborg
name = "Energy Field"

View File

@@ -29,7 +29,7 @@
/obj/structure/mineral_door/Initialize()
. = ..()
air_update_turf(TRUE)
air_update_turf()
/obj/structure/mineral_door/Move()
var/turf/T = loc
@@ -94,7 +94,7 @@
density = FALSE
door_opened = TRUE
layer = OPEN_DOOR_LAYER
air_update_turf(1)
air_update_turf()
update_icon()
isSwitchingStates = FALSE
@@ -115,7 +115,7 @@
set_opacity(TRUE)
door_opened = FALSE
layer = initial(layer)
air_update_turf(1)
air_update_turf()
update_icon()
isSwitchingStates = FALSE
@@ -133,7 +133,7 @@
/obj/structure/mineral_door/setAnchored(anchorvalue) //called in default_unfasten_wrench() chain
. = ..()
set_opacity(anchored ? !door_opened : FALSE)
air_update_turf(TRUE)
air_update_turf()
/obj/structure/mineral_door/wrench_act(mob/living/user, obj/item/I)
default_unfasten_wrench(user, I, 40)

View File

@@ -103,10 +103,10 @@
/obj/structure/plasticflaps/Initialize()
. = ..()
air_update_turf(TRUE)
air_update_turf()
/obj/structure/plasticflaps/Destroy()
var/atom/oldloc = loc
. = ..()
if (oldloc)
oldloc.air_update_turf(1)
oldloc.air_update_turf()

View File

@@ -101,6 +101,6 @@
return TRUE
/obj/structure/railing/proc/after_rotation(mob/user,rotation_type)
air_update_turf(1)
air_update_turf()
ini_dir = dir
add_fingerprint(user)

View File

@@ -179,7 +179,6 @@
if(!QDELETED(pod))
var/datum/gas_mixture/floor_mixture = loc.return_air()
equalize_all_gases_in_list(list(pod.air_contents,floor_mixture))
air_update_turf()
/obj/structure/transit_tube/station/init_tube_dirs()
switch(dir)

View File

@@ -34,11 +34,11 @@
if(set_dir)
setDir(set_dir)
ini_dir = dir
air_update_turf(1)
air_update_turf()
/obj/structure/windoor_assembly/Destroy()
density = FALSE
air_update_turf(1)
air_update_turf()
return ..()
/obj/structure/windoor_assembly/Move()

View File

@@ -53,7 +53,7 @@
state = RWINDOW_SECURE
ini_dir = dir
air_update_turf(1)
air_update_turf()
if(fulltile)
setDir()
@@ -233,7 +233,7 @@
/obj/structure/window/setAnchored(anchorvalue)
..()
air_update_turf(TRUE)
air_update_turf()
update_nearby_icons()
/obj/structure/window/proc/check_state(checked_state)
@@ -309,13 +309,13 @@
return TRUE
/obj/structure/window/proc/after_rotation(mob/user,rotation_type)
air_update_turf(1)
air_update_turf()
ini_dir = dir
add_fingerprint(user)
/obj/structure/window/Destroy()
density = FALSE
air_update_turf(1)
air_update_turf()
update_nearby_icons()
return ..()

View File

@@ -504,7 +504,6 @@
/turf/open/proc/TakeTemperature(temp)
air.set_temperature(air.return_temperature() + temp)
air_update_turf()
/turf/open/proc/freon_gas_act()
for(var/obj/I in contents)
@@ -594,9 +593,7 @@
air.set_moles(GAS_CO2, max(air.get_moles(GAS_CO2)-(pulse_strength * 0.001),0))
air.set_moles(GAS_O2, max(air.get_moles(GAS_O2)-(pulse_strength * 0.002),0))
air.adjust_moles(GAS_PLUOXIUM, pulse_strength * 0.004)
air_update_turf()
if (air.get_moles(GAS_H2))
pulse_strength = min(pulse_strength, air.get_moles(GAS_H2) * 1000)
air.set_moles(GAS_H2, max(air.get_moles(GAS_H2) - (pulse_strength * 0.001), 0))
air.adjust_moles(GAS_TRITIUM, pulse_strength * 0.001)
air_update_turf()

View File

@@ -80,8 +80,7 @@
var/obj/structure/sign/poster/P = O
P.roll_and_drop(src)
var/turf/new_floor = ScrapeAway()
new_floor.air_update_turf()
ScrapeAway()
/turf/closed/wall/proc/break_wall()
new sheet_type(src, sheet_amount)

View File

@@ -31,7 +31,7 @@
setDir(pick(GLOB.cardinals))
update_icon()
if(atmosblock)
air_update_turf(1)
air_update_turf()
ConsumeTile()
/obj/structure/blob/proc/creation_action() //When it's created by the overmind, do this.
@@ -40,7 +40,7 @@
/obj/structure/blob/Destroy()
if(atmosblock)
atmosblock = FALSE
air_update_turf(1)
air_update_turf()
if(overmind)
overmind.blobs_legit -= src //if it was in the legit blobs list, it isn't now
GLOB.blobs -= src //it's no longer in the all blobs list either

View File

@@ -31,7 +31,7 @@
name = initial(name)
desc = initial(desc)
atmosblock = TRUE
air_update_turf(1)
air_update_turf()
/obj/structure/blob/shield/reflective
name = "reflective blob"

View File

@@ -10,7 +10,7 @@
/obj/effect/clockwork/servant_blocker/Initialize()
. = ..()
air_update_turf(TRUE)
air_update_turf()
/obj/effect/clockwork/servant_blocker/Destroy(force)
if(!force)

View File

@@ -722,7 +722,7 @@ structure_check() searches for nearby cultist structures required for the invoca
/obj/effect/rune/wall/proc/update_state()
deltimer(density_timer)
air_update_turf(1)
air_update_turf()
if(density)
density_timer = addtimer(CALLBACK(src, .proc/lose_density), 300, TIMER_STOPPABLE) //yogs: 30 seconds instead of 300 I could microwave a pizza before a barrier rune went down naturally
var/mutable_appearance/shimmer = mutable_appearance('icons/effects/effects.dmi', "barriershimmer", ABOVE_MOB_LAYER)

View File

@@ -89,5 +89,3 @@
env = T.return_air()
current_temp = env.return_temperature()
env.set_temperature(current_temp+25)
T.air_update_turf()
L.air_update_turf()

View File

@@ -189,11 +189,9 @@
ground_zero.assume_air(bomb_mixture)
ground_zero.hotspot_expose(1000, 125)
ground_zero.air_update_turf()
/obj/item/tank/proc/release() //This happens when the bomb is not welded. Tank contents are just spat out.
var/turf/T = get_turf(src)
if(!T)
return
T.assume_air(air_contents)
air_update_turf()

View File

@@ -56,7 +56,6 @@
temperature = starting_temperature
perform_exposure()
setDir(pick(GLOB.cardinals))
air_update_turf()
/obj/effect/hotspot/proc/perform_exposure()
var/turf/open/location = loc

View File

@@ -102,20 +102,19 @@
return adjacent_turfs
/atom/proc/air_update_turf(command = 0)
if(!isturf(loc) && command)
/atom/proc/air_update_turf()
if(!get_turf(src))
return
var/turf/T = get_turf(loc)
T.air_update_turf(command)
var/turf/T = get_turf(src)
T.air_update_turf()
/turf/air_update_turf(command = 0)
if(command)
ImmediateCalculateAdjacentTurfs()
/turf/air_update_turf()
ImmediateCalculateAdjacentTurfs()
/atom/movable/proc/move_update_air(turf/T)
if(isturf(T))
T.air_update_turf(1)
air_update_turf(1)
T.air_update_turf()
air_update_turf()
/atom/proc/atmos_spawn_air(text) //because a lot of people loves to copy paste awful code lets just make an easy proc to spawn your plasma fires
var/turf/open/T = get_turf(src)

View File

@@ -76,7 +76,7 @@
loc.assume_air_moles(air1, transfer_moles)
air_update_turf()
var/datum/pipeline/parent1 = parents[1]
parent1.update = PIPENET_UPDATE_STATUS_RECONCILE_NEEDED
@@ -92,7 +92,7 @@
if(moles_delta > 0)
loc.transfer_air(air2, moles_delta)
air_update_turf()
var/datum/pipeline/parent2 = parents[2]
parent2.update = PIPENET_UPDATE_STATUS_RECONCILE_NEEDED

View File

@@ -72,7 +72,6 @@
if(istype(T))
var/datum/gas_mixture/leaked = air1.remove_ratio(VOLUME_PUMP_LEAK_AMOUNT)
T.assume_air(leaked)
T.air_update_turf()
var/transfer_ratio = transfer_rate / air1.return_volume()
air1.transfer_ratio_to(air2,transfer_ratio)

View File

@@ -127,7 +127,7 @@
for(var/i in 1 to device_type)
var/datum/gas_mixture/air = airs[i]
T.assume_air_moles(air, shared_loss)
air_update_turf(1)
air_update_turf()
/obj/machinery/atmospherics/components/proc/safe_input(var/title, var/text, var/default_set)
var/new_value = input(usr,text,title,default_set) as num

View File

@@ -63,7 +63,6 @@
if(air_contents.return_temperature() > 0)
loc.assume_air_ratio(air_contents, volume_rate / air_contents.return_volume())
air_update_turf()
update_parents()
/obj/machinery/atmospherics/components/unary/outlet_injector/proc/inject()

View File

@@ -35,7 +35,6 @@
active = internal.temperature_share(external, OPEN_HEAT_TRANSFER_COEFFICIENT) || active
if(active)
air_update_turf()
update_parents()
/obj/machinery/atmospherics/components/unary/passive_vent/can_crawl_through()

View File

@@ -155,11 +155,9 @@
if(scrubbing & SCRUBBING)
environment.scrub_into(air_contents, volume_rate/environment.return_volume(), filter_types)
tile.air_update_turf()
else //Just siphoning all air
environment.transfer_ratio_to(air_contents, volume_rate/environment.return_volume())
tile.air_update_turf()
update_parents()

View File

@@ -134,7 +134,7 @@
merger.set_moles(spawn_id, spawn_mol)
merger.set_temperature(spawn_temp)
O.assume_air(merger)
O.air_update_turf(TRUE)
O.air_update_turf()
/obj/machinery/atmospherics/miner/attack_ai(mob/living/silicon/user)
if(broken)

View File

@@ -51,7 +51,6 @@
if(air_temporary)
var/turf/T = loc
T.assume_air(air_temporary)
air_update_turf()
/obj/machinery/atmospherics/pipe/return_air()
return parent.air

View File

@@ -439,7 +439,6 @@
disconnect()
var/turf/T = get_turf(src)
T.assume_air(air_contents)
air_update_turf()
obj_break()
density = FALSE
@@ -473,8 +472,7 @@
var/turf/T = get_turf(src)
var/datum/gas_mixture/target_air = holding ? holding.air_contents : T.return_air()
if(air_contents.release_gas_to(target_air, release_pressure) && !holding)
air_update_turf()
air_contents.release_gas_to(target_air, release_pressure)
update_icon()

View File

@@ -38,7 +38,6 @@
//This explosion will destroy the can, release its air.
var/turf/T = get_turf(src)
T.assume_air(air_contents)
T.air_update_turf()
return ..()

View File

@@ -25,7 +25,6 @@
/obj/machinery/portable_atmospherics/pump/Destroy()
var/turf/T = get_turf(src)
T.assume_air(air_contents)
air_update_turf()
QDEL_NULL(pump)
return ..()
@@ -54,8 +53,6 @@
pump.airs[2] = holding ? holding.air_contents : air_contents
pump.process_atmos() // Pump gas.
if(!holding)
air_update_turf() // Update the environment if needed.
/obj/machinery/portable_atmospherics/pump/emp_act(severity)
. = ..()

View File

@@ -15,7 +15,6 @@
/obj/machinery/portable_atmospherics/scrubber/Destroy()
var/turf/T = get_turf(src)
T.assume_air(air_contents)
air_update_turf()
return ..()
/obj/machinery/portable_atmospherics/scrubber/update_icon()
@@ -43,8 +42,6 @@
return
mixture.scrub_into(air_contents, volume_rate / mixture.return_volume(), scrubbing)
if(!holding)
air_update_turf()
/obj/machinery/portable_atmospherics/scrubber/emp_act(severity)
. = ..()

View File

@@ -60,7 +60,6 @@
stank.set_moles(GAS_MIASMA, (yield + 6)*7*MIASMA_CORPSE_MOLES) // this process is only being called about 2/7 as much as corpses so this is 12-32 times a corpses
stank.set_temperature(T20C) // without this the room would eventually freeze and miasma mining would be easier
T.assume_air(stank)
T.air_update_turf()
//Galaxy Thistle
/obj/item/seeds/galaxythistle

View File

@@ -48,7 +48,7 @@
atmos_machines += A
for(var/L in border)
var/turf/T = L
T.air_update_turf(TRUE) //calculate adjacent turfs along the border to prevent runtimes
T.air_update_turf() //calculate adjacent turfs along the border to prevent runtimes
SSmapping.reg_in_areas_in_z(areas)
SSatoms.InitializeAtoms(atoms)

View File

@@ -269,7 +269,7 @@
/obj/structure/fans/Initialize(mapload)
. = ..()
air_update_turf(1)
air_update_turf()
//Inivisible, indestructible fans
/obj/structure/fans/tiny/invisible

View File

@@ -132,7 +132,6 @@
if(breath)
loc.assume_air(breath)
air_update_turf()
/mob/living/carbon/proc/has_smoke_protection()
if(HAS_TRAIT(src, TRAIT_NOBREATH))

View File

@@ -153,7 +153,6 @@ GLOBAL_VAR_INIT(primary_data_core, null)
if(env.heat_capacity())
var/temperature_increase = (active_power_usage / env.heat_capacity()) * heat_modifier //1 CPU = 1000W. Heat capacity = somewhere around 3000-4000. Aka we generate 0.25 - 0.33 K per second, per CPU.
env.set_temperature(env.return_temperature() + temperature_increase * AI_TEMPERATURE_MULTIPLIER) //assume all input power is dissipated
T.air_update_turf()
/obj/machinery/ai/data_core/proc/can_transfer_ai()
if(stat & (BROKEN|NOPOWER|EMPED))

View File

@@ -75,7 +75,6 @@ GLOBAL_LIST_EMPTY(server_cabinets)
if(env.heat_capacity())
var/temperature_increase = (total_usage / env.heat_capacity()) * heat_modifier
env.set_temperature(env.return_temperature() + temperature_increase * AI_TEMPERATURE_MULTIPLIER) //assume all input power is dissipated
T.air_update_turf()
valid_ticks++
if(!was_valid_holder)

View File

@@ -531,7 +531,6 @@ GLOBAL_DATUM(main_supermatter_engine, /obj/machinery/power/supermatter_crystal)
if(produces_gas)
env.merge(removed)
air_update_turf()
for(var/mob/living/carbon/human/l in view(src, HALLUCINATION_RANGE(power))) // If they can see it without mesons on. Bad on them.
if(!istype(l.glasses, /obj/item/clothing/glasses/meson) || corruptor_attached)

View File

@@ -428,7 +428,6 @@
//Actually transfer the gas
var/datum/gas_mixture/removed = env.remove(transfer_moles)
air_contents.merge(removed)
air_update_turf()
//if full enough, switch to ready mode

View File

@@ -125,7 +125,6 @@
// called to vent all gas in holder to a location
/obj/structure/disposalholder/proc/vent_gas(turf/T)
T.assume_air(gas)
T.air_update_turf()
/obj/structure/disposalholder/AllowDrop()
return TRUE

View File

@@ -409,7 +409,6 @@
visible_message(span_warning("[src] malfunctions, melting [exp_on] and leaking hot air!"))
var/datum/gas_mixture/env = loc.return_air()
env.adjust_heat(100000)
air_update_turf()
investigate_log("Experimentor has released hot air.", INVESTIGATE_EXPERIMENTOR)
ejectItem(TRUE)
else if(prob(EFFECT_PROB_MEDIUM-badThingCoeff))
@@ -452,7 +451,6 @@
visible_message(span_warning("[src] malfunctions, shattering [exp_on] and leaking cold air!"))
var/datum/gas_mixture/env = loc.return_air()
env.adjust_heat(-75000)
air_update_turf()
investigate_log("Experimentor has released cold air.", INVESTIGATE_EXPERIMENTOR)
ejectItem(TRUE)
else if(prob(EFFECT_PROB_MEDIUM-badThingCoeff))

View File

@@ -75,8 +75,6 @@
var/perc = max((get_env_temp() - temp_tolerance_high), 0) * temp_penalty_coefficient / base_mining_income
env.adjust_heat(heating_power * perc * heat_gen)
air_update_turf()
src.air_update_turf()
else
current_temp = env ? env.return_temperature() : -1

View File

@@ -145,7 +145,6 @@ GLOBAL_LIST_EMPTY(bluespace_slime_crystals)
return
var/datum/gas_mixture/gas = T.return_air()
gas.set_temperature(T0C + 200)
T.air_update_turf()
/obj/structure/slime_crystal/purple
colour = "purple"
@@ -185,7 +184,6 @@ GLOBAL_LIST_EMPTY(bluespace_slime_crystals)
continue
var/datum/gas_mixture/gas = T.return_air()
gas.parse_gas_string(OPENTURF_DEFAULT_ATMOS)
T.air_update_turf()
/obj/structure/slime_crystal/metal
colour = "metal"

View File

@@ -109,7 +109,6 @@ Chilling extracts:
if(istype(G))
G.set_moles(GAS_PLASMA, 0)
filtered = TRUE
T.air_update_turf()
if(filtered)
user.visible_message(span_notice("Cracks spread throughout [src], and some air is sucked in!"))
else

View File

@@ -26,7 +26,7 @@
T.opacity = new_opacity
T.has_opaque_atom = new_opacity
T.reconsider_lights()
T.air_update_turf(1)
T.air_update_turf()
update_freelook_sight()
/obj/machinery/door/poddoor/multi_tile/four_tile_ver/

View File

@@ -10,10 +10,10 @@
/obj/structure/spacepoddoor/Initialize()
..()
air_update_turf(1)
air_update_turf()
/obj/structure/spacepoddoor/Destroy()
air_update_turf(1)
air_update_turf()
return ..()
/obj/structure/spacepoddoor/CanAllowThrough(atom/movable/A)