Our nobles would accept the naturalization of the bastard;Broken Effect
Was looking at making an event to "legitimize" a bastard if he met certain conditions. Looking through the event files (claims_events.txt) I found one already existed! Though I had never seen it fire for me (I hardly ever grant titles to my bastards) it seemed that there were many bastards around from guys who never had a wife and none of them were legitimate.
Playing with the event in the console showed me that the event had only 1 effect, which was to grant 50 prestige for naturalizing. But that was not right...so I looked at the event file again.
Notice the two effects, both are "action_a". I changed the second to "action_b" and confirmed the event will work correctly using the console.
~CaBhaal
Was looking at making an event to "legitimize" a bastard if he met certain conditions. Looking through the event files (claims_events.txt) I found one already existed! Though I had never seen it fire for me (I hardly ever grant titles to my bastards) it seemed that there were many bastards around from guys who never had a wife and none of them were legitimate.
Playing with the event in the console showed me that the event had only 1 effect, which was to grant 50 prestige for naturalizing. But that was not right...so I looked at the event file again.
Code:
character_event = {
id = 1200
picture = "event_claim"
trigger = {
condition = { type = age value = 20 }
condition = { type = gender value = male }
condition = { type = trait value = bastard }
condition = { type = is_vassal }
}
mean_time_to_happen = {
months = 300
}
action_a = {#Naturalize the him!
ai_chance = 50
effect = { type = remove_trait value = bastard }
effect = { type = prestige value = -100 }
}
action_a = {#No never!
ai_chance = 50
effect = { type = prestige value = 50 }
}
}
~CaBhaal
Last edited:
Upvote
0