Port of adventure.lua by shawndumas