I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/map2.rpy", line 2516, in script
"Sleeping pill added to your inventory."
File "game/inventorytest.rpy", line 272, in execute
screen inventory_screen:
File "game/inventorytest.rpy", line 272, in execute
screen inventory_screen:
File "game/inventorytest.rpy", line 283, 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 283, 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'
Bad Bobby Saga 1.0