• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.
Veldmaarschalk said:
You mean events that can change a republic into a county/duchy or a bishopric into a republic or other such things ?

Then such events aren't possible, since there is no event command that lets you do this.
let me show you, i am not done yet playing mmp

Code:
########################################
#                                      #
#    governments change evnets                  #
#                                      #
#    BY Hyme         #
#    Reserved ID Range        #
#                                      #
########################################
# event made so their is more variety to laws in game
character_event = { #ai to picks new goverment 
	id = 
	picture = "event_law"
	trigger = {

		condition = { type = not value = { type = form_of_goverment value = knight_order }} 
		condition = { type = not value =  { type = form_of_goverment value = republican }}
		condition = { type = not value =  { type = form_of_goverment value = ecclestical }}
		condition = { type = ruler }
		condition = { type = ai }
	}
	mean_time_to_happen = {
		months = 6
	}
	action_a = { #Sets law to Royal Prergative
		ai_chance = 25
		effect = { type = set_law value = Royal_Prergative }
		}
	action_b = { #sets law to feual contract
		ai_chance = 25
		effect = { type = set_law value = Feudal_contract }
		}
	action_c = {#sets law to traditional custom
		ai_chance = 25
		effect = { type = set_law value = Traditional_custom }
		}
	action_d = {#sets law to popual law
		ai_chance = 25
		effect = { type = set_law value = popual_law }
		}
	}
}

character_event = { #ai to picks new religius authority
	id = 
	picture = "event_law"
	trigger = {

		condition = { type = not value = { type = form_of_goverment value = knight_order }} 
		condition = { type = not value =  { type = form_of_goverment value = republican }}
		condition = { type = not value =  { type = form_of_goverment value = ecclestical }}
		condition = { type = ruler }
		condition = { type = ai }
	}
	mean_time_to_happen = {
		months = 6
	}
	action_a = { #Sets law to Regal Supremacy
		ai_chance = 25
		effect = { type = set_law value = Regal_Supremacy }
		}
	action_b = { #sets law to Monastic Supremacy
		ai_chance = 25
		effect = { type = set_law value = Monastic_Supremacy }
		}
	action_c = {#sets law to Ecclesical Balance
		ai_chance = 25
		effect = { type = set_law value = Ecclesical_Balance }
		}
	action_d = {#sets law to church supremacy
		ai_chance = 25
		effect = { type = set_law value = church_supremacy }
		}
	}
}
 
hyme said:
jordarkelf, i will be writing a event that changes lands governments. I would like to know the free id ranges in your mods?

Refer to here: Event ID clearing house (last post)

Not been updated in ages, and most of these ranges are empty, but I think you should be safe with the range 24300-24399. Let me know if you'll use it, I'll add it to the post.


I forgot about this as well... next DVIP release (whenever) will see my events renumbered to my own range.
 
Last edited:
Where are you in updating Wales for the 1337 scenario? I can search back the thead and look for the postings.

I know I had offered the Grey de Rhuthin baronial family to rule as counts over Perfeddwald. Also, I think the count of Powys should also have Maelienydd. Lastly, I did find some dynasties for S. Wales.

Basically, I think that either the king or the duke of Cornwall (who is duke of Gwynedd and Deheubarth too) should have county of Gwynedd, Ynys Mon, Ceredigion, and Ystrad Twyi.

Anywhose, where are you on the 1205 scenario? I cant wait to start offering suggestions for that, for then I can play my scecond favorite Welsh hero Llywelyn the Great (I liked his great grandfather Gruffydd ap Cynan a bit more for reestablishing the family in Gwynedd and Wales).
 
Please give me a week* or so to update DVIP and then use the updated version as a base for changes :)

I'm still cramped for free time unfortunately, so haven't gotten any modding done.

1205 is not updated at all yet, I still need to go over the 1187 scenario and add in characters/changes to characters from it.

*Depending on when I get to work on it... I hope to get it done in the weekend.
 
Last edited:
jordarkelf said:
Please give me a week* or so to update DVIP and then use the updated version as a base for changes :)

I'm still cramped for free time unfortunately, so haven't gotten any modding done.

1205 is not updated at all yet, I still need to go over the 1187 scenario and add in characters/changes to characters from it.

*Depending on when I get to work on it... I hope to get it done in the weekend.

Take your time and more then a week if you need. You've been doing this for so long that you could get burnt out if you dont work at your own pace. Dont get burnt out! I know on occasion I do get burnt out and need breaks too.

Ill compose my suggestions on my computer and cut and paste when you are ready.

Thank you for your continued moding of CK. If you have not modded all that you have then I would have long lost interest in this game as the standard set up for Wales is completly game breaking for me. Thank you again for pushing for correctness in the scenario starts.
 
Last edited:
Drachenfire said:
Take your time and more then a week if you need. You've been doing this for so long that you could get burnt out if you dont work at your own pace. Dont get burnt out! I know on occasion I do get burnt out and need breaks too.

Ill compose my suggestions on my computer and cut and paste when you are ready.

Thank you for your continued moding of CK. If you have not modded all that you have then I would have long lost interest in this game as the standard set up for Wales is completly game breaking for me. Thank you again for pushing for correctness in the scenario starts.

Yeah I'd just like to add my voice to this one ..

Without DVIP and TASS and the numerous other gameplay and graphics mods the community has offered up for our continued enjoyment, I would certainly have lost interest long, long ago.
 
Rob de Hard said:
Yeah I'd just like to add my voice to this one ..

Without DVIP and TASS and the numerous other gameplay and graphics mods the community has offered up for our continued enjoyment, I would certainly have lost interest long, long ago.
so true and keep up the good work
 
jordarkelf said:
Refer to here: Event ID clearing house (last post)

Not been updated in ages, and most of these ranges are empty, but I think you should be safe with the range 24300-24399. Let me know if you'll use it, I'll add it to the post.


I forgot about this as well... next DVIP release (whenever) will see my events renumbered to my own range.
will take them
 
I coulda sworn that in DV they adjusted the actual ingame effects of the various attributes such that the nerf event isn't required (at any rate, I found that low values were MUCH more crippling in DV than in vanilla, which made the first generation... exciting), but I could be wrong.
 
Attribute events were not rebalanced in DV, which is where the problem lies: in CK 1.05 attributes were static for a character, and most characters ended up with a build of ~30 points max across martial, stewardship, diplomacy, intrigue (at least in the first few generations prior to breeding).
In DV stats are gained as children age, with a build of ~40 points max across the attributes.
Combine this with a few traits that also raise attributes (like the education ones, or prodigy) and suddenly in DV characters with a score of 10 in an attribute are no longer rare, but almost common.

On average every attribute per character has increased by ~2, and an event checking for martial 8 (very good) now effectively is checking for martial 6 (above average) in CK 1.05 terms.

That's the main reason for the attributes lowering event. Another approach would have been to rebalance all events, and change the effects of traits to give far fewer attribute boosters -- which is incredibly more work intensive and needs a full rebalancing.

Hope this is sufficient rationale :)
I know my figures are not exact, but they're at least in the ballpark.
 
Okay I've finally had to time to start updating it again... changelog thus far is on Terranova. I plan to fix the most glaring errors in 1204 before I release it though -- although depending on how long this takes I might upload another DVIP-Addon-Variant with the newer versions of the stat reducing and Jinna's education events.
 
jordarkelf said:
although depending on how long this takes I might upload another DVIP-Addon-Variant with the newer versions of the stat reducing and Jinna's education events.
I updated a new stable version of the events.
-
events 1160 & 1161 in trait events shouldn't fire if they have less than 1 fertility (this is the best way to keep infertile/sick (aka leperacy) people from somehow having to potential to screw around and creating bastards.

Events 8901-8919 need to all have their mtth set to 12 (might need to be rebalanced as well to fit current traits).
-
I went ahead and corrected that file. I added the 4 new traits that were added that would be affected (ie are not suppose to be just ruler-only traits).

The latter were designed with the idea to overcome a short-coming in the engine with periodic-score not affecting those who could inherit which could play a role in certain types of inheritance. Females are excluded because they can't inherit. The exception is for bastards, which should fire for every bastard.
Code:
#######################################
# TRAIT event series                  #
# Original bastard events by Cat Lord #
#######################################
#####################################
# A pretty wench catches your eyes  #
#####################################
character_event = {
	id = 1160
	picture = "event_intrigue2"
	trigger = {
		condition = { type = ruler }
		condition = { type = gender value = male }
		condition = { type = age value = 16 }
		condition = { type = not value = { type = age value = 80 } }
		condition = { type = not value = { type = trait value = chaste } }
		condition = { type = not value = { type = trait value = celibate } }
		condition = { type = fertility value = 1 }
	}
	mean_time_to_happen = {
		months = 360
		modifier = {
			condition = { type = trait value = depression }
			factor = 2
		}
		modifier = {
			condition = { type = trait value = detached_priest }
			factor = 1.5
		}
		modifier = {
			condition = { type = trait value = energetic }
			factor = 0.8
		}
		modifier = {
			condition = { type = trait value = illness }
			factor = 0.8
		}
		modifier = {
			condition = { type = trait value = indulgent }
			factor = 0.6
		}
		modifier = {
			condition = { type = trait value = lustful }
			factor = 0.4
		}
		modifier = {
			condition = { type = trait value = mastermind_theologian }
			factor = 3
		}
		modifier = {
			condition = { type = trait value = modest }
			factor = 1.2
		}
		modifier = {
			condition = { type = trait value = plagueinfested}
			factor = 10
		}
		modifier = {
			condition = { type = trait value = pneumonia }
			factor = 5
		}
		modifier = {
			condition = { type = trait value = scholarly_theologian }
			factor = 2
		}
		modifier = {
			condition = { type = trait value = temperate }
			factor = 1.5
		}
		modifier = {
			condition = { type = trait value = zealous }
			factor = 2
		}
		modifier = {
			condition = { type = any_friend condition = { type = gender value = female } } # Has lover already
			factor = 2.0
		}
		modifier = {
			condition = { type = spouse condition = { type = is_rival } } # Marital problems
			factor = 0.5
		}
	}
	action_a = {#Indulge in the passion
		ai_chance = 25
		effect = { type = create_courtier value = bastard }
		effect = { type = random chance = 25 effect = { type = add_trait value = lustful } }
	}
	action_b = {#Try to resist the passion
		ai_chance = 25
		effect = { type = random chance = 10 	effect = { type = add_trait value = lustful } }
	}
	action_c = {#Try to restrain the passion
		ai_chance = 25
		effect = { type = random chance = 10 	effect = { type = add_trait value = chaste } }
	}
	action_d = {#Refuse the passion
		ai_chance = 25
		effect = { type = piety value = 25 }
		effect = { type = random chance = 25 effect = { type = add_trait value = chaste } }
	}
}
############################################
# A strapping young man catches your eyes  #
############################################
character_event = {
	id = 1161
	picture = "event_intrigue2"
	trigger = {
		condition = { type = ruler }
		condition = { type = gender value = female }
		condition = { type = age value = 16 }
		condition = { type = not value = { type = age value = 40 } }
		condition = { type = not value = { type = trait value = chaste } }
		condition = { type = not value = { type = trait value = celibate } }
		condition = { type = not value = { type = pregnant } }
		condition = { type = fertility value = 1 }
	}
	mean_time_to_happen = {
		months = 360
		modifier = {
			condition = { type = trait value = depression }
			factor = 2
		}
		modifier = {
			condition = { type = trait value = detached_priest }
			factor = 1.5
		}
		modifier = {
			condition = { type = trait value = energetic }
			factor = 0.8
		}
		modifier = {
			condition = { type = trait value = illness }
			factor = 0.8
		}
		modifier = {
			condition = { type = trait value = indulgent }
			factor = 0.6
		}
		modifier = {
			condition = { type = trait value = lustful }
			factor = 0.4
		}
		modifier = {
			condition = { type = trait value = mastermind_theologian }
			factor = 3
		}
		modifier = {
			condition = { type = trait value = modest }
			factor = 1.2
		}
		modifier = {
			condition = { type = trait value = plagueinfested}
			factor = 10
		}
		modifier = {
			condition = { type = trait value = pneumonia }
			factor = 5
		}
		modifier = {
			condition = { type = trait value = scholarly_theologian }
			factor = 2
		}
		modifier = {
			condition = { type = trait value = temperate }
			factor = 1.5
		}
		modifier = {
			condition = { type = trait value = zealous }
			factor = 2
		}
		modifier = {
			condition = { type = any_friend condition = { type = gender value = male } } # Has lover already
			factor = 2.0
		}
		modifier = {
			condition = { type = spouse condition = { type = is_rival } } # Marital problems
			factor = 0.5
		}
	}
	action_a = {#Indulge in the passion
		ai_chance = 25
		effect = { type = random chance = 10 effect = { type = create_courtier value = bastard } }
		effect = { type = random chance = 25 effect = { type = add_trait 	value = lustful } }
	}
	action_b = {#Try to resist the passion
		ai_chance = 25
		effect = { type = random chance = 10 effect = { type = add_trait 	value = lustful } }
	}
	action_c = {#Try to restrain the passion
		ai_chance = 25
		effect = { type = random chance = 10 effect = { type = add_trait 	value = chaste } }
	}
	action_d = {#Refuse the passion
		ai_chance = 25
		effect = { type = piety value = 25 }
		effect = { type = random chance = 25 effect = { type = add_trait 	value = chaste } }
	}
}
##################################################  #############
# Prestige and piety resulting from traits for ruler children #
# Events written by Jinnai and added Jan 29/06                #
# Reserved ID RANGE 8900-8999                                 #
##################################################  #############
character_event = { #bastard
	id = 8901
	picture = "event_intrigue"
	trigger = {
		condition = { type = not value = { type = ruler } }
		condition = { type = trait value = bastard }
	}
	mean_time_to_happen = { months = 60 }
	immidiate = { #I frown upon society too
		effect = { type = prestige value = -10 }
	}
}
character_event = { #Chaste
	id = 8902
	picture = "event_intrigue"
	trigger = {
		condition = { type = not value = { type = ruler } }
		condition = { type = or
			condition = { type = and
				condition = { type = ruler_child }
				condition = { type = not value = { type = trait value = bastard } }
			}
			condition = { type = primary_heir }
		}
		condition = { type = gender value = male }
		condition = { type = trait value = chaste }
	}
	mean_time_to_happen = { months = 40 }
	immidiate = { # Indeed I am
		effect = { type = piety value = 10 }
	}
}
character_event = { #Cruel
	id = 8903
	picture = "event_intrigue"
	trigger = {
		condition = { type = not value = { type = ruler } }
		condition = { type = or
			condition = { type = and
				condition = { type = ruler_child }
				condition = { type = not value = { type = trait value = bastard } }
			}
			condition = { type = primary_heir }
		}
		condition = { type = gender value = male }
		condition = { type = trait value = cruel }
	}
	mean_time_to_happen = { months = 60 }
	immidiate = { #Indeed I am
		effect = { type = piety value = -10 }
	}
}
character_event = { #Deceitful
	id = 8904
	picture = "event_intrigue"
	trigger = {
		condition = { type = not value = { type = ruler } }
		condition = { type = or
			condition = { type = and
				condition = { type = ruler_child }
				condition = { type = not value = { type = trait value = bastard } }
			}
			condition = { type = primary_heir }
		}
		condition = { type = gender value = male }
		condition = { type = trait value = deceitful }
	}
	mean_time_to_happen = { months = 120 }
	immidiate = { #Indeed I am
		effect = { type = prestige value = -10 }
	}
}
character_event = { #Forgiving
	id = 8905
	picture = "event_intrigue"
	trigger = {
		condition = { type = not value = { type = ruler } }
		condition = { type = or
			condition = { type = and
				condition = { type = ruler_child }
				condition = { type = not value = { type = trait value = bastard } }
			}
			condition = { type = primary_heir }
		}
		condition = { type = gender value = male }
		condition = { type = trait value = forgiving }
	}
	mean_time_to_happen = { months = 60 }
	immidiate = { #Indeed I am
		effect = { type = piety value = 10 }
	}
}
character_event = { #Generous
	id = 8906
	picture = "event_intrigue"
	trigger = {
		condition = { type = not value = { type = ruler } }
		condition = { type = or
			condition = { type = and
				condition = { type = ruler_child }
				condition = { type = not value = { type = trait value = bastard } }
			}
			condition = { type = primary_heir }
		}
		condition = { type = gender value = male }
		condition = { type = trait value = generous }
	}
	mean_time_to_happen = { months = 120 }
	immidiate = { #Indeed I am
		effect = { type = prestige value = 20 }
		effect = { type = piety value = 10 }
	}
}
character_event = { #honest
	id = 8907
	picture = "event_intrigue"
	trigger = {
		condition = { type = not value = { type = ruler } }
		condition = { type = or
			condition = { type = and
				condition = { type = ruler_child }
				condition = { type = not value = { type = trait value = bastard } }
			}
			condition = { type = primary_heir }
		}
		condition = { type = gender value = male }
		condition = { type = trait value = honest }
	}
	mean_time_to_happen = { months = 120 }
	immidiate = { #Indeed I am
		effect = { type = prestige value = 10 }
	}
}
character_event = { #Indulgent
	id = 8908
	picture = "event_intrigue"
	trigger = {
		condition = { type = not value = { type = ruler } }
		condition = { type = or
			condition = { type = and
				condition = { type = ruler_child }
				condition = { type = not value = { type = trait value = bastard } }
			}
			condition = { type = primary_heir }
		}
		condition = { type = gender value = male }
		condition = { type = trait value = indulgent }
	}
	mean_time_to_happen = { months = 60 }
	immidiate = { #Indeed I am
		effect = { type = piety value = -10 }
	}
}
character_event = { #lustful
	id = 8909
	picture = "event_intrigue"
	trigger = {
		condition = { type = not value = { type = ruler } }
		condition = { type = or
			condition = { type = and
				condition = { type = ruler_child }
				condition = { type = not value = { type = trait value = bastard } }
			}
			condition = { type = primary_heir }
		}
		condition = { type = gender value = male }
		condition = { type = trait value = lustful }
	}
	mean_time_to_happen = { months = 40 }
	immidiate = { #Indeed I am
		effect = { type = piety value = -10 }
	}
}
character_event = { #merciful
	id = 8910
	picture = "event_intrigue"
	trigger = {
		condition = { type = not value = { type = ruler } }
		condition = { type = or
			condition = { type = and
				condition = { type = ruler_child }
				condition = { type = not value = { type = trait value = bastard } }
			}
			condition = { type = primary_heir }
		}
		condition = { type = gender value = male }
		condition = { type = trait value = merciful }
	}
	mean_time_to_happen = { months = 60 }
	immidiate = { #Indeed I am
		effect = { type = piety value = 10 }
	}
}
character_event = { #modest
	id = 8911
	picture = "event_intrigue"
	trigger = {
		condition = { type = not value = { type = ruler } }
		condition = { type = or
			condition = { type = and
				condition = { type = ruler_child }
				condition = { type = not value = { type = trait value = bastard } }
			}
			condition = { type = primary_heir }
		}
		condition = { type = gender value = male }
		condition = { type = trait value = modest }
	}
	mean_time_to_happen = { months = 60 }
	immidiate = { #Indeed I am
		effect = { type = prestige value = -10 }
		effect = { type = piety value = 5 }
	}
}
character_event = { #proud
	id = 8912
	picture = "event_intrigue"
	trigger = {
		condition = { type = not value = { type = ruler } }
		condition = { type = or
			condition = { type = and
				condition = { type = ruler_child }
				condition = { type = not value = { type = trait value = bastard } }
			}
			condition = { type = primary_heir }
		}
		condition = { type = gender value = male }
		condition = { type = trait value = proud }
	}
	mean_time_to_happen = { months = 60 }
	immidiate = { #Indeed I am
		effect = { type = prestige value = 5 }
		effect = { type = piety value = -10 }
	}
}
character_event = { #reckless
	id = 8913
	picture = "event_intrigue"
	trigger = {
		condition = { type = not value = { type = ruler } }
		condition = { type = or
			condition = { type = and
				condition = { type = ruler_child }
				condition = { type = not value = { type = trait value = bastard } }
			}
			condition = { type = primary_heir }
		}
		condition = { type = gender value = male }
		condition = { type = trait value = reckless }
	}
	mean_time_to_happen = { months = 120 }
	immidiate = { #Indeed I am
		effect = { type = prestige value = 10 }
	}
}
character_event = { #sceptical
	id = 8914
	picture = "event_religion"
	trigger = {
		condition = { type = not value = { type = ruler } }
		condition = { type = or
			condition = { type = and
				condition = { type = ruler_child }
				condition = { type = not value = { type = trait value = bastard } }
			}
			condition = { type = primary_heir }
		}
		condition = { type = gender value = male }
		condition = { type = trait value = sceptical }
	}
	mean_time_to_happen = { months = 40 }
	immidiate = { #Indeed I am
		effect = { type = piety value = -10 }
	}
}
character_event = { #temperate
	id = 8915
	picture = "event_intrigue"
	trigger = {
		condition = { type = not value = { type = ruler } }
		condition = { type = or
			condition = { type = and
				condition = { type = ruler_child }
				condition = { type = not value = { type = trait value = bastard } }
			}
			condition = { type = primary_heir }
		}
		condition = { type = gender value = male }
		condition = { type = trait value = temperate }
	}
	mean_time_to_happen = { months = 60 }
	immidiate = { #Indeed I am
		effect = { type = piety value = 10 }
	}
}
character_event = { #valorous
	id = 8916
	picture = "event_intrigue"
	trigger = {
		condition = { type = not value = { type = ruler } }
		condition = { type = or
			condition = { type = and
				condition = { type = ruler_child }
				condition = { type = not value = { type = trait value = bastard } }
			}
			condition = { type = primary_heir }
		}
		condition = { type = gender value = male }
		condition = { type = trait value = valorous }
	}
	mean_time_to_happen = { months = 60 }
	immidiate = { #Indeed I am
		effect = { type = prestige value = 10 }
	}
}
character_event = { #Vengeful
	id = 8917
	picture = "event_intrigue"
	trigger = {
		condition = { type = not value = { type = ruler } }
		condition = { type = or
			condition = { type = and
				condition = { type = ruler_child }
				condition = { type = not value = { type = trait value = bastard } }
			}
			condition = { type = primary_heir }
		}
		condition = { type = gender value = male }
		condition = { type = trait value = vengeful }
	}
	mean_time_to_happen = { months = 60 }
	immidiate = { #Indeed I am
		effect = { type = piety value = -10 }
	}
}
character_event = { #war_invalid
	id = 8918
	picture = "event_intrigue"
	trigger = {
		condition = { type = not value = { type = ruler } }
		condition = { type = or
			condition = { type = and
				condition = { type = ruler_child }
				condition = { type = not value = { type = trait value = bastard } }
			}
			condition = { type = primary_heir }
		}
		condition = { type = gender value = male }
		condition = { type = trait value = war_invalid }
	}
	mean_time_to_happen = { months = 120 }
	immidiate = { #Indeed they do
		effect = { type = prestige value = 10 }
		effect = { type = piety value = 10 }
	}
}
character_event = { #zealous
	id = 8919
	picture = "event_religion"
	trigger = {
		condition = { type = not value = { type = ruler } }
		condition = { type = or
			condition = { type = and
				condition = { type = ruler_child }
				condition = { type = not value = { type = trait value = bastard } }
			}
			condition = { type = primary_heir }
		}
		condition = { type = gender value = male }
		condition = { type = trait value = zealous }
	}
	mean_time_to_happen = { months = 60 }
	immidiate = { #Indeed I am
		effect = { type = piety value = 10 }
	}
}
character_event = { #Celibate
	id = 8920
	picture = "event_intrigue"
	trigger = {
		condition = { type = not value = { type = ruler } }
		condition = { type = or
			condition = { type = and
				condition = { type = ruler_child }
				condition = { type = not value = { type = trait value = bastard } }
			}
			condition = { type = primary_heir }
		}
		condition = { type = gender value = male }
		condition = { type = trait value = celibate }
	}
	mean_time_to_happen = { months = 24 }
	immidiate = { # Indeed I am
		effect = { type = piety value = 10 }
	}
}
character_event = { #Pragmatic
	id = 8921
	picture = "event_intrigue"
	trigger = {
		condition = { type = not value = { type = ruler } }
		condition = { type = or
			condition = { type = and
				condition = { type = ruler_child }
				condition = { type = not value = { type = trait value = bastard } }
			}
			condition = { type = primary_heir }
		}
		condition = { type = gender value = male }
		condition = { type = trait value = pragmatic }
	}
	mean_time_to_happen = { months = 120 }
	immidiate = { #Indeed they do
		effect = { type = prestige value = -10 }
		effect = { type = piety value = -10 }
	}
}
character_event = { #Romantic
	id = 8922
	picture = "event_intrigue"
	trigger = {
		condition = { type = not value = { type = ruler } }
		condition = { type = or
			condition = { type = and
				condition = { type = ruler_child }
				condition = { type = not value = { type = trait value = bastard } }
			}
			condition = { type = primary_heir }
		}
		condition = { type = gender value = male }
		condition = { type = trait value = romantic }
	}
	mean_time_to_happen = { months = 120 }
	immidiate = { #Indeed they do
		effect = { type = prestige value = 10 }
		effect = { type = piety value = 10 }
	}
}
character_event = { #Selfish
	id = 8922
	picture = "event_intrigue"
	trigger = {
		condition = { type = not value = { type = ruler } }
		condition = { type = or
			condition = { type = and
				condition = { type = ruler_child }
				condition = { type = not value = { type = trait value = bastard } }
			}
			condition = { type = primary_heir }
		}
		condition = { type = gender value = male }
		condition = { type = trait value = selfish }
	}
	mean_time_to_happen = { months = 60 }
	immidiate = { #Indeed they do
		effect = { type = prestige value = -10 }
		effect = { type = piety value = -5 }
	}
}
###############################
# Celibacy event, by Byakhiam #
###############################
character_event = { # A celibate lifestyle is appealing to you
	id = 8920
	picture = "event_religion"
	trigger = {
		condition = { type = age value = 16 }
		condition = { type = not value = { type = trait value = celibate } }
		condition = { type = or
			condition = { type = trait value = chaste }
			condition = { type = and
				condition = { type = religion value = catholic }
				condition = { type = or
					condition = { type = chaplain }
					condition = { type = and
						condition = { type = ruler }
						condition = { type = or
							condition = { type = form_of_goverment value = ecclestical }
							condition = { type = form_of_goverment value = knight_order }
						}
					}
				}
			}
		}
	}
	mean_time_to_happen = {
		months = 300
		modifier = {
			condition = { type = trait value = lustful }
			factor = 2.0
		}
		modifier = {
			condition = { type = trait value = indulgent }
			factor = 1.5
		}
		modifier = {
			condition = { type = trait value = sceptical }
			factor = 1.5
		}
		modifier = {
			condition = { type = trait value = energetic }
			factor = 1.25
		}
		modifier = {
			condition = { type = trait value = reckless }
			factor = 1.25
		}
		modifier = {
			condition = { type = trait value = lazy }
			factor = 0.8
		}
		modifier = {
			condition = { type = trait value = temperate }
			factor = 0.8
		}
		modifier = {
			condition = { type = trait value = illness }
			factor = 0.8
		}
		modifier = {
			condition = { type = trait value = intestinal_worm }
			factor = 0.8
		}
		modifier = {
			condition = { type = trait value = stress_symptom }
			factor = 0.8
		}
		modifier = {
			condition = { type = trait value = depression }
			factor = 0.66
		}
		modifier = {
			condition = { type = trait value = leper }
			factor = 0.66
		}
		modifier = {
			condition = { type = trait value = pneumonia }
			factor = 0.66
		}
		modifier = {
			condition = { type = trait value = plagueinfested }
			factor = 0.66
		}
		modifier = {
			condition = { type = trait value = zealous }
			factor = 0.8
		}
		modifier = {
			condition = { type = trait value = chaste }
			condition = { type = religion value = catholic }
			condition = { type = or
				condition = { type = chaplain }
				condition = { type = and
					condition = { type = ruler }
					condition = { type = or
						condition = { type = form_of_goverment value = ecclestical }
						condition = { type = form_of_goverment value = knight_order }
					}
				}
			}
			factor = 0.5
		}
		modifier = {
			condition = { type = is_married }
			factor = 2.0
		}
		modifier = {
			condition = { type = not value = { type = age value = 25 } }
			factor = 1.5
		}
		modifier = {
			condition = { type = age value = 35 }
			factor = 0.8
		}
		modifier = {
			condition = { type = age value = 45 }
			factor = 0.8
		}
		modifier = {
			condition = { type = age value = 55 }
			factor = 0.8
		}
		modifier = {
			condition = { type = ruler }
			condition = { type = title value = PAPA }
			factor = 0.5
		}
		modifier = {
			condition = { type = fertility value = 9 }
			factor = 1.5
		}
		modifier = {
			condition = { type = fertility value = 7 }
			factor = 1.25
		}
		modifier = {
			condition = { type = not value = { type = fertility value = 4 } }
			factor = 0.8
		}
		modifier = {
			condition = { type = not value = { type = fertility value = 2 } }
			factor = 0.8
		}
	}
	action_a = { # No sexual relations for me anymore
		ai_chance = 50
			modifier = {
				condition = { type = is_married }
				condition = { type = or
					condition = { type = ruler }
					condition = { type = spouse condition = { type = ruler } }
				}
				factor = 0.5
			}
		effect = { type = add_trait value = celibate }
		effect = { type = piety value = 50 }
	}
	action_b = { # Celibacy? No way!
		ai_chance = 50
		effect = { type = piety value = -25 }
		effect = { type = random chance = 33
			effect = { type = remove_trait value = chaste }
		}
	}
}
character_event = { # Maybe I should reconsider my conviction of celibacy?
	id = 8921
	picture = "event_intrigue"
	trigger = {
		condition = { type = trait value = celibate }
		condition = { type = not value = { type = or
			condition = { type = chaplain }
			condition = { type = and
				condition = { type = ruler }
				condition = { type = or
					condition = { type = form_of_goverment value = ecclestical }
					condition = { type = form_of_goverment value = knight_order }
				}
			}
		} }
	}
	mean_time_to_happen = {
		months = 300
		modifier = {
			condition = { type = not value = { type = is_married } }
			factor = 2.0
		}
		modifier = {
			condition = { type = trait value = chaste }
			factor = 1.5
		}
		modifier = {
			condition = { type = not value = { type = age value = 25 } }
			factor = 0.5
		}
		modifier = {
			condition = { type = age value = 35 }
			factor = 1.25
		}
		modifier = {
			condition = { type = age value = 45 }
			factor = 1.25
		}
		modifier = {
			condition = { type = age value = 55 }
			factor = 1.25
		}
		modifier = {
			condition = { type = trait value = selfish }
			factor = 0.8
		}
	}
	action_a = { # Maybe I should reconsider indeed?
		ai_chance = 50
		effect = { type = remove_trait value = celibate }
		effect = { type = piety value = -25 }
	}
	action_b = { # I'm set on my ways
		ai_chance = 50
		effect = { type = piety value = 25 }
	}
}
#
#ID's free in this range 8922-8999
#
 
