Reimplement dark rooms in Lua.