hi, would you be able to send me a screenshot of this error so i can see what causes it?
Viewing post in Digimon: Digital World Adventure comments
[code]
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/09a_Battle.rpy", line 781, in script
python:
File "game/09a_Battle.rpy", line 784, in <module>
initialize_fight_digimon(digimon)
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
File "game/09_Battle_System.rpy", line 147, in initialize_fight_digimon
digimon.current_hp = get_battle_stat(digimon, "hp")
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
File "game/09_Battle_System.rpy", line 139, in get_battle_stat
flat, percent = get_equipment_stat(digimon, stat)
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
File "game/09_Battle_System.rpy", line 106, in get_equipment_stat
for slot, item_id in digimon.equipment.items():
^^^^^^^^^^^^^^^^^
AttributeError: 'Digimon' object has no attribute 'equipment'
-- Full Traceback ------------------------------------------------------------
Traceback (most recent call last):
File "game/09a_Battle.rpy", line 781, in script
python:
File "renpy/ast.py", line 1193, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "renpy/python.py", line 1276, in py_exec_bytecode
exec(bytecode, globals, locals)
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "game/09a_Battle.rpy", line 784, in <module>
initialize_fight_digimon(digimon)
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
File "game/09_Battle_System.rpy", line 147, in initialize_fight_digimon
digimon.current_hp = get_battle_stat(digimon, "hp")
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
File "game/09_Battle_System.rpy", line 139, in get_battle_stat
flat, percent = get_equipment_stat(digimon, stat)
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
File "game/09_Battle_System.rpy", line 106, in get_equipment_stat
for slot, item_id in digimon.equipment.items():
^^^^^^^^^^^^^^^^^
AttributeError: 'Digimon' object has no attribute 'equipment'
Windows-10-10.0.19045-SP0 AMD64
Ren'Py 8.5.3.26051504
Digimon: Digital World Adventure 1.02
Sun Jul 12 15:49:58 2026
[/code]
[code]
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/07_Equipment Shop.rpy", line 36, in script
call screen equipment_shop_screen
File "game/07_Equipment Shop.rpy", line 309, in execute
screen equipment_shop_screen():
File "game/07_Equipment Shop.rpy", line 309, in execute
screen equipment_shop_screen():
File "game/07_Equipment Shop.rpy", line 325, in execute
if selected_item and current_equipment_shop_digimon:
File "game/07_Equipment Shop.rpy", line 343, in execute
$ current_item = current_equipment_shop_digimon.equipment.get(current_slot)
File "game/07_Equipment Shop.rpy", line 343, in <module>
$ current_item = current_equipment_shop_digimon.equipment.get(current_slot)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Digimon' object has no attribute 'equipment'
-- Full Traceback ------------------------------------------------------------
Traceback (most recent call last):
File "game/07_Equipment Shop.rpy", line 36, in script
call screen equipment_shop_screen
File "renpy/ast.py", line 2251, in execute
self.call("execute")
~~~~~~~~~^^^^^^^^^^^
File "renpy/ast.py", line 2205, in call
return renpy.statements.call(method, parsed, *args, **kwargs)
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "renpy/statements.py", line 381, in call
return method(parsed, *args, **kwargs)
~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
File "renpy/common/000statements.rpy", line 698, in execute_call_screen
store._return = renpy.call_screen(name, *args, **kwargs)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
File "renpy/exports/statementexports.py", line 341, in call_screen
rv = renpy.ui.interact(mouse="screen", type="screen", roll_forward=roll_forward)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "renpy/ui.py", line 306, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "renpy/display/core.py", line 2163, in interact
repeat, rv = self.interact_core(
~~~~~~~~~~~~~~~~~~^
preloads=preloads,
^^^^^^^^^^^^^^^^^^
...<4 lines>...
**kwargs,
^^^^^^^^^
)
^
File "renpy/display/core.py", line 2709, in interact_core
root_widget.visit_all(lambda d: d.per_interact())
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "renpy/display/displayable.py", line 460, in visit_all
d.visit_all(callback, seen)
~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "renpy/display/displayable.py", line 460, in visit_all
d.visit_all(callback, seen)
~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "renpy/display/displayable.py", line 460, in visit_all
d.visit_all(callback, seen)
~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "renpy/display/screen.py", line 503, in visit_all
callback(self)
~~~~~~~~^^^^^^
File "renpy/display/core.py", line 2709, in <lambda>
root_widget.visit_all(lambda d: d.per_interact())
~~~~~~~~~~~~~~^^
File "renpy/display/screen.py", line 514, in per_interact
self.update()
~~~~~~~~~~~^^
File "renpy/display/screen.py", line 715, in update
self.screen.function(**self.scope)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
File "game/07_Equipment Shop.rpy", line 309, in execute
screen equipment_shop_screen():
File "game/07_Equipment Shop.rpy", line 309, in execute
screen equipment_shop_screen():
File "game/07_Equipment Shop.rpy", line 325, in execute
if selected_item and current_equipment_shop_digimon:
File "game/07_Equipment Shop.rpy", line 343, in execute
$ current_item = current_equipment_shop_digimon.equipment.get(current_slot)
File "game/07_Equipment Shop.rpy", line 343, in <module>
$ current_item = current_equipment_shop_digimon.equipment.get(current_slot)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Digimon' object has no attribute 'equipment'
Windows-10-10.0.19045-SP0 AMD64
Ren'Py 8.5.3.26051504
Digimon: Digital World Adventure 1.02
Sun Jul 12 15:52:50 2026
[/code]