CREATE YOUR AI CUM SLUT ON CANDY.AI TRY FOR FREE
x

Chimba

Well-Known Member
Mar 6, 2020
1,576
9,749
You've been reincarnated as the Milkman of Valenwood and will need to manage a harem of sexy cow women.
1001347249.jpg

Hi JuicyJelly, it would be nice to know if kinks/fetishes are going to be avoidable (they don't happen in the story according to player) skippable (they happen in the story but the player doesn't see the scene) forced by plot?

For example, watching the previews and tag, is lesbian content forced?

Thanks, good luck.
 
Last edited:

Bloodmoon22

Member
Oct 17, 2020
180
112
While I am enjoying this game, it seems to have issues when trying to sell milk.



Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/in_game/calendar/dse/dse-schedule.rpy", line 201, in script call
    call check_weekened_map from _call_check_weekened_map
  File "game/in_game/calendar/dse/dse-schedule.rpy", line 201, in script call
    call check_weekened_map from _call_check_weekened_map
  File "game/in_game/calendar/dse/dse-schedule.rpy", line 201, in script call
    call check_weekened_map from _call_check_weekened_map
  File "game/in_game/calendar/dse/weekend/ingame_weekend_town.rpy", line 51, 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/map/town/in_town/weekend_town_market.rpy", line 11, in script call
    call screen townmap_market_inventory
  File "game/in_game/menu/Inventory/ingame_menu_market.rpy", line 41, in script call
    call screen townmap_market_inventory
  File "game/in_game/menu/Inventory/ingame_menu_market.rpy", line 41, in script call
    call screen townmap_market_inventory
  File "game/in_game/menu/Inventory/ingame_menu_market.rpy", line 41, in script call
    call screen townmap_market_inventory
  [Previous line repeated 7 more times]
  File "game/in_game/calendar/dse/weekend/ingame_weekend_town.rpy", line 51, 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 68, 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 85, 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 201, in script call
    call check_weekened_map from _call_check_weekened_map
  File "game/in_game/calendar/dse/weekend/ingame_weekend_town.rpy", line 51, 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 68, 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 68, 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 85, 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 85, 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 85, 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 201, in script call
    call check_weekened_map from _call_check_weekened_map
  File "game/in_game/calendar/dse/dse-schedule.rpy", line 201, in script call
    call check_weekened_map from _call_check_weekened_map
  File "game/in_game/calendar/dse/dse-schedule.rpy", line 201, in script call
    call check_weekened_map from _call_check_weekened_map
  [Previous line repeated 1 more time]
  File "game/in_game/calendar/dse/weekend/ingame_weekend_town.rpy", line 68, 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 85, 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/dse-schedule.rpy", line 201, in script call
    call check_weekened_map from _call_check_weekened_map
  File "game/in_game/calendar/dse/weekend/ingame_weekend_town.rpy", line 51, 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/map/town/in_town/weekend_town_market.rpy", line 11, in script
    call screen townmap_market_inventory
  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 68, in execute
    screen townmap_market_inventory:
  File "game/in_game/menu/Inventory/ingame_menu_market.rpy", line 68, in execute
    screen townmap_market_inventory:
  File "game/in_game/menu/Inventory/ingame_menu_market.rpy", line 77, 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 77, 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/dse-schedule.rpy", line 201, in script call
    call check_weekened_map from _call_check_weekened_map
  File "game/in_game/calendar/dse/dse-schedule.rpy", line 201, in script call
    call check_weekened_map from _call_check_weekened_map
  File "game/in_game/calendar/dse/dse-schedule.rpy", line 201, in script call
    call check_weekened_map from _call_check_weekened_map
  File "game/in_game/calendar/dse/weekend/ingame_weekend_town.rpy", line 51, 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/map/town/in_town/weekend_town_market.rpy", line 11, in script call
    call screen townmap_market_inventory
  File "game/in_game/menu/Inventory/ingame_menu_market.rpy", line 41, in script call
    call screen townmap_market_inventory
  File "game/in_game/menu/Inventory/ingame_menu_market.rpy", line 41, in script call
    call screen townmap_market_inventory
  File "game/in_game/menu/Inventory/ingame_menu_market.rpy", line 41, in script call
    call screen townmap_market_inventory
  [Previous line repeated 7 more times]
  File "game/in_game/calendar/dse/weekend/ingame_weekend_town.rpy", line 51, 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 68, 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 85, 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 201, in script call
    call check_weekened_map from _call_check_weekened_map
  File "game/in_game/calendar/dse/weekend/ingame_weekend_town.rpy", line 51, 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 68, 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 68, 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 85, 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 85, 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 85, 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 201, in script call
    call check_weekened_map from _call_check_weekened_map
  File "game/in_game/calendar/dse/dse-schedule.rpy", line 201, in script call
    call check_weekened_map from _call_check_weekened_map
  File "game/in_game/calendar/dse/dse-schedule.rpy", line 201, in script call
    call check_weekened_map from _call_check_weekened_map
  [Previous line repeated 1 more time]
  File "game/in_game/calendar/dse/weekend/ingame_weekend_town.rpy", line 68, 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 85, 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/dse-schedule.rpy", line 201, in script call
    call check_weekened_map from _call_check_weekened_map
  File "game/in_game/calendar/dse/weekend/ingame_weekend_town.rpy", line 51, 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/map/town/in_town/weekend_town_market.rpy", line 11, in script
    call screen townmap_market_inventory
  File "C:\Users\Marc\Desktop\MilkMan-0.1.0-pc\renpy\ast.py", line 2259, in execute
    self.call("execute")
  File "C:\Users\Marc\Desktop\MilkMan-0.1.0-pc\renpy\ast.py", line 2241, in call
    return renpy.statements.call(method, parsed, *args, **kwargs)
  File "C:\Users\Marc\Desktop\MilkMan-0.1.0-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 "C:\Users\Marc\Desktop\MilkMan-0.1.0-pc\renpy\exports.py", line 3345, in call_screen
    rv = renpy.ui.interact(mouse="screen", type="screen", roll_forward=roll_forward)
  File "C:\Users\Marc\Desktop\MilkMan-0.1.0-pc\renpy\ui.py", line 299, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "C:\Users\Marc\Desktop\MilkMan-0.1.0-pc\renpy\display\core.py", line 3579, 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 "C:\Users\Marc\Desktop\MilkMan-0.1.0-pc\renpy\display\core.py", line 4052, in interact_core
    root_widget.visit_all(lambda d : d.per_interact())
  File "C:\Users\Marc\Desktop\MilkMan-0.1.0-pc\renpy\display\core.py", line 681, in visit_all
    d.visit_all(callback, seen)
  File "C:\Users\Marc\Desktop\MilkMan-0.1.0-pc\renpy\display\core.py", line 681, in visit_all
    d.visit_all(callback, seen)
  File "C:\Users\Marc\Desktop\MilkMan-0.1.0-pc\renpy\display\core.py", line 681, in visit_all
    d.visit_all(callback, seen)
  File "C:\Users\Marc\Desktop\MilkMan-0.1.0-pc\renpy\display\screen.py", line 476, in visit_all
    callback(self)
  File "C:\Users\Marc\Desktop\MilkMan-0.1.0-pc\renpy\display\core.py", line 4052, in <lambda>
    root_widget.visit_all(lambda d : d.per_interact())
  File "C:\Users\Marc\Desktop\MilkMan-0.1.0-pc\renpy\display\screen.py", line 487, in per_interact
    self.update()
  File "C:\Users\Marc\Desktop\MilkMan-0.1.0-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 68, in execute
    screen townmap_market_inventory:
  File "game/in_game/menu/Inventory/ingame_menu_market.rpy", line 68, in execute
    screen townmap_market_inventory:
  File "game/in_game/menu/Inventory/ingame_menu_market.rpy", line 77, 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 77, 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 "C:\Users\Marc\Desktop\MilkMan-0.1.0-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.19045 AMD64
