Here is a copy of the BB Code:
[code]
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/day8.rpy", line 10, in script
"Now I have [money] gold."
KeyError: 'money'
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/day8.rpy", line 10, in script
"Now I have [money] gold."
File "C:\Users\robbe\AppData\Roaming\itch\apps\iaaw\IAMAWIZARDDEMO-1.0.0-pc\renpy\ast.py", line 930, in execute
renpy.exports.say(who, what, *args, **kwargs)
File "C:\Users\robbe\AppData\Roaming\itch\apps\iaaw\IAMAWIZARDDEMO-1.0.0-pc\renpy\exports.py", line 1473, in say
who(what, *args, **kwargs)
File "C:\Users\robbe\AppData\Roaming\itch\apps\iaaw\IAMAWIZARDDEMO-1.0.0-pc\renpy\character.py", line 1337, in __call__
what = self.prefix_suffix("what", self.what_prefix, what, self.what_suffix)
File "C:\Users\robbe\AppData\Roaming\itch\apps\iaaw\IAMAWIZARDDEMO-1.0.0-pc\renpy\character.py", line 1251, in prefix_suffix
return (sub(prefix) + sub(body) + sub(suffix))
File "C:\Users\robbe\AppData\Roaming\itch\apps\iaaw\IAMAWIZARDDEMO-1.0.0-pc\renpy\character.py", line 1231, in sub
return renpy.substitutions.substitute(s, scope=scope, force=force, translate=translate)[0]
File "C:\Users\robbe\AppData\Roaming\itch\apps\iaaw\IAMAWIZARDDEMO-1.0.0-pc\renpy\substitutions.py", line 278, in substitute
s = formatter.vformat(s, (), kwargs) # type: ignore
File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/string.py", line 165, in vformat
File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/string.py", line 205, in _vformat
File "C:\Users\robbe\AppData\Roaming\itch\apps\iaaw\IAMAWIZARDDEMO-1.0.0-pc\renpy\substitutions.py", line 168, in get_field
obj, arg_used = super(Formatter, self).get_field(field_name, args, kwargs)
File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/string.py", line 270, in get_field
File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/string.py", line 227, in get_value
KeyError: 'money'
Windows-10-10.0.26200 AMD64
Ren'Py 8.1.1.23060707
DEMO 1.0.0
Tue Jan 27 08:31:50 2026
[/code]
and here is a copy of the Markdown:
```
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/day8.rpy", line 10, in script
"Now I have [money] gold."
KeyError: 'money'
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/day8.rpy", line 10, in script
"Now I have [money] gold."
File "C:\Users\robbe\AppData\Roaming\itch\apps\iaaw\IAMAWIZARDDEMO-1.0.0-pc\renpy\ast.py", line 930, in execute
renpy.exports.say(who, what, *args, **kwargs)
File "C:\Users\robbe\AppData\Roaming\itch\apps\iaaw\IAMAWIZARDDEMO-1.0.0-pc\renpy\exports.py", line 1473, in say
who(what, *args, **kwargs)
File "C:\Users\robbe\AppData\Roaming\itch\apps\iaaw\IAMAWIZARDDEMO-1.0.0-pc\renpy\character.py", line 1337, in __call__
what = self.prefix_suffix("what", self.what_prefix, what, self.what_suffix)
File "C:\Users\robbe\AppData\Roaming\itch\apps\iaaw\IAMAWIZARDDEMO-1.0.0-pc\renpy\character.py", line 1251, in prefix_suffix
return (sub(prefix) + sub(body) + sub(suffix))
File "C:\Users\robbe\AppData\Roaming\itch\apps\iaaw\IAMAWIZARDDEMO-1.0.0-pc\renpy\character.py", line 1231, in sub
return renpy.substitutions.substitute(s, scope=scope, force=force, translate=translate)[0]
File "C:\Users\robbe\AppData\Roaming\itch\apps\iaaw\IAMAWIZARDDEMO-1.0.0-pc\renpy\substitutions.py", line 278, in substitute
s = formatter.vformat(s, (), kwargs) # type: ignore
File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/string.py", line 165, in vformat
File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/string.py", line 205, in _vformat
File "C:\Users\robbe\AppData\Roaming\itch\apps\iaaw\IAMAWIZARDDEMO-1.0.0-pc\renpy\substitutions.py", line 168, in get_field
obj, arg_used = super(Formatter, self).get_field(field_name, args, kwargs)
File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/string.py", line 270, in get_field
File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/string.py", line 227, in get_value
KeyError: 'money'
Windows-10-10.0.26200 AMD64
Ren'Py 8.1.1.23060707
DEMO 1.0.0
Tue Jan 27 08:31:50 2026
```