Code:
character_event = {
id = 15000
picture = "event_education"
trigger = {
condition = { type = age value = 1 }
condition = { type = not value = { type = age value = 12 } }
condition = { type = or
condition = { type = father
condition = { type = martial value = 10 } }
condition = { type = mother
condition = { type = martial value = 10 } }
}
}
mean_time_to_happen = {
months = 180
}
modifier = {
condition = { type = father
condition = { type = martial value = 20 }
factor = 0.9
}
}
modifier = {
condition = { type = father
condition = { type = martial value = 30 }
factor = 0.9
}
}
modifier = {
condition = { type = father
condition = { type = martial value = 40 }
factor = 0.9
}
}
modifier = {
condition = { type = mother
condition = { type = martial value = 20 }
factor = 0.9
}
}
modifier = {
condition = { type = mother
condition = { type = martial value = 30 }
factor = 0.9
}
}
modifier = {
condition = { type = mother
condition = { type = martial value = 40 }
factor = 0.9
}
}
immidiate = {
effect = { type = martial value = 1 }
}
}
basically, I want to add a slight chance of getting a +1 to a stat if the mother/father has a very high stat
I don't think my arguments are valid, which is why the game won't understand what I'm trying to do.
could anyone help?
thanks!