Files

1 line
28 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/controller/subsystem/air - Space Station 13</title></head><body><header><a href="index.html">Space Station 13</a> - <a href="index.html#modules">Modules</a> - <a href="index.html#types">Types</a><a href="datum/controller/subsystem/air.html#var">Var Details</a> - <a href="datum/controller/subsystem/air.html#proc">Proc Details</a></header><main><h1>air <aside>/<a href="datum.html">datum</a>/<a href="datum/controller.html">controller</a>/<a href="datum/controller/subsystem.html">subsystem</a>/<a href="datum/controller/subsystem/air.html">air</a></aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/controllers/subsystem/SSair.dm#L11"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/SSair.dm 11"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/controller/subsystem/air.html#var/added_bound_mixtures">added_bound_mixtures</a></th><td>The number of bound mixtures that were added during this processing cycle.</td></tr><tr><th><a href="datum/controller/subsystem/air.html#var/atmos_machinery">atmos_machinery</a></th><td>The set of active atmos machinery. Length shown in SS Info as AM.</td></tr><tr><th><a href="datum/controller/subsystem/air.html#var/bound_mixtures">bound_mixtures</a></th><td>The set of current bound mixtures. Shown in SS Info as BM:x+y, where x is the length at the start of the most recent processing, and y is the number of mixtures that have been added during processing.</td></tr><tr><th><a href="datum/controller/subsystem/air.html#var/cost_atmos_machinery">cost_atmos_machinery</a></th><td>The cost of a pass through atmos machinery, shown in SS Info's C block as AM.</td></tr><tr><th><a href="datum/controller/subsystem/air.html#var/cost_bound_mixtures">cost_bound_mixtures</a></th><td>The cost of a pass through bound gas mixtures, shown in SS Info's C block as BM.</td></tr><tr><th><a href="datum/controller/subsystem/air.html#var/cost_full">cost_full</a></th><td>How long we took for a full pass through the subsystem. Custom-tracked version of <code>cost</code>.</td></tr><tr><th><a href="datum/controller/subsystem/air.html#var/cost_hotspots">cost_hotspots</a></th><td>The cost of a pass through hotspots, shown in SS Info's C block as HS.</td></tr><tr><th><a href="datum/controller/subsystem/air.html#var/cost_interesting_tiles">cost_interesting_tiles</a></th><td>The cost of a pass through interesting tiles, shown in SS Info's C block as IT.</td></tr><tr><th><a href="datum/controller/subsystem/air.html#var/cost_milla_tick">cost_milla_tick</a></th><td>The cost of a MILLA tick in ms, shown in SS Info's C block as MT.</td></tr><tr><th><a href="datum/controller/subsystem/air.html#var/cost_pipenets">cost_pipenets</a></th><td>The cost of a pass through pipenets, shown in SS Info's C block as PN.</td></tr><tr><th><a href="datum/controller/subsystem/air.html#var/cost_pipenets_to_build">cost_pipenets_to_build</a></th><td>The cost of a pass through building pipenets, shown in SS Info's C block as DPN.</td></tr><tr><th><a href="datum/controller/subsystem/air.html#var/cost_pressure_tiles">cost_pressure_tiles</a></th><td>The cost of a pass through loading pressure tiles, shown in SS Info's C block as PT.</td></tr><tr><th><a href="datum/controller/subsystem/air.html#var/cost_windy_tiles">cost_windy_tiles</a></th><td>The cost of a pass through windy tiles, shown in SS Info's C block as WT.</td></tr><tr><th><a href="datum/controller/subsystem/air.html#var/currentpart">currentpart</a></th><td>Which step we're currently on, used to let us resume if our time budget elapses.</td></tr><tr><th><a href="datum/controller/subsystem/air.html#var/currentrun">currentrun</a></th><td>An arbitrary list of stuff currently being processed.</td></tr><tr><th><a href="datum/controller/subsystem/air.html#var/hotspot_count">hotspot_count</a></th><td>The length of the most recent hotspot list, shown in SS Info as HS.</td></tr><tr><th><a href="datum/controller/subsystem/air.html#var/hotspots">hotspots</a></th><td>The set of tiles that are currently on fire.</td></tr><tr><th><a href="datum/controller/subsystem/air.html#var/in_milla_safe_code">in_milla_safe_code</a></th><td>Are we currently running in a MILLA-safe context, i.e. is milla_idle <em>guaranteed</em> to be TRUE. Nothing outside of this file should change this.</td></tr><tr><th><a href="datum/controller/subsystem/air.html#var/interesting_tile_count">interesting_tile_count</a></th><td>The length of the most recent interesting tiles list, shown in SS Info as IT.</td></tr><tr><th><a href="datum/controller/subsystem/air.html#var/last_bound_mixtures">last_bound_mixtures</a></th><td>The number of bound mixtures we saw when we last stopped processing them.</td></tr><tr><th><a href="datum/controller/subsystem/air.html#var/last_complete_tick">last_complete_tick</a></th><td>When did we last finish running a complete tick?</td></tr><tr><th><a href="datum/controller/subsystem/air.html#var/last_tick_start">last_tick_start</a></th><td>When did we last start a tick?</td></tr><tr><th><a href="datum/controller/subsystem/air.html#var/machinery_to_construct">machinery_to_construct</a></th><td>A list of atmos machinery to set up in Initialize.</td></tr><tr><th><a href="datum/controller/subsystem/air.html#var/milla_idle">milla_idle</a></th><td>Is MILLA currently idle? TRUE if the MILLA tick has finished, meaning data is fresh and changes can be made. FALSE if MILLA is currently running a tick, meaning data is from last tick and changes cannot be made.</td></tr><tr><th><a href="datum/controller/subsystem/air.html#var/milla_tick">milla_tick</a></th><td>And that means we also nee a replacement for times_fired.</td></tr><tr><th><a href="datum/controller/subsystem/air.html#var/new_hotspots">new_hotspots</a></th><td>The set of tiles that are still on fire after this tick.</td></tr><tr><th><a href="datum/controller/subsystem/air.html#var/new_windy_tiles">new_windy_tiles</a></th><td>The set of tiles that are still experiencing wind after this tick.</td></tr><tr><th><a href="datum/controller/subsystem/air.html#var/original_bound_mixtures">original_bound_mixtures</a></th><td>The original length of bound_mixtures.</td></tr><tr><th><a href="datum/controller/subsystem/air.html#var/pipenets">pipenets</a></th><td>The set of active pipenets. Length shown in SS Info as PN.</td></tr><tr><th><a href="datum/controller/subsystem/air.html#var/pipenets_to_build">pipenets_to_build</a></th><td>The set of pipenets that need to be built. Length shown in SS Info as PTB.</td></tr><tr><th><a href="datum/controller/subsystem/air.html#var/pressure_hud_users">pressure_hud_users</a></th><td>The people who were using the pressure HUD last tick.</td></tr><tr><th><a href="datum/controller/subsystem/air.html#var/pressure_overlay_alpha">pressure_overlay_alpha</a></th><td>What alpha to use for the pressure overlay. Applies to everyone using the overlay.</td></tr><tr><th><a href="datum/controller/subsystem/air.html#var/pressure_x">pressure_x</a></th><td>The coordinates of the pressure image we're currently loading.</td></tr><tr><th><a href="datum/controller/subsystem/air.html#var/self_wait">self_wait</a></th><td>How long we actually wait between ticks. Will round up to the next server tick.</td></tr><tr><th><a href="datum/controller/subsystem/air.html#var/sleepers">sleepers</a></th><td>What sleeping callbacks are currently running?</td></tr><tr><th><a href="datum/controller/subsystem/air.html#var/time_slept">time_slept</a></th><td>How long we spent sleeping while waiting for MILLA to finish the last tick, shown in SS Info's C block as ZZZ.</td></tr><tr><th><a href="datum/controller/subsystem/air.html#var/waiting_for_sync">waiting_for_sync</a></th><td>A list of callbacks waiting for MILLA to finish its tick and enter synchronous mode.</td></tr><tr><th><a href="datum/controller/subsystem/air.html#var/was_paused">was_paused</a></th><td>MC seems to not be good at tracking whether SSair pauses, so track that ourselves.</td></tr><tr><th><a href="datum/controller/subsystem/air.html#var/windy_tile_count">windy_tile_count</a></th><td>The length of the most recent windy tiles list, shown in SS Info as WT.</td></tr><tr><th><a href="datum/controller/subsystem/air.html#var/windy_tiles">windy_tiles</a></th><td>The set of tiles that are currently experiencing wind.</td></tr><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/controller/subsystem/air.html#proc/sleepable_synchronize">sleepable_synchronize</a></th><td>Similar to addtimer, but triggers once MILLA enters synchronous mode. This version allows for sleeping if it's absolutely necessary.</td></tr><tr><th><a href="datum/controller/subsystem/air.html#proc/synchronize">synchronize</a></th><td>Similar to addtimer, but triggers once MILLA enters synchronous mode.</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/added_bound_mixtures"><aside class="declaration">var </aside>added_bound_mixtures <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/controllers/subsystem/SSair.dm#L63"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/SSair.dm 63"></a></h3><p>The number of bound mixtures that were added during this processing cycle.</p><h3 id="var/atmos_machinery"><aside class="declaration">var </aside>atmos_machinery <aside> /list</aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/controllers/subsystem/SSair.dm#L75"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/SSair.dm 75"></a></h3><p>The set of active atmos machinery. Length shown in SS Info as AM.</p><h3 id="var/bound_mixtures"><aside class="declaration">var </aside>bound_mixtures <aside> /list</aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/controllers/subsystem/SSair.dm#L57"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/SSair.dm 57"></a></h3><p>The set of current bound mixtures. Shown in SS Info as BM:x+y, where x is the length at the start of the most recent processing, and y is the number of mixtures that have been added during processing.</p><h3 id="var/cost_atmos_machinery"><aside class="declaration">var </aside>cost_atmos_machinery <aside> /<a href="datum.html">datum</a>/<a href="datum/resumable_cost_counter.html">resumable_cost_counter</a></aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/controllers/subsystem/SSair.dm#L52"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/SSair.dm 52"></a></h3><p>The cost of a pass through atmos machinery, shown in SS Info's C block as AM.</p><h3 id="var/cost_bound_mixtures"><aside class="declaration">var </aside>cost_bound_mixtures <aside> /<a href="datum.html">datum</a>/<a href="datum/resumable_cost_counter.html">resumable_cost_counter</a></aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/controllers/subsystem/SSair.dm#L38"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/SSair.dm 38"></a></h3><p>The cost of a pass through bound gas mixtures, shown in SS Info's C block as BM.</p><h3 id="var/cost_full"><aside class="declaration">var </aside>cost_full <aside> /<a href="datum.html">datum</a>/<a href="datum/resumable_cost_counter.html">resumable_cost_counter</a></aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/controllers/subsystem/SSair.dm#L34"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/SSair.dm 34"></a></h3><p>How long we took for a full pass through the subsystem. Custom-tracked version of <code>cost</code>.</p><h3 id="var/cost_hotspots"><aside class="declaration">var </aside>cost_hotspots <aside> /<a href="datum.html">datum</a>/<a href="datum/resumable_cost_counter.html">resumable_cost_counter</a></aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/controllers/subsystem/SSair.dm#L44"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/SSair.dm 44"></a></h3><p>The cost of a pass through hotspots, shown in SS Info's C block as HS.</p><h3 id="var/cost_interesting_tiles"><aside class="declaration">var </aside>cost_interesting_tiles <aside> /<a href="datum.html">datum</a>/<a href="datum/resumable_cost_counter.html">resumable_cost_counter</a></aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/controllers/subsystem/SSair.dm#L42"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/SSair.dm 42"></a></h3><p>The cost of a pass through interesting tiles, shown in SS Info's C block as IT.</p><h3 id="var/cost_milla_tick"><aside class="declaration">var </aside>cost_milla_tick <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/controllers/subsystem/SSair.dm#L40"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/SSair.dm 40"></a></h3><p>The cost of a MILLA tick in ms, shown in SS Info's C block as MT.</p><h3 id="var/cost_pipenets"><aside class="declaration">var </aside>cost_pipenets <aside> /<a href="datum.html">datum</a>/<a href="datum/resumable_cost_counter.html">resumable_cost_counter</a></aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/controllers/subsystem/SSair.dm#L48"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/SSair.dm 48"></a></h3><p>The cost of a pass through pipenets, shown in SS Info's C block as PN.</p><h3 id="var/cost_pipenets_to_build"><aside class="declaration">var </aside>cost_pipenets_to_build <aside> /<a href="datum.html">datum</a>/<a href="datum/resumable_cost_counter.html">resumable_cost_counter</a></aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/controllers/subsystem/SSair.dm#L50"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/SSair.dm 50"></a></h3><p>The cost of a pass through building pipenets, shown in SS Info's C block as DPN.</p><h3 id="var/cost_pressure_tiles"><aside class="declaration">var </aside>cost_pressure_tiles <aside> /<a href="datum.html">datum</a>/<a href="datum/resumable_cost_counter.html">resumable_cost_counter</a></aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/controllers/subsystem/SSair.dm#L54"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/SSair.dm 54"></a></h3><p>The cost of a pass through loading pressure tiles, shown in SS Info's C block as PT.</p><h3 id="var/cost_windy_tiles"><aside class="declaration">var </aside>cost_windy_tiles <aside> /<a href="datum.html">datum</a>/<a href="datum/resumable_cost_counter.html">resumable_cost_counter</a></aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/controllers/subsystem/SSair.dm#L46"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/SSair.dm 46"></a></h3><p>The cost of a pass through windy tiles, shown in SS Info's C block as WT.</p><h3 id="var/currentpart"><aside class="declaration">var </aside>currentpart <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/controllers/subsystem/SSair.dm#L92"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/SSair.dm 92"></a></h3><p>Which step we're currently on, used to let us resume if our time budget elapses.</p><h3 id="var/currentrun"><aside class="declaration">var </aside>currentrun <aside> /list</aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/controllers/subsystem/SSair.dm#L89"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/SSair.dm 89"></a></h3><p>An arbitrary list of stuff currently being processed.</p><h3 id="var/hotspot_count"><aside class="declaration">var </aside>hotspot_count <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/controllers/subsystem/SSair.dm#L67"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/SSair.dm 67"></a></h3><p>The length of the most recent hotspot list, shown in SS Info as HS.</p><h3 id="var/hotspots"><aside class="declaration">var </aside>hotspots <aside> /list</aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/controllers/subsystem/SSair.dm#L77"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/SSair.dm 77"></a></h3><p>The set of tiles that are currently on fire.</p><h3 id="var/in_milla_safe_code"><aside class="declaration">var </aside>in_milla_safe_code <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/controllers/subsystem/SSair.dm#L98"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/SSair.dm 98"></a></h3><p>Are we currently running in a MILLA-safe context, i.e. is milla_idle <em>guaranteed</em> to be TRUE. Nothing outside of this file should change this.</p><h3 id="var/interesting_tile_count"><aside class="declaration">var </aside>interesting_tile_count <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/controllers/subsystem/SSair.dm#L65"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/SSair.dm 65"></a></h3><p>The length of the most recent interesting tiles list, shown in SS Info as IT.</p><h3 id="var/last_bound_mixtures"><aside class="declaration">var </aside>last_bound_mixtures <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/controllers/subsystem/SSair.dm#L61"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/SSair.dm 61"></a></h3><p>The number of bound mixtures we saw when we last stopped processing them.</p><h3 id="var/last_complete_tick"><aside class="declaration">var </aside>last_complete_tick <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/controllers/subsystem/SSair.dm#L29"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/SSair.dm 29"></a></h3><p>When did we last finish running a complete tick?</p><h3 id="var/last_tick_start"><aside class="declaration">var </aside>last_tick_start <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/controllers/subsystem/SSair.dm#L31"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/SSair.dm 31"></a></h3><p>When did we last start a tick?</p><h3 id="var/machinery_to_construct"><aside class="declaration">var </aside>machinery_to_construct <aside> /list</aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/controllers/subsystem/SSair.dm#L86"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/SSair.dm 86"></a></h3><p>A list of atmos machinery to set up in Initialize.</p><h3 id="var/milla_idle"><aside class="declaration">var </aside>milla_idle <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/controllers/subsystem/SSair.dm#L95"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/SSair.dm 95"></a></h3><p>Is MILLA currently idle? TRUE if the MILLA tick has finished, meaning data is fresh and changes can be made. FALSE if MILLA is currently running a tick, meaning data is from last tick and changes cannot be made.</p><h3 id="var/milla_tick"><aside class="declaration">var </aside>milla_tick <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/controllers/subsystem/SSair.dm#L23"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/SSair.dm 23"></a></h3><p>And that means we also nee a replacement for times_fired.</p><h3 id="var/new_hotspots"><aside class="declaration">var </aside>new_hotspots <aside> /list</aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/controllers/subsystem/SSair.dm#L79"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/SSair.dm 79"></a></h3><p>The set of tiles that are still on fire after this tick.</p><h3 id="var/new_windy_tiles"><aside class="declaration">var </aside>new_windy_tiles <aside> /list</aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/controllers/subsystem/SSair.dm#L83"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/SSair.dm 83"></a></h3><p>The set of tiles that are still experiencing wind after this tick.</p><h3 id="var/original_bound_mixtures"><aside class="declaration">var </aside>original_bound_mixtures <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/controllers/subsystem/SSair.dm#L59"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/SSair.dm 59"></a></h3><p>The original length of bound_mixtures.</p><h3 id="var/pipenets"><aside class="declaration">var </aside>pipenets <aside> /list</aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/controllers/subsystem/SSair.dm#L73"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/SSair.dm 73"></a></h3><p>The set of active pipenets. Length shown in SS Info as PN.</p><h3 id="var/pipenets_to_build"><aside class="declaration">var </aside>pipenets_to_build <aside> /list</aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/controllers/subsystem/SSair.dm#L71"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/SSair.dm 71"></a></h3><p>The set of pipenets that need to be built. Length shown in SS Info as PTB.</p><h3 id="var/pressure_hud_users"><aside class="declaration">var </aside>pressure_hud_users <aside> /list</aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/controllers/subsystem/SSair.dm#L113"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/SSair.dm 113"></a></h3><p>The people who were using the pressure HUD last tick.</p><h3 id="var/pressure_overlay_alpha"><aside class="declaration">var </aside>pressure_overlay_alpha <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/controllers/subsystem/SSair.dm#L116"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/SSair.dm 116"></a></h3><p>What alpha to use for the pressure overlay. Applies to everyone using the overlay.</p><h3 id="var/pressure_x"><aside class="declaration">var </aside>pressure_x <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/controllers/subsystem/SSair.dm#L108"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/SSair.dm 108"></a></h3><p>The coordinates of the pressure image we're currently loading.</p><h3 id="var/self_wait"><aside class="declaration">var </aside>self_wait <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/controllers/subsystem/SSair.dm#L19"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/SSair.dm 19"></a></h3><p>How long we actually wait between ticks. Will round up to the next server tick.</p><h3 id="var/sleepers"><aside class="declaration">var </aside>sleepers <aside> /list</aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/controllers/subsystem/SSair.dm#L101"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/SSair.dm 101"></a></h3><p>What sleeping callbacks are currently running?</p><h3 id="var/time_slept"><aside class="declaration">var </aside>time_slept <aside> /<a href="datum.html">datum</a>/<a href="datum/resumable_cost_counter.html">resumable_cost_counter</a></aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/controllers/subsystem/SSair.dm#L36"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/SSair.dm 36"></a></h3><p>How long we spent sleeping while waiting for MILLA to finish the last tick, shown in SS Info's C block as ZZZ.</p><h3 id="var/waiting_for_sync"><aside class="declaration">var </aside>waiting_for_sync <aside> /list</aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/controllers/subsystem/SSair.dm#L104"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/SSair.dm 104"></a></h3><p>A list of callbacks waiting for MILLA to finish its tick and enter synchronous mode.</p><h3 id="var/was_paused"><aside class="declaration">var </aside>was_paused <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/controllers/subsystem/SSair.dm#L21"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/SSair.dm 21"></a></h3><p>MC seems to not be good at tracking whether SSair pauses, so track that ourselves.</p><h3 id="var/windy_tile_count"><aside class="declaration">var </aside>windy_tile_count <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/controllers/subsystem/SSair.dm#L69"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/SSair.dm 69"></a></h3><p>The length of the most recent windy tiles list, shown in SS Info as WT.</p><h3 id="var/windy_tiles"><aside class="declaration">var </aside>windy_tiles <aside> /list</aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/controllers/subsystem/SSair.dm#L81"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/SSair.dm 81"></a></h3><p>The set of tiles that are currently experiencing wind.</p><h2 id="proc">Proc Details</h2><h3 id="proc/sleepable_synchronize"><aside class="declaration">proc </aside>sleepable_synchronize<aside>(/<a href="datum.html">datum</a>/<a href="datum/milla_safe_must_sleep.html">milla_safe_must_sleep</a>/CB) <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/controllers/subsystem/SSair.dm#L750"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/SSair.dm 750"></a></aside></h3><p>Similar to addtimer, but triggers once MILLA enters synchronous mode. This version allows for sleeping if it's absolutely necessary.</p><h3 id="proc/synchronize"><aside class="declaration">proc </aside>synchronize<aside>(/<a href="datum.html">datum</a>/<a href="datum/milla_safe.html">milla_safe</a>/CB) <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/controllers/subsystem/SSair.dm#L732"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/SSair.dm 732"></a></aside></h3><p>Similar to addtimer, but triggers once MILLA enters synchronous mode.</p></main><footer>paradise.dme <a href="https://github.com/ParadiseSS13/Paradise/tree/776b9861f70566b1e6a0763a465ef22f7920a3d6">776b986</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.11.0</a></footer></body></html>