Last edited:
last DVIP - characternames 1066

character = {
id = { type = 10 id = 106516 }
name = ""
gender = male
dynasty = { type = 12 id = 656 }
country = SAXO
religion = catholic
culture = German
birthdate = { year = 900 month = january day = 1 }
deathdate = { year = 967 month = january day = 1 }
dna = "54521856943419"
attributes = {
martial = 6
diplomacy = 8
intrigue = 5
stewardship = 7
health = 5
fertility = 8
}
}
 
MRAKoris said:
last DVIP - characternames 1066

character = {
id = { type = 10 id = 106516 }
name = ""
gender = male
dynasty = { type = 12 id = 656 }
country = SAXO
religion = catholic
culture = German
birthdate = { year = 900 month = january day = 1 }
deathdate = { year = 967 month = january day = 1 }
dna = "54521856943419"
attributes = {
martial = 6
diplomacy = 8
intrigue = 5
stewardship = 7
health = 5
fertility = 8
}
}

His name should be Billung von Stubenskorn, he is the dynastic forfather of the Billung-dynasty (dukes of Saxony in 1066)
 
That's from vanilla... he displayed as 'must fix' in 1.05 ;)
In the IPs (and in DV vanilla) Pdox removed his first name so he displays as 'Billung'.

Veld, great you found his full name... I'll try to remember to implement it.
 
