Of course it will. Your entire event is invalid. Just use an existing event as your basis, and do not invent new invalid triggers/actions etc., and it should work.
I explain, from
character_event = { #Your spymaster advises you that there is evidence that your newborn babe could not have been sired by you.
id = 8630
picture = "event_spymaster"
trigger = {
condition = { type = not value = { type = age value = 2 } }
condition = { type = ruler_child }
condition = { type = gender value = male }
condition = { type = not value = { type = trait value = bastard } }
condition = { type = not value = { type = trait value = inbred } }
condition = { type = father
condition = { type = and
condition = { type = is_alive }
condition = { type = is_married }
condition = { type = ruler }
}
}
condition = { type = mother
condition = { type = and
condition = { type = is_alive }
condition = { type = not value = { type = trait value = chaste } }
condition = { type = not value = { type = spymaster } }
}
}
}
mean_time_to_happen = {
months = 1500
modifier = {
condition = { type = father
condition = { type = command }
}
factor = 0.1
}
modifier = {
condition = { type = father
condition = { type = siege }
}
factor = 0.5
}
modifier = {
condition = { type = father
condition = { type = or
condition = { type = on_crusade }
condition = { type = and
condition = { type = atwar }
condition = { type = not value = { type = enemy_same_religion } }
}
}
}
factor = 0.5
}
modifier = {
condition = { type = spymaster_csc
condition = { type = or
condition = { type = trait value = flamboyant_schemer }
condition = { type = trait value = intricate_webweaver }
condition = { type = and
condition = { type = trait value = deceitful }
condition = { type = intrigue value = 10 }
}
}
}
factor = 0.5
}
modifier = {
condition = { type = spymaster_csc
condition = { type = or
condition = { type = trait value = naive_wirepuller }
condition = { type = trait value = illusive_shadow }
condition = { type = and
condition = { type = trait value = honest }
condition = { type = intrigue value = 10 }
}
}
}
factor = 2
}
modifier = {
condition = { type = father
condition = { type = any_child
condition = { type = and
condition = { type = trait value = bastard }
condition = { type = ruler_child } #must be living at home
condition = { type = age value = 12 }
condition = { type = not value = { type = trait value = honest } }
condition = { type = or
condition = { type = trait value = deceitful }
condition = { type = trait value = suspicious }
}
}
}
}
factor = 0.1
}
modifier = {
condition = { type = father
condition = { type = any_child
condition = { type = and
condition = { type = trait value = bastard }
condition = { type = ruler_child } #must be living at home
condition = { type = age value = 12 }
condition = { type = not value = { type = trait value = honest } }
condition = { type = not value = { type = trait value = deceitful } }
condition = { type = not value = { type = trait value = suspicious } }
}
}
}
factor = 0.75
}
modifier = {
condition = { type = mother
condition = { type = trait value = deceitful }
}
factor = 0.5
}
modifier = {
condition = { type = mother
condition = { type = trait value = honest }
}
factor = 2
}
modifier = {
condition = { type = mother
condition = { type = trait value = lustful }
}
factor = 0.5
}
modifier = {
condition = { type = father
condition = { type = trait value = chaste }
}
factor = 0.5
}
modifier = {
condition = { type = father
condition = { type = trait value = lustful }
}
factor = 3
}
}
action_a = { #Sadly, I'm sure he's right.
effect = { type = add_trait value = bastard }
effect = { type = add_trait value = vengeful }
effect = { type = loyalty value = -0.6 }
effect = { type = trigger for = father value = 8631 } #Your son is revealed as bastard!
effect = { type = trigger for = mother value = 8632 } #Your infidelity has been discovered!
}
Action_b = { #I refuse to believe it!
effect = { type = prestige value = -15 }
effect = { type = trigger for = father value = 8633 } #Ruler disbelieves his spymaster's evidence of his wife's infidelity
}
}
I MADE THIS WITH SOME MODIFICATIONS
character_event = {
id = 20100
picture = "event_spymaster"
trigger = {
condition = { type = age_value = 15 }
condition = { type = ruler_child }
condition = { type = gender_value = male }
condition = { type = not value = { type = trait value = bastard } }
condition = { type = value = { type = diplomatic value = 5 } }
or
condition = { type = value = { type = martial value = 5 } }
or
condition = { type = value = { type = intrigue value = 5 } }
or
condition = { type = value = { type = stewardship value = 5 } }
condition = { type = father
condition = { type = and
condition = { type = is_alive }
condition = { type = ruler }
}
}
}
mean_time_to_happen = {
months = 60
}
action_a = {
effect = { type = add_trait value = bastard }
effect = { type = add_trait value = vengeful }
effect = { type = loyalty value = -0.6 }
}
Action_b = {
effect = { type = prestige value = -15 }
}
}
what's wrong