Just to comment...
I changed this:
To reset the text in "stages" too.
The system works perfectly... but I'm having problems with the after_load because it adds extra "stages" to my existing ones, that's why I've reviewed the "reset", so at least I can start from scratch and add the necessary quests at each stage and adjust it to its correct progress.
(Starting the game from the beginning everything is fine, the problem is that if the after_load is not correct, when the game is saved and reloaded, everything is broken)
I changed this:
Code:
def reset( self ):
self._actualStage = 0
self._stages = [] ### Line added
self._iterationsLeft = []
for s in self._stages:
self._iterationsLeft.append( s[1] )
The system works perfectly... but I'm having problems with the after_load because it adds extra "stages" to my existing ones, that's why I've reviewed the "reset", so at least I can start from scratch and add the necessary quests at each stage and adjust it to its correct progress.
(Starting the game from the beginning everything is fine, the problem is that if the after_load is not correct, when the game is saved and reloaded, everything is broken)