Put it in game/scripts/story/chap3/ and overwrite.
Also, if you input "skeletonkey" as your name it unlocks the gallery.
I'm very sorry about this, last minute additions and lack of testing broke the game; we'll be uploading a proper release shortly.
Just a headsup, the cheat script is messed up. You have "skeletonkey" defined when it should be ch_unlock_gallery and ch_lock_gallery. This should fix it.
init python:
#
## These are cheats.
#
def ch_apply( cheat ):
if cheat == "skeletonkey":
ch_unlock_gallery()
return;
elif cheat == "lockmeup":
ch_lock_gallery()
return;
return;
def ch_unlock_gallery():
# unlocks gallery
global gallery_size
for i in range( gallery_size ):
if not persistent.gallery_unlocked[ i ]:
persistent.gallery_unlocked[ i ] = True
renpy.notify( "All gallery items unlocked!" )
return;
def ch_lock_gallery():
# locks gallery
global gallery_size
for i in range( gallery_size ):
persistent.gallery_unlocked[ i ] = False
renpy.notify( "All gallery items locked!" )
return;