} print("Welcome to the maze game...\n") should_continue = True while should_continue: if room_number == 1: room_number = r1.run_room(player_inventory) elif room_number == 2: room_number = r2.run_room(player_inventory) elif room_number == 3: room_number = r3.run_room(player_inventory) elif room_number == 4: room_number = r4.run_room(player_inventory) elif room_number == 5: room_number = r5.run_room(player_inventory) elif room_number == 6: room_number = r6.run_room(player_inventory) elif room_number == 7: room_number = r7.run_room(player_inventory) elif room_number == 8: room_number = r8.run_room(player_inventory) elif room_number == 9: room_number = r9.run_room(player_inventory) elif room_number == 10: room_number = r10.run_room(player_inventory) elif room_number == 11: room_number = r11.run_room(player_inventory) elif room_number == 12: room_number = r12.run_room(player_inventory) elif room_number == 13:
combat_off_inventory, combat_spell_inventory, mobs, player_health) elif room_number == 2: room_number = r2.run_room(player_inventory, player_equipped, player_health, combat_spell_inventory) elif room_number == 3: room_number = r3.run_room(player_inventory, player_equipped, combat_off_inventory, combat_spell_inventory, mobs, player_health) elif room_number == 4: room_number = r4.run_room(player_inventory, player_equipped, combat_off_inventory, combat_spell_inventory, mobs, player_health) elif room_number == 5: room_number = r5.run_room(player_inventory, player_equipped, combat_off_inventory, combat_spell_inventory, mobs, player_health) elif room_number == 6: room_number = r6.run_room(player_inventory, player_equipped, combat_off_inventory, combat_spell_inventory, mobs, player_health) elif room_number == 7: room_number = r7.run_room(player_inventory, player_equipped, combat_off_inventory, combat_spell_inventory, mobs, player_health) elif room_number == 8: room_number = r8.run_room(player_inventory, player_equipped, combat_off_inventory, combat_spell_inventory, mobs, player_health) elif room_number == 9: room_number = r9.run_room(player_inventory, player_equipped,
room_number = 1 print("Welcome to the cavern of the kobold king...\n") should_continue = True while should_continue: if room_number == 1: room_number = r1.run_room(util.player_inventory) elif room_number == 2: room_number = r2.run_room(util.player_inventory) elif room_number == 3: room_number = r3.run_room(util.player_inventory) elif room_number == 4: room_number = r4.run_room(util.player_inventory) elif room_number == 5: room_number = r5.run_room(util.player_inventory) elif room_number == 6: room_number = r6.run_room(util.player_inventory) elif room_number == 7: room_number = r7.run_room(util.player_inventory) elif room_number == 8: room_number = r8.run_room(util.player_inventory) elif room_number == 9: room_number = r9.run_room(util.player_inventory) elif room_number == 10: room_number = r10.run_room(util.player_inventory) elif room_number == 11: room_number = r11.run_room(util.player_inventory) elif room_number == 12: room_number = r12.run_room(util.player_inventory) elif room_number == 13: