• 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.

Captain Frakas

Banned
13 Badges
Apr 10, 2002
7.150
6.981
  • Cities in Motion
  • Crusader Kings II
  • Crusader Kings II: The Old Gods
  • Europa Universalis III Complete
  • Europa Universalis IV
  • Hearts of Iron III
  • Heir to the Throne
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Semper Fi
  • Victoria 2
  • 500k Club
  • Hearts of Iron II: Beta
Some events suggestions... ready to test...

I. Bastards' events Reworked(Untested). (Work correctly) Download here !
II. Dot for married daughter AND new prestige/piety gain ratio in child developpement events Download here ! (Work Correctly)
III. Jealous wife (Load Correctly... don't know if it work good)

I beg your pardon for my awkward English

x. Martial Cleric leave to a knight order (Doesn't work ! a title tag is not a correct value for courtier_defect command.)
x. A page continue his formation at your lord's court.(Doesn't work ! a title tag is not a correct value for courtier_defect command.)
 
Last edited:
Bastard's events reworked

Cat Lord said me that a bastard are always linked to the ruler and not the courtier, then i suggest that the event fire for a female courtier if ruler is male, and a male if the ruler is a female.
I think it's funnier to know who the mother is ;)

Code:
#BATARD !
#####################################
# A pretty wench catches your eyes  #
#####################################
character_event = {
	id = 1160

	picture = "event_intrigue"

	trigger = {
		condition = { type = gender value = female }
		condition = { type = age value = 15 }
		condition = { type = not value = { type = age value = 40 }}
		condition = { type = not value = { type = trait value = chaste }}
		condition = { type = fertility value = 1 }
		condition = {
			type = ruler_csc
				condition = { type = gender value = male }
				condition = { type = age value = 15 }
				condition = { type = not value = { type = age value = 60 }}
				condition = { type = not value = { type = trait value = chaste }}
				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 = ruler_csc
					condition = { type = trait value = depression }
				}
			factor = 2
		}
		modifier = {
			condition = {
				type = ruler_csc
					condition = { type = trait value = detached_priest }
				}
			factor = 1.5
		}
		modifier = {
			condition = {
				type = ruler_csc
					condition = { type = trait value = energetic }
				}
			factor = 0.8
		}
		modifier = {
			condition = {
				type = ruler_csc
					condition = { type = trait value = illness }
				}
			factor = 0.8
		}
		modifier = {
			condition = {
				type = ruler_csc
					condition = { type = trait value = indulgent }
				}
			factor = 0.6
		}
		modifier = {
			condition = {
				type = ruler_csc
					condition = { type = trait value = lustful }
				}
			factor = 0.4
		}
		modifier = {
			condition = {
				type = ruler_csc
					condition = { type = trait value = mastermind_theologian }
				}
			factor = 3
		}
		modifier = {
			condition = {
				type = ruler_csc
					condition = { type = trait value = modest }
				}
			factor = 1.2
		}
		modifier = {
			condition = {
				type = ruler_csc
					condition = { type = trait value = plagueinfested}
				}
			factor = 10
		}
		modifier = {
			condition = {
				type = ruler_csc
					condition = { type = trait value = pneumonia }
				}
			factor = 5
		}
		modifier = {
			condition = {
				type = ruler_csc
					condition = { type = trait value = scholarly_theologian }
				}
			factor = 2
		}
		modifier = {
			condition = {
				type = ruler_csc
					condition = { type = trait value = temperate }
				}
			factor = 1.5
		}
		modifier = {
			condition = {
				type = ruler_csc
					condition = { type = trait value = zealous }
				}
			factor = 2
		}

	}

	action_a = {#Indulge in the passion
		ai_chance = 25
		effect = { 
			type = random
			chance = 10
			effect = { type = trigger for = ruler value = 23108 }
			}
		effect = {
			type = random
			chance = 25
			effect = {
				type = add_trait for = ruler
				value = lustful
			}
		}
		effect = {
			type = random
			chance = 25
			effect = { 
				type = add_trait for = spouse 
				value = suspicious
			}
			effect = { 
				type = loyalty for = spouse 
				value = 0.15
			}
		}
	}

	action_b = {#Try to resist the passion
		ai_chance = 25
		effect = { 
			type = random
			chance = 5
			effect = { type = trigger for = ruler value = 23108 }
			}
		effect = {
			type = random
			chance = 10
			effect = {
				type = add_trait for = ruler
				value = lustful
				}
			}
		effect = {
			type = random
			chance = 10
			effect = { 
				type = add_trait for = spouse 
				value = suspicious
			}
			effect = { 
				type = loyalty for = spouse 
				value = 0.15
			}
		}
	}

	action_c = {#Try to restrain the passion
		ai_chance = 25
		effect = { 
			type = random
			chance = 2
			effect = { type = trigger for = ruler value = 23108 }
			}
		effect = {
			type = random
			chance = 10
			effect = {
				type = add_trait for = ruler
				value = chaste
				}
			}
		effect = {
			type = random
			chance = 10
			effect = { 
				type = loyalty 
				value = -0.05
				}
			}
		effect = {
			type = random
			chance = 5
			effect = { 
				type = add_trait for = spouse 
				value = suspicious
				}
			effect = { 
				type = loyalty for = spouse 
				value = 0.15
				}
		}
	}
	action_d = {#Refuse the passion
		ai_chance = 25
#		effect = { type = piety value = 25 }
		effect = {
			type = random
			chance = 25
			effect = {
				type = add_trait for = ruler
				value = chaste
				}
		}
		effect = { type = loyalty value = -0.05 }
	}
}
############################################
# A strapping young man catches your eyes  #
############################################
character_event = {
	id = 1161

	picture = "event_intrigue"

	trigger = {
		condition = { type = gender value = male}
		condition = { type = age value = 15 }
		condition = { type = not value = { type = age value = 60 }}
		condition = { type = not value = { type = trait value = chaste }}
		condition = { type = fertility value = 1 }
		condition = {
			type = ruler_csc
				condition = { type = gender value = female }
				condition = { type = age value = 15 }
				condition = { type = not value = { type = age value = 40 }}
				condition = { type = not value = { type = trait value = chaste }}
				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 = ruler_csc
					condition = { type = trait value = depression }
				}
			factor = 2
		}
		modifier = {
			condition = {
				type = ruler_csc
					condition = { type = trait value = detached_priest }
				}
			factor = 1.5
		}
		modifier = {
			condition = {
				type = ruler_csc
					condition = { type = trait value = energetic }
				}
			factor = 0.8
		}
		modifier = {
			condition = {
				type = ruler_csc
					condition = { type = trait value = illness }
				}
			factor = 0.8
		}
		modifier = {
			condition = {
				type = ruler_csc
					condition = { type = trait value = indulgent }
				}
			factor = 0.6
		}
		modifier = {
			condition = {
				type = ruler_csc
					condition = { type = trait value = lustful }
				}
			factor = 0.4
		}
		modifier = {
			condition = {
				type = ruler_csc
					condition = { type = trait value = mastermind_theologian }
				}
			factor = 3
		}
		modifier = {
			condition = {
				type = ruler_csc
					condition = { type = trait value = modest }
				}
			factor = 1.2
		}
		modifier = {
			condition = {
				type = ruler_csc
					condition = { type = trait value = plagueinfested}
				}
			factor = 10
		}
		modifier = {
			condition = {
				type = ruler_csc
					condition = { type = trait value = pneumonia }
				}
			factor = 5
		}
		modifier = {
			condition = {
				type = ruler_csc
					condition = { type = trait value = scholarly_theologian }
				}
			factor = 2
		}
		modifier = {
			condition = {
				type = ruler_csc
					condition = { type = trait value = temperate }
				}
			factor = 1.5
		}
		modifier = {
			condition = {
				type = ruler_csc
					condition = { type = trait value = zealous }
				}
			factor = 2
		}

	}

	action_a = {#Indulge in the passion
		ai_chance = 25
		effect = { 
			type = random
			chance = 10
			effect = {
				type = create_courtier
				value = bastard 
				}
			effect = { type = trigger for = ruler value = 23109 }
			}
		effect = {
			type = random
			chance = 25
			effect = {
				type = add_trait for = ruler
				value = lustful
			}
		}
		effect = {
			type = random
			chance = 25
			effect = { 
				type = add_trait for = spouse 
				value = suspicious
			}
			effect = { 
				type = loyalty for = spouse 
				value = 0.15
			}
		}
	}

	action_b = {#Try to resist the passion
		ai_chance = 25
		effect = { 
			type = random
			chance = 5
			effect = {
				type = create_courtier
				value = bastard 
				}
			effect = { type = trigger for = ruler value = 23109 }
			}
		effect = {
			type = random
			chance = 10
			effect = {
				type = add_trait for = ruler
				value = lustful
				}
			}
		effect = {
			type = random
			chance = 10
			effect = { 
				type = add_trait for = spouse 
				value = suspicious
			}
			effect = { 
				type = loyalty for = spouse 
				value = 0.15
			}
		}
	}

	action_c = {#Try to restrain the passion
		ai_chance = 25
		effect = { 
			type = random
			chance = 2
			effect = {
				type = create_courtier
				value = bastard 
				}
			effect = { type = trigger for = ruler value = 23109 }
			}
		effect = {
			type = random
			chance = 10
			effect = {
				type = add_trait for = ruler
				value = chaste
				}
			}
		effect = {
			type = random
			chance = 10
			effect = { 
				type = loyalty 
				value = -0.05
				}
			}
		effect = {
			type = random
			chance = 5
			effect = { 
				type = add_trait for = spouse 
				value = suspicious
				}
			effect = { 
				type = loyalty for = spouse 
				value = 0.15
				}
		}
	}
	action_d = {#Refuse the passion
		ai_chance = 25
#		effect = { type = piety value = 25 }
		effect = {
			type = random
			chance = 25
			effect = {
				type = add_trait for = ruler
				value = chaste
				}
		}
		effect = { type = loyalty value = -0.05 }
	}
}


