Mod Ren'Py Office Perks [v0.1.5] Walkthrough Mod [MurrayMods]

JenMistress

Engaged Member
Oct 1, 2019
2,981
3,518
That face of the MC in those text messages still crack me up, mostly because of the goofy expression he has on his face. :LOL::ROFLMAO: But anyways, got caught up with the Dev, and your mod worked great for me once again. Thank you once again so very much for your work on this!!!
 
  • Heart
Reactions: MurrayMods

Quetzzz

Active Member
Sep 29, 2023
578
876
Looks like there's a bug on day 12 with the party.
I ended up taking Haley home, while I had 0 points with her. Comparing to the original code, there's been some changes there.

Code:
# original:

#count num of interests to determine if gets menu, auto-skips to one-girl route, or goes home alone
    if jenny.int >= jenny.maxInt-int_forgiveness and jenny.rel >= jenny.maxRel-rel_forgiveness:
        $ numOfChoices += 1
        $ singleChoice = "jenny"
    if nikki.int >= nikki.maxInt-int_forgiveness and nikki.rel >= nikki.maxRel-rel_forgiveness:
        $ numOfChoices += 1
        $ singleChoice = "nikki"
    if grace.int >= grace.maxInt-int_forgiveness and grace.rel >= grace.maxRel-rel_forgiveness:
        $ numOfChoices += 1
        $ singleChoice = "grace"
    
    if maria.int >= maria.maxInt-int_forgiveness and maria.rel >= maria.maxRel-rel_forgiveness:
        $ numOfChoices += 1
        $ singleChoice = "maria"
    #must have MAX interest and relationship for Haley
    if haley.int >= haley.maxInt and haley.rel >= haley.maxRel:
        $ numOfChoices += 1
        $ singleChoice = "haley"
    if eva.int >= eva.maxInt-int_forgiveness and eva.rel >= eva.maxRel-rel_forgiveness:
        $ numOfChoices += 1
        $ singleChoice = "eva"
Code:
# modded:

    #count num of interests to determine if gets menu, auto-skips to one-girl route, or goes home alone
    if jenny.int >= (jenny.maxInt - int_forgiveness) and jenny.rel >= (jenny.maxRel - rel_forgiveness):
        $ numOfChoices += 1
        $ singleChoice = "jenny"
    if nikki.int >= (nikki.maxInt - int_forgiveness) and nikki.rel >= (nikki.maxRel - rel_forgiveness):
        $ numOfChoices += 1
        $ singleChoice = "nikki"
    if grace.int >= (grace.maxInt - int_forgiveness) and grace.rel >= (grace.maxRel - rel_forgiveness):
        $ numOfChoices += 1
        $ singleChoice = "grace"
    
    if maria.int >= (maria.maxInt - int_forgiveness) and maria.rel >= (maria.maxRel - rel_forgiveness):
        $ numOfChoices += 1
        $ singleChoice = "maria"
    if haley.int >= (haley.maxInt - int_forgiveness) and haley.rel >= (haley.maxRel - rel_forgiveness):
        $ numOfChoices += 1
        $ singleChoice = "haley"
    if eva.int >= (eva.maxInt - int_forgiveness) and eva.rel >= (eva.maxRel - rel_forgiveness):
        $ numOfChoices += 1
        $ singleChoice = "eva"
 

MurrayMods

Member
Modder
Nov 28, 2022
423
4,883
Looks like there's a bug on day 12 with the party.
I ended up taking Haley home, while I had 0 points with her. Comparing to the original code, there's been some changes there.

Code:
# original:

#count num of interests to determine if gets menu, auto-skips to one-girl route, or goes home alone
    if jenny.int >= jenny.maxInt-int_forgiveness and jenny.rel >= jenny.maxRel-rel_forgiveness:
        $ numOfChoices += 1
        $ singleChoice = "jenny"
    if nikki.int >= nikki.maxInt-int_forgiveness and nikki.rel >= nikki.maxRel-rel_forgiveness:
        $ numOfChoices += 1
        $ singleChoice = "nikki"
    if grace.int >= grace.maxInt-int_forgiveness and grace.rel >= grace.maxRel-rel_forgiveness:
        $ numOfChoices += 1
        $ singleChoice = "grace"
   
    if maria.int >= maria.maxInt-int_forgiveness and maria.rel >= maria.maxRel-rel_forgiveness:
        $ numOfChoices += 1
        $ singleChoice = "maria"
    #must have MAX interest and relationship for Haley
    if haley.int >= haley.maxInt and haley.rel >= haley.maxRel:
        $ numOfChoices += 1
        $ singleChoice = "haley"
    if eva.int >= eva.maxInt-int_forgiveness and eva.rel >= eva.maxRel-rel_forgiveness:
        $ numOfChoices += 1
        $ singleChoice = "eva"
