When I try to access inventory I get this error
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/inventory/inventory_screen.rpy", line 177, in <module>
File "game/inventory/inventory_screen.rpy", line 29, in execute
File "game/inventory/inventory_screen.rpy", line 29, in execute
File "game/inventory/inventory_screen.rpy", line 34, in execute
AttributeError: 'Player' object has no attribute 'playerxp'
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "script.rpyc", line 149, in script call
File "inventory/inventory_screen.rpyc", line 177, in script
File "renpy/ast.py", line 928, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "renpy/python.py", line 2245, in py_exec_bytecode
exec(bytecode, globals, locals)
File "game/inventory/inventory_screen.rpy", line 177, in <module>
File "renpy/ui.py", line 298, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "renpy/display/core.py", line 3325, 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 3737, in interact_core
root_widget.visit_all(lambda i : i.per_interact())
File "renpy/display/core.py", line 568, in visit_all
d.visit_all(callback, seen)
File "renpy/display/core.py", line 568, in visit_all
d.visit_all(callback, seen)
File "renpy/display/core.py", line 568, in visit_all
d.visit_all(callback, seen)
File "renpy/display/screen.py", line 436, in visit_all
callback(self)
File "renpy/display/core.py", line 3737, in <lambda>
root_widget.visit_all(lambda i : i.per_interact())
File "renpy/display/screen.py", line 447, in per_interact
self.update()
File "renpy/display/screen.py", line 637, in update
self.screen.function(**self.scope)
File "game/inventory/inventory_screen.rpy", line 29, in execute
File "game/inventory/inventory_screen.rpy", line 29, in execute
File "game/inventory/inventory_screen.rpy", line 34, in execute
File "renpy/ui.py", line 1012, in _label
text = renpy.text.text.Text(label, style=text_style, substitute=substitute, scope=scope, **text_kwargs)
File "renpy/text/text.py", line 1574, in __init__
self.set_text(text, scope, substitute)
File "renpy/text/text.py", line 1693, in set_text
i, did_sub = renpy.substitutions.substitute(i, scope, substitute)
File "renpy/substitutions.py", line 270, in substitute
s = formatter.vformat(s, (), kwargs)
File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python2.7/string.py", line 563, in vformat
File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python2.7/string.py", line 585, in _vformat
File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python2.7/string.py", line 652, in get_field
AttributeError: 'Player' object has no attribute 'playerxp'