"I'm sorry, but an uncaught exception occurred.
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.
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "C:\Program Files (x86)\Steam\steamapps\common\LongLiveTheQueen\renpy\bootstrap.py", line 274, in bootstrap
File "C:\Program Files (x86)\Steam\steamapps\common\LongLiveTheQueen\renpy\main.py", line 273, in main
File "C:\Program Files (x86)\Steam\steamapps\common\LongLiveTheQueen\renpy\script.py", line 173, in load_script
File "C:\Program Files (x86)\Steam\steamapps\common\LongLiveTheQueen\renpy\script.py", line 397, in load_appropriate_file
File "C:\Program Files (x86)\Steam\steamapps\common\LongLiveTheQueen\renpy\script.py", line 305, in load_file
File "C:\Program Files (x86)\Steam\steamapps\common\LongLiveTheQueen\renpy\script.py", line 245, in load_file_core
File "C:\Program Files (x86)\Steam\steamapps\common\LongLiveTheQueen\renpy\parser.py", line 1897, in parse
File "C:\Program Files (x86)\Steam\steamapps\common\LongLiveTheQueen\renpy\parser.py", line 208, in list_logical_lines
Exception: game/newgame.rpy contains a tab character on line 250. Tab characters are not allowed in Ren'Py scripts.
Windows-post2008Server-6.2.9200
Ren'Py 6.12.2.1531"
so thats the log i am dead
Mod: New Game Plus
-
- Posts: 1
- Joined: Thu Aug 11, 2016 2:47 am
Re: Mod: New Game Plus
Sounds like you copied a bit too much. Edit the text file? Make sure there are no tabs at the end. Also, spacing matters.
Oh, and I edited that script a while back for my own purposes, use at your own risk:

