The current system is heavily flawed because it just uses relationship to player and slut status as indicators. Code wise there is no actual direct relationship distinction into love or lust despite the variables being there.
Thats what i changed in my test so far which still needs to be transferred into common functions that are going to be applied to all NPCs.
To explain the current code by a very good example of this:
Katja Meynold has values shown for dom/sub, slut and hornyness when you follow her home after school - this looks like this in the code:
Code:
if KatjaHorny > 0 and KatjaLust < 40:KatjaHorny -= rand(1, 3)
if KatjaLust >= 40:KatjaHorny += rand(1, 3)
if KatjaHorny < 0:KatjaHorny = 0
if KatjaHorny >= 100:KatjaHorny = 0 & KatjaMastr += 1 & KatjaLust += 1
Those variables are declared as Katja specific - they are not declared as global variables right now.
Every NPC actually has those same variables and thus they are globally accessible:
npc_dom['A<<npctemp>>']
npc_sub['A<<npctemp>>']
npc_love['A<<npctemp>>']
npc_horny['A<<npctemp>>']
where npctemp is the unique number identifier for each NPC (Mom 29, Stepdad 28, Kolka 34 and so on)
npc_love is actually meant to be lust but for the purpose it doesnt matter actually
!!Important note - i didnt create those. They where already in the game since late 2016.!!
All kudos for that are going to user Drugas over at TFG who made this excellent part
What i have done in my test so far is simply taking advantage of those variables and changing their values as they are currently totally unused by the original code. So taking care of your brothers morning tent will add to npc_love.
Moving his hand away while homework will add to his hornyness npc_horny.
Everytime he asks for relief you get a choice to say yes/no unless his npc_dom is very high and your own value for submissive is high.. If you say no he becomes even more horny = npc_horny[A34]+= 1 which is actually
a function that is generalized. If you say yes he adores you for doing it for you and his npc_love will rise and his npc_horny will be lowered accordingly. That makes that NPC immediately behave much more like a living being as yourself. Your arousal drops when you have intercourse - same thing happens now to an NPC.
P.S. For me relationship never had a deeper meaning than the difference between a person being unknown, an aquaintence, a friend , BFF or lover/husband. Which is why i also treat it as such now. It will be capped depending on the actual npc_love value for you.
P.P.S.: So to pick up your example of the brother peeping. My tests where doing exactly that in a small test environment so far. Everytime his npc_love would reach a certain level events would be extended by a simple extra text that would not just make him peep but also havinghis dick out and wanking. Or you would wake up with him beside you in your bed because he freaking adores you.