Bug fixes
* Added checkpoints to forbid the editor from rolling back to menu context * Added forced checkpoint for when the editor is being opened to avoid rolling back to before it was opened (by opening a console for example) * Alleviated the issue for when the game tries to recover from the place it cannot stop rolling back, but version var is unavailable because of it being not initialized in that moment
This commit is contained in:
parent
754d139f31
commit
cd485b2bac
@ -9,6 +9,8 @@ label summon_astoria:
|
|||||||
#call update_ast_tier
|
#call update_ast_tier
|
||||||
call update_astoria
|
call update_astoria
|
||||||
|
|
||||||
|
$ renpy.checkpoint(hard=True)
|
||||||
|
|
||||||
# Clothes Events
|
# Clothes Events
|
||||||
call astoria_summon_setup
|
call astoria_summon_setup
|
||||||
|
|
||||||
|
@ -10,6 +10,8 @@ label summon_cho:
|
|||||||
#call update_cho_tier
|
#call update_cho_tier
|
||||||
call update_cho
|
call update_cho
|
||||||
|
|
||||||
|
$ renpy.checkpoint(hard=True)
|
||||||
|
|
||||||
if has_cho_panties:
|
if has_cho_panties:
|
||||||
if cho_tier == 2:
|
if cho_tier == 2:
|
||||||
jump cho_panties_response_T2
|
jump cho_panties_response_T2
|
||||||
|
@ -12,6 +12,8 @@ label summon_hermione:
|
|||||||
call update_hermione
|
call update_hermione
|
||||||
call update_her_tier
|
call update_her_tier
|
||||||
|
|
||||||
|
$ renpy.checkpoint(hard=True)
|
||||||
|
|
||||||
# Clothes Events
|
# Clothes Events
|
||||||
call hermione_summon_setup
|
call hermione_summon_setup
|
||||||
|
|
||||||
|
@ -9,6 +9,8 @@ label summon_luna:
|
|||||||
call update_luna
|
call update_luna
|
||||||
call update_lun_tier
|
call update_lun_tier
|
||||||
|
|
||||||
|
$ renpy.checkpoint(hard=True)
|
||||||
|
|
||||||
call play_music("luna")
|
call play_music("luna")
|
||||||
call play_sound("door")
|
call play_sound("door")
|
||||||
call lun_chibi("stand","mid","base")
|
call lun_chibi("stand","mid","base")
|
||||||
|
@ -9,6 +9,8 @@ label summon_snape:
|
|||||||
call sna_chibi("stand","mid","base")
|
call sna_chibi("stand","mid","base")
|
||||||
with d3
|
with d3
|
||||||
|
|
||||||
|
$ renpy.checkpoint(hard=True)
|
||||||
|
|
||||||
sna "Yes, what is it?" ("snape_01",xpos="base",ypos="base", trans=d3)
|
sna "Yes, what is it?" ("snape_01",xpos="base",ypos="base", trans=d3)
|
||||||
|
|
||||||
label snape_ready:
|
label snape_ready:
|
||||||
|
@ -8,6 +8,8 @@ label summon_susan:
|
|||||||
|
|
||||||
call update_susan
|
call update_susan
|
||||||
|
|
||||||
|
$ renpy.checkpoint(hard=True)
|
||||||
|
|
||||||
call play_music("susan")
|
call play_music("susan")
|
||||||
call play_sound("door")
|
call play_sound("door")
|
||||||
|
|
||||||
|
@ -12,6 +12,8 @@ label summon_tonks:
|
|||||||
call play_music("tonks")
|
call play_music("tonks")
|
||||||
call play_sound("door")
|
call play_sound("door")
|
||||||
|
|
||||||
|
$ renpy.checkpoint(hard=True)
|
||||||
|
|
||||||
# Clothes Events
|
# Clothes Events
|
||||||
call tonks_summon_setup
|
call tonks_summon_setup
|
||||||
|
|
||||||
|
@ -424,6 +424,8 @@ init python:
|
|||||||
renpy.show_screen("editor")
|
renpy.show_screen("editor")
|
||||||
|
|
||||||
renpy.restart_interaction()
|
renpy.restart_interaction()
|
||||||
|
renpy.game.context().force_checkpoint = True
|
||||||
|
renpy.checkpoint(hard=True)
|
||||||
|
|
||||||
if config.developer:
|
if config.developer:
|
||||||
e = Editor()
|
e = Editor()
|
||||||
@ -444,8 +446,7 @@ screen editor():
|
|||||||
|
|
||||||
drag:
|
drag:
|
||||||
pos (50, 50)
|
pos (50, 50)
|
||||||
xminimum 500
|
maximum (500, 500)
|
||||||
xmaximum 500
|
|
||||||
xsize 500
|
xsize 500
|
||||||
|
|
||||||
frame:
|
frame:
|
||||||
|
@ -63,13 +63,8 @@ init python:
|
|||||||
return
|
return
|
||||||
|
|
||||||
latest = version_float()
|
latest = version_float()
|
||||||
|
# For unknown reasons, sometimes version is missing from the save, so we need a fallback
|
||||||
if not hasattr(renpy.store, "version"):
|
current = getattr(renpy.store, "version", latest)
|
||||||
if hasattr(renpy.store, "save_internal_version"):
|
|
||||||
raise Exception("Loaded save file is incompatible. (Save Version: {}, Game Version: {})".format(getattr(renpy.store, "save_internal_version")), latest)
|
|
||||||
raise Exception("Loaded save file is incompatible. (Save Version: Unknown, Game Version: {})".format(latest))
|
|
||||||
|
|
||||||
current = version
|
|
||||||
|
|
||||||
if current > latest:
|
if current > latest:
|
||||||
raise Exception("Loaded save file is incompatible. (Save Version: {}, Game Version: {})".format(current, latest))
|
raise Exception("Loaded save file is incompatible. (Save Version: {}, Game Version: {})".format(current, latest))
|
||||||
|
Loading…
Reference in New Issue
Block a user