Ren'Py 8.1.1.23060707
MilkMan 0.1.0
Mon Sep 11 09:40:52 2023
 
  • Like
Reactions: JuicyJelly

n00bi

Member
Nov 24, 2022
442
537
Cows are not sexy or hot.
well, only hot when eaten as a steak :)
Perhaps adding some hooves to the girls will make them more sexy :p
 

thocra

Newbie
Aug 19, 2018
52
31
First of all, a fun and interesting game idea.
The first steps are promising in my opinion, let's see where it goes.

During my first play-through, an error in the script became apparent:
(I didn't copy the traceback).
As soon as the inventory is empty, the sorting routine and also in the further course the supplement routine tries to access an empty element (0 ?) as an integer, but uses an object => Error.
A simple "if ..." should help.
 
  • Like
Reactions: JuicyJelly

Zemax

☠ The real world is where the monsters are ☠
Trial Moderator
Modder
Uploader
Donor
Aug 19, 2022
3,470
46,482
While I am enjoying this game, it seems to have issues when trying to sell milk.



Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/in_game/calendar/dse/dse-schedule.rpy", line 201, in script call
    call check_weekened_map from _call_check_weekened_map
  File "game/in_game/calendar/dse/dse-schedule.rpy", line 201, in script call
    call check_weekened_map from _call_check_weekened_map
  File "game/in_game/calendar/dse/dse-schedule.rpy", line 201, in script call
    call check_weekened_map from _call_check_weekened_map
  File "game/in_game/calendar/dse/weekend/ingame_weekend_town.rpy", line 51, 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/map/town/in_town/weekend_town_market.rpy", line 11, in script call
    call screen townmap_market_inventory
  File "game/in_game/menu/Inventory/ingame_menu_market.rpy", line 41, in script call
    call screen townmap_market_inventory
  File "game/in_game/menu/Inventory/ingame_menu_market.rpy", line 41, in script call
    call screen townmap_market_inventory
  File "game/in_game/menu/Inventory/ingame_menu_market.rpy", line 41, in script call
    call screen townmap_market_inventory
  [Previous line repeated 7 more times]
  File "game/in_game/calendar/dse/weekend/ingame_weekend_town.rpy", line 51, 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 68, 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 85, 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 201, in script call
    call check_weekened_map from _call_check_weekened_map
  File "game/in_game/calendar/dse/weekend/ingame_weekend_town.rpy", line 51, 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 68, 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 68, 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 85, 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 85, 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 85, 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 201, in script call
    call check_weekened_map from _call_check_weekened_map
  File "game/in_game/calendar/dse/dse-schedule.rpy", line 201, in script call
    call check_weekened_map from _call_check_weekened_map
  File "game/in_game/calendar/dse/dse-schedule.rpy", line 201, in script call
    call check_weekened_map from _call_check_weekened_map
  [Previous line repeated 1 more time]
  File "game/in_game/calendar/dse/weekend/ingame_weekend_town.rpy", line 68, 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 85, 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/dse-schedule.rpy", line 201, in script call
    call check_weekened_map from _call_check_weekened_map
  File "game/in_game/calendar/dse/weekend/ingame_weekend_town.rpy", line 51, 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/map/town/in_town/weekend_town_market.rpy", line 11, in script
    call screen townmap_market_inventory
  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 68, in execute
    screen townmap_market_inventory:
  File "game/in_game/menu/Inventory/ingame_menu_market.rpy", line 68, in execute
    screen townmap_market_inventory:
  File "game/in_game/menu/Inventory/ingame_menu_market.rpy", line 77, 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 77, 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/dse-schedule.rpy", line 201, in script call
    call check_weekened_map from _call_check_weekened_map
  File "game/in_game/calendar/dse/dse-schedule.rpy", line 201, in script call
    call check_weekened_map from _call_check_weekened_map
  File "game/in_game/calendar/dse/dse-schedule.rpy", line 201, in script call
    call check_weekened_map from _call_check_weekened_map
  File "game/in_game/calendar/dse/weekend/ingame_weekend_town.rpy", line 51, 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/map/town/in_town/weekend_town_market.rpy", line 11, in script call
    call screen townmap_market_inventory
  File "game/in_game/menu/Inventory/ingame_menu_market.rpy", line 41, in script call
    call screen townmap_market_inventory
  File "game/in_game/menu/Inventory/ingame_menu_market.rpy", line 41, in script call
    call screen townmap_market_inventory
  File "game/in_game/menu/Inventory/ingame_menu_market.rpy", line 41, in script call
    call screen townmap_market_inventory
  [Previous line repeated 7 more times]
  File "game/in_game/calendar/dse/weekend/ingame_weekend_town.rpy", line 51, 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 68, 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 85, 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 201, in script call
    call check_weekened_map from _call_check_weekened_map
  File "game/in_game/calendar/dse/weekend/ingame_weekend_town.rpy", line 51, 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 68, 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 68, 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 85, 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 85, 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 85, 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 201, in script call
    call check_weekened_map from _call_check_weekened_map
  File "game/in_game/calendar/dse/dse-schedule.rpy", line 201, in script call
    call check_weekened_map from _call_check_weekened_map
  File "game/in_game/calendar/dse/dse-schedule.rpy", line 201, in script call
    call check_weekened_map from _call_check_weekened_map
  [Previous line repeated 1 more time]
  File "game/in_game/calendar/dse/weekend/ingame_weekend_town.rpy", line 68, 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 85, 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/dse-schedule.rpy", line 201, in script call
    call check_weekened_map from _call_check_weekened_map
  File "game/in_game/calendar/dse/weekend/ingame_weekend_town.rpy", line 51, 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/map/town/in_town/weekend_town_market.rpy", line 11, in script
    call screen townmap_market_inventory
  File "C:\Users\Marc\Desktop\MilkMan-0.1.0-pc\renpy\ast.py", line 2259, in execute
    self.call("execute")
  File "C:\Users\Marc\Desktop\MilkMan-0.1.0-pc\renpy\ast.py", line 2241, in call
    return renpy.statements.call(method, parsed, *args, **kwargs)
  File "C:\Users\Marc\Desktop\MilkMan-0.1.0-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 "C:\Users\Marc\Desktop\MilkMan-0.1.0-pc\renpy\exports.py", line 3345, in call_screen
    rv = renpy.ui.interact(mouse="screen", type="screen", roll_forward=roll_forward)
  File "C:\Users\Marc\Desktop\MilkMan-0.1.0-pc\renpy\ui.py", line 299, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "C:\Users\Marc\Desktop\MilkMan-0.1.0-pc\renpy\display\core.py", line 3579, 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 "C:\Users\Marc\Desktop\MilkMan-0.1.0-pc\renpy\display\core.py", line 4052, in interact_core
    root_widget.visit_all(lambda d : d.per_interact())
  File "C:\Users\Marc\Desktop\MilkMan-0.1.0-pc\renpy\display\core.py", line 681, in visit_all
    d.visit_all(callback, seen)
  File "C:\Users\Marc\Desktop\MilkMan-0.1.0-pc\renpy\display\core.py", line 681, in visit_all
    d.visit_all(callback, seen)
  File "C:\Users\Marc\Desktop\MilkMan-0.1.0-pc\renpy\display\core.py", line 681, in visit_all
    d.visit_all(callback, seen)
  File "C:\Users\Marc\Desktop\MilkMan-0.1.0-pc\renpy\display\screen.py", line 476, in visit_all
    callback(self)
  File "C:\Users\Marc\Desktop\MilkMan-0.1.0-pc\renpy\display\core.py", line 4052, in <lambda>
    root_widget.visit_all(lambda d : d.per_interact())
  File "C:\Users\Marc\Desktop\MilkMan-0.1.0-pc\renpy\display\screen.py", line 487, in per_interact
    self.update()
  File "C:\Users\Marc\Desktop\MilkMan-0.1.0-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 68, in execute
    screen townmap_market_inventory:
  File "game/in_game/menu/Inventory/ingame_menu_market.rpy", line 68, in execute
    screen townmap_market_inventory:
  File "game/in_game/menu/Inventory/ingame_menu_market.rpy", line 77, 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 77, 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 "C:\Users\Marc\Desktop\MilkMan-0.1.0-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.19045 AMD64
Ren'Py 8.1.1.23060707
MilkMan 0.1.0
Mon Sep 11 09:40:52 2023
Based on the provided traceback, it appears that there is an error in the script "game/in_game/calendar/dse/weekend/ingame_weekend_town.rpy" at line 85. However, without the specific error message or code snippet from that line, it is difficult to determine the exact nature of the error, and iam not the dev
 

Zemax

☠ The real world is where the monsters are ☠
Trial Moderator
Modder
Uploader
Donor
Aug 19, 2022
3,470
46,482
First of all, a fun and interesting game idea.
The first steps are promising in my opinion, let's see where it goes.

During my first play-through, an error in the script became apparent:
(I didn't copy the traceback).
As soon as the inventory is empty, the sorting routine and also in the further course the supplement routine tries to access an empty element (0 ?) as an integer, but uses an object => Error.
A simple "if ..." should help.
Based on what you wrote

if len(inventory) > 0:
# Access inventory elements as integers
# Perform sorting or supplement routine
else:
# Handle the case when the inventory is empty

By adding this if statement, you can prevent the error from occurring when the inventory is empty and handle it accordingly.
 
4.00 star(s) 3 Votes