v0.1.3 pc
In the Market, try to sell milk and I get this
```
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/in_game/calendar/dse/weekend/ingame_weekend_town.rpy", line 50, in script call
call events_run_period from _call_events_run_period_3
File "game/in_game/calendar/dse/dse-event_dispatcher.rpy", line 294, in script call
call expression _event from call_expression_event_1
File "game/in_game/calendar/dse/weekend/ingame_weekend_town.rpy", line 67, in script call
call events_run_period from _call_events_run_period_4
File "game/in_game/calendar/dse/dse-event_dispatcher.rpy", line 294, in script call
call expression _event from call_expression_event_1
File "game/in_game/calendar/dse/weekend/ingame_weekend_town.rpy", line 67, in script call
call events_run_period from _call_events_run_period_4
File "game/in_game/calendar/dse/dse-event_dispatcher.rpy", line 294, in script call
call expression _event from call_expression_event_1
File "game/in_game/calendar/dse/weekend/ingame_weekend_town.rpy", line 67, in script call
call events_run_period from _call_events_run_period_4
File "game/in_game/calendar/dse/dse-event_dispatcher.rpy", line 294, in script call
call expression _event from call_expression_event_1
File "game/in_game/calendar/dse/weekend/ingame_weekend_town.rpy", line 67, in script call
call events_run_period from _call_events_run_period_4
File "game/in_game/calendar/dse/dse-event_dispatcher.rpy", line 294, in script call
call expression _event from call_expression_event_1
File "game/in_game/calendar/dse/weekend/ingame_weekend_town.rpy", line 84, in script call
call events_run_period from _call_events_run_period_5
File "game/in_game/calendar/dse/dse-event_dispatcher.rpy", line 294, in script call
call expression _event from call_expression_event_1
File "game/in_game/calendar/dse/weekend/ingame_weekend_town.rpy", line 84, in script call
call events_run_period from _call_events_run_period_5
File "game/in_game/calendar/dse/dse-event_dispatcher.rpy", line 294, in script call
call expression _event from call_expression_event_1
File "game/in_game/calendar/dse/weekend/ingame_weekend_town.rpy", line 15, in script call
call ingame_topmenu_map from _call_ingame_topmenu_map
File "game/in_game/calendar/dse/dse-schedule.rpy", line 199, in script call
call check_weekened_map from _call_check_weekened_map
File "game/in_game/calendar/dse/dse-schedule.rpy", line 199, in script call
call check_weekened_map from _call_check_weekened_map
File "game/in_game/calendar/dse/dse-schedule.rpy", line 199, in script call
call check_weekened_map from _call_check_weekened_map
[Previous line repeated 1 more time]
File "game/in_game/calendar/events/char/gina/event_story_gina.rpy", line 938, in script call
call check_weekened_map from _call_check_weekened_map_2
File "game/in_game/calendar/dse/weekend/ingame_weekend_town.rpy", line 84, in script call
call events_run_period from _call_events_run_period_5
File "game/in_game/calendar/dse/dse-event_dispatcher.rpy", line 294, in script call
call expression _event from call_expression_event_1
File "game/in_game/calendar/dse/weekend/ingame_weekend_town.rpy", line 84, in script call
call events_run_period from _call_events_run_period_5
File "game/in_game/calendar/dse/dse-event_dispatcher.rpy", line 294, in script call
call expression _event from call_expression_event_1
File "game/in_game/calendar/dse/weekend/ingame_weekend_town.rpy", line 84, in script call
call events_run_period from _call_events_run_period_5
File "game/in_game/calendar/dse/dse-event_dispatcher.rpy", line 294, in script call
call expression _event from call_expression_event_1
File "game/in_game/map/town/in_town/weekend_town_market.rpy", line 11, in script
call screen townmap_market_inventory("market")
File "renpy/common/000statements.rpy", line 670, in execute_call_screen
store._return = renpy.call_screen(name, *args, **kwargs)
File "game/in_game/menu/Inventory/ingame_menu_market.rpy", line 220, in execute
screen townmap_market_inventory(place=""):
File "game/in_game/menu/Inventory/ingame_menu_market.rpy", line 220, in execute
screen townmap_market_inventory(place=""):
File "game/in_game/menu/Inventory/ingame_menu_market.rpy", line 229, in execute
$ sorted_items = sorted(inventory.items, key=attrgetter('element'), reverse=True) # we sort the items, so non-consumable items that change elemental damage (guns) are listed first
File "game/in_game/menu/Inventory/ingame_menu_market.rpy", line 229, in <module>
$ sorted_items = sorted(inventory.items, key=attrgetter('element'), reverse=True) # we sort the items, so non-consumable items that change elemental damage (guns) are listed first
AttributeError: 'int' object has no attribute 'element'
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/in_game/calendar/dse/weekend/ingame_weekend_town.rpy", line 50, in script call
call events_run_period from _call_events_run_period_3
File "game/in_game/calendar/dse/dse-event_dispatcher.rpy", line 294, in script call
call expression _event from call_expression_event_1
File "game/in_game/calendar/dse/weekend/ingame_weekend_town.rpy", line 67, in script call
call events_run_period from _call_events_run_period_4
File "game/in_game/calendar/dse/dse-event_dispatcher.rpy", line 294, in script call
call expression _event from call_expression_event_1
File "game/in_game/calendar/dse/weekend/ingame_weekend_town.rpy", line 67, in script call
call events_run_period from _call_events_run_period_4
File "game/in_game/calendar/dse/dse-event_dispatcher.rpy", line 294, in script call
call expression _event from call_expression_event_1
File "game/in_game/calendar/dse/weekend/ingame_weekend_town.rpy", line 67, in script call
call events_run_period from _call_events_run_period_4
File "game/in_game/calendar/dse/dse-event_dispatcher.rpy", line 294, in script call
call expression _event from call_expression_event_1
File "game/in_game/calendar/dse/weekend/ingame_weekend_town.rpy", line 67, in script call
call events_run_period from _call_events_run_period_4
File "game/in_game/calendar/dse/dse-event_dispatcher.rpy", line 294, in script call
call expression _event from call_expression_event_1
File "game/in_game/calendar/dse/weekend/ingame_weekend_town.rpy", line 84, in script call
call events_run_period from _call_events_run_period_5
File "game/in_game/calendar/dse/dse-event_dispatcher.rpy", line 294, in script call
call expression _event from call_expression_event_1
File "game/in_game/calendar/dse/weekend/ingame_weekend_town.rpy", line 84, in script call
call events_run_period from _call_events_run_period_5
File "game/in_game/calendar/dse/dse-event_dispatcher.rpy", line 294, in script call
call expression _event from call_expression_event_1
File "game/in_game/calendar/dse/weekend/ingame_weekend_town.rpy", line 15, in script call
call ingame_topmenu_map from _call_ingame_topmenu_map
File "game/in_game/calendar/dse/dse-schedule.rpy", line 199, in script call
call check_weekened_map from _call_check_weekened_map
File "game/in_game/calendar/dse/dse-schedule.rpy", line 199, in script call
call check_weekened_map from _call_check_weekened_map
File "game/in_game/calendar/dse/dse-schedule.rpy", line 199, in script call
call check_weekened_map from _call_check_weekened_map
[Previous line repeated 1 more time]
File "game/in_game/calendar/events/char/gina/event_story_gina.rpy", line 938, in script call
call check_weekened_map from _call_check_weekened_map_2
File "game/in_game/calendar/dse/weekend/ingame_weekend_town.rpy", line 84, in script call
call events_run_period from _call_events_run_period_5
File "game/in_game/calendar/dse/dse-event_dispatcher.rpy", line 294, in script call
call expression _event from call_expression_event_1
File "game/in_game/calendar/dse/weekend/ingame_weekend_town.rpy", line 84, in script call
call events_run_period from _call_events_run_period_5
File "game/in_game/calendar/dse/dse-event_dispatcher.rpy", line 294, in script call
call expression _event from call_expression_event_1
File "game/in_game/calendar/dse/weekend/ingame_weekend_town.rpy", line 84, in script call
call events_run_period from _call_events_run_period_5
File "game/in_game/calendar/dse/dse-event_dispatcher.rpy", line 294, in script call
call expression _event from call_expression_event_1
File "game/in_game/map/town/in_town/weekend_town_market.rpy", line 11, in script
call screen townmap_market_inventory("market")
File "F:\MilkMan-0.1.3-pc\renpy\ast.py", line 2259, in execute
self.call("execute")
File "F:\MilkMan-0.1.3-pc\renpy\ast.py", line 2241, in call
return renpy.statements.call(method, parsed, *args, **kwargs)
File "F:\MilkMan-0.1.3-pc\renpy\statements.py", line 342, in call
return method(parsed, *args, **kwargs)
File "renpy/common/000statements.rpy", line 670, in execute_call_screen
store._return = renpy.call_screen(name, *args, **kwargs)
File "F:\MilkMan-0.1.3-pc\renpy\exports.py", line 3347, in call_screen
rv = renpy.ui.interact(mouse="screen", type="screen", roll_forward=roll_forward)
File "F:\MilkMan-0.1.3-pc\renpy\ui.py", line 299, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "F:\MilkMan-0.1.3-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 "F:\MilkMan-0.1.3-pc\renpy\display\core.py", line 4055, in interact_core
root_widget.visit_all(lambda d : d.per_interact())
File "F:\MilkMan-0.1.3-pc\renpy\display\core.py", line 684, in visit_all
d.visit_all(callback, seen)
File "F:\MilkMan-0.1.3-pc\renpy\display\core.py", line 684, in visit_all
d.visit_all(callback, seen)
File "F:\MilkMan-0.1.3-pc\renpy\display\core.py", line 684, in visit_all
d.visit_all(callback, seen)
File "F:\MilkMan-0.1.3-pc\renpy\display\screen.py", line 476, in visit_all
callback(self)
File "F:\MilkMan-0.1.3-pc\renpy\display\core.py", line 4055, in <lambda>
root_widget.visit_all(lambda d : d.per_interact())
File "F:\MilkMan-0.1.3-pc\renpy\display\screen.py", line 487, in per_interact
self.update()
File "F:\MilkMan-0.1.3-pc\renpy\display\screen.py", line 680, in update
self.screen.function(**self.scope)
File "game/in_game/menu/Inventory/ingame_menu_market.rpy", line 220, in execute
screen townmap_market_inventory(place=""):
File "game/in_game/menu/Inventory/ingame_menu_market.rpy", line 220, in execute
screen townmap_market_inventory(place=""):
File "game/in_game/menu/Inventory/ingame_menu_market.rpy", line 229, in execute
$ sorted_items = sorted(inventory.items, key=attrgetter('element'), reverse=True) # we sort the items, so non-consumable items that change elemental damage (guns) are listed first
File "game/in_game/menu/Inventory/ingame_menu_market.rpy", line 229, in <module>
$ sorted_items = sorted(inventory.items, key=attrgetter('element'), reverse=True) # we sort the items, so non-consumable items that change elemental damage (guns) are listed first
File "F:\MilkMan-0.1.3-pc\renpy\revertable.py", line 281, in revertable_sorted
return RevertableList(sorted(*args, **kwargs))
AttributeError: 'int' object has no attribute 'element'
Windows-10-10.0.22621 AMD64
Ren'Py 8.1.3.23091805
MilkMan 0.1.3
Mon Jan 15 19:45:41 2024
```