I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/map2.rpy", line 872, in script
$ result = renpy.imagemap("bob_room_icons.png", "bob_room_icons_hover.png", [(0, 0, 95, 57, "bobroom"), (101, 0, 195, 57, "mombedroom"), (203, 0, 296, 57, "living_room"), (302, 0, 400, 57, "kitchen"), (404, 0, 500, 57, "bathroom"), (507, 0, 603, 57, "Lizabedroom"), (609, 0, 705, 57, "lucyroom"), (711, 0, 805, 57, "Jenyroom"), (812, 0, 909, 57, "pool"), (915, 0, 970, 57, "worldmap"), (979, 0, 1020, 57, "skiptime"), (165, 250, 309, 390, "bobcomputer"), (651, 406, 915, 695, "bobninja")], focus="imagemap")
File "game/map2.rpy", line 872, in <module>
$ result = renpy.imagemap("bob_room_icons.png", "bob_room_icons_hover.png", [(0, 0, 95, 57, "bobroom"), (101, 0, 195, 57, "mombedroom"), (203, 0, 296, 57, "living_room"), (302, 0, 400, 57, "kitchen"), (404, 0, 500, 57, "bathroom"), (507, 0, 603, 57, "Lizabedroom"), (609, 0, 705, 57, "lucyroom"), (711, 0, 805, 57, "Jenyroom"), (812, 0, 909, 57, "pool"), (915, 0, 970, 57, "worldmap"), (979, 0, 1020, 57, "skiptime"), (165, 250, 309, 390, "bobcomputer"), (651, 406, 915, 695, "bobninja")], focus="imagemap")
File "game/inventorytest.rpy", line 551, in execute
screen inventory_screen:
File "game/inventorytest.rpy", line 551, in execute
screen inventory_screen:
File "game/inventorytest.rpy", line 562, in execute
$ sorted_items = sorted(inventory.items, key=attrgetter('name'), reverse=True) # we sort the items, so non-consumable items that change elemental damage (guns) are listed first
File "game/inventorytest.rpy", line 562, in <module>
$ sorted_items = sorted(inventory.items, key=attrgetter('name'), reverse=True) # we sort the items, so non-consumable items that change elemental damage (guns) are listed first
AttributeError: 'int' object has no attribute 'name'
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/map2.rpy", line 872, in script
$ result = renpy.imagemap("bob_room_icons.png", "bob_room_icons_hover.png", [(0, 0, 95, 57, "bobroom"), (101, 0, 195, 57, "mombedroom"), (203, 0, 296, 57, "living_room"), (302, 0, 400, 57, "kitchen"), (404, 0, 500, 57, "bathroom"), (507, 0, 603, 57, "Lizabedroom"), (609, 0, 705, 57, "lucyroom"), (711, 0, 805, 57, "Jenyroom"), (812, 0, 909, 57, "pool"), (915, 0, 970, 57, "worldmap"), (979, 0, 1020, 57, "skiptime"), (165, 250, 309, 390, "bobcomputer"), (651, 406, 915, 695, "bobninja")], focus="imagemap")
File "D:\Desktop Games\badbobbysaga-1.1.0-pc\badbobbysaga-1.1.0-pc\renpy\ast.py", line 1138, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "D:\Desktop Games\badbobbysaga-1.1.0-pc\badbobbysaga-1.1.0-pc\renpy\python.py", line 1122, in py_exec_bytecode
exec(bytecode, globals, locals)
File "game/map2.rpy", line 872, in <module>
$ result = renpy.imagemap("bob_room_icons.png", "bob_room_icons_hover.png", [(0, 0, 95, 57, "bobroom"), (101, 0, 195, 57, "mombedroom"), (203, 0, 296, 57, "living_room"), (302, 0, 400, 57, "kitchen"), (404, 0, 500, 57, "bathroom"), (507, 0, 603, 57, "Lizabedroom"), (609, 0, 705, 57, "lucyroom"), (711, 0, 805, 57, "Jenyroom"), (812, 0, 909, 57, "pool"), (915, 0, 970, 57, "worldmap"), (979, 0, 1020, 57, "skiptime"), (165, 250, 309, 390, "bobcomputer"), (651, 406, 915, 695, "bobninja")], focus="imagemap")
File "D:\Desktop Games\badbobbysaga-1.1.0-pc\badbobbysaga-1.1.0-pc\renpy\exports.py", line 1526, in imagemap
rv = renpy.ui.interact(suppress_overlay=(not overlays),
File "D:\Desktop Games\badbobbysaga-1.1.0-pc\badbobbysaga-1.1.0-pc\renpy\ui.py", line 299, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "D:\Desktop Games\badbobbysaga-1.1.0-pc\badbobbysaga-1.1.0-pc\renpy\display\core.py", line 3582, in interact
repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, pause_modal=pause_modal, **kwargs) # type: ignore
File "D:\Desktop Games\badbobbysaga-1.1.0-pc\badbobbysaga-1.1.0-pc\renpy\display\core.py", line 4055, in interact_core
root_widget.visit_all(lambda d : d.per_interact())
File "D:\Desktop Games\badbobbysaga-1.1.0-pc\badbobbysaga-1.1.0-pc\renpy\display\core.py", line 684, in visit_all
d.visit_all(callback, seen)
File "D:\Desktop Games\badbobbysaga-1.1.0-pc\badbobbysaga-1.1.0-pc\renpy\display\core.py", line 684, in visit_all
d.visit_all(callback, seen)
File "D:\Desktop Games\badbobbysaga-1.1.0-pc\badbobbysaga-1.1.0-pc\renpy\display\core.py", line 684, in visit_all
d.visit_all(callback, seen)
File "D:\Desktop Games\badbobbysaga-1.1.0-pc\badbobbysaga-1.1.0-pc\renpy\display\screen.py", line 476, in visit_all
callback(self)
File "D:\Desktop Games\badbobbysaga-1.1.0-pc\badbobbysaga-1.1.0-pc\renpy\display\core.py", line 4055, in <lambda>
root_widget.visit_all(lambda d : d.per_interact())
File "D:\Desktop Games\badbobbysaga-1.1.0-pc\badbobbysaga-1.1.0-pc\renpy\display\screen.py", line 487, in per_interact
self.update()
File "D:\Desktop Games\badbobbysaga-1.1.0-pc\badbobbysaga-1.1.0-pc\renpy\display\screen.py", line 680, in update
self.screen.function(**self.scope)
File "game/inventorytest.rpy", line 551, in execute
screen inventory_screen:
File "game/inventorytest.rpy", line 551, in execute
screen inventory_screen:
File "game/inventorytest.rpy", line 562, in execute
$ sorted_items = sorted(inventory.items, key=attrgetter('name'), reverse=True) # we sort the items, so non-consumable items that change elemental damage (guns) are listed first
File "game/inventorytest.rpy", line 562, in <module>
$ sorted_items = sorted(inventory.items, key=attrgetter('name'), reverse=True) # we sort the items, so non-consumable items that change elemental damage (guns) are listed first
File "D:\Desktop Games\badbobbysaga-1.1.0-pc\badbobbysaga-1.1.0-pc\renpy\revertable.py", line 281, in revertable_sorted
return RevertableList(sorted(*args, **kwargs))
AttributeError: 'int' object has no attribute 'name'
Windows-10-10.0.19045 AMD64
Ren'Py 8.1.3.23091805
Bad Bobby Saga 1.1.0
Sun Feb 4 15:50:25 2024