Anyone feel like educating an idiot who's fiddling with this despite not having a clue about Javascript?
I'm trying to change the criteria for activating the waitressing minigame sex scene so that Karryn has to be aroused rather than just drunk.
I had a look at the code in RemtairyKarrynWaitress.js
There's this bit of code at the start of the harassWaitress action:
I assumed that ran canStartWaitressSex every time one of the customers tried to harass Karryn. If that didn't allow the scene to start then it would skip that bit of code and go on to perform another kind of harassment - petting, offering drinks, asking her to flash.
I had a look at the canStartWaitressSex function to see what that did:
I assumed the if statement checks whether Karryn isn't simultaneously Tipsy, Drunk, and DeadDrunk. If she isn't then it just returns to waitressBattle_action_harassWaitress to continue with the rest of that code. If she's all 3 kinds of drunk then it gets past that if statement and returns the next line (this.canGetRightHandInserted() etc.) allowing the sex scene to start.
I tried adding some extra criteria to that if statement to see what would happen. I tried getting it to only activate when Karryn goes over a certain pleasure number, or only straight after an orgasm, but neither worked. I tried copying the formatting and taking some of the status effects mentioned elsewhere in the waitress code, but that didn't seem to do much either.
Here's an example of something I've tried:
I thought that would stop the scene from starting if Karryn wasn't simultaneously aroused, horny, and wet (as well as drunk). I assumed that getting those statuses would require a high pleasure stat, or maybe maxed out desire?
In practice if I accept drinks she'll still be bent over a table by the time the pleasure meter is barely out of single digits:
I'm sure I'm missing something really obvious and making dumb mistakes, but it's got me a bit stumped...