Anyone got an idea how to unscrew my inventory screen?
```
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/v016.rpy", line 9110, in script
$ result = renpy.imagemap("016/jennystripclub/jennystripclub 140_2.jpg", "016/jennystripclub/jennystripclub 140_3.jpg", [(395, 15, 509, 125, "left"),(530, 15, 646, 125, "pooldance"),(665, 15, 779, 125, "lapdance"),(800, 15, 911, 125, "right"),(671, 270, 722, 414, "wine")], focus="imagemap")
File "game/v016.rpy", line 9110, in <module>
$ result = renpy.imagemap("016/jennystripclub/jennystripclub 140_2.jpg", "016/jennystripclub/jennystripclub 140_3.jpg", [(395, 15, 509, 125, "left"),(530, 15, 646, 125, "pooldance"),(665, 15, 779, 125, "lapdance"),(800, 15, 911, 125, "right"),(671, 270, 722, 414, "wine")], 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/v016.rpy", line 9110, in script
$ result = renpy.imagemap("016/jennystripclub/jennystripclub 140_2.jpg", "016/jennystripclub/jennystripclub 140_3.jpg", [(395, 15, 509, 125, "left"),(530, 15, 646, 125, "pooldance"),(665, 15, 779, 125, "lapdance"),(800, 15, 911, 125, "right"),(671, 270, 722, 414, "wine")], focus="imagemap")
File "D:\ALT\Feb 24\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:\ALT\Feb 24\badbobbysaga-1.1.0-pc\renpy\python.py", line 1122, in py_exec_bytecode
exec(bytecode, globals, locals)
File "game/v016.rpy", line 9110, in <module>
$ result = renpy.imagemap("016/jennystripclub/jennystripclub 140_2.jpg", "016/jennystripclub/jennystripclub 140_3.jpg", [(395, 15, 509, 125, "left"),(530, 15, 646, 125, "pooldance"),(665, 15, 779, 125, "lapdance"),(800, 15, 911, 125, "right"),(671, 270, 722, 414, "wine")], focus="imagemap")
File "D:\ALT\Feb 24\badbobbysaga-1.1.0-pc\renpy\exports.py", line 1526, in imagemap
rv = renpy.ui.interact(suppress_overlay=(not overlays),
File "D:\ALT\Feb 24\badbobbysaga-1.1.0-pc\renpy\ui.py", line 299, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "D:\ALT\Feb 24\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:\ALT\Feb 24\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:\ALT\Feb 24\badbobbysaga-1.1.0-pc\renpy\display\core.py", line 684, in visit_all
d.visit_all(callback, seen)
File "D:\ALT\Feb 24\badbobbysaga-1.1.0-pc\renpy\display\core.py", line 684, in visit_all
d.visit_all(callback, seen)
File "D:\ALT\Feb 24\badbobbysaga-1.1.0-pc\renpy\display\core.py", line 684, in visit_all
d.visit_all(callback, seen)
File "D:\ALT\Feb 24\badbobbysaga-1.1.0-pc\renpy\display\screen.py", line 476, in visit_all
callback(self)
File "D:\ALT\Feb 24\badbobbysaga-1.1.0-pc\renpy\display\core.py", line 4055, in <lambda>
root_widget.visit_all(lambda d : d.per_interact())
File "D:\ALT\Feb 24\badbobbysaga-1.1.0-pc\renpy\display\screen.py", line 487, in per_interact
self.update()
File "D:\ALT\Feb 24\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:\ALT\Feb 24\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.22635 AMD64
Ren'Py 8.1.3.23091805
Bad Bobby Saga 1.1.0
Fri Mar 1 03:56:51 2024
```