This remains a work in progress, and is as-of-yet untested. It has been cobbled together from multiple sources of inspiration, including Into the Odd…