Ever have that combination of wanting to do things and not being able to sleep? That's essentially what I've been having tonight. So I thought I might throw together a proof of concept map exploring the mystery that is airlocks. (Incidentally, it turned out to be a neat learning experience in how to make underwater maps as well.)
This is a map that pretty much does what you would expect it to. It's a single small room that looks like a typical airlock. Flip the switch to drain the water out of the room, and flip it again to fill 'er back up.
Both actions are each powered by what is called a Sequence. Basically, Sequences are code objects that allow time-based strings of events. (i.e. Do something, wait x seconds, do another thing, repeat until done.)
I've put the map on
Steam Workshop, in case anyone else was curious in how they worked.
EDIT: This and my other PoC mods are now available on MoDDB as well.
(And yes, PoC stands for "proof of concept", in case you were wondering.)