Hey does anybody know how to edit the current desire levels in a save file?
My situation is that I was using a single autosave file like an idiot, masturbated, and got invaded by the guards. Karryn has never had sex, never had anal, never even been kissed (I'm trying for the passive you get from having your first kiss with a visitor at reception), but after masturbating her desires are so high that before she even gets a single action in she's being triple-penetrated by the guards. I can quit out but it loads back in at the start of the invasion battle. Sometimes the RNG says I only have to deal with three of them instead of 4-6, but I still haven't ever been able to take an action before the fucking starts.
Is it time to scrap the playthrough and start over? To try to pick apart the code for guard behavior so they can't have sex, then revert those changes after this fight? Ideally I could just set her current desires to zero and beat the crap out of them, but I don't know how to safely change anything in a save file except for gold...
Edit: just went into RemtairyEnemyAI.js and replaced
let wantSex = (Math.randomInt(ranChanceFactor)) > Math.max(0, (this.anger() - this.currentPercentOfOrgasm(true)));
if(this.isHorny && !this.isAngry)
wantSex = true;
with
let wantSex = False;
and then changed it back after that one fight. A clumsy solution, but it works and might be applicable to problems other people have too.