- Jul 29, 2017
- 7
- 2
This error occurs when i click on character sheet
Code:
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/script.rpy", line 199, in script
call screen main_choice_display([people_list,actions_list], person_preview_args = {"show_person_info":False})
File "renpy/common/000statements.rpy", line 569, in execute_call_screen
store._return = renpy.call_screen(name, *args, **kwargs)
File "game/game_screens/character_screens/mc_overview_ui.rpy", line 1, in execute
screen mc_character_sheet():
File "game/game_screens/character_screens/mc_overview_ui.rpy", line 1, in execute
screen mc_character_sheet():
File "game/game_screens/character_screens/mc_overview_ui.rpy", line 5, in execute
vbox:
File "game/game_screens/character_screens/mc_overview_ui.rpy", line 16, in execute
hbox:
File "game/game_screens/character_screens/mc_overview_ui.rpy", line 21, in execute
frame:
File "game/game_screens/character_screens/mc_overview_ui.rpy", line 25, in execute
vbox:
File "game/game_screens/character_screens/mc_overview_ui.rpy", line 28, in execute
hbox:
File "game/game_screens/character_screens/mc_overview_ui.rpy", line 31, in execute
textbutton "+1 (" + str(mc.buy_point_cost()) + " Clarity)":
File "game/game_screens/character_screens/mc_overview_ui.rpy", line 31, in <module>
textbutton "+1 (" + str(mc.buy_point_cost()) + " Clarity)":
File "game/major_game_classes/character_related/MainCharacter.rpy", line 299, in buy_point_cost
point_cost = 50 * (2**self.clarity_purchase_level)
AttributeError: 'MainCharacter' object has no attribute 'clarity_purchase_level'
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/script.rpy", line 199, in script
call screen main_choice_display([people_list,actions_list], person_preview_args = {"show_person_info":False})
File "renpy/ast.py", line 1981, in execute
self.call("execute")
File "renpy/ast.py", line 1969, in call
return renpy.statements.call(method, parsed, *args, **kwargs)
File "renpy/statements.py", line 278, in call
return method(parsed, *args, **kwargs)
File "renpy/common/000statements.rpy", line 569, in execute_call_screen
store._return = renpy.call_screen(name, *args, **kwargs)
File "renpy/exports.py", line 3057, in call_screen
rv = renpy.ui.interact(mouse="screen", type="screen", roll_forward=roll_forward)
File "renpy/ui.py", line 298, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "renpy/display/core.py", line 3213, in interact
repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, **kwargs)
File "renpy/display/core.py", line 3630, in interact_core
root_widget.visit_all(lambda i : i.per_interact())
File "renpy/display/core.py", line 567, in visit_all
d.visit_all(callback, seen)
File "renpy/display/core.py", line 567, in visit_all
d.visit_all(callback, seen)
File "renpy/display/core.py", line 567, in visit_all
d.visit_all(callback, seen)
File "renpy/display/screen.py", line 432, in visit_all
callback(self)
File "renpy/display/core.py", line 3630, in <lambda>
root_widget.visit_all(lambda i : i.per_interact())
File "renpy/display/screen.py", line 443, in per_interact
self.update()
File "renpy/display/screen.py", line 631, in update
self.screen.function(**self.scope)
File "game/game_screens/character_screens/mc_overview_ui.rpy", line 1, in execute
screen mc_character_sheet():
File "game/game_screens/character_screens/mc_overview_ui.rpy", line 1, in execute
screen mc_character_sheet():
File "game/game_screens/character_screens/mc_overview_ui.rpy", line 5, in execute
vbox:
File "game/game_screens/character_screens/mc_overview_ui.rpy", line 16, in execute
hbox:
File "game/game_screens/character_screens/mc_overview_ui.rpy", line 21, in execute
frame:
File "game/game_screens/character_screens/mc_overview_ui.rpy", line 25, in execute
vbox:
File "game/game_screens/character_screens/mc_overview_ui.rpy", line 28, in execute
hbox:
File "game/game_screens/character_screens/mc_overview_ui.rpy", line 31, in execute
textbutton "+1 (" + str(mc.buy_point_cost()) + " Clarity)":
File "game/game_screens/character_screens/mc_overview_ui.rpy", line 31, in <module>
textbutton "+1 (" + str(mc.buy_point_cost()) + " Clarity)":
File "game/major_game_classes/character_related/MainCharacter.rpy", line 299, in buy_point_cost
point_cost = 50 * (2**self.clarity_purchase_level)
AttributeError: 'MainCharacter' object has no attribute 'clarity_purchase_level'
Windows-10-10.0.19041
Ren'Py 7.4.5.1648
Lab Rats 2 - Down to Business v0.42.1
Fri Jul 9 00:02:18 2021