I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/script.rpy", line 44080, in script
call screen provincemap
File "renpy/common/000statements.rpy", line 569, in execute_call_screen
store._return = renpy.call_screen(name, *args, **kwargs)
File "game/screens.rpy", line 9423, in execute
screen provincemap():
File "game/screens.rpy", line 9423, in execute
screen provincemap():
File "game/screens.rpy", line 9436, in execute
side ("c b r"):
File "game/screens.rpy", line 9438, in execute
viewport id "pmap":
File "game/screens.rpy", line 9441, in execute
frame:
File "game/screens.rpy", line 9454, in execute
if provincecolor == True:
File "game/screens.rpy", line 9466, in execute
for province in duchiesinfo:
File "game/screens.rpy", line 9468, in execute
if duchiesinfo[province][3] != 'wildlands':
File "game/screens.rpy", line 9486, in execute
for dprov in duchiesinfo[province][1]:
File "game/screens.rpy", line 9488, in execute
if worldinfo[dprov][7] != worldinfo[dprov][6]:
File "game/screens.rpy", line 9490, in execute
$lol = worldinfo[province][31]
File "game/screens.rpy", line 9490, in <module>
$lol = worldinfo[province][31]
TypeError: list indices must be integers, not unicode
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/script.rpy", line 44080, in script
call screen provincemap
File "renpy/ast.py", line 2015, in execute
self.call("execute")
File "renpy/ast.py", line 2003, 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 3136, 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 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/screens.rpy", line 9423, in execute
screen provincemap():
File "game/screens.rpy", line 9423, in execute
screen provincemap():
File "game/screens.rpy", line 9436, in execute
side ("c b r"):
File "game/screens.rpy", line 9438, in execute
viewport id "pmap":
File "game/screens.rpy", line 9441, in execute
frame:
File "game/screens.rpy", line 9454, in execute
if provincecolor == True:
File "game/screens.rpy", line 9466, in execute
for province in duchiesinfo:
File "game/screens.rpy", line 9468, in execute
if duchiesinfo[province][3] != 'wildlands':
File "game/screens.rpy", line 9486, in execute
for dprov in duchiesinfo[province][1]:
File "game/screens.rpy", line 9488, in execute
if worldinfo[dprov][7] != worldinfo[dprov][6]:
File "game/screens.rpy", line 9490, in execute
$lol = worldinfo[province][31]
File "game/screens.rpy", line 9490, in <module>
$lol = worldinfo[province][31]
File "renpy/python.py", line 992, in __getitem__
rv = list.__getitem__(self, index)
TypeError: list indices must be integers, not unicode
Windows-10-10.0.19041
Ren'Py 7.4.11.2266
Kingmaker 0.12 0.12
Fri Feb 3 00:04:25 2023