While parsing C:\Program Files (x86)\Steam\steamapps\common\LongLiveTheQueen/game/newgame.rpy.Exception: game/newgame.rpy contains a tab character on line 250. Tab characters are not allowed in Ren'Py scripts.

epilogue = reversed(renpy.game.script.lookup('epilogue').get_children()) for statement in epilogue: if isinstance(statement, renpy.ast.With): if not isinstance(statement.next, renpy.ast.Call): raise Exception('Something went wrong finding the call to the end game menu') break else: raise Exception('Unable to find the call to the end game menu') my_epilogue_ending = renpy.game.script.lookup('mod_newgameplus_epilogue_ending').get_children()[0]

# Some proper code injection in the epilogue because it's one big label. statement.chain(my_epilogue_ending) except Exception, e: raise Exception('Exception "%s" while trying to apply mod "newgameplus".\nPlease delete the files newgameplus.rpy and newgameplus.rpyc from your game directory to get rid of this error.' % (e, ))

# Just saving the Lumen skills in some flags for now. # They will be reset to 0 and restored once the crystal is unlocked. # Otherwise we might be passing lumen skill checks without being a Lumen. Oops. flags['mod_newgameplus_sense_magic'] = sense_magic_ * mod_newgameplus flags['mod_newgameplus_resist_magic'] = resist_magic_ * mod_newgameplus flags['mod_newgameplus_wield_magic'] = wield_magic_ * mod_newgameplus

# Changing a lot of stuff here, so let's just make a new one for displaying this screen.label mod_newgameplus_epilogue_save_log: # Show our own end screen with the New Game Plus option on it instead. hide screen end_menu_screen show screen mod_end_menu_screen # show screen mod_newgameplus_epilogue_menu show epilogue_menu_hider onlayer screens: pos (483,420) on hide: linear 0.6 alpha 0.0 hide epilogue_menu_hider onlayer screens pause # $ ret = ui.interact() # if ret=='' # jump end_menu_jump_to_title jump mod_newgameplus_epilogue_save_log