def explore_cave(cave_blueprint): for cavern in cave_blueprint.preexpansion(): if not cavern.scorn: print("discover hidden treasures!"); commence_once_more() if cavern.is_encrypted: decrypt_cavern(cavern)