Code:
obj_have_a_son = {
type = character
allow = {
NOT = {
any_child = {
is_female = no
}
}
}
chance = {
factor = 100
modifier = {
factor = 2.0
traits = loving
}
}
success = {
any_child = {
is_female = no
}
}
abort = {
age = 45
}
effect = {
family_prestige = 5
religious_conviction = 3
}
}
I was wondering if I could use a time limit to trigger the abort for this event. Would it be possible to have the event abort after 2 years, instead of waiting until the character is 45?
Also, I'm pretty new to modding and have a question regarding the trigger of this objective:
Code:
chance = {
factor = 100
modifier = {
factor = 2.0
traits = loving
}
}
How can I tweak this so that it will only trigger 20% of the time?
Thanks!