# Use this unlock script at your own risk.
# https://f95zone.to/threads/.65957/post-10656261
# Start the deal with the devil
init 666 python:
# Persistent update function
def cGU_Set_Persistent(PersistentAttr, NewValue):
if getattr(persistent, PersistentAttr) != NewValue:
print('[GalleryUnlocker] Set persistent.' + PersistentAttr + ' = ' + str(NewValue) + ' (Old value: ' + str(getattr(persistent, PersistentAttr)) + ')')
setattr(persistent, PersistentAttr, NewValue)
for PersistentAttr in dir(persistent):
for item in ['gallery_', 'lewd_', 'extra_', 'bg_']:
if PersistentAttr.startswith(item):
cGU_Set_Persistent(PersistentAttr, True)
# Make sure the replay scenes are clickable
for label in renpy.get_all_labels():
renpy.game.persistent._seen_ever[label] = True
renpy.game.seen_session[label] = True