zas
Vars | |
last_process | The last process, as a string, before the previous run ended. |
---|---|
unsimulated_gas_cache | A global cache of unsimulated gas mixture singletons, associative by type. |
Procs | |
Reboot | Stops processing while all ZAS-controlled airs and fires are nulled and the subsystem is reinitialized. |
add_zone | //////TILES////////// ///////DEFERRED TILES////////// ///////CHECK_EDGES///////// ///////EDGES////////// ///////HOTSPOTS////////// ///////ZONES////////// //////ATMOS EXPOSE////// Adds a zone to the subsystem, gives it's identifer, and marks it for update. |
air_blocked | Checks to see if air can flow between A and B. |
connect | Forms a /connection/ between two turfs. |
create_edge | Create an edge of the appropriate type between zone A and zone-or-turf B. |
excite_edge | Wakes an edge, adding it to the active process list. |
get_edge | Returns the edge between zones A and B. If one doesn't exist, it creates one. See header for more information |
mark_for_update | The logic around get_edge() requires air to exist at this point, which it probably should. Marks a turf for update. |
mark_zone_update | Marks a zone for update. |
merge | Merges two zones. Largest by turf count wins. |
remove_edge | Removes an edge from the subsystem. |
remove_zone | Removes a zone from the subsystem. |
sleep_edge | Sleeps an edge, preventing it from processing. |
Var Details
last_process
The last process, as a string, before the previous run ended.
unsimulated_gas_cache
A global cache of unsimulated gas mixture singletons, associative by type.
Proc Details
Reboot
Stops processing while all ZAS-controlled airs and fires are nulled and the subsystem is reinitialized.
add_zone
//////TILES////////// ///////DEFERRED TILES////////// ///////CHECK_EDGES///////// ///////EDGES////////// ///////HOTSPOTS////////// ///////ZONES////////// //////ATMOS EXPOSE////// Adds a zone to the subsystem, gives it's identifer, and marks it for update.
air_blocked
Checks to see if air can flow between A and B.
connect
Forms a /connection/ between two turfs.
create_edge
Create an edge of the appropriate type between zone A and zone-or-turf B.
excite_edge
Wakes an edge, adding it to the active process list.
get_edge
Returns the edge between zones A and B. If one doesn't exist, it creates one. See header for more information
mark_for_update
The logic around get_edge() requires air to exist at this point, which it probably should. Marks a turf for update.
mark_zone_update
Marks a zone for update.
merge
Merges two zones. Largest by turf count wins.
remove_edge
Removes an edge from the subsystem.
remove_zone
Removes a zone from the subsystem.
sleep_edge
Sleeps an edge, preventing it from processing.