Point of clarification: I don't add specific code to crash things. I personally find that adding deliberate code traps to be gauche; I add plenty of accidental ones because I'm a shitty coder. If a player chooses to move the goalposts to enjoy the game, who am I to cockblock them?
That said, I did make the variables non-intuitive to prevent people from trying to piece together story elements before they appeared in game. Many games would have variables named things like "JayeShowerSex == True" where I would label it as something far less obvious like "boolean093 == True."
The idea wasn't to sabotage modders specifically, though it's certainly occasionally has that effect.
That doesn't mean there aren't risks to cheating, as the math to calculate world states in future chapters is unpredictable at this point, so cheating now can lead to unexpected results later with no no direct intent to clown the player.
For example, it's currently impossible to max Trust/Love points with both girls as of Ch4, and people using mods to adjust those values may end up creating a final value that's not consistent with the ending they wanted or that I've even planned for. While it wouldn't have been a deliberate act of fuckery, that wouldn't matter much to frustrated players.