Do you have a discord? Do you know any Renpy game with gallery implementation as you suggest so I could check the code? If somebody who doesnt play NTR turns on the game without variables set and goes to gallery based on persistent variables how I can ensure he doesnt go to NTR parts and diallogues?
Thanks for the game and for having a gallery in the first place. It is interesting so many renpy games here don't even have it. More reasons for modders I guess
As for examples, a couple of games come to mind:
A Life Worth Living
One Day at a Time
Developer
BadMustard also shared sample replay code on their itch.io page which I studied and built on for my own gallery mods. Note that most of the code is really setting up the actual gallery screens. In this game's case the work is already 99% done, for the actual replay just need to replace:
Code:
action [Hide("Gallery1"),Jump("Scene1")]
with something like:
Code:
action [Replay("MCThoughts")]
and in the script, for each replayable section, at the end add:
This will bring it back to the gallery. Using the replay function should also allow the player to end it in the middle at their leisure.
For things like NTROFF variable, the replay function allows variables to be passed using the scope feature.
In truth, prior to my original post, I already made a mod for such a gallery. Therefore changing it to replays can be done. It was relatively straightforward to match the scenes in the existing gallery due to the generous labels. Additional labels can be added for an exact match to the current gallery.