Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit) (+1)

I get this error every time I try to use Fiery Charge. If I ignore it, the enemy takes no damage and my turn is basically skipped

I'm sorry, but an uncaught exception occurred.
While running game code:
KeyError: u'tg'
-- Full Traceback ------------------------------------------------------------
Full traceback:
  File "battle.rpyc", line 935, in script call
  File "battle02.rpyc", line 9, in script call
  File "battle02.rpyc", line 109, in script
  File "renpy/ast.py", line 930, in execute
    renpy.exports.say(who, what, *args, **kwargs)
  File "renpy/exports.py", line 1473, in say
    who(what, *args, **kwargs)
  File "renpy/character.py", line 1337, in __call__
    what = self.prefix_suffix("what", self.what_prefix, what, self.what_suffix)
  File "renpy/character.py", line 1251, in prefix_suffix
    return (sub(prefix) + sub(body) + sub(suffix))
  File "renpy/character.py", line 1231, in sub
    return renpy.substitutions.substitute(s, scope=scope, force=force, translate=translate)[0]
  File "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/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 "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/python2.7/string.py", line 646, in get_field
  File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python2.7/string.py", line 605, in get_value
KeyError: u'tg'
Windows-10-10.0.19041 AMD64
Ren'Py 7.6.1.23060707
Outland Wanderer 0.0.17
Fri Jul  7 13:57:27 2023

Same happened here.

Hey there! Sorry about the bug, it should be fixed in the newest build now.