3DRComics, I will elaborate below in spoilers to minimize "wall of text" and for those who could care less.
.......
Thank you for this, I will look into the variable definitions as a lot of what you pointed out does help and does make sense.
But when it comes to the 6 different scripts...
If you look in the code originally it was 1 script to handle all routes, all that still exists to keep saves from breaking because the diverged script was created day 4.
doing it that way started to become an issue for me because I would end up with stacks like
if friend, if male, if corruption, if this, if that. etc.
and people who have been playing since the beginning will remember, I missed things.
Female mc turning into male and growing a penis, lol, things like that.
Not saying this way is full proof, or the best way. But other then a miss spelled label, missing the 'music/' part of the music tags.. ffs. and a few him's in female route. this update was smoother then previous updates when it comes to cross sex glitches.
That was the main reason.
And you did point out, its mostly the same.. well yeah. for now.. but It won't be, and that's another reason I separated the scripts.
The female route is taking on a different path entirely in day 5, and the relations will start to pick up more and more differences as well.
so yes, atm, a lot of redundant text,
but removing sex and relation out of the if stacks. has made it easier to work back down the stacks to change things because either way, as this story progress each day would eventually have to start with a stack of ifs to separate out sex and relationship anyways. now I only have to worry about your previous choices and current route with the characters.
so yes, as day 4 may not need 40,000 lines of code, but as the story progress, day 8 for example would need it regardless.
if you have any other thoughts on how to handle what is to become 6 different stories (Same story, Different paths to end), let me know.
and I know some people may wonder, If 6 different stories is the goal, why not start off that way.
well when I started, I was rendering on 4 GTX cards (980, 1070 , 1070 ti, 1080 ti) so it took awhile to render. Now I am on RTX 4090, 2 RTX 3070's and a 3060. so rendering much faster now, so its easier for me to render these differences.
I stated before that my goals for this game were beyond what I could do at the time I started this game, when I started, wasn't sure if their was interest, and thanks to the interest it has received, I am able to upgrade so I can do these things, and will continue to upgrade, and add the things I want for this.