#Amours fertiles Souverain mâle.
character_event = {
	id = 23108
	
	picture = "event_intrigue"
	name = "You've got a Bastard"
	immidiate = {
		effect = { type = create_courtier value = bastard }
		effect = { type = piety value = -25 }
		effect = { type = loyalty for = spouse value = -0.2 }
	}
}
#Amours fertiles Souverain femelle.
character_event = {
	id = 23109
	
	picture = "event_intrigue"
	name = "You've got a Bastard"
	immidiate = {
		effect = { type = piety value = -25 }
		effect = { type = loyalty for = spouse value = -0.2 }
	}
}

Some Errors corrected...
 
Last edited:
Ehh...
How do I use these "events"???
I tried copy them and write it in a notepad and then insert in the event-folder and write them into the event.textfile!
What do I do wrong???
 
Northern Viking said:
Ehh...
How do I use these "events"???
I tried copy them and write it in a notepad and then insert in the event-folder and write them into the event.textfile!
What do I do wrong???

For events II. and III. (Martial Cleric leave to a knight order. and A page continue his formation at your lord's court.)
I. Copy them in notepad file in \Crusader Kings\db\events (exemple : travel.txt)
II. at the end of Crusader Kings\db\events.txt file, enter newfile name :
exemple :
#Captain
event = "db\events\travel.txt"

and they works :)

