Greetings,
So I'm trying to mod this game right now, but I can't find where in the files the code handles your discipline decrease for performing explicit dances. Nor can I find similar code for the negative interactions with civilians while enslaved/low social order. I've found the code for winning duels, losing duels, having sex willingly, but those two continue to evade me. Can anyone with a bit more code knowledge help me out here? I'm using N++ but I'll use whatever is most effective at editing these types of games. Thanks.
I've also had some fun with modding the game a little, so maybe I can help out.
-) discipline decrease for explicit dances
Hard to find, but it appears to be defined in the file Map006.json, which is located in the data folder within the game directory.
In the file, search for "lblReason.dance" (no quotes), which should bring you to this piece of code:
$util.addDiscipline(-10, '#{lblReason.dance}')
I reckon by altering the -10 to whatever you like will have the desired effect
-) discipline decrease for negative interactions with civilians
These are located in the file CommonEvents.json, also in the data folder. Same as above, look for "lblReason.citizenHarass" and "lblWitnessHarass", and you'll find a call to the addDiscipline function. I believe the first item refers to being harassed due to low social order, and the second refers to being flaunted (thats what the game calls it, at least) as slaves, when the protagonists are accompanied by the thugs.
Do be warned that these json files can be very hard to read, since they lack any line breaks or indents. When I was modding them, I went through the trouble of adding line breaks, which greatly helped in both understanding and editing them.
Anyway, hope I could help.
Regards, s3ngine