I'm working with Drachenfire on his Welsh mod and want to come up with some events to replicate the feel of playing the Welsh princes. Whole bunch of minor stuff, but two things really need to change: bastards need to be much more common and easier to legitimize, and your kids need to get really pissed if you switch out of gavelkind inheritance.
So I did my first attempt at coding some events for CK. As I expected, it's very ugly and unwieldy compared to eu2 & there's no guide at Havard's or in the Ckpedia I could find & I'll probably have to ask a bunch of questions, but here's something right off the bat:
The triggers for the current legitamize yr bastard event:
Does this event fire for the child outside of view? or for the player?
"Value = bastard" obviously refers to the child's traits, but whose traits should not be vengeful or suspicious - his or his father's?
Does it matter that one condition is above the "type = ruler_child" and the others are below?
If it's the kid who shouldn't be vengeful or suspicious, is there a way to check for the father's traits at all? - specifically, if the dad's zealous, he'd go along with canon law and avoid claiming the kid.
Finally and most importantly, is there a way to limit CK events to particular counties, duchies or cultures? or would anything introduced for Welsh flavor end up firing for Polish counts just the same? (although, I suppose player-only events for a Wales-only mod would end up only applying to Wales, it's a pretty clunky system for people who might have a number of different save games they cycle through)
So I did my first attempt at coding some events for CK. As I expected, it's very ugly and unwieldy compared to eu2 & there's no guide at Havard's or in the Ckpedia I could find & I'll probably have to ask a bunch of questions, but here's something right off the bat:
The triggers for the current legitamize yr bastard event:
bastardy event said:condition = { type = trait value = bastard }
condition = { type = ruler_child }
condition = { type = age value = 16 }
condition = { type = not value = { type = trait value = vengeful } }
condition = { type = not value = { type = trait value = suspicious } }
Does this event fire for the child outside of view? or for the player?
"Value = bastard" obviously refers to the child's traits, but whose traits should not be vengeful or suspicious - his or his father's?
Does it matter that one condition is above the "type = ruler_child" and the others are below?
If it's the kid who shouldn't be vengeful or suspicious, is there a way to check for the father's traits at all? - specifically, if the dad's zealous, he'd go along with canon law and avoid claiming the kid.
Finally and most importantly, is there a way to limit CK events to particular counties, duchies or cultures? or would anything introduced for Welsh flavor end up firing for Polish counts just the same? (although, I suppose player-only events for a Wales-only mod would end up only applying to Wales, it's a pretty clunky system for people who might have a number of different save games they cycle through)