For events I., you should use these instead of the two first events in trait_events.txt file... (don't forget to backup this file).
Recopy/past this event, because i have corrected some errors..
 
Code:
#Epouse jalouse. Jealous wife.
character_event = {
	id = 23103
	
	picture = "event_sickness"
	name = "Empoisonnement inexpliqué"
	trigger = {
		condition = { type = trait value = bastard }
		condition = { type = ruler_child }
		condition = { 
			type = father
			condition = { type = is_married }
		}
		condition = { type = father condition = { type = spouse
			condition = { type = or 
				condition = { type = not value = { type = trait value = forgiving }}
				condition = { type = and
					condition = { type = trait value = schizofrenia }
					condition = { type = trait value = forgiving }
					}
				}
		} }
	}

	mean_time_to_happen = {
		years = 100

		modifier = {
			condition = { type = father_trait value = lustful }
			factor = 0.9
		}

		modifier = {
			condition = { type = father_trait value = Chaste }
			factor = 1.5
		}
		modifier = { 
			condition = { type = father condition = { type = spouse
			condition = { type = trait value = chaste }
			}}
			factor = 0.9
		}

		modifier = { 
			condition = { type = father condition = { type = spouse
			condition = { type = trait value = cruel }
			}}
			factor = 0.8
		}

		modifier = { 
			condition = { type = father condition = { type = spouse
			condition = { type = trait value = arbitrary }
			}}
			factor = 0.8
		}

		modifier = { 
			condition = { type = father condition = { type = spouse
			condition = { type = trait value = indulgent }
			}}
			factor = 2
		}

		modifier = { 
			condition = { type = father condition = { type = spouse
			condition = { type = trait value = just }
			}}
			factor = 1.5
		}
		modifier = { 
			condition = { type = father condition = { type = spouse
			condition = { type = trait value = Lustful }
			}}
			factor = 1.2
		}
		modifier = { 
			condition = { type = father condition = { type = spouse
			condition = { type = trait value = Merciful }
			}}
			factor = 1.5
		}
		modifier = { 
			condition = { type = father condition = { type = spouse
			condition = { type = trait value = Proud }
			}}
			factor = 0.9
		}
		modifier = { 
			condition = { type = father condition = { type = spouse
			condition = { type = trait value = Reckless }
			}}
			factor = 0.5
		}
		modifier = { 
			condition = { type = father condition = { type = spouse
			condition = { type = trait value = Suspicious }
			}}
			factor = 0.7
		}
		modifier = { 
			condition = { type = father condition = { type = spouse
			condition = { type = trait value = Temperate }
			}}
			factor = 0.7
		}
		modifier = { 
			condition = { type = father condition = { type = spouse
			condition = { type = trait value = Trusting }
			}}
			factor = 1.5
		}
		modifier = { 
			condition = { type = father condition = { type = spouse
			condition = { type = trait value = Vengeful }
			}}
			factor = 0.1
		}
		modifier = { 
			condition = { type = father condition = { type = spouse
			condition = { type = trait value = schizofrenia }
			}}
			factor = 0.5
		}
		modifier = { 
			condition = { type = father condition = { type = spouse
			condition = { type = trait value = forgiving }
			}}
			factor = 2
		}
		modifier = { 
			condition = { type = father condition = { type = spouse
			condition = { type = trait value = illusive_shadow }
			}}
			factor = 0.5
		}
		modifier = { 
			condition = { type = father condition = { type = spouse
			condition = { type = trait value = intricate_webweaver }
			}}
			factor = 0.6
		}
		modifier = { 
			condition = { type = father condition = { type = spouse
			condition = { type = trait value = flamboyant_schemer }
			}}
			factor = 0.7
		}
	}
	immidiate = {
		effect = {
			type = random
			chance = 75
			effect = { type = health value = -1 }
			effect = {
				type = random
				chance = 50
				effect = { type = health value = -1 }
				effect = {
					type = random
					chance = 25
					effect = { type = health value = -1 }
					effect = {
						type = random
						chance = 20
						effect = { type = add_trait value = illness }
					}
					effect = {
						type = random
						chance = 15
						effect = { type = add_trait value = inbred }
					}
					effect = {
						type = random
						chance = 10
						effect = { type = death }
					}
				}
			}
		}
	}
}

Edit : Corrected with the help of Richard Van Houten.
 
Last edited:
Captain Frakas said:
Code:
#Epouse jalouse. Jealous wife.
character_event = {
	id = 23103
	
	picture = "event_sickness"
	name = "Unexplained poisoning."
	trigger = {
		condition = { type = trait value = bastard }
		condition = { type = ruler_child }
		condition = { 
			type = father
			condition = { type = is_married }
		}
		condition = { type = father 
			condition = { type = spouse
				condition = { type = not value = { type = or
						condition = { type = trait value = forgiving }
						condition = { type = and
							condition = { type = not value = { type 

= trait value = Schizophrenia } }
							condition = { type = trait value = 

forgiving }
						}
				} }
			}
		}

	}
<SNIP>
What's the point of the test on ((NOT schizophrenic) AND forgiving)? Since it is ORed with forgiving, it isn't adding anything to the test. Exactly which classes of (step)mothers are you trying to exclude/include? If you want poisonings when the father's spouse is not forgiving or when the father's spouse is forgiving and schizophrenic, which is as near as I can come to your reasoning, then this is the test you want:

Code:
		condition = { type = father 
			condition = { type = spouse
				condition = { type = or 
					condition = { type - not
                                        	value = trait value = forgiving }
					condition = { type = and
						condition = { type = trait value = Schizophrenia }
						condition = { type = trait value = forgiving }
					}
				}
			}
		}
 
richvh said:
What's the point of the test on ((NOT schizophrenic) AND forgiving)? Since it is ORed with forgiving, it isn't adding anything to the test. Exactly which classes of (step)mothers are you trying to exclude/include? If you want poisonings when the father's spouse is not forgiving or when the father's spouse is forgiving and schizophrenic, which is as near as I can come to your reasoning, then this is the test you want:

Code:
		condition = { type = father 
			condition = { type = spouse
				condition = { type = or 
					condition = { type - not
                                        	value = trait value = forgiving }
					condition = { type = and
						condition = { type = trait value = Schizophrenia }
						condition = { type = trait value = forgiving }
					}
				}
			}
		}

First Thank you a lot for your help Richard,
and yes it's exactly that i wanted...

I want that if spouse is forgiving and not Schizophrenic, she dosen't try to poisonings her husband's bastard.
But if she is Forgiving AND Schizophrenic, she will try...
 
Another thing (which I forgot, since I have been away from CK modding for a while): the trait tag for schizophrenia is schizofrenia; note the spelling with "f" rather than "ph".
 
Corrected