This is an error that pops up before the game fully initialises and it seems to do so out of order.
The relevant files are script.rpy, storylines_init.rpy and out_the_door.rpy
The relevant code from script.rpy :
Code: Select all
call storylines_init
jump day_loop
Code: Select all
label storylines_init:
init python:
class Storyline(object):
def __init__(self, name="Storyline_name_undefined"):
self.name = name
Leavehouse = Storyline("Leavehouse")
Leavehouse.tries = 0
Leavehouse.today = 0
Code: Select all
label out_the_door:
init python:
#test insert place
iloop = Leavehouse.tries
When I add the code of storylines_init at #test insert place it starts up fine. What am I missing here?