I would also suggest to make the king of Norway in 1066 a couple of years older

Code:
character = {
	id = { type = 10 id = 102532 }
	name = "Magnus Haraldsson"
	gender = male
	dynasty = { type = 12 id = 499 }
	father = { type = 10 id = 102531 }
	mother = { type = 10 id = 102551 }
	country = TRON
	religion = catholic
	culture = Norwegian
	score = { gold = 50 prestige = 100 piety = 100 }
	birthdate = { year = 1049 month = february day = 1 }
	dna = "25929675437027"
	attributes = {
		martial = 4
		diplomacy = 8
		intrigue = 5
		stewardship = 6
		health = 6
		fertility = 5
	}
	traits = {
		selfish = yes
		honest = yes
		modest = yes
		intestinal_worm = yes
		proven_accountant = yes
	}
}

The current year of birth comes from Wiki, but the wiki-article also says this

Magnus II (1048 - 1069), son of Harald Sigurdsson, was king of Norway from 1066 until 1069.

In the late 1050s Magnus led an expedition to the west, to the Northern Isles, the Hebrides, and the Irish Sea. This expedition is only attested in contemporaneous non-Scandinavian sources and is entirely ignored by the sagas. Since the year in which Thorfinn Sigurdsson, Earl of Orkney, died is nowhere recorded with precision—the Orkneyinga saga states that it was in the latter days of Magnus's father—it may be that Magnus's expedition was the occasion on which Paul and Erlend Thorfinnsson submitted to King Harald

