I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/chapter 03.rpy", line 20014, in script
$ my_notify({"Crystal" : 1})
File "game/chapter 03.rpy", line 20014, in <module>
$ my_notify({"Crystal" : 1})
File "game/notification.rpy", line 76, in my_notify
l = update_stats(d)
File "game/notification.rpy", line 67, in update_stats
MCtrait[x] +=d[x]
KeyError: u'Crystal'
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/chapter 03.rpy", line 20014, in script
$ my_notify({"Crystal" : 1})
File "renpy/ast.py", line 922, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "renpy/python.py", line 2218, in py_exec_bytecode
exec(bytecode, globals, locals)
File "game/chapter 03.rpy", line 20014, in <module>
$ my_notify({"Crystal" : 1})
File "game/notification.rpy", line 76, in my_notify
l = update_stats(d)
File "game/notification.rpy", line 67, in update_stats
MCtrait[x] +=d[x]
KeyError: u'Crystal'
Windows-10-10.0.19041
Ren'Py 7.4.1.1270
Project Myriam Life and Explorations ch3.09a
Mon Oct 10 20:22:41 2022