This is like a Professor Layton puzzle gone horribly awry.