Oh, and I edited that script a while back for my own purposes, use at your own risk:
Code: Select all
# newgameplus
# Allows you to start over after winning the game and keeping 25% of your skills.
# Written for version 1.2.13
# WARNING: UNOFFICIAL AND BARELY TESTED, USE AT YOUR OWN RISK!
# WARNING: Modified by a complete noob, tested (a little) with version 1.3.17, original script by SET
# Allows keeping 100% skills, a certain percentage and 'capping' them at a set level
init 1:
python:
def mod_newgameplus_unlock_lumen_powers():
global lumen_unlocked
lumen_unlocked = True
global pre_lumen_meditation
pre_lumen_meditation = meditation_
checklist_unlock('lumen')
if mod_newgameplus:
global sense_magic_, resist_magic_, wield_magic_
sense_magic_ = flags.get('mod_newgameplus_sense_magic', 0)
resist_magic_ = flags.get('mod_newgameplus_resist_magic', 0)
wield_magic_ = flags.get('mod_newgameplus_wield_magic', 0)
if mod_newgameplus_statroof:
if sense_magic_ > mod_newgameplus_statroof:
sense_magic_ = mod_newgameplus_statroof
if resist_magic_ > mod_newgameplus_statroof:
resist_magic_ = mod_newgameplus_statroof
if wield_magic_ > mod_newgameplus_statroof:
wield_magic_ = mod_newgameplus_statroof
if sense_magic_ >= 25 and resist_magic_ >= 25 and wield_magic_ >= 25:
unlocked_outfits.add('Lumen')
update_adjusted_stats()
try:
mod_newgameplus = 0.25
mod_newgameplus_statroof = 100
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]
# Just hijack the entire function/label, it's easier that way.
unlock_lumen_powers = mod_newgameplus_unlock_lumen_powers
renpy.config.label_overrides['init_stats'] = 'mod_newgameplus_init_stats'
# 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, ))
label mod_newgameplus_init_stats:
python:
weeknum = 0
cruelty = 0
commoner_approval = 0
noble_approval = 0
lassi = 10000
unlocked_outfits = set()
readback_log_line = []
readback_log_data = []
unroller.last_save_caption = ''
if not persistent.game_successfully_started_in_gl:
if renpy.get_renderer_info()['renderer']=='gl':
persistent.game_successfully_started_in_gl = True
if mod_newgameplus:
composure_ *= mod_newgameplus
elegance_ *= mod_newgameplus
presence_ *= mod_newgameplus
public_speaking_ *= mod_newgameplus
court_manners_ *= mod_newgameplus
flattery_ *= mod_newgameplus
decoration_ *= mod_newgameplus
instrument_ *= mod_newgameplus
voice_skill_ *= mod_newgameplus
dance_ *= mod_newgameplus
reflexes_ *= mod_newgameplus
flexibility_ *= mod_newgameplus
swords_ *= mod_newgameplus
archery_ *= mod_newgameplus
polearms_ *= mod_newgameplus
running_ *= mod_newgameplus
climbing_ *= mod_newgameplus
swimming_ *= mod_newgameplus
horses_ *= mod_newgameplus
dogs_ *= mod_newgameplus
falcons_ *= mod_newgameplus
novan_history_ *= mod_newgameplus
foreign_affairs_ *= mod_newgameplus
world_history_ *= mod_newgameplus
internal_affairs_ *= mod_newgameplus
foreign_intelligence_ *= mod_newgameplus
ciphering_ *= mod_newgameplus
herbs_ *= mod_newgameplus
battlefield_medicine_ *= mod_newgameplus
poison_ *= mod_newgameplus
accounting_ *= mod_newgameplus
trade_ *= mod_newgameplus
production_ *= mod_newgameplus
strategy_ *= mod_newgameplus
naval_strategy_ *= mod_newgameplus
logistics_ *= mod_newgameplus
meditation_ *= mod_newgameplus
divination_ *= mod_newgameplus
lore_ *= mod_newgameplus
# 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
# Limit stats to a certain number
if mod_newgameplus_statroof != None:
if composure_ > mod_newgameplus_statroof:
composure_ = mod_newgameplus_statroof
if elegance_ > mod_newgameplus_statroof:
elegance_ = mod_newgameplus_statroof
if presence_ > mod_newgameplus_statroof:
presence_ = mod_newgameplus_statroof
if public_speaking_ > mod_newgameplus_statroof:
public_speaking_ = mod_newgameplus_statroof
if court_manners_ > mod_newgameplus_statroof:
court_manners_ = mod_newgameplus_statroof
if flattery_ > mod_newgameplus_statroof:
flattery_ = mod_newgameplus_statroof
if decoration_ > mod_newgameplus_statroof:
decoration_ = mod_newgameplus_statroof
if instrument_ > mod_newgameplus_statroof:
instrument_ = mod_newgameplus_statroof
if voice_skill_ > mod_newgameplus_statroof:
voice_skill_ = mod_newgameplus_statroof
if dance_ > mod_newgameplus_statroof:
dance_ = mod_newgameplus_statroof
if reflexes_ > mod_newgameplus_statroof:
reflexes_ = mod_newgameplus_statroof
if flexibility_ > mod_newgameplus_statroof:
flexibility_ = mod_newgameplus_statroof
if swords_ > mod_newgameplus_statroof:
swords_ = mod_newgameplus_statroof
if archery_ > mod_newgameplus_statroof:
archery_ = mod_newgameplus_statroof
if polearms_ > mod_newgameplus_statroof:
polearms_ = mod_newgameplus_statroof
if running_ > mod_newgameplus_statroof:
running_ = mod_newgameplus_statroof
if climbing_ > mod_newgameplus_statroof:
climbing_ = mod_newgameplus_statroof
if swimming_ > mod_newgameplus_statroof:
swimming_ = mod_newgameplus_statroof
if horses_ > mod_newgameplus_statroof:
horses_ = mod_newgameplus_statroof
if dogs_ > mod_newgameplus_statroof:
dogs_ = mod_newgameplus_statroof
if falcons_ > mod_newgameplus_statroof:
falcons_ = mod_newgameplus_statroof
if novan_history_ > mod_newgameplus_statroof:
novan_history_ = mod_newgameplus_statroof
if foreign_affairs_ > mod_newgameplus_statroof:
foreign_affairs_ = mod_newgameplus_statroof
if world_history_ > mod_newgameplus_statroof:
world_history_ = mod_newgameplus_statroof
if internal_affairs_ > mod_newgameplus_statroof:
internal_affairs_ = mod_newgameplus_statroof
if foreign_intelligence_ > mod_newgameplus_statroof:
foreign_intelligence_ = mod_newgameplus_statroof
if ciphering_ > mod_newgameplus_statroof:
ciphering_ = mod_newgameplus_statroof
if herbs_ > mod_newgameplus_statroof:
herbs_ = mod_newgameplus_statroof
if battlefield_medicine_ > mod_newgameplus_statroof:
battlefield_medicine_ = mod_newgameplus_statroof
if poison_ > mod_newgameplus_statroof:
poison_ = mod_newgameplus_statroof
if accounting_ > mod_newgameplus_statroof:
accounting_ = mod_newgameplus_statroof
if trade_ > mod_newgameplus_statroof:
trade_ = mod_newgameplus_statroof
if production_ > mod_newgameplus_statroof:
production_ = mod_newgameplus_statroof
if strategy_ > mod_newgameplus_statroof:
strategy_ = mod_newgameplus_statroof
if naval_strategy_ > mod_newgameplus_statroof:
naval_strategy_ = mod_newgameplus_statroof
if logistics_ > mod_newgameplus_statroof:
logistics_ = mod_newgameplus_statroof
if meditation_ > mod_newgameplus_statroof:
meditation_ = mod_newgameplus_statroof
if divination_ > mod_newgameplus_statroof:
divination_ = mod_newgameplus_statroof
if lore_ > mod_newgameplus_statroof:
lore_ = mod_newgameplus_statroof
# Outfits
if composure_ >= 25 and elegance_ >= 25 and presence_ >= 25:
unlocked_outfits.add('Royal Demeanor')
if public_speaking_ >= 25 and court_manners_ >= 25 and flattery_ >= 25:
unlocked_outfits.add('Conversation')
if decoration_ >= 25 and instrument_ >= 25 and voice_skill_ >= 25:
unlocked_outfits.add('Expression')
if dance_ >= 25 and reflexes_ >= 25 and flexibility_ >= 25:
unlocked_outfits.add('Agility')
if swords_ >= 25 and archery_ >= 25 and polearms_ >= 25:
unlocked_outfits.add('Weapons')
if running_ >= 25 and climbing_ >= 25 and swimming_ >= 25:
unlocked_outfits.add('Athletics')
if horses_ >= 25 and dogs_ >= 25 and falcons_ >= 25:
unlocked_outfits.add('Animal Handling')
if novan_history_ >= 25 and foreign_affairs_ >= 25 and world_history_ >= 25:
unlocked_outfits.add('History')
if internal_affairs_ >= 25 and foreign_intelligence_ >= 25 and ciphering_ >= 25:
unlocked_outfits.add('Intrigue')
if herbs_ >= 25 and battlefield_medicine_ >= 25 and poison_ >= 25:
unlocked_outfits.add('Medicine')
if accounting_ >= 25 and trade_ >= 25 and production_ >= 25:
unlocked_outfits.add('Economics')
if strategy_ >= 25 and naval_strategy_ >= 25 and logistics_ >= 25:
unlocked_outfits.add('Military')
if meditation_ >= 25 and divination_ >= 25 and lore_ >= 25:
unlocked_outfits.add('Faith')
else:
composure_ = elegance_ = presence_ = 0
public_speaking_ = court_manners_ = flattery_ = 0
decoration_ = instrument_ = voice_skill_ = 0
dance_ = reflexes_ = flexibility_ = 0
swords_ = archery_ = polearms_ = 0
running_ = climbing_ = swimming_ = 0
horses_ = dogs_ = falcons_ = 0
novan_history_ = foreign_affairs_ = world_history_ = 0
internal_affairs_ = foreign_intelligence_ = ciphering_ = 0
herbs_ = battlefield_medicine_ = poison_ = 0
accounting_ = trade_ = production_ = 0
strategy_ = naval_strategy_ = logistics_ = 0
meditation_ = divination_ = lore_ = 0
sense_magic_ = resist_magic_ = wield_magic_ = 0
update_adjusted_stats()
update_bonuses()
return
# Reinitialize some variables that the game itself only assigns in init blocks, which will *not* be executed again.
label mod_newgameplus_restart:
hide screen credits
python:
# Fraction of skill points we're allowed to keep.
if mod_newgameplus is None:
mod_newgameplus = 0.25
if mod_newgameplus_statroof is None:
mod_newgameplus_statroof = 100
# Otherwise Lumen skills might be preselected, allowing the study of Lumen skills before the crystal was unlocked.
current_morning_activity_group = current_evening_activity_group = None
current_morning_activity = current_evening_activity = None
# Because apparently Novan queens have to strip during coronation?
current_outfit = 'boarding_school'
# Locking Lumen powers again, skills will be returned on unlock.
mentor = 'ursul'
lumen_unlocked = False
jump start
screen mod_end_menu_screen:
vbox pos (693, 552) anchor (0.5, 1.0) spacing 5:
textbutton _('Title Screen') xminimum 500 xmaximum 500:
action Jump('end_menu_jump_to_title')
textbutton _('Show Log') xminimum 500 xmaximum 500:
action Jump('save_story')
textbutton _('Load Game') xminimum 500 xmaximum 500:
action ShowMenu('load')
textbutton _('New Game Plus') xminimum 500 xmaximum 500:
action Jump('mod_ngp_screen')
textbutton _('Quit') xminimum 500 xmaximum 500:
action Quit(confirm=False)
# Haven't figured out yet how to modify existing screens, so here's the whole thing.
screen mod_newgameplus_epilogue_menu:
modal False
vbox:
yanchor 1.0
xpos 693
xanchor 0.5
ypos 552
spacing 5
textbutton "Stat Percentage":
action Jump('mod_newgameplus_statmult_menu')
xminimum 400
xmaximum 400
textbutton "Stat Roof":
action Jump('mod_newgameplus_statroof_menu')
xminimum 400
xmaximum 400
textbutton "Drop Selective Stats":
action Jump('mod_dropstat')
xminimum 400
xmaximum 400
textbutton "Start New Game Plus":
action Jump('mod_ngp')
xminimum 400
xmaximum 400
textbutton "Back":
action Jump('mod_cancel_ngp')
xminimum 400
xmaximum 400
screen mod_newgameplus_ability_drop_menu:
modal False
vbox:
yanchor 0
xpos 500
xanchor 0.5
ypos 50
textbutton ('Royal Demeaonor'):
action Jump('mod_drop_royal_demeanor')
style style.menu_choice_button
xminimum 200
xmaximum 400
null:
height 2
textbutton ('Conversation'):
action Jump('mod_drop_conversation')
style style.menu_choice_button
xminimum 200
xmaximum 400
null:
height 2
textbutton ('Expression'):
action Jump('mod_drop_expression')
style style.menu_choice_button
xminimum 200
xmaximum 400
null:
height 2
textbutton ('Agility'):
action Jump('mod_drop_agility')
style style.menu_choice_button
xminimum 200
xmaximum 400
null:
height 2
textbutton ('Weapons'):
action Jump('mod_drop_weapons')
style style.menu_choice_button
xminimum 200
xmaximum 400
null:
height 2
textbutton ('Athletics'):
action Jump('mod_drop_athletics')
style style.menu_choice_button
xminimum 200
xmaximum 400
null:
height 2
textbutton ('Animal Handling'):
action Jump('mod_drop_animal_handling')
style style.menu_choice_button
xminimum 200
xmaximum 400
null:
height 2
vbox:
yanchor 0
xpos 800
xanchor 0.5
ypos 50
textbutton ('History'):
action Jump('mod_drop_history')
style style.menu_choice_button
xminimum 200
xmaximum 400
null:
height 2
textbutton ('Intrigue'):
action Jump('mod_drop_intrigue')
style style.menu_choice_button
xminimum 200
xmaximum 400
null:
height 2
textbutton ('Medicine'):
action Jump('mod_drop_medicine')
style style.menu_choice_button
xminimum 200
xmaximum 400
null:
height 2
textbutton ('Economics'):
action Jump('mod_drop_Economics')
style style.menu_choice_button
xminimum 200
xmaximum 400
null:
height 2
textbutton ('Military'):
action Jump('mod_drop_military')
style style.menu_choice_button
xminimum 200
xmaximum 400
null:
height 2
textbutton ('Faith'):
action Jump('mod_drop_faith')
style style.menu_choice_button
xminimum 200
xmaximum 400
null:
height 2
textbutton ('Lumen'):
action Jump('mod_drop_lumen')
style style.menu_choice_button
xminimum 200
xmaximum 400
vbox:
yanchor 0
xpos 650
xanchor 0.5
ypos 0
textbutton 'Done':
action Jump('mod_dropstat_done')
style style.menu_choice_button
xminimum 200
xmaximum 400
screen mod_newgameplus_statroof_menu:
modal False
vbox:
yanchor 0
xpos 500
xanchor 0.5
ypos 50
textbutton ('5'):
action [SetVariable("mod_newgameplus_statroof",5), Jump('mod_newgameplus_statroof_set')]
style style.menu_choice_button
xminimum 200
xmaximum 400
null:
height 2
textbutton ('15'):
action [SetVariable("mod_newgameplus_statroof",15), Jump('mod_newgameplus_statroof_set')]
style style.menu_choice_button
xminimum 200
xmaximum 400
null:
height 2
textbutton ('25'):
action [SetVariable("mod_newgameplus_statroof",25), Jump('mod_newgameplus_statroof_set')]
style style.menu_choice_button
xminimum 200
xmaximum 400
null:
height 2
textbutton ('35'):
action [SetVariable("mod_newgameplus_statroof",35), Jump('mod_newgameplus_statroof_set')]
style style.menu_choice_button
xminimum 200
xmaximum 400
null:
height 2
textbutton ('45'):
action [SetVariable("mod_newgameplus_statroof",45), Jump('mod_newgameplus_statroof_set')]
style style.menu_choice_button
xminimum 200
xmaximum 400
null:
height 2
textbutton ('55'):
action [SetVariable("mod_newgameplus_statroof",55), Jump('mod_newgameplus_statroof_set')]
style style.menu_choice_button
xminimum 200
xmaximum 400
null:
height 2
textbutton ('65'):
action [SetVariable("mod_newgameplus_statroof",65), Jump('mod_newgameplus_statroof_set')]
style style.menu_choice_button
xminimum 200
xmaximum 400
null:
height 2
textbutton ('75'):
action [SetVariable("mod_newgameplus_statroof",75), Jump('mod_newgameplus_statroof_set')]
style style.menu_choice_button
xminimum 200
xmaximum 400
null:
height 2
textbutton ('85'):
action [SetVariable("mod_newgameplus_statroof",85), Jump('mod_newgameplus_statroof_set')]
style style.menu_choice_button
xminimum 200
xmaximum 400
null:
height 2
textbutton ('95'):
action [SetVariable("mod_newgameplus_statroof",95), Jump('mod_newgameplus_statroof_set')]
style style.menu_choice_button
xminimum 200
xmaximum 400
null:
height 2
vbox:
yanchor 0
xpos 800
xanchor 0.5
ypos 50
textbutton ('10'):
action [SetVariable("mod_newgameplus_statroof",10), Jump('mod_newgameplus_statroof_set')]
style style.menu_choice_button
xminimum 200
xmaximum 400
null:
height 2
textbutton ('20'):
action [SetVariable("mod_newgameplus_statroof",20), Jump('mod_newgameplus_statroof_set')]
style style.menu_choice_button
xminimum 200
xmaximum 400
null:
height 2
textbutton ('30'):
action [SetVariable("mod_newgameplus_statroof",30), Jump('mod_newgameplus_statroof_set')]
style style.menu_choice_button
xminimum 200
xmaximum 400
null:
height 2
textbutton ('40'):
action [SetVariable("mod_newgameplus_statroof",40), Jump('mod_newgameplus_statroof_set')]
style style.menu_choice_button
xminimum 200
xmaximum 400
null:
height 2
textbutton ('50'):
action [SetVariable("mod_newgameplus_statroof",50), Jump('mod_newgameplus_statroof_set')]
style style.menu_choice_button
xminimum 200
xmaximum 400
null:
height 2
textbutton ('60'):
action [SetVariable("mod_newgameplus_statroof",60), Jump('mod_newgameplus_statroof_set')]
style style.menu_choice_button
xminimum 200
xmaximum 400
null:
height 2
textbutton ('70'):
action [SetVariable("mod_newgameplus_statroof",70), Jump('mod_newgameplus_statroof_set')]
style style.menu_choice_button
xminimum 200
xmaximum 400
null:
height 2
textbutton ('80'):
action [SetVariable("mod_newgameplus_statroof",80), Jump('mod_newgameplus_statroof_set')]
style style.menu_choice_button
xminimum 200
xmaximum 400
null:
height 2
textbutton ('90'):
action [SetVariable("mod_newgameplus_statroof",90), Jump('mod_newgameplus_statroof_set')]
style style.menu_choice_button
xminimum 200
xmaximum 400
null:
height 2
textbutton ('100'):
action [SetVariable("mod_newgameplus_statroof",100), Jump('mod_newgameplus_statroof_set')]
style style.menu_choice_button
xminimum 200
xmaximum 400
vbox:
yanchor 0
xpos 650
xanchor 0.5
ypos 0
textbutton 'Done':
action Jump('mod_newgameplus_statroof_set')
style style.menu_choice_button
xminimum 200
xmaximum 400
screen mod_newgameplus_statmult_menu:
modal False
vbox:
yanchor 0
xpos 500
xanchor 0.5
ypos 50
textbutton ('5 %'):
action [SetVariable("mod_newgameplus",0.05), Jump('mod_newgameplus_statmult_set')]
style style.menu_choice_button
xminimum 200
xmaximum 400
null:
height 2
textbutton ('15 %'):
action [SetVariable("mod_newgameplus",0.15), Jump('mod_newgameplus_statmult_set')]
style style.menu_choice_button
xminimum 200
xmaximum 400
null:
height 2
textbutton ('25 %'):
action [SetVariable("mod_newgameplus",0.25), Jump('mod_newgameplus_statmult_set')]
style style.menu_choice_button
xminimum 200
xmaximum 400
null:
height 2
textbutton ('35 %'):
action [SetVariable("mod_newgameplus",0.35), Jump('mod_newgameplus_statmult_set')]
style style.menu_choice_button
xminimum 200
xmaximum 400
null:
height 2
textbutton ('45 %'):
action [SetVariable("mod_newgameplus",0.45), Jump('mod_newgameplus_statmult_set')]
style style.menu_choice_button
xminimum 200
xmaximum 400
null:
height 2
textbutton ('55 %'):
action [SetVariable("mod_newgameplus",0.55), Jump('mod_newgameplus_statmult_set')]
style style.menu_choice_button
xminimum 200
xmaximum 400
null:
height 2
textbutton ('65 %'):
action [SetVariable("mod_newgameplus",0.65), Jump('mod_newgameplus_statmult_set')]
style style.menu_choice_button
xminimum 200
xmaximum 400
null:
height 2
textbutton ('75 %'):
action [SetVariable("mod_newgameplus",0.75), Jump('mod_newgameplus_statmult_set')]
style style.menu_choice_button
xminimum 200
xmaximum 400
null:
height 2
textbutton ('85 %'):
action [SetVariable("mod_newgameplus",0.85), Jump('mod_newgameplus_statmult_set')]
style style.menu_choice_button
xminimum 200
xmaximum 400
null:
height 2
textbutton ('95 %'):
action [SetVariable("mod_newgameplus",0.95), Jump('mod_newgameplus_statmult_set')]
style style.menu_choice_button
xminimum 200
xmaximum 400
null:
height 2
vbox:
yanchor 0
xpos 800
xanchor 0.5
ypos 50
textbutton ('10 %'):
action [SetVariable("mod_newgameplus",0.1), Jump('mod_newgameplus_statmult_set')]
style style.menu_choice_button
xminimum 200
xmaximum 400
null:
height 2
textbutton ('20 %'):
action [SetVariable("mod_newgameplus",0.2), Jump('mod_newgameplus_statmult_set')]
style style.menu_choice_button
xminimum 200
xmaximum 400
null:
height 2
textbutton ('30 %'):
action [SetVariable("mod_newgameplus",0.3), Jump('mod_newgameplus_statmult_set')]
style style.menu_choice_button
xminimum 200
xmaximum 400
null:
height 2
textbutton ('40 %'):
action [SetVariable("mod_newgameplus",0.4), Jump('mod_newgameplus_statmult_set')]
style style.menu_choice_button
xminimum 200
xmaximum 400
null:
height 2
textbutton ('50 %'):
action [SetVariable("mod_newgameplus",0.5), Jump('mod_newgameplus_statmult_set')]
style style.menu_choice_button
xminimum 200
xmaximum 400
null:
height 2
textbutton ('60 %'):
action [SetVariable("mod_newgameplus",0.6), Jump('mod_newgameplus_statmult_set')]
style style.menu_choice_button
xminimum 200
xmaximum 400
null:
height 2
textbutton ('70 %'):
action [SetVariable("mod_newgameplus",0.7), Jump('mod_newgameplus_statmult_set')]
style style.menu_choice_button
xminimum 200
xmaximum 400
null:
height 2
textbutton ('80 %'):
action [SetVariable("mod_newgameplus",0.8), Jump('mod_newgameplus_statmult_set')]
style style.menu_choice_button
xminimum 200
xmaximum 400
null:
height 2
textbutton ('90 %'):
action [SetVariable("mod_newgameplus",0.9), Jump('mod_newgameplus_statmult_set')]
style style.menu_choice_button
xminimum 200
xmaximum 400
null:
height 2
textbutton ('100 %'):
action [SetVariable("mod_newgameplus",1.0), Jump('mod_newgameplus_statmult_set')]
style style.menu_choice_button
xminimum 200
xmaximum 400
vbox:
yanchor 0
xpos 650
xanchor 0.5
ypos 0
textbutton 'Done':
action Jump('mod_newgameplus_statmult_set')
style style.menu_choice_button
xminimum 200
xmaximum 400
# 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
label mod_cancel_ngp:
hide screen mod_newgameplus_epilogue_menu
show screen mod_end_menu_screen
pause
python:
config.end_game_transition = ImageDissolve('heartytransition.png',2.0)
renpy.full_restart()
label mod_save:
python:
if readback_log_line:
readback_log_newline()
log_written = save_log(filename='victory.html')
if log_written:
python:
log_file_name = renpy.config.savedir+'/victory.html'
open_log(filename=log_file_name)
log_file_name = log_file_name.decode('utf-8')
"Log saved to %(log_file_name)s\nStarting browser."
else:
"An error occurred saving the log.\n%(log_write_error)s"
jump mod_newgameplus_epilogue_save_log
label mod_ngp_screen:
hide screen mod_end_menu_screen
show screen mod_newgameplus_epilogue_menu
pause
jump mod_ngp_screen
label mod_ngp:
hide screen mod_newgameplus_epilogue_menu
# jump end_menu_jump_to_title
jump mod_newgameplus_restart
return
label mod_newgameplus_statroof_menu:
hide screen mod_newgameplus_epilogue_menu
show screen mod_newgameplus_statroof_menu
pause
label mod_newgameplus_statmult_menu:
hide screen mod_newgameplus_epilogue_menu
show screen mod_newgameplus_statmult_menu
pause
label mod_newgameplus_statroof_set:
hide screen mod_newgameplus_statroof_menu
show screen mod_newgameplus_epilogue_menu
pause
label mod_newgameplus_statmult_set:
hide screen mod_newgameplus_statmult_menu
show screen mod_newgameplus_epilogue_menu
pause
label mod_dropstat:
hide screen mod_newgameplus_epilogue_menu
show screen mod_newgameplus_ability_drop_menu
pause
label mod_drop_royal_demeanor:
hide screen mod_newgameplus_ability_drop_menu
show screen mod_newgameplus_ability_drop_menu
$ composure_ = 0
$ elegance_ = 0
$ presence_ = 0
pause
label mod_drop_conversation:
hide screen mod_newgameplus_ability_drop_menu
show screen mod_newgameplus_ability_drop_menu
$ public_speaking_ = 0
$ court_manners_ = 0
$ flattery_ = 0
pause
label mod_drop_expression:
hide screen mod_newgameplus_ability_drop_menu
show screen mod_newgameplus_ability_drop_menu
$ decoration_ = 0
$ instrument_ = 0
$ voice_skill_ = 0
pause
label mod_drop_agility:
hide screen mod_newgameplus_ability_drop_menu
show screen mod_newgameplus_ability_drop_menu
$ dance_ = 0
$ reflexes_ = 0
$ flexibility_ = 0
pause
label mod_drop_weapons:
hide screen mod_newgameplus_ability_drop_menu
show screen mod_newgameplus_ability_drop_menu
$ swords_ = 0
$ archery_ = 0
$ polearms_ = 0
pause
label mod_drop_athletics:
hide screen mod_newgameplus_ability_drop_menu
show screen mod_newgameplus_ability_drop_menu
$ running_ = 0
$ climbing_ = 0
$ swimming_ = 0
pause
label mod_drop_animal_handling:
hide screen mod_newgameplus_ability_drop_menu
show screen mod_newgameplus_ability_drop_menu
$ horses_ = 0
$ dogs_ = 0
$ falcons_ = 0
pause
label mod_drop_history:
hide screen mod_newgameplus_ability_drop_menu
show screen mod_newgameplus_ability_drop_menu
$ novan_history_ = 0
$ foreign_affairs_ = 0
$ world_history_ = 0
pause
label mod_drop_intrigue:
hide screen mod_newgameplus_ability_drop_menu
show screen mod_newgameplus_ability_drop_menu
$ internal_affairs_ = 0
$ foreign_intelligence_ = 0
$ ciphering_ = 0
pause
label mod_drop_medicine:
hide screen mod_newgameplus_ability_drop_menu
show screen mod_newgameplus_ability_drop_menu
$ herbs_ = 0
$ battlefield_medicine_ = 0
$ poison_ = 0
pause
label mod_drop_economics:
hide screen mod_newgameplus_ability_drop_menu
show screen mod_newgameplus_ability_drop_menu
$ accounting_ = 0
$ trade_ = 0
$ production_ = 0
pause
label mod_drop_military:
hide screen mod_newgameplus_ability_drop_menu
show screen mod_newgameplus_ability_drop_menu
$ strategy_ = 0
$ naval_strategy_ = 0
$ logistics_ = 0
pause
label mod_drop_faith:
hide screen mod_newgameplus_ability_drop_menu
show screen mod_newgameplus_ability_drop_menu
$ meditation_ = 0
$ divination_ = 0
$ lore_ = 0
pause
label mod_drop_lumen:
hide screen mod_newgameplus_ability_drop_menu
show screen mod_newgameplus_ability_drop_menu
$ sense_magic_ = 0
$ resist_magic_ = 0
$ wield_magic_ = 0
pause
label mod_dropstat_done:
hide screen mod_newgameplus_ability_drop_menu
show screen mod_newgameplus_epilogue_menu
pause
label mod_newgameplus_epilogue_ending:
call mod_newgameplus_epilogue_save_log
# The call will only return if New Game Plus was selected, otherwise it restarts RenPy.
# jump mod_newgameplus_restart
