Hacking, sneaking, and why you shouldn't use dictionaries for your inventory