I'm sure most of us here have had the event "You have become infatuated to a girl in the same court" fire for a brother and sister before... ick.
I think I've finally figured out a fix for it, but I need some more people to test it.
Please change event 8201 in 'romance_events.txt' to the following:
The new code is:
As can be seen, the new code just checks if the previously set target (female courtier in the same court) is not also a daughter of the same father, unless she's a bastard.
Paradox never uses the is_target code in its events but this actually seems to work!
Play a while with this version of the event and let me know if you still see it fire -- and if it does, if it works as wanted now. You should still see non-brothers and sisters fall in love, but no more incestuous relations occur.
I think I've finally figured out a fix for it, but I need some more people to test it.
Please change event 8201 in 'romance_events.txt' to the following:
Code:
character_event = { # You have become infatuated to a girl in the same court
id = 8201
picture = "event_romance"
trigger = {
condition = { type = gender value = male }
condition = { type = age value = 12 }
condition = { type = not value = { type = age value = 20 } }
condition = { type = not value = { type = is_married } }
condition = { type = not value = { type = ruler } }
condition = { type = not value = { type = num_friends value = 3 } }
condition = { type = not value = { type = trait value = celibate } }
condition = { type = not value = { type = trait value = pneumonia } }
condition = { type = not value = { type = trait value = blind } }
condition = { type = not value = { type = trait value = leper } }
condition = { type = not value = { type = trait value = plagueinfested } }
condition = { type = not value = { type = trait value = depression } }
condition = { type = not value = { type = trait value = schizofrenia } }
condition = { type = not value = { type = trait value = maniac } }
condition = { type = not value = { type = trait value = stress_symptom } }
condition = { type = not value = { type = any_friend condition = { type = gender value = female } } }
condition = { type = any_courtier
condition = { type = gender value = female }
condition = { type = age value = 12 }
condition = { type = not value = { type = age value = 20 } }
condition = { type = not value = { type = num_friends value = 3 } }
condition = { type = not value = { type = is_friend } }
condition = { type = not value = { type = is_rival } }
condition = { type = not value = { type = is_married } }
#condition = { type = not value = { type = is_sibling } } # Ick!
condition = { type = not value = { type = trait value = celibate } }
condition = { type = not value = { type = trait value = pneumonia } }
condition = { type = not value = { type = trait value = blind } }
condition = { type = not value = { type = trait value = leper } }
condition = { type = not value = { type = trait value = plagueinfested } }
condition = { type = not value = { type = trait value = depression } }
condition = { type = not value = { type = trait value = schizofrenia } }
condition = { type = not value = { type = trait value = maniac } }
condition = { type = or
condition = { type = not value = { type = num_friends value = 1 } }
condition = { type = not value = { type = any_friend condition = { type = gender value = male } } }
}
condition = { type = save_target }
}
condition = { type = not value = { type = father
condition = { type = any_child
condition = { type = and
condition = { type = gender value = female }
condition = { type = not value = { type = trait value = bastard } }
condition = { type = is_alive }
condition = { type = is_target }
}
}
} }
condition = { type = has_target }
}
mean_time_to_happen = {
months = 100
modifier = {
condition = { type = trait value = romantic }
factor = 0.8
}
modifier = {
condition = { type = trait value = energetic }
factor = 0.8
}
modifier = {
condition = { type = trait value = reckless }
factor = 0.8
}
modifier = {
condition = { type = trait value = proud }
factor = 0.8
}
modifier = {
condition = { type = trait value = amiable }
factor = 0.8
}
modifier = {
condition = { type = trait value = gregarious }
factor = 0.8
}
modifier = {
condition = { type = trait value = lustful }
factor = 0.8
}
modifier = {
condition = { type = trait value = chaste }
factor = 1.25
}
modifier = {
condition = { type = trait value = shy }
factor = 1.25
}
modifier = {
condition = { type = trait value = hostile }
factor = 1.25
}
modifier = {
condition = { type = trait value = modest }
factor = 1.25
}
modifier = {
condition = { type = trait value = coward }
factor = 1.25
}
modifier = {
condition = { type = trait value = lazy }
factor = 1.25
}
modifier = {
condition = { type = trait value = pragmatic }
factor = 1.25
}
modifier = {
condition = { type = trait value = illness }
factor = 1.25
}
modifier = {
condition = { type = trait value = intestinal_worm }
factor = 1.25
}
}
action_a = { # I can feel the love overtake me!
ai_chance = 50
effect = { type = random chance = 75
effect = { type = make_friend value = load_target }
}
}
action_b = { # It will be fun for a while
ai_chance = 25
effect = { type = random chance = 25
effect = { type = make_friend value = load_target }
}
}
action_c = { # She's not that pretty really
ai_chance = 25
effect = { type = random chance = 20
effect = { type = add_trait value = stress_symptom }
}
}
}
The new code is:
Code:
condition = { type = not value = { type = father
condition = { type = any_child
condition = { type = and
condition = { type = gender value = female }
condition = { type = not value = { type = trait value = bastard } }
condition = { type = is_alive }
condition = { type = is_target }
}
}
} }
As can be seen, the new code just checks if the previously set target (female courtier in the same court) is not also a daughter of the same father, unless she's a bastard.
Paradox never uses the is_target code in its events but this actually seems to work!
Play a while with this version of the event and let me know if you still see it fire -- and if it does, if it works as wanted now. You should still see non-brothers and sisters fall in love, but no more incestuous relations occur.