Code:
# modded:

    #count num of interests to determine if gets menu, auto-skips to one-girl route, or goes home alone
    if jenny.int >= (jenny.maxInt - int_forgiveness) and jenny.rel >= (jenny.maxRel - rel_forgiveness):
        $ numOfChoices += 1
        $ singleChoice = "jenny"
    if nikki.int >= (nikki.maxInt - int_forgiveness) and nikki.rel >= (nikki.maxRel - rel_forgiveness):
        $ numOfChoices += 1
        $ singleChoice = "nikki"
    if grace.int >= (grace.maxInt - int_forgiveness) and grace.rel >= (grace.maxRel - rel_forgiveness):
        $ numOfChoices += 1
        $ singleChoice = "grace"
   
    if maria.int >= (maria.maxInt - int_forgiveness) and maria.rel >= (maria.maxRel - rel_forgiveness):
        $ numOfChoices += 1
        $ singleChoice = "maria"
    if haley.int >= (haley.maxInt - int_forgiveness) and haley.rel >= (haley.maxRel - rel_forgiveness):
        $ numOfChoices += 1
        $ singleChoice = "haley"
    if eva.int >= (eva.maxInt - int_forgiveness) and eva.rel >= (eva.maxRel - rel_forgiveness):
        $ numOfChoices += 1
        $ singleChoice = "eva"
Yes. Your point?
 

Eonor

Active Member
Sep 9, 2017
901
2,099
Updated my compressed Android port of Office Perks with MurrayMod's walkthrough mod to v0.1.5.

Got some basic gestures loaded in: swipe up for save menu, swipe down to hide UI, swipe left to rollback and swipe right to skip. Save files are now stored in the Documents folder. This sometimes means that you may need to close and re-open the port after installing so the save folder is properly created.

Please let me know if you encounter any issues with the port and I'll see what I can do to get them sorted.

Links: Pixeldrain -
 
  • Like
Reactions: MurrayMods

MurrayMods

Member
Modder
Nov 28, 2022
423
4,883
Nothing in the description of the mod says that it changes the game's logic, so I assumed this was a bug.
You're right. My mods tend to keep all routes open and allow the player to see all the scenes in one playthrough. But in this case I didn't mention that in the mod's OP. I'll fix it when I have a minute.

Surely the MOD: All button when choosing a single girl at the end of the party must have given you some insight that the mechanics are not exactly the same as the original game.

In Haley's case, the Dev didn't include the 'forgiveness' parameter since Haley has very few points accumulated so far. But not including that parameter made the player have to respond positively to 100% of the decisions about Haley. So I didn't think it was fair that you can choose any other girl without having all her points accumulated except Haley.

Anyway, the code you're showing me is not the one that allows you to choose Haley or not. The code of script_day_twelve.rpy file only serves to know the number of love interests that the MC has. The variable 'numOfChoices' only serves to know if the number of LIs is 0, 1 or greater than 1.

The code that allows you to choose Haley is in the file screens.rpy. Look at the original (or the modded) code of that file, line 508, and you will confirm that Haley can be chosen even though her accumulated points was 0. Because (probably) the Dev forgot to remove the parameter 'int_forgiveness' on that line of code.

For all the above reasons, I don't think this code concerning Haley is wrong in my Mod so I'm going to leave it as is. I have found errors in the original and MODified code and have been correcting them since I go back over all the code in the Mod in each new version of the game. I am open to discussions, debates and suggestions regarding the code and I love it when other developers contact me with their opinions.

I hope we can continue to discuss in the future.
Best regards,

Murray.
 

Quetzzz

Active Member
Sep 29, 2023
578
876
Surely the MOD: All button when choosing a single girl at the end of the party must have given you some insight that the mechanics are not exactly the same as the original game.
I did not see this button. My use-case probably doesn't align with your intent, since I was playing through a celibate run to see how the pathing worked out. I was using your mod to make sure to not pick the /right/ choices, so didn't end up on the choice screen either. :ROFLMAO:

The choice screen only gets shown if there are 2 or more love interests with adequate points, in my case there were 0. The mod's code makes Haley act as an unintentional fallback option, while the game's code allows the MC to end up alone at home.

It's not a big deal, and I honestly couldn't blame you if you decide against adjusting it. Just figured I'd report it anyway.