Closed Zer0xFF closed 4 years ago
right now, if you want to start a new story, you have to start with a new AiDungeon object, else the iterator will be set high, causing indexing error, simply reseting it ever time a story is started can fix that.
AiDungeon
OK!
But we should keep something like:
self.prompt_iteration = None
In the constructor (AiDungeon.__init__()).
AiDungeon.__init__()
right now, if you want to start a new story, you have to start with a new
AiDungeon
object, else the iterator will be set high, causing indexing error, simply reseting it ever time a story is started can fix that.