HereForTheGoodies
New Member
- Jun 7, 2018
- 2
- 0
Okay, might have found the issue.
Since debug menu wasn't working I looked at the script post that's linked in the OP, figured if I used the command directly to set the affection stat maybe it'd work, it didn't. But then I tried to use that command in a new game... and it did actually work ! No drop off or anything even after skipping a few days whereas in my save it's literally every day.
Went back to my save and tried to use the entire block, thinking there might be something in there that could "correct" my issue, whatever it was, but no dice, was still getting the -5 per day. I looked at all the lines to see if there was anything weird and there's this:
SugarCube.State.active.variables.npc[fullstring].traitmind = 0
Doesn't seem to match any of the traits on any of my characters, so I figured I'd change it a bit. Turns out, at low values, it's what gives me the daily huge drop off. So I changed the block a bit to modify only that:
Aaand no problem anymore.
Now, I have no idea how I even got that issue in the first place, only thing I recall cheating for in my save was giving myself enough cash to jump-start my dude on the investment things for a rich merchant type run, and the only bug I encountered was related to educators so far. I'm not even sure putting this at 50 isn't gonna break something else down the line, if anyone knows what it is I'd like to know so I can maybe put it at a more normal/intended value and be at ease, but until then, fuck it, it'll do.
So uh, yeah, maybe it can help someone else, idk, thanks for taking an interest peeps, cheers.
Since debug menu wasn't working I looked at the script post that's linked in the OP, figured if I used the command directly to set the affection stat maybe it'd work, it didn't. But then I tried to use that command in a new game... and it did actually work ! No drop off or anything even after skipping a few days whereas in my save it's literally every day.
Went back to my save and tried to use the entire block, thinking there might be something in there that could "correct" my issue, whatever it was, but no dice, was still getting the -5 per day. I looked at all the lines to see if there was anything weird and there's this:
SugarCube.State.active.variables.npc[fullstring].traitmind = 0
Doesn't seem to match any of the traits on any of my characters, so I figured I'd change it a bit. Turns out, at low values, it's what gives me the daily huge drop off. So I changed the block a bit to modify only that:
Code:
avstring = "av"
fullstring = "av1"
for (let i = 1; i <= 199; i++) {
fullstring = avstring.concat(i)
if (SugarCube.State.active.variables.npc[fullstring].sex === 0 && SugarCube.State.active.variables.npc[fullstring].state === 1 && SugarCube.State.active.variables.npc[fullstring].girlname != "Lovisa" )
{
SugarCube.State.active.variables.npc[fullstring].traitmind = 50
}
}
Now, I have no idea how I even got that issue in the first place, only thing I recall cheating for in my save was giving myself enough cash to jump-start my dude on the investment things for a rich merchant type run, and the only bug I encountered was related to educators so far. I'm not even sure putting this at 50 isn't gonna break something else down the line, if anyone knows what it is I'd like to know so I can maybe put it at a more normal/intended value and be at ease, but until then, fuck it, it'll do.
So uh, yeah, maybe it can help someone else, idk, thanks for taking an interest peeps, cheers.