If he was born in 1048, how can he lead an expedition in the late 1050s ? Its very unlikely that the Norwegian king would appoint his 10/11 year old son as the leader of an expedition.

I would suggest to make his year of birth somewhere in the early 1040s, like 1041.
 
I don't see a problem here. Underaged kings never had any wars or never took part in the conquests?
 
MRAKoris said:
I don't see a problem here. Underaged kings never had any wars or never took part in the conquests?

Can you name an example where a boy of 10 was in command of a vikingfleet/raid ?
 
My old German encyclopedia gives no date of birth at all other than mentioning he was older than Olaf (who is given ca. 1050 as a date of birth), while mentioning the raid on the Hebrides. I agree that the 1048 date is probably nonsense and will adjust it.
Just to be sure I popped a note on Wikipedia, maybe some editor has some definite info.
 
jordarkelf said:
My old German encyclopedia gives no date of birth at all other than mentioning he was older than Olaf (who is given ca. 1050 as a date of birth), while mentioning the raid on the Hebrides. I agree that the 1048 date is probably nonsense and will adjust it.
Just to be sure I popped a note on Wikipedia, maybe some editor has some definite info.

According to Frank McLynn in '1066 The year of three battles', Harald Hardraade married his second wife (the Norwegian one, not the Russian) around 1040. Magnus was born soon afterwards.