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, combat_off_inventory, combat_spell_inventory, mobs, player_health) elif room_number == 10: room_number = r10.run_room(player_inventory, player_equipped, combat_off_inventory, combat_spell_inventory, mobs, player_health) elif room_number == 11: room_number = r11.run_room(player_inventory, player_equipped, combat_off_inventory, combat_spell_inventory, mobs, player_health) elif room_number == 12: room_number = r12.run_room(player_inventory, player_equipped, combat_off_inventory, combat_spell_inventory, mobs, player_health) elif room_number == 13: room_number = r13.run_room(player_inventory, player_equipped, combat_off_inventory, combat_spell_inventory, mobs, player_health) else: print("Ack I don't know room number:", room_number) break #
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: room_number = r13.run_room(player_inventory) elif room_number == 14: room_number = r14.run_room(player_inventory) else: print("Ack I don't know room number:", room_number) break # print("The game has ended...")