##############################
#  EARLY  EDUCATION SERIES   #
#  As revised by Chris Stone #
##############################

#######################################
# A formal education for an offspring #
#######################################

character_event = {
	id = 1012
	
	picture = "event_education"

	trigger = {
		condition = { type = gender value = male }
		condition = { type = not value = { type = trait value = bastard } } #handled elsewhere
		condition = { type = age value = 5 }
		condition = {
						type = not
						value = {
							type = age
							value = 16
						}
					}
		condition = {
			type = not
			value = {
				type = trait
				value = detached_priest 
			}
		}
		condition = {
			type = not
			value = {
				type = trait
				value = martial_cleric 
			}
		}
		condition = {
			type = not
			value = {
				type = trait
				value = scholarly_theologian 
			}
		}
		condition = {
			type = not
			value = {
				type = trait
				value = mastermind_theologian 
			}
		}
		condition = {
			type = not
			value = {
				type = trait
				value = misguided_warrior 
			}
		}
		condition = {
			type = not
			value = {
				type = trait
				value = tough_soldier 
			}
		}
		condition = {
			type = not
			value = {
				type = trait
				value = knowledged_tactician 
			}
		}
		condition = {
			type = not
			value = {
				type = trait
				value = brilliant_strategist 
			}
		}
		condition = {
			type = not
			value = {
				type = trait
				value = naive_wirepuller 
			}
		}
		condition = {
			type = not
			value = {
				type = trait
				value = flamboyant_schemer 
			}
		}
		condition = {
			type = not
			value = {
				type = trait
				value = intricate_webweaver 
			}
		}
		condition = {
			type = not
			value = {
				type = trait
				value = illusive_shadow 
			}
		}
		condition = {
			type = not
			value = {
				type = trait
				value = amateurish_pettifogger 
			}
		}
		condition = {
			type = not
			value = {
				type = trait
				value = proven_dealbreaker 
			}
		}
		condition = {
			type = not
			value = {
				type = trait
				value = charismatic_negotiator 
			}
		}
		condition = {
			type = not
			value = {
				type = trait
				value = grey_eminence 
			}
		}
		condition = {
			type = not
			value = {
				type = trait
				value = hole_in_the_pocket 
			}
		}
		condition = {
			type = not
			value = {
				type = trait
				value = proven_accountant 
			}
		}
		condition = {
			type = not
			value = {
				type = trait
				value = fortune_builder 
			}
		}
		condition = {
			type = not
			value = {
				type = trait
				value = midas_touched 
			}
		}		
		condition = {
			type = not
			value = {
				type = trait
				value = court_education
			}
		}
		condition = {
			type = not
			value = {
				type = trait
				value = ecclesiastical_education
			}
		}
		condition = {
			type = not
			value = {
				type = trait
				value = martial_education
			}
		}
	}

	mean_time_to_happen = {
		days = 1

	}
	action_a = {
		ai_chance = 36
			#start AI modifier block
			modifier = {
				condition = { type = not value = { type = diplomacy value = 2 } }
				factor = 0.9
			}
			modifier = {
				condition = { type = not value = { type = diplomacy value = 4 } }
				factor = 0.9
			}
			modifier = { 
				condition = { type = diplomacy value = 7 }
				factor = 1.05
			}
			modifier = { 
				condition = { type = diplomacy value = 9 }
				factor = 1.1
			}
			modifier = { 
				condition = { type = intrigue value = 7 }
				factor = 1.1
			}
			modifier = { 
				condition = { type = intrigue value = 9 }
				factor = 1.2
			}
			modifier = { 
				condition = { type = stewardship value = 7 }
				factor = 1.2
			}
			modifier = { 
				condition = { type = stewardship value = 9 }
				factor = 1.25
			}
			modifier = {
				condition = { type = not value = { type = health value = 7 } }
				factor = 1.1
			}
			modifier = {
				condition = { type = not value = { type = health value = 9 } }
				factor = 1.1
			}
			#end AI modifier block
		effect = { type = add_trait value = court_education }
		effect = { type = prestige value = 5 }
	}
	action_b = {
		ai_chance = 32
			#start AI modifier block
			modifier = {
				condition = { type = not value = { type = diplomacy value = 2 } }
				factor = 0.75
			}
			modifier = {
				condition = { type = not value = { type = diplomacy value = 4 } }
				factor = 0.75
			}
			modifier = {
				condition = { type = not value = { type = intrigue value = 2 } }
				factor = 0.85
			}
			modifier = {
				condition = { type = not value = { type = intrigue value = 4 } }
				factor = 0.85
			}
			modifier = {
				condition = { type = not value = { type = stewardship value = 2 } }
				factor = 0.9
			}
			modifier = {
				condition = { type = not value = { type = stewardship value = 4 } }
				factor = 0.9
			}
			modifier = {
				condition = { type = not value = { type = health value = 2 } }
				factor = 1.1
			}
			modifier = {
				condition = { type = not value = { type = health value = 4 } }
				factor = 1.1
			}
			#end AI modifier block
		effect = { type = add_trait value = ecclesiastical_education }
		effect = { type = piety value = 10 }
	}
	action_c = {
		ai_chance = 32
			#start AI modifier block
			modifier = {
				condition = { type = not value = { type = martial value = 2 } }
				factor = 0.75
			}
			modifier = {
				condition = { type = not value = { type = martial value = 4 } }
				factor = 0.75
			}
			modifier = { 
				condition = { type = martial value = 7 }
				factor = 1.25
			}
			modifier = { 
				condition = { type = martial value = 9 }
				factor = 1.25
			}
			modifier = { 
				condition = { type = diplomacy value = 7 }
				factor = 0.9
			}
			modifier = { 
				condition = { type = diplomacy value = 9 }
				factor = 0.85
			}
			modifier = {
				condition = { type = not value = { type = intrigue value = 2 } }
				factor = 1.1
			}
			modifier = {
				condition = { type = not value = { type = intrigue value = 4 } }
				factor = 1.1
			}
			modifier = { 
				condition = { type = intrigue value = 7 }
				factor = 0.95
			}
			modifier = { 
				condition = { type = intrigue value = 9 }
				factor = 0.85
			}
			modifier = {
				condition = { type = not value = { type = stewardship value = 2 } }
				factor = 1.2
			}
			modifier = {
				condition = { type = not value = { type = stewardship value = 4 } }
				factor = 1.2
			}
			modifier = { 
				condition = { type = stewardship value = 7 }
				factor = 0.8
			}
			modifier = { 
				condition = { type = stewardship value = 9 }
				factor = 0.8
			}
			modifier = {
				condition = { type = not value = { type = health value = 2 } }
				factor = 0.65
			}
			modifier = {
				condition = { type = not value = { type = health value = 4 } }
				factor = 0.8
			}
			modifier = {
				condition = { type = not value = { type = health value = 7 } }
				factor = 1.2
			}
			modifier = {
				condition = { type = not value = { type = health value = 9 } }
				factor = 1.2
			}
			#end AI modifier block
		effect = { type = add_trait value = martial_education }
		effect = { type = prestige value = 15 }
	}
}
#######################################
# A formal education for an offspring #
#######################################

character_event = {
	id = 1015
	
	picture = "event_education"

	trigger = {
		condition = { type = gender value = female }
		condition = { type = age value = 5 }
		condition = {
						type = not
						value = {
							type = age
							value = 16
						}
					}
		condition = {
				type = not
				value = {
					type = trait
					value = court_education
				}
				}
		condition = {
				type = not
				value = {
					type = trait
					value = ecclesiastical_education
				}
				}
		condition = {
			type = not
			value = {
				type = trait
				value = detached_priest 
			}
		}
		condition = {
			type = not
			value = {
				type = trait
				value = martial_cleric 
			}
		}
		condition = {
			type = not
			value = {
				type = trait
				value = scholarly_theologian 
			}
		}
		condition = {
			type = not
			value = {
				type = trait
				value = mastermind_theologian 
			}
		}
		condition = {
			type = not
			value = {
				type = trait
				value = misguided_warrior 
			}
		}
		condition = {
			type = not
			value = {
				type = trait
				value = tough_soldier 
			}
		}
		condition = {
			type = not
			value = {
				type = trait
				value = knowledged_tactician 
			}
		}
		condition = {
			type = not
			value = {
				type = trait
				value = brilliant_strategist 
			}
		}
		condition = {
			type = not
			value = {
				type = trait
				value = naive_wirepuller 
			}
		}
		condition = {
			type = not
			value = {
				type = trait
				value = flamboyant_schemer 
			}
		}
		condition = {
			type = not
			value = {
				type = trait
				value = intricate_webweaver 
			}
		}
		condition = {
			type = not
			value = {
				type = trait
				value = illusive_shadow 
			}
		}
		condition = {
			type = not
			value = {
				type = trait
				value = amateurish_pettifogger 
			}
		}
		condition = {
			type = not
			value = {
				type = trait
				value = proven_dealbreaker 
			}
		}
		condition = {
			type = not
			value = {
				type = trait
				value = charismatic_negotiator 
			}
		}
		condition = {
			type = not
			value = {
				type = trait
				value = grey_eminence 
			}
		}
		condition = {
			type = not
			value = {
				type = trait
				value = hole_in_the_pocket 
			}
		}
		condition = {
			type = not
			value = {
				type = trait
				value = proven_accountant 
			}
		}
		condition = {
			type = not
			value = {
				type = trait
				value = fortune_builder 
			}
		}
		condition = {
			type = not
			value = {
				type = trait
				value = midas_touched 
			}
		}		
		condition = {
			type = not
			value = {
				type = trait
				value = court_education
			}
		}
				
	}

	mean_time_to_happen = {
		days = 1
		
	}

	action_a = {
		ai_chance = 55
			#start AI modifier block
			modifier = {
				condition = { type = not value = { type = diplomacy value = 2 } }
				factor = 1.15
			}
			modifier = {
				condition = { type = not value = { type = diplomacy value = 4 } }
				factor = 1.15
			}
			modifier = { 
				condition = { type = diplomacy value = 7 }
				factor = 1.05
			}
			modifier = { 
				condition = { type = diplomacy value = 9 }
				factor = 1.1
			}
			modifier = {
				condition = { type = not value = { type = intrigue value = 2 } }
				factor = 1.15
			}
			modifier = {
				condition = { type = not value = { type = intrigue value = 4 } }
				factor = 1.15
			}
			modifier = { 
				condition = { type = intrigue value = 7 }
				factor = 1.1
			}
			modifier = { 
				condition = { type = intrigue value = 9 }
				factor = 1.1
			}
			modifier = {
				condition = { type = not value = { type = stewardship value = 2 } }
				factor = 1.1
			}
			modifier = {
				condition = { type = not value = { type = stewardship value = 4 } }
				factor = 1.1
			}
			modifier = { 
				condition = { type = stewardship value = 7 }
				factor = 1.2
			}
			modifier = { 
				condition = { type = stewardship value = 9 }
				factor = 1.25
			}
			modifier = {
				condition = { type = not value = { type = health value = 2 } }
				factor = 0.9
			}
			modifier = {
				condition = { type = not value = { type = health value = 4 } }
				factor = 0.9
			}
			modifier = {
				condition = { type = not value = { type = health value = 7 } }
				factor = 1.1
			}
			modifier = {
				condition = { type = not value = { type = health value = 9 } }
				factor = 1.1
			}
			#end AI modifier block
		effect = { type = add_trait value = court_education }
		effect = { type = prestige value = 5 }
	}
	action_b = {
		ai_chance = 45
			#start AI modifier block
			#none required since only 2 choices to weight
			#end AI modifier block
		effect = { type = add_trait value = ecclesiastical_education }
		effect = { type = piety value = 10 }
	}
}

##############################
#  LATE  EDUCATION SERIES    #
#  As revised by Chris Stone #
#  Last updated: 10/16/04    #
##############################
#
# An offspring finishes his education
# He became a naive_wirepuller 
#
character_event = {
	id = 1025
	picture = "event_education"
	trigger = {
		condition = { type = gender value = male }
		condition = { type = age value = 16}
		condition = { type = trait value = court_education }
	}
	mean_time_to_happen = {
		months = 35
		modifier = {
			condition = { type = not value = { type = diplomacy value = 5 } }
			factor = 0.95
		}
		modifier = {
			condition = { type = diplomacy value = 8 }
			factor = 1.05
		}
		modifier = {
			condition = { type = not value = { type = intrigue value = 5 } }
			factor = 1.25
		}
		modifier = {
			condition = { type = intrigue value = 8 }
			factor = 1.15
		}
		modifier = {
			condition = { type = not value = { type = stewardship value = 5 } }
			factor = 0.95
		}
		modifier = {
			condition = { type = stewardship value = 8 }
			factor = 1.05
		}
		modifier = {
			condition = { type = not value = { type = health value = 4 } }
			factor = 0.9
		}
		modifier = {
			condition = { type = health value = 7 }
			factor = 1.1
		}
		modifier = {
			condition = { type = trait value = arbitrary }
			factor = 0.85 
		}
		modifier = {
			condition = { type = trait value = chaste }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = coward }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = honest }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = just }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = lustful }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = maniac }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = modest }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = proud }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = schizofrenia }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = selfish }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = lisp }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = trusting }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = valorous }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = vengeful }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = wise }
			factor = 1.2 
		}
		modifier = {
			condition = { type = father_trait value = naive_wirepuller }
			factor = 0.9 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = naive_wirepuller }
      }
      factor = 0.9
    }
		modifier = {
			condition = { type = father_trait value = flamboyant_schemer }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = flamboyant_schemer }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = illusive_shadow }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = illusive_shadow }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = amateurish_pettifogger }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = amateurish_pettifogger }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = grey_eminence }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = grey_eminence }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = hole_in_the_pocket }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = hole_in_the_pocket }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = midas_touched }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = midas_touched }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = detached_priest }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = detached_priest }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = mastermind_theologian }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = mastermind_theologian }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = misguided_warrior }
			factor = 0.95 
		}
		modifier = {
			condition = { type = father_trait value = brilliant_tactician }
			factor = 1.05
		}
		modifier = {
			condition = {
				type = spymaster_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = spymaster_csc 
					condition = { type = trait value = naive_wirepuller }
			}
			factor = 0.9 
		}
		modifier = {
			condition = {
				type = spymaster_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = spymaster_csc 
					condition = { type = trait value = flamboyant_schemer }
			}
			factor = 0.95 
		}
		modifier = {
			condition = {
				type = spymaster_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = spymaster_csc 
					condition = { type = trait value = illusive_shadow }
			}
			factor = 1.05 
		}
		modifier = {
			condition = {
				type = spymaster_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = spymaster_csc 
					condition = { type = intrigue value = 10 }
			}
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = vengeful }
			factor = 0.7
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = honest }
			condition = { type = not value = { type = trait value = vengeful } }
			factor = 1.35
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = suspicious }
			condition = { type = not value = { type = trait value = vengeful } }
			factor = 0.9
		}
	}
	immidiate = { 
		effect = { type = remove_trait value = court_education }
		effect = { type = add_trait value = naive_wirepuller }
	}
}
#
# An offspring finishes his education
# He became a flamboyant_schemer 
#
character_event = {
	id = 1026
	picture = "event_education"
	trigger = {
		condition = { type = gender value = male }
		condition = { type = age value = 16}
		condition = { type = trait value = court_education }
	}
	mean_time_to_happen = {
		months = 30
		modifier = {
			condition = { type = not value = { type = intrigue value = 5 } }
			factor = 1.5
		}
		modifier = {
			condition = { type = intrigue value = 8 }
			factor = 0.9
		}
		modifier = {
			condition = { type = not value = { type = stewardship value = 5 } }
			factor = 0.95
		}
		modifier = {
			condition = { type = stewardship value = 8 }
			factor = 1.05
		}
		modifier = {
			condition = { type = trait value = bastard }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = chaste }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = clubfooted }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = coward }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = cruel }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = deceitful }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = energetic }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = excommunicated }
			factor = 15 
		}
		modifier = {
			condition = { type = trait value = generous }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = harelip }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = heretic }
			factor = 10 
		}
		modifier = {
			condition = { type = trait value = honest }
			factor = 1.25 
		}
		modifier = {
			condition = { type = trait value = hunchback }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = indulgent }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = just }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = kinslayer }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = lustful }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = merciful }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = modest }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = proud }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = reckless }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = sceptical }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = schizofrenia }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = selfish }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = lisp }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = suspicious }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = temperate }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = trusting }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = valorous }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = wise }
			factor = 1.15 
		}
		modifier = {
			condition = { type = father_trait value = naive_wirepuller }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = naive_wirepuller }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = flamboyant_schemer }
			factor = 0.9 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = flamboyant_schemer }
      }
      factor = 0.9
    }
		modifier = {
			condition = { type = father_trait value = intricate_webweaver }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = intricate_webweaver }
      }
      factor = 0.95
    }
		modifier = {
			condition = {
				type = spymaster_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = spymaster_csc 
					condition = { type = trait value = naive_wirepuller }
			}
			factor = 0.95 
		}
		modifier = {
			condition = {
				type = spymaster_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = spymaster_csc 
					condition = { type = trait value = flamboyant_schemer }
			}
			factor = 0.9 
		}
		modifier = {
			condition = {
				type = spymaster_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = spymaster_csc 
					condition = { type = trait value = intricate_webweaver }
			}
			factor = 0.95 
		}
		modifier = {
			condition = {
				type = spymaster_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = spymaster_csc 
					condition = { type = intrigue value = 10 }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { school = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { library = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { royal_post = yes } }
			}
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = vengeful }
			factor = 0.65
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = honest }
			condition = { type = not value = { type = trait value = vengeful } }
			factor = 1.5
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = suspicious }
			condition = { type = not value = { type = trait value = vengeful } }
			factor = 0.85
		}
	}
	immidiate = { 
		effect = { type = remove_trait value = court_education }
		effect = { type = add_trait value = flamboyant_schemer }
	}
}
#
# An offspring finishes his education
# He became a intricate_webweaver 
#
character_event = {
	id = 1027
	picture = "event_education"
	trigger = {
		condition = { type = gender value = male }
		condition = { type = age value = 16}
		condition = { type = trait value = court_education }
	}
	mean_time_to_happen = {
		months = 40
		modifier = {
			condition = { type = not value = { type = diplomacy value = 5 } }
			factor = 1.05
		}
		modifier = {
			condition = { type = diplomacy value = 8 }
			factor = 0.95
		}
		modifier = {
			condition = { type = not value = { type = intrigue value = 5 } }
			factor = 2
		}
		modifier = {
			condition = { type = intrigue value = 8 }
			factor = 0.7
		}
		modifier = {
			condition = { type = not value = { type = health value = 4 } }
			factor = 1.1
		}
		modifier = {
			condition = { type = health value = 7 }
			factor = 0.95
		}
		modifier = {
			condition = { type = trait value = arbitrary }
			factor = 1.2 
		}
		modifier = {
			condition = { type = trait value = bastard }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = clubfooted }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = cruel }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = crusader }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = deceitful }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = depression }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = energetic }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = excommunicated }
			factor = 5 
		}
		modifier = {
			condition = { type = trait value = forgiving }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = generous }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = harelip }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = heretic }
			factor = 5 
		}
		modifier = {
			condition = { type = trait value = honest }
			factor = 1.5 
		}
		modifier = {
			condition = { type = trait value = hunchback }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = inbred }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = indulgent }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = just }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = kinslayer }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = lazy }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = lisp }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = maniac }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = merciful }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = proud }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = reckless }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = sceptical }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = schizofrenia }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = suspicious }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = temperate }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = trusting }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = valorous }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = vengeful }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = zealous }
			factor = 1.05 
		}
		modifier = {
			condition = { type = father_trait value = flamboyant_schemer }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = flamboyant_schemer }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = intricate_webweaver }
			factor = 0.9 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = intricate_webweaver }
      }
      factor = 0.9
    }
		modifier = {
			condition = { type = father_trait value = illusive_shadow }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = illusive_shadow }
      }
      factor = 0.95
    }
		modifier = {
			condition = {
				type = spymaster_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = spymaster_csc 
					condition = { type = trait value = flamboyant_schemer }
			}
			factor = 0.95 
		}
		modifier = {
			condition = {
				type = spymaster_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = spymaster_csc 
					condition = { type = trait value = intricate_webweaver }
			}
			factor = 0.9 
		}
		modifier = {
			condition = {
				type = spymaster_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = spymaster_csc 
					condition = { type = trait value = illusive_shadow }
			}
			factor = 0.95 
		}
		modifier = {
			condition = {
				type = spymaster_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = spymaster_csc 
					condition = { type = intrigue value = 10 }
			}
			factor = 0.9 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { school = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { library = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { university = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { grand_palace = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { large_castle = yes } }
			}
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = vengeful }
			factor = 0.5
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = honest }
			condition = { type = not value = { type = trait value = vengeful } }
			factor = 1.1
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = suspicious }
			condition = { type = not value = { type = trait value = vengeful } }
			factor = 0.8
		}
	}
	immidiate = { 
		effect = { type = remove_trait value = court_education }
		effect = { type = add_trait value = intricate_webweaver }
	}
}
#
# An offspring finishes his education
# He became a illusive_shadow 
#
character_event = {
	id = 1028
	picture = "event_education"
	trigger = {
		condition = { type = gender value = male }
		condition = { type = age value = 16}
		condition = { type = trait value = court_education }
	}
	mean_time_to_happen = {
		months = 50
		modifier = {
			condition = { type = not value = { type = diplomacy value = 5 } }
			factor = 1.05
		}
		modifier = {
			condition = { type = diplomacy value = 8 }
			factor = 0.95
		}
		modifier = {
			condition = { type = not value = { type = intrigue value = 5 } }
			factor = 5
		}
		modifier = {
			condition = { type = intrigue value = 8 }
			factor = 0.8
		}
		modifier = {
			condition = { type = not value = { type = health value = 4 } }
			factor = 0.9
		}
		modifier = {
			condition = { type = health value = 7 }
			factor = 0.95
		}
		modifier = {
			condition = { type = trait value = arbitrary }
			factor = 1.5 
		}
		modifier = {
			condition = { type = trait value = bastard }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = chaste }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = coward }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = crusader }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = deceitful }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = depression }
			factor = 1.25 
		}
		modifier = {
			condition = { type = trait value = energetic }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = excommunicated }
			factor = 3 
		}
		modifier = {
			condition = { type = trait value = forgiving }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = generous }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = harelip }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = heretic }
			factor = 3 
		}
		modifier = {
			condition = { type = trait value = honest }
			factor = 2 
		}
		modifier = {
			condition = { type = trait value = hunchback }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = inbred }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = indulgent }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = just }
			factor = 1.2 
		}
		modifier = {
			condition = { type = trait value = lazy }
			factor = 1.25 
		}
		modifier = {
			condition = { type = trait value = lisp }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = lustful }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = maniac }
			factor = 1.2 
		}
		modifier = {
			condition = { type = trait value = merciful }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = modest }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = proud }
			factor = 1.2 
		}
		modifier = {
			condition = { type = trait value = reckless }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = schizofrenia }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = selfish }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = suspicious }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = trusting }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = valorous }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = wise }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = zealous }
			factor = 1.15 
		}
		modifier = {
			condition = { type = father_trait value = naive_wirepuller }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = naive_wirepuller }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = intricate_webweaver }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = intricate_webweaver }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = illusive_shadow }
			factor = 0.9 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = illusive_shadow }
      }
      factor = 0.9
    }
		modifier = {
			condition = { type = father_trait value = amateurish_pettifogger }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = amateurish_pettifogger }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = grey_eminence }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = grey_eminence }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = hole_in_the_pocket }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = hole_in_the_pocket }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = midas_touched }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = midas_touched }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = detached_priest }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = detached_priest }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = mastermind_theologian }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = mastermind_theologian }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = misguided_warrior }
			factor = 1.05 
		}
		modifier = {
			condition = { type = father_trait value = brilliant_tactician }
			factor = 0.95
		}
		modifier = {
			condition = {
				type = spymaster_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = spymaster_csc 
					condition = { type = trait value = naive_wirepuller }
			}
			factor = 1.05 
		}
		modifier = {
			condition = {
				type = spymaster_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = spymaster_csc 
					condition = { type = trait value = intricate_webweaver }
			}
			factor = 0.95 
		}
		modifier = {
			condition = {
				type = spymaster_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = spymaster_csc 
					condition = { type = trait value = illusive_shadow }
			}
			factor = 0.9 
		}
		modifier = {
			condition = {
				type = spymaster_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = spymaster_csc 
					condition = { type = intrigue value = 10 }
			}
			factor = 0.9 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { school = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { library = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { university = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { grand_palace = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { royal_post = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { large_castle = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { huge_castle = yes } }
			}
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = vengeful }
			factor = 0.4
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = honest }
			condition = { type = not value = { type = trait value = vengeful } }
			factor = 2
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = suspicious }
			condition = { type = not value = { type = trait value = vengeful } }
			factor = 0.75
		}
	}
	immidiate = { 
		effect = { type = remove_trait value = court_education }
		effect = { type = add_trait value = illusive_shadow }
	}
}
#
# An offspring finishes his education
# He became a amateurish_pettifogger 
#
character_event = {
	id = 1029
	picture = "event_education"
	trigger = {
		condition = { type = gender value = male }
		condition = { type = age value = 16}
		condition = { type = trait value = court_education }
	}
	mean_time_to_happen = {
		months = 35
		modifier = {
			condition = { type = not value = { type = diplomacy value = 5 } }
			factor = 1.25
		}
		modifier = {
			condition = { type = diplomacy value = 8 }
			factor = 1.15
		}
		modifier = {
			condition = { type = not value = { type = intrigue value = 5 } }
			factor = 0.95
		}
		modifier = {
			condition = { type = intrigue value = 8 }
			factor = 1.05
		}
		modifier = {
			condition = { type = not value = { type = stewardship value = 5 } }
			factor = 0.95
		}
		modifier = {
			condition = { type = stewardship value = 8 }
			factor = 1.05
		}
		modifier = {
			condition = { type = not value = { type = health value = 4 } }
			factor = 0.9
		}
		modifier = {
			condition = { type = health value = 7 }
			factor = 1.1
		}
		modifier = {
			condition = { type = trait value = arbitrary }
			factor = 0.85 
		}
		modifier = {
			condition = { type = trait value = chaste }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = cruel }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = deceitful }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = harelip }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = honest }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = hunchback }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = inbred }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = kinslayer }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = lustful }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = merciful }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = proud }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = schizofrenia }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = lisp }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = trusting }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = wise }
			factor = 1.1 
		}
		modifier = {
			condition = { type = father_trait value = naive_wirepuller }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = naive_wirepuller }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = illusive_shadow }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = illusive_shadow }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = amateurish_pettifogger }
			factor = 0.9 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = amateurish_pettifogger }
      }
      factor = 0.9
    }
		modifier = {
			condition = { type = father_trait value = proven_dealbreaker }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = proven_dealbreaker }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = grey_eminence }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = grey_eminence }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = hole_in_the_pocket }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = hole_in_the_pocket }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = midas_touched }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = midas_touched }
      }
      factor = 1.05
    }
		modifier = {
			condition = {
				type = chancellor_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = chancellor_csc 
					condition = { type = trait value = amateurish_pettifogger }
			}
			factor = 0.9 
		}
		modifier = {
			condition = {
				type = chancellor_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = chancellor_csc 
					condition = { type = trait value = proven_dealbreaker }
			}
			factor = 0.95 
		}
		modifier = {
			condition = {
				type = chancellor_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = chancellor_csc 
					condition = { type = trait value = grey_eminence }
			}
			factor = 1.05 
		}
		modifier = {
			condition = { type = father_trait value = detached_priest }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = detached_priest }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = mastermind_theologian }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = mastermind_theologian }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = misguided_warrior }
			factor = 0.95 
		}
		modifier = {
			condition = { type = father_trait value = brilliant_tactician }
			factor = 1.05
		}
		modifier = {
			condition = {
				type = chancellor_csc 
					condition = { type = diplomacy value = 10 }
			}
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = vengeful }
			factor = 2
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = honest }
			condition = { type = not value = { type = trait value = vengeful } }
			factor = 0.8
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = suspicious }
			condition = { type = not value = { type = trait value = vengeful } }
			factor = 1.5
		}
	}
	immidiate = { 
		effect = { type = remove_trait value = court_education }
		effect = { type = add_trait value = amateurish_pettifogger }
	}
}
#
# An offspring finishes his education
# He became a proven_dealbreaker 
#
character_event = {
	id = 1030
	picture = "event_education"
	trigger = {
		condition = { type = gender value = male }
		condition = { type = age value = 16}
		condition = { type = trait value = court_education }
	}
	mean_time_to_happen = {
		months = 30
		modifier = {
			condition = { type = not value = { type = diplomacy value = 5 } }
			factor = 1.5
		}
		modifier = {
			condition = { type = diplomacy value = 8 }
			factor = 0.9
		}
		modifier = {
			condition = { type = trait value = energetic }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = excommunicated }
			factor = 10 
		}
		modifier = {
			condition = { type = trait value = harelip }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = heretic }
			factor = 3 
		}
		modifier = {
			condition = { type = trait value = honest }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = hunchback }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = kinslayer }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = lazy }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = lisp }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = maniac }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = merciful }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = modest }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = proud }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = reckless }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = sceptical }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = selfish }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = suspicious }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = trusting }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = valorous }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = vengeful }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = zealous }
			factor = 0.95 
		}
		modifier = {
			condition = { type = father_trait value = amateurish_pettifogger }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = amateurish_pettifogger }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = proven_dealbreaker }
			factor = 0.9 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = proven_dealbreaker }
      }
      factor = 0.9
    }
		modifier = {
			condition = { type = father_trait value = charismatic_negotiator }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = charismatic_negotiator }
      }
      factor = 0.95
    }
		modifier = {
			condition = {
				type = chancellor_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = chancellor_csc 
					condition = { type = trait value = amateurish_pettifogger }
			}
			factor = 0.95 
		}
		modifier = {
			condition = {
				type = chancellor_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = chancellor_csc 
					condition = { type = trait value = proven_dealbreaker }
			}
			factor = 0.9 
		}
		modifier = {
			condition = {
				type = chancellor_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = chancellor_csc 
					condition = { type = trait value = charismatic_negotiator }
			}
			factor = 0.95 
		}
		modifier = {
			condition = {
				type = chancellor_csc 
					condition = { type = diplomacy value = 10 }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { library = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { grand_palace = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { large_castle = yes } }
			}
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = vengeful }
			factor = 3
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = honest }
			condition = { type = not value = { type = trait value = vengeful } }
			factor = 0.85
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = suspicious }
			condition = { type = not value = { type = trait value = vengeful } }
			factor = 1.5
		}
	}
	immidiate = { 
		effect = { type = remove_trait value = court_education }
		effect = { type = add_trait value = proven_dealbreaker }
	}
}
#
# An offspring finishes his education
# He became a charismatic_negotiator 
#
character_event = {
	id = 1031
	picture = "event_education"
	trigger = {
		condition = { type = gender value = male }
		condition = { type = age value = 16}
		condition = { type = trait value = court_education }
	}
	mean_time_to_happen = {
		months = 40
		modifier = {
			condition = { type = not value = { type = diplomacy value = 5 } }
			factor = 2
		}
		modifier = {
			condition = { type = diplomacy value = 8 }
			factor = 0.7
		}
		modifier = {
			condition = { type = not value = { type = health value = 4 } }
			factor = 1.05
		}
		modifier = {
			condition = { type = health value = 7 }
			factor = 0.95
		}
		modifier = {
			condition = { type = trait value = arbitrary }
			factor = 1.25 
		}
		modifier = {
			condition = { type = trait value = bastard }
			factor = 1.2 
		}
		modifier = {
			condition = { type = trait value = chaste }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = clubfooted }
			factor = 1.3 
		}
		modifier = {
			condition = { type = trait value = crusader }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = depression }
			factor = 1.25 
		}
		modifier = {
			condition = { type = trait value = energetic }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = excommunicated }
			factor = 20 
		}
		modifier = {
			condition = { type = trait value = forgiving }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = harelip }
			factor = 1.25 
		}
		modifier = {
			condition = { type = trait value = heretic }
			factor = 5 
		}
		modifier = {
			condition = { type = trait value = honest }
			factor = 0.85 
		}
		modifier = {
			condition = { type = trait value = hunchback }
			factor = 1.25 
		}
		modifier = {
			condition = { type = trait value = inbred }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = indulgent }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = kinslayer }
			factor = 1.2 
		}
		modifier = {
			condition = { type = trait value = lazy }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = lisp }
			factor = 1.25 
		}
		modifier = {
			condition = { type = trait value = maniac }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = modest }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = proud }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = reckless }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = sceptical }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = schizofrenia }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = selfish }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = suspicious }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = temperate }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = trusting }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = valorous }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = vengeful }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = zealous }
			factor = 0.95 
		}
		modifier = {
			condition = { type = father_trait value = proven_dealbreaker }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = proven_dealbreaker }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = charismatic_negotiator }
			factor = 0.9 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = charismatic_negotiator }
      }
      factor = 0.9
    }
		modifier = {
			condition = { type = father_trait value = grey_eminence }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = grey_eminence }
      }
      factor = 0.95
    }
		modifier = {
			condition = {
				type = chancellor_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = chancellor_csc 
					condition = { type = trait value = proven_dealbreaker }
			}
			factor = 0.95 
		}
		modifier = {
			condition = {
				type = chancellor_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = chancellor_csc 
					condition = { type = trait value = charismatic_negotiator }
			}
			factor = 0.9 
		}
		modifier = {
			condition = {
				type = chancellor_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = chancellor_csc 
					condition = { type = trait value = grey_eminence }
			}
			factor = 0.95 
		}
		modifier = {
			condition = {
				type = chancellor_csc 
					condition = { type = diplomacy value = 10 }
			}
			factor = 0.9 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { civilian_harbour = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { grand_shipyard = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { library = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { grand_palace = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { large_castle = yes } }
			}
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = vengeful }
			factor = 5
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = honest }
			condition = { type = not value = { type = trait value = vengeful } }
			factor = 0.85
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = suspicious }
			condition = { type = not value = { type = trait value = vengeful } }
			factor = 1.25
		}
	}
	immidiate = { 
		effect = { type = remove_trait value = court_education }
		effect = { type = add_trait value = charismatic_negotiator }
	}
}
#
# An offspring finishes his education
# He became a grey_eminence 
#
character_event = {
	id = 1032
	picture = "event_education"
	trigger = {
		condition = { type = gender value = male }
		condition = { type = age value = 16}
		condition = { type = trait value = court_education }
	}
	mean_time_to_happen = {
		months = 50
		modifier = {
			condition = { type = not value = { type = diplomacy value = 5 } }
			factor = 5
		}
		modifier = {
			condition = { type = diplomacy value = 8 }
			factor = 0.8
		}
		modifier = {
			condition = { type = not value = { type = intrigue value = 5 } }
			factor = 1.05
		}
		modifier = {
			condition = { type = intrigue value = 8 }
			factor = 0.95
		}
		modifier = {
			condition = { type = not value = { type = health value = 4 } }
			factor = 1.1
		}
		modifier = {
			condition = { type = health value = 7 }
			factor = 0.9
		}
		modifier = {
			condition = { type = trait value = arbitrary }
			factor = 1.5 
		}
		modifier = {
			condition = { type = trait value = bastard }
			factor = 1.25 
		}
		modifier = {
			condition = { type = trait value = chaste }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = clubfooted }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = coward }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = crusader }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = deceitful }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = depression }
			factor = 1.25 
		}
		modifier = {
			condition = { type = trait value = energetic }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = excommunicated }
			factor = 5 
		}
		modifier = {
			condition = { type = trait value = generous }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = harelip }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = heretic }
			factor = 2 
		}
		modifier = {
			condition = { type = trait value = honest }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = hunchback }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = inbred }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = indulgent }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = kinslayer }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = lazy }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = lustful }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = maniac }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = merciful }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = modest }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = proud }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = reckless }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = sceptical }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = schizofrenia }
			factor = 1.2 
		}
		modifier = {
			condition = { type = trait value = selfish }
			factor = 1.25 
		}
		modifier = {
			condition = { type = trait value = lisp }
			factor = 1.2 
		}
		modifier = {
			condition = { type = trait value = suspicious }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = temperate }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = vengeful }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = wise }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = zealous }
			factor = 1.2 
		}
		modifier = {
			condition = { type = father_trait value = naive_wirepuller }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = naive_wirepulle }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = illusive_shadow }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = illusive_shadow }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = amateurish_pettifogger }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = amateurish_pettifogger }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = charismatic_negotiator }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = charismatic_negotiato }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = grey_eminence }
			factor = 0.9 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = grey_eminence }
      }
      factor = 0.9
    }
		modifier = {
			condition = { type = father_trait value = hole_in_the_pocket }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = hole_in_the_pocket }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = midas_touched }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = midas_touched }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = detached_priest }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = detached_priest }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = mastermind_theologian }
			factor = .95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = mastermind_theologian }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = misguided_warrior }
			factor = 1.05 
		}
		modifier = {
			condition = { type = father_trait value = brilliant_tactician }
			factor = 0.95
		}
		modifier = {
			condition = {
				type = chancellor_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = chancellor_csc 
					condition = { type = trait value = amateurish_pettifogger }
			}
			factor = 1.05 
		}
		modifier = {
			condition = {
				type = chancellor_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = chancellor_csc 
					condition = { type = trait value = charismatic_negotiator }
			}
			factor = 0.95 
		}
		modifier = {
			condition = {
				type = chancellor_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = chancellor_csc 
					condition = { type = trait value = grey_eminence }
			}
			factor = 0.9 
		}
		modifier = {
			condition = {
				type = chancellor_csc 
					condition = { type = diplomacy value = 10 }
			}
			factor = 0.9 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { civilian_harbour = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { grand_shipyard = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { library = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { university = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { grand_palace = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { royal_post = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { large_castle = yes } }
			}
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = vengeful }
			factor = 5
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = honest }
			condition = { type = not value = { type = trait value = vengeful } }
			factor = 0.75
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = suspicious }
			condition = { type = not value = { type = trait value = vengeful } }
			factor = 1.15
		}
	}
	immidiate = { 
		effect = { type = remove_trait value = court_education }
		effect = { type = add_trait value = grey_eminence }
	}
}
#
# An offspring finishes his education
# He became a hole_in_the_pocket 
#
character_event = {
	id = 1033
	picture = "event_education"
	trigger = {
		condition = { type = gender value = male }
		condition = { type = age value = 16}
		condition = { type = trait value = court_education }
	}
	mean_time_to_happen = {
		months = 35
		modifier = {
			condition = { type = not value = { type = diplomacy value = 5 } }
			factor = 0.95
		}
		modifier = {
			condition = { type = diplomacy value = 8 }
			factor = 1.05
		}
		modifier = {
			condition = { type = not value = { type = intrigue value = 5 } }
			factor = 0.95
		}
		modifier = {
			condition = { type = intrigue value = 8 }
			factor = 1.05
		}
		modifier = {
			condition = { type = not value = { type = stewardship value = 5 } }
			factor = 1.25
		}
		modifier = {
			condition = { type = stewardship value = 8 }
			factor = 1.15
		}
		modifier = {
			condition = { type = not value = { type = health value = 4 } }
			factor = 0.9
		}
		modifier = {
			condition = { type = health value = 7 }
			factor = 1.1
		}
		modifier = {
			condition = { type = trait value = bastard }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = chaste }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = generous }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = honest }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = inbred }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = indulgent }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = just }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = lazy }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = lustful }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = maniac }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = merciful }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = modest }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = proud }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = reckless }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = schizofrenia }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = selfish }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = suspicious }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = temperate }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = trusting }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = vengeful }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = wise }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = zealous }
			factor = 0.95 
		}
		modifier = {
			condition = { type = father_trait value = naive_wirepuller }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = naive_wirepuller }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = illusive_shadow }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = illusive_shadow }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = amateurish_pettifogger }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = amateurish_pettifogger }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = grey_eminence }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = grey_eminence }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = hole_in_the_pocket }
			factor = 0.9 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = hole_in_the_pocket }
      }
      factor = 0.9
    }
		modifier = {
			condition = { type = father_trait value = proven_accountant }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = proven_accountant }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = midas_touched }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = midas_touched }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = detached_priest }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = detached_priest }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = mastermind_theologian }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = mastermind_theologian }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = misguided_warrior }
			factor = 0.95 
		}
		modifier = {
			condition = { type = father_trait value = brilliant_tactician }
			factor = 1.05
		}
		modifier = {
			condition = {
				type = steward_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = steward_csc 
					condition = { type = trait value = hole_in_the_pocket }
			}
			factor = 0.9 
		}
		modifier = {
			condition = {
				type = steward_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = steward_csc 
					condition = { type = trait value = proven_accountant }
			}
			factor = 0.95 
		}
		modifier = {
			condition = {
				type = steward_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = steward_csc 
					condition = { type = trait value = midas_touched }
			}
			factor = 1.05 
		}
		modifier = {
			condition = {
				type = steward_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = steward_csc 
					condition = { type = stewardship value = 10 }
			}
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = vengeful }
			factor = 1.5
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = honest }
			condition = { type = not value = { type = trait value = vengeful } }
			factor = 0.85
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = suspicious }
			condition = { type = not value = { type = trait value = vengeful } }
			factor = 0.85
		}
	}
	immidiate = { 
		effect = { type = remove_trait value = court_education }
		effect = { type = add_trait value = hole_in_the_pocket }
	}
}
#
# An offspring finishes his education
# He became a proven_accountant 
#
character_event = {
	id = 1034
	picture = "event_education"
	trigger = {
		condition = { type = gender value = male }
		condition = { type = age value = 16}
		condition = { type = trait value = court_education }
	}
	mean_time_to_happen = {
		months = 30
		modifier = {
			condition = { type = not value = { type = stewardship value = 5 } }
			factor = 1.5
		}
		modifier = {
			condition = { type = stewardship value = 8 }
			factor = 0.9
		}
		modifier = {
			condition = { type = trait value = arbitrary }
			factor = 1.25 
		}
		modifier = {
			condition = { type = trait value = clubfooted }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = excommunicated }
			factor = 1.5 
		}
		modifier = {
			condition = { type = trait value = generous }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = indulgent }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = just }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = lazy }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = maniac }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = merciful }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = reckless }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = selfish }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = temperate }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = trusting }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = vengeful }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = zealous }
			factor = 1.05 
		}
		modifier = {
			condition = { type = father_trait value = hole_in_the_pocket }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = midas_touched }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = proven_accountant }
			factor = 0.9 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = proven_accountant }
      }
      factor = 0.9
    }
		modifier = {
			condition = { type = father_trait value = fortune_builder }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = fortune_builder }
      }
      factor = 0.95
    }
		modifier = {
			condition = {
				type = steward_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = steward_csc 
					condition = { type = trait value = hole_in_the_pocket }
			}
			factor = 0.95 
		}
		modifier = {
			condition = {
				type = steward_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = steward_csc 
					condition = { type = trait value = proven_accountant }
			}
			factor = 0.9 
		}
		modifier = {
			condition = {
				type = steward_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = steward_csc 
					condition = { type = trait value = fortune_builder }
			}
			factor = 0.95 
		}
		modifier = {
			condition = {
				type = steward_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = steward_csc 
					condition = { type = stewardship value = 10 }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { civilian_harbour = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { extensive_roadnet = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { court_of_justice = yes } }
			}
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = vengeful }
			factor = 2
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = honest }
			condition = { type = not value = { type = trait value = vengeful } }
			factor = 0.75
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = suspicious }
			condition = { type = not value = { type = trait value = vengeful } }
			factor = 1.15
		}
	}
	immidiate = { 
		effect = { type = remove_trait value = court_education }
		effect = { type = add_trait value = proven_accountant }
	}
}
#
# An offspring finishes his education
# He became a fortune_builder 
#
character_event = {
	id = 1035
	picture = "event_education"
	trigger = {
		condition = { type = gender value = male }
		condition = { type = age value = 16}
		condition = { type = trait value = court_education }
	}
	mean_time_to_happen = {
		months = 40
		modifier = {
			condition = { type = not value = { type = intrigue value = 5 } }
			factor = 1.05
		}
		modifier = {
			condition = { type = intrigue value = 8 }
			factor = 0.95
		}
		modifier = {
			condition = { type = not value = { type = stewardship value = 5 } }
			factor = 2
		}
		modifier = {
			condition = { type = stewardship value = 8 }
			factor = 0.7
		}
		modifier = {
			condition = { type = not value = { type = health value = 4 } }
			factor = 1.05
		}
		modifier = {
			condition = { type = health value = 7 }
			factor = 0.95
		}
		modifier = {
			condition = { type = trait value = arbitrary }
			factor = 1.5 
		}
		modifier = {
			condition = { type = trait value = chaste }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = crusader }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = deceitful }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = depression }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = excommunicated }
			factor = 5 
		}
		modifier = {
			condition = { type = trait value = generous }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = harelip }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = heretic }
			factor = 2 
		}
		modifier = {
			condition = { type = trait value = hunchback }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = inbred }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = indulgent }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = just }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = kinslayer }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = lazy }
			factor = 1.25 
		}
		modifier = {
			condition = { type = trait value = lisp }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = lustful }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = maniac }
			factor = 1.2 
		}
		modifier = {
			condition = { type = trait value = merciful }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = proud }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = reckless }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = sceptical }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = schizofrenia }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = selfish }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = temperate }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = trusting }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = valorous }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = vengeful }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = wise }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = zealous }
			factor = 1.1 
		}
		modifier = {
			condition = { type = father_trait value = proven_accountant }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = proven_accountant }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = fortune_builder }
			factor = 0.9 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = fortune_builder }
      }
      factor = 0.9
    }
		modifier = {
			condition = { type = father_trait value = midas_touched }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = midas_touched }
      }
      factor = 0.95
    }
		modifier = {
			condition = {
				type = steward_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = steward_csc 
					condition = { type = trait value = proven_accountant }
			}
			factor = 0.95 
		}
		modifier = {
			condition = {
				type = steward_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = steward_csc 
					condition = { type = trait value = fortune_builder }
			}
			factor = 0.9 
		}
		modifier = {
			condition = {
				type = steward_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = steward_csc 
					condition = { type = trait value = midas_touched }
			}
			factor = 0.95 
		}
		modifier = {
			condition = {
				type = steward_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = steward_csc 
					condition = { type = stewardship value = 10 }
			}
			factor = 0.9 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { civilian_harbour = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { grand_shipyard = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { mine = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { improved_mine = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { extensive_roadnet = yes } }
			}
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = vengeful }
			factor = 2.5
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = honest }
			condition = { type = not value = { type = trait value = vengeful } }
			factor = 0.75
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = suspicious }
			condition = { type = not value = { type = trait value = vengeful } }
			factor = 1.2
		}
	}
	immidiate = { 
		effect = { type = remove_trait value = court_education }
		effect = { type = add_trait value = fortune_builder }
	}
}
#
# An offspring finishes his education
# He became a midas_touched 
#
character_event = {
	id = 1036
	picture = "event_education"
	trigger = {
		condition = { type = gender value = male }
		condition = { type = age value = 16}
		condition = { type = trait value = court_education }
	}
	mean_time_to_happen = {
		months = 50
		modifier = {
			condition = { type = not value = { type = diplomacy value = 5 } }
			factor = 1.05
		}
		modifier = {
			condition = { type = diplomacy value = 8 }
			factor = 0.95
		}
		modifier = {
			condition = { type = not value = { type = intrigue value = 5 } }
			factor = 1.05
		}
		modifier = {
			condition = { type = intrigue value = 8 }
			factor = 0.95
		}
		modifier = {
			condition = { type = not value = { type = stewardship value = 5 } }
			factor = 5
		}
		modifier = {
			condition = { type = stewardship value = 8 }
			factor = 0.8
		}
		modifier = {
			condition = { type = not value = { type = health value = 4 } }
			factor = 1.1
		}
		modifier = {
			condition = { type = health value = 7 }
			factor = 0.9
		}
		modifier = {
			condition = { type = trait value = arbitrary }
			factor = 2 
		}
		modifier = {
			condition = { type = trait value = bastard }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = chaste }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = coward }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = crusader }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = deceitful }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = depression }
			factor = 1.25 
		}
		modifier = {
			condition = { type = trait value = energetic }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = excommunicated }
			factor = 10 
		}
		modifier = {
			condition = { type = trait value = generous }
			factor = 1.2 
		}
		modifier = {
			condition = { type = trait value = harelip }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = heretic }
			factor = 5 
		}
		modifier = {
			condition = { type = trait value = honest }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = hunchback }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = inbred }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = indulgent }
			factor = 1.2 
		}
		modifier = {
			condition = { type = trait value = just }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = kinslayer }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = lazy }
			factor = 1.35 
		}
		modifier = {
			condition = { type = trait value = lisp }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = lustful }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = maniac }
			factor = 1.25 
		}
		modifier = {
			condition = { type = trait value = merciful }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = proud }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = reckless }
			factor = 1.2 
		}
		modifier = {
			condition = { type = trait value = schizofrenia }
			factor = 1.25 
		}
		modifier = {
			condition = { type = trait value = selfish }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = suspicious }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = temperate }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = trusting }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = valorous }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = vengeful }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = wise }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = zealous }
			factor = 1.1 
		}
		modifier = {
			condition = { type = father_trait value = naive_wirepuller }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = naive_wirepulle }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = illusive_shadow }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = illusive_shadow }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = amateurish_pettifogger }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = amateurish_pettifogger }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = grey_eminence }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = grey_eminence }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = hole_in_the_pocket }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = hole_in_the_pocket }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = fortune_builder }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = fortune_builder }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = midas_touched }
			factor = 0.9 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = midas_touched }
      }
      factor = 0.9
    }
		modifier = {
			condition = { type = father_trait value = detached_priest }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = detached_priest }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = mastermind_theologian }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = mastermind_theologian }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = misguided_warrior }
			factor = 1.05 
		}
		modifier = {
			condition = { type = father_trait value = brilliant_tactician }
			factor = 0.95
		}
		modifier = {
			condition = {
				type = steward_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = steward_csc 
					condition = { type = trait value = hole_in_the_pocket }
			}
			factor = 1.05 
		}
		modifier = {
			condition = {
				type = steward_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = steward_csc 
					condition = { type = trait value = fortune_builder }
			}
			factor = 0.95 
		}
		modifier = {
			condition = {
				type = steward_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = steward_csc 
					condition = { type = trait value = midas_touched }
			}
			factor = 0.9 
		}
		modifier = {
			condition = {
				type = steward_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = steward_csc 
					condition = { type = stewardship value = 10 }
			}
			factor = 0.9 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { civilian_harbour = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { grand_shipyard = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { mine = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { improved_mine = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { extensive_roadnet = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { court_of_justice = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { large_castle = yes } }
			}
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = vengeful }
			factor = 2.5
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = honest }
			condition = { type = not value = { type = trait value = vengeful } }
			factor = 0.85
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = suspicious }
			condition = { type = not value = { type = trait value = vengeful } }
			factor = 1.1
		}
	}
	immidiate = { 
		effect = { type = remove_trait value = court_education }
		effect = { type = add_trait value = midas_touched }
	}
}
#
# An offspring finishes his education
# He became a detached_priest 
#
character_event = {
	id = 1017
	picture = "event_education"
	trigger = {
		condition = { type = gender value = male }
		condition = { type = age value = 16}
		condition = { type = trait value = ecclesiastical_education }
	}
	mean_time_to_happen = {
		months = 35
		modifier = {
			condition = { type = not value = { type = martial value = 4 } }
			factor = 0.9
		}
		modifier = {
			condition = { type = martial value = 7 }
			factor = 1.1
		}
		modifier = {
			condition = { type = not value = { type = diplomacy value = 6 } }
			factor = 0.95
		}
		modifier = {
			condition = { type = diplomacy value = 9 }
			factor = 1.05
		}
		modifier = {
			condition = { type = not value = { type = intrigue value = 5 } }
			factor = 0.9
		}
		modifier = {
			condition = { type = intrigue value = 8 }
			factor = 1.1
		}
		modifier = {
			condition = { type = not value = { type = stewardship value = 4 } }
			factor = 0.9
		}
		modifier = {
			condition = { type = stewardship value = 7 }
			factor = 1.1
		}
		modifier = {
			condition = { type = not value = { type = health value = 4 } }
			factor = 0.8
		}
		modifier = {
			condition = { type = trait value = bastard }
			factor = 0.8 
		}
		modifier = {
			condition = { type = trait value = chaste }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = clubfooted }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = coward }
			factor = 0.8 
		}
		modifier = {
			condition = { type = trait value = crusader }
			factor = 1.2 
		}
		modifier = {
			condition = { type = trait value = depression }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = energetic }
			factor = 1.25 
		}
		modifier = {
			condition = { type = trait value = forgiving }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = generous }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = harelip }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = inbred }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = indulgent }
			factor = 1.2 
		}
		modifier = {
			condition = { type = trait value = kinslayer }
			factor = 0.8 
		}
		modifier = {
			condition = { type = trait value = lazy }
			factor = 0.85 
		}
		modifier = {
			condition = { type = trait value = lustful }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = modest }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = reckless }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = schizofrenia }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = selfish }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = lisp }
			factor = 0.85 
		}
		modifier = {
			condition = { type = trait value = suspicious }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = trusting }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = vengeful }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = wise }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = zealous }
			factor = 1.1 
		}
		modifier = {
			condition = { type = father_trait value = naive_wirepuller }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = naive_wirepuller }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = illusive_shadow }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = illusive_shadow }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = amateurish_pettifogger }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = amateurish_pettifogger }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = grey_eminence }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = grey_eminence }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = hole_in_the_pocket }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = hole_in_the_pocket }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = midas_touched }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = midas_touched }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = detached_priest }
			factor = 0.9 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = detached_priest }
      }
      factor = 0.9
    }
		modifier = {
			condition = { type = father_trait value = martial_cleric }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = martial_cleric }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = mastermind_theologian }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = mastermind_theologian }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = misguided_warrior }
			factor = 0.95 
		}
		modifier = {
			condition = { type = father_trait value = brilliant_strategist }
			factor = 1.05 
		}
		modifier = {
			condition = {
				type = chaplain_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = chaplain_csc 
					condition = { type = trait value = detached_priest }
			}
			factor = 0.9 
		}
		modifier = {
			condition = {
				type = chaplain_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = chaplain_csc 
					condition = { type = trait value = martial_cleric }
			}
			factor = 0.95 
		}
		modifier = {
			condition = {
				type = chaplain_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = chaplain_csc 
					condition = { type = trait value = mastermind_theologian }
			}
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = vengeful }
			factor = 2
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = honest }
			condition = { type = not value = { type = trait value = vengeful } }
			factor = 0.75
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = suspicious }
			condition = { type = not value = { type = trait value = vengeful } }
			factor = 0.85
		}
	}
	immidiate = { 
		effect = { type = remove_trait value = ecclesiastical_education }
		effect = { type = add_trait value = detached_priest }
		effect = { type = set_to_realm_religion }
	}
}
#
# An offspring finishes his education
# He became a martial_cleric 
#
character_event = {
	id = 1018
	picture = "event_education"
	trigger = {
		condition = { type = gender value = male }
		condition = { type = age value = 16}
		condition = { type = trait value = ecclesiastical_education }
	}
	mean_time_to_happen = {
		months = 30
		modifier = {
			condition = { type = not value = { type = martial value = 4 } }
			factor = 1.1
		}
		modifier = {
			condition = { type = martial value = 7 }
			factor = 0.9
		}
		modifier = {
			condition = { type = not value = { type = health value = 4 } }
			factor = 1.2
		}
		modifier = {
			condition = { type = health value = 7 }
			factor = 0.95
		}
		modifier = {
			condition = { type = trait value = clubfooted }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = coward }
			factor = 1.2 
		}
		modifier = {
			condition = { type = trait value = cruel }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = crusader }
			factor = 0.75 
		}
		modifier = {
			condition = { type = trait value = depression }
			factor = 1.2 
		}
		modifier = {
			condition = { type = trait value = energetic }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = excommunicated }
			factor = 5 
		}
		modifier = {
			condition = { type = trait value = generous }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = harelip }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = lisp }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = lustful }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = maniac }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = merciful }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = proud }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = sceptical }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = selfish }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = temperate }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = valorous }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = wise }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = zealous }
			factor = 0.8 
		}
		modifier = {
			condition = { type = father_trait value = detached_priest }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = detached_priest }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = martial_cleric }
			factor = 0.9 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = martial_cleric }
      }
      factor = 0.9
    }
		modifier = {
			condition = { type = father_trait value = scholarly_theologian }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = scholarly_theologian }
      }
      factor = 0.95
    }
		modifier = {
			condition = {
				type = chaplain_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = chaplain_csc 
					condition = { type = trait value = detached_priest }
			}
			factor = 0.95 
		}
		modifier = {
			condition = {
				type = chaplain_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = chaplain_csc 
					condition = { type = trait value = martial_cleric }
			}
			factor = 0.9 
		}
		modifier = {
			condition = {
				type = chaplain_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = chaplain_csc 
					condition = { type = trait value = scholarly_theologian }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { traininggrounds = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { templar_house = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { large_church = yes } }
			}
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = vengeful }
			factor = 2
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = honest }
			condition = { type = not value = { type = trait value = vengeful } }
			factor = 0.7
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = suspicious }
			condition = { type = not value = { type = trait value = vengeful } }
			factor = 0.9
		}
	}
	immidiate = { 
		effect = { type = remove_trait value = ecclesiastical_education }
		effect = { type = add_trait value = martial_cleric }
		effect = { type = set_to_realm_religion }
	}
}
#
# An offspring finishes his education
# He became a scholarly_theologian 
#
character_event = {
	id = 1019
	picture = "event_education"
	trigger = {
		condition = { type = gender value = male }
		condition = { type = age value = 16}
		condition = { type = trait value = ecclesiastical_education }
	}
	mean_time_to_happen = {
		months = 40
		modifier = {
			condition = { type = not value = { type = intrigue value = 5 } }
			factor = 1.1
		}
		modifier = {
			condition = { type = intrigue value = 8 }
			factor = 0.9
		}
		modifier = {
			condition = { type = not value = { type = stewardship value = 4 } }
			factor = 1.1
		}
		modifier = {
			condition = { type = stewardship value = 7 }
			factor = 0.9
		}
		modifier = {
			condition = { type = trait value = arbitrary }
			factor = 1.25 
		}
		modifier = {
			condition = { type = trait value = bastard }
			factor = 1.5 
		}
		modifier = {
			condition = { type = trait value = chaste }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = crusader }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = deceitful }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = excommunicated }
			factor = 10 
		}
		modifier = {
			condition = { type = trait value = forgiving }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = heretic }
			factor = 5 
		}
		modifier = {
			condition = { type = trait value = indulgent }
			factor = 1.2 
		}
		modifier = {
			condition = { type = trait value = kinslayer }
			factor = 1.25 
		}
		modifier = {
			condition = { type = trait value = maniac }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = modest }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = reckless }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = sceptical }
			factor = 1.25 
		}
		modifier = {
			condition = { type = trait value = schizofrenia }
			factor = 1.25 
		}
		modifier = {
			condition = { type = trait value = suspicious }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = trusting }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = vengeful }
			factor = 1.1 
		}
		modifier = {
			condition = { type = father_trait value = martial_cleric }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = martial_cleric }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = scholarly_theologian }
			factor = 0.9 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = scholarly_theologian }
      }
      factor = 0.9
    }
		modifier = {
			condition = { type = father_trait value = mastermind_theologian }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = mastermind_theologian }
      }
      factor = 0.95
    }
		modifier = {
			condition = {
				type = chaplain_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = chaplain_csc 
					condition = { type = trait value = martial_cleric }
			}
			factor = 0.95 
		}
		modifier = {
			condition = {
				type = chaplain_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = chaplain_csc 
					condition = { type = trait value = scholarly_theologian }
			}
			factor = 0.9 
		}
		modifier = {
			condition = {
				type = chaplain_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = chaplain_csc 
					condition = { type = trait value = mastermind_theologian }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { library = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { templar_house = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { university = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { large_church = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { domed_church = yes } }
			}
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = vengeful }
			factor = 5
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = honest }
			condition = { type = not value = { type = trait value = vengeful } }
			factor = 0.85
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = suspicious }
			condition = { type = not value = { type = trait value = vengeful } }
			factor = 0.9
		}
	}
	immidiate = { 
		effect = { type = remove_trait value = ecclesiastical_education }
		effect = { type = add_trait value = scholarly_theologian }
		effect = { type = set_to_realm_religion }
	}
}
#
# An offspring finishes his education
# He became a mastermind_theologian 
#
character_event = {
	id = 1020
	picture = "event_education"
	trigger = {
		condition = { type = gender value = male }
		condition = { type = age value = 16}
		condition = { type = trait value = ecclesiastical_education }
	}
	mean_time_to_happen = {
		months = 50
		modifier = {
			condition = { type = not value = { type = diplomacy value = 6 } }
			factor = 1.05
		}
		modifier = {
			condition = { type = diplomacy value = 9 }
			factor = 0.95
		}
		modifier = {
			condition = { type = not value = { type = intrigue value = 5 } }
			factor = 2
		}
		modifier = {
			condition = { type = intrigue value = 8 }
			factor = 0.85
		}
		modifier = {
			condition = { type = not value = { type = stewardship value = 4 } }
			factor = 2
		}
		modifier = {
			condition = { type = stewardship value = 7 }
			factor = 0.85
		}
		modifier = {
			condition = { type = not value = { type = health value = 4 } }
			factor = 1.2
		}
		modifier = {
			condition = { type = health value = 7 }
			factor = 0.95
		}
		modifier = {
			condition = { type = trait value = arbitrary }
			factor = 1.5 
		}
		modifier = {
			condition = { type = trait value = bastard }
			factor = 3 
		}
		modifier = {
			condition = { type = trait value = chaste }
			factor = 0.85 
		}
		modifier = {
			condition = { type = trait value = cruel }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = deceitful }
			factor = 1.25 
		}
		modifier = {
			condition = { type = trait value = depression }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = excommunicated }
			factor = 20 
		}
		modifier = {
			condition = { type = trait value = forgiving }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = generous }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = harelip }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = heretic }
			factor = 10 
		}
		modifier = {
			condition = { type = trait value = honest }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = inbred }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = indulgent }
			factor = 1.5 
		}
		modifier = {
			condition = { type = trait value = just }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = kinslayer }
			factor = 1.5 
		}
		modifier = {
			condition = { type = trait value = lazy }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = lustful }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = maniac }
			factor = 1.25 
		}
		modifier = {
			condition = { type = trait value = modest }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = proud }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = reckless }
			factor = 1.2 
		}
		modifier = {
			condition = { type = trait value = sceptical }
			factor = 1.5 
		}
		modifier = {
			condition = { type = trait value = schizofrenia }
			factor = 1.5 
		}
		modifier = {
			condition = { type = trait value = selfish }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = lisp }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = suspicious }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = temperate }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = valorous }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = vengeful }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = wise }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = zealous }
			factor = 1.1 
		}
		modifier = {
			condition = { type = father_trait value = naive_wirepuller }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = naive_wirepullen }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = illusive_shadow }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = illusive_shadow }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = amateurish_pettifogger }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = amateurish_pettifogger }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = grey_eminence }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = mastermind_theologian }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = hole_in_the_pocket }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = hole_in_the_pocket }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = midas_touched }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = midas_touched }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = detached_priest }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = detached_priest }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = scholarly_theologian }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = scholarly_theologian }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = mastermind_theologian }
			factor = 0.9 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = mastermind_theologian }
      }
      factor = 0.9
    }
		modifier = {
			condition = { type = father_trait value = misguided_warrior }
			factor = 1.05 
		}
		modifier = {
			condition = { type = father_trait value = brilliant_strategist }
			factor = 0.95 
		}
		modifier = {
			condition = {
				type = chaplain_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = chaplain_csc 
					condition = { type = trait value = detached_priest }
			}
			factor = 1.05 
		}
		modifier = {
			condition = {
				type = chaplain_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = chaplain_csc 
					condition = { type = trait value = scholarly_theologian }
			}
			factor = 0.95 
		}
		modifier = {
			condition = {
				type = chaplain_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = chaplain_csc 
					condition = { type = trait value = mastermind_theologian }
			}
			factor = 0.9 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { library = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { templar_house = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { university = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { large_church = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { domed_church = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { cathedral = yes } }
			}
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = vengeful }
			factor = 5
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = honest }
			condition = { type = not value = { type = trait value = vengeful } }
			factor = 0.85
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = suspicious }
			condition = { type = not value = { type = trait value = vengeful } }
			factor = 0.9
		}
	}
	immidiate = { 
		effect = { type = remove_trait value = ecclesiastical_education }
		effect = { type = add_trait value = mastermind_theologian }
		effect = { type = set_to_realm_religion }
	}
}
#
# An offspring finishes his education
# He became a misguided_warrior 
#
character_event = {
	id = 1021
	picture = "event_education"
	trigger = {
		condition = { type = gender value = male }
		condition = { type = age value = 16}
		condition = { type = trait value = martial_education }
	}
	mean_time_to_happen = {
		months = 35
		modifier = {
			condition = { type = not value = { type = martial value = 6 } }
			factor = 0.8
		}
		modifier = {
			condition = { type = martial value = 9 }
			factor = 1.2
		}
		modifier = {
			condition = { type = not value = { type = diplomacy value = 5 } }
			factor = 0.9
		}
		modifier = {
			condition = { type = diplomacy value = 8 }
			factor = 1.1
		}
		modifier = {
			condition = { type = not value = { type = stewardship value = 4 } }
			factor = 0.9
		}
		modifier = {
			condition = { type = stewardship value = 7 }
			factor = 1.1
		}
		modifier = {
			condition = { type = not value = { type = health value = 4 } }
			factor = 0.8
		}
		modifier = {
			condition = { type = health value = 7 }
			factor = 1.1
		}
		modifier = {
			condition = { type = trait value = arbitrary }
			factor = 0.85 
		}
		modifier = {
			condition = { type = trait value = clubfooted }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = coward }
			factor = 0.8 
		}
		modifier = {
			condition = { type = trait value = cruel }
			factor = 0.85 
		}
		modifier = {
			condition = { type = trait value = deceitful }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = depression }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = forgiving }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = generous }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = harelip }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = honest }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = inbred }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = indulgent }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = just }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = kinslayer }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = lustful }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = merciful }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = modest }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = proud }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = reckless }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = sceptical }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = schizofrenia }
			factor = 0.8 
		}
		modifier = {
			condition = { type = trait value = selfish }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = lisp }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = suspicious }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = temperate }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = valorous }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = vengeful }
			factor = 0.85 
		}
		modifier = {
			condition = { type = trait value = wise }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = zealous }
			factor = 0.9 
		}
		modifier = {
			condition = { type = father_trait value = naive_wirepuller }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = naive_wirepuller }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = illusive_shadow }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = illusive_shadow }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = amateurish_pettifogger }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = amateurish_pettifogger }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = grey_eminence }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = grey_eminence }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = hole_in_the_pocket }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = hole_in_the_pocket }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = midas_touched }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = midas_touched }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = detached_priest }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = detached_priest }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = mastermind_theologian }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = mastermind_theologian }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = misguided_warrior }
			factor = 0.9 
		}
		modifier = {
			condition = { type = father_trait value = tough_soldier }
			factor = 0.95 
		}
		modifier = {
			condition = { type = father_trait value = brilliant_strategist }
			factor = 1.05 
		}
		modifier = {
			condition = {
				type = marshal_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = marshal_csc 
					condition = { type = trait value = misguided_warrior }
			}
			factor = 0.9 
		}
		modifier = {
			condition = {
				type = marshal_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = marshal_csc 
					condition = { type = trait value = tough_soldier }
			}
			factor = 0.95 
		}
		modifier = {
			condition = {
				type = marshal_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = marshal_csc 
					condition = { type = trait value = brilliant_strategist }
			}
			factor = 1.05 
		}
		modifier = {
			condition = {
				type = marshal_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = marshal_csc 
					condition = { type = martial value = 10 }
			}
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = vengeful }
			factor = 0.85
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = honest }
			condition = { type = not value = { type = trait value = vengeful } }
			factor = 0.85
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = suspicious }
			condition = { type = not value = { type = trait value = vengeful } }
			factor = 0.85
		}
	}
	immidiate = { 
		effect = { type = remove_trait value = martial_education }
		effect = { type = add_trait value = misguided_warrior }
	}
}
#
# An offspring finishes his education
# He became a tough_soldier 
#
character_event = {
	id = 1022
	picture = "event_education"
	trigger = {
		condition = { type = gender value = male }
		condition = { type = age value = 16}
		condition = { type = trait value = martial_education }
	}
	mean_time_to_happen = {
		months = 30
		modifier = {
			condition = { type = health value = 7 }
			factor = 0.95
		}
		modifier = {
			condition = { type = trait value = clubfooted }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = coward }
			factor = 1.2 
		}
		modifier = {
			condition = { type = trait value = cruel }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = crusader }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = depression }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = hunchback }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = lazy }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = lustful }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = merciful }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = trusting }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = wise }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = zealous }
			factor = 0.95 
		}
		modifier = {
			condition = { type = father_trait value = misguided_warrior }
			factor = 0.95 
		}
		modifier = {
			condition = { type = father_trait value = tough_soldier }
			factor = 0.9 
		}
		modifier = {
			condition = { type = father_trait value = knowledged_tactician }
			factor = 0.95 
		}
		modifier = {
			condition = {
				type = marshal_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = marshal_csc 
					condition = { type = trait value = misguided_warrior }
			}
			factor = 0.95 
		}
		modifier = {
			condition = {
				type = marshal_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = marshal_csc 
					condition = { type = trait value = tough_soldier }
			}
			factor = 0.9 
		}
		modifier = {
			condition = {
				type = marshal_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = marshal_csc 
					condition = { type = trait value = knowledged_tactician }
			}
			factor = 0.95 
		}
		modifier = {
			condition = {
				type = marshal_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = marshal_csc 
					condition = { type = martial value = 10 }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { armory = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { traininggrounds = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { waracademy = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { large_castle = yes } }
			}
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = vengeful }
			factor = 0.85
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = honest }
			condition = { type = not value = { type = trait value = vengeful } }
			factor = 0.8
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = suspicious }
			condition = { type = not value = { type = trait value = vengeful } }
			factor = 0.85
		}
	}
	immidiate = { 
		effect = { type = remove_trait value = martial_education }
		effect = { type = add_trait value = tough_soldier }
	}
}
#
# An offspring finishes his education
# He became a knowledged_tactician 
#
character_event = {
	id = 1023
	picture = "event_education"
	trigger = {
		condition = { type = gender value = male }
		condition = { type = age value = 16}
		condition = { type = trait value = martial_education }
	}
	mean_time_to_happen = {
		months = 40
		modifier = {
			condition = { type = not value = { type = martial value = 6 } }
			factor = 2
		}
		modifier = {
			condition = { type = martial value = 9 }
			factor = 0.9
		}
		modifier = {
			condition = { type = not value = { type = intrigue value = 4 } }
			factor = 1.1
		}
		modifier = {
			condition = { type = intrigue value = 7 }
			factor = 0.9
		}
		modifier = {
			condition = { type = not value = { type = health value = 4 } }
			factor = 0.95
		}
		modifier = {
			condition = { type = trait value = arbitrary }
			factor = 1.25 
		}
		modifier = {
			condition = { type = trait value = crusader }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = hunchback }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = indulgent }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = lazy }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = maniac }
			factor = 1.25 
		}
		modifier = {
			condition = { type = trait value = proud }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = reckless }
			factor = 1.25 
		}
		modifier = {
			condition = { type = trait value = sceptical }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = schizofrenia }
			factor = 1.25 
		}
		modifier = {
			condition = { type = trait value = lisp }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = suspicious }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = valorous }
			factor = 1.05 
		}
		modifier = {
			condition = { type = father_trait value = tough_soldier }
			factor = 0.95 
		}
		modifier = {
			condition = { type = father_trait value = knowledged_tactician }
			factor = 0.9 
		}
		modifier = {
			condition = { type = father_trait value = brilliant_strategist }
			factor = 0.95 
		}
		modifier = {
			condition = {
				type = marshal_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = marshal_csc 
					condition = { type = trait value = tough_soldier }
			}
			factor = 0.95 
		}
		modifier = {
			condition = {
				type = marshal_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = marshal_csc 
					condition = { type = trait value = knowledged_tactician }
			}
			factor = 0.9 
		}
		modifier = {
			condition = {
				type = marshal_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = marshal_csc 
					condition = { type = trait value = brilliant_strategist }
			}
			factor = 0.95 
		}
		modifier = {
			condition = {
				type = marshal_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = marshal_csc 
					condition = { type = martial value = 10 }
			}
			factor = 0.9 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { armory = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { traininggrounds = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { templar_house = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { waracademy = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { large_castle = yes } }
			}
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = vengeful }
			factor = 0.8
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = honest }
			condition = { type = not value = { type = trait value = vengeful } }
			factor = 0.8
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = suspicious }
			condition = { type = not value = { type = trait value = vengeful } }
			factor = 0.8
		}
	}
	immidiate = { 
		effect = { type = remove_trait value = martial_education }
		effect = { type = add_trait value = knowledged_tactician }
	}
}
#
# An offspring finishes his education
# He became a brilliant_strategist 
#
character_event = {
	id = 1024
	picture = "event_education"
	trigger = {
		condition = { type = gender value = male }
		condition = { type = age value = 16}
		condition = { type = trait value = martial_education }
	}
	mean_time_to_happen = {
		months = 50
		modifier = {
			condition = { type = not value = { type = martial value = 6 } }
			factor = 5
		}
		modifier = {
			condition = { type = martial value = 9 }
			factor = 0.85
		}
		modifier = {
			condition = { type = not value = { type = diplomacy value = 5 } }
			factor = 1.1
		}
		modifier = {
			condition = { type = diplomacy value = 8 }
			factor = 0.95
		}
		modifier = {
			condition = { type = not value = { type = intrigue value = 4 } }
			factor = 1.15
		}
		modifier = {
			condition = { type = intrigue value = 7 }
			factor = 0.85
		}
		modifier = {
			condition = { type = not value = { type = stewardship value = 4 } }
			factor = 1.05
		}
		modifier = {
			condition = { type = stewardship value = 7 }
			factor = 0.95
		}
		modifier = {
			condition = { type = health value = 7 }
			factor = 0.95
		}
		modifier = {
			condition = { type = trait value = arbitrary }
			factor = 1.5 
		}
		modifier = {
			condition = { type = trait value = coward }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = cruel }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = crusader }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = deceitful }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = energetic }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = generous }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = harelip }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = honest }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = hunchback }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = inbred }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = indulgent }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = just }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = kinslayer }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = lazy }
			factor = 1.25 
		}
		modifier = {
			condition = { type = trait value = lustful }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = maniac }
			factor = 1.5 
		}
		modifier = {
			condition = { type = trait value = proud }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = reckless }
			factor = 1.35 
		}
		modifier = {
			condition = { type = trait value = sceptical }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = schizofrenia }
			factor = 1.5 
		}
		modifier = {
			condition = { type = trait value = lisp }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = suspicious }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = temperate }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = wise }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = zealous }
			factor = 1.1 
		}
		modifier = {
			condition = { type = father_trait value = naive_wirepuller }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = naive_wirepuller }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = illusive_shadow }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = illusive_shadow }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = amateurish_pettifogger }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = amateurish_pettifogger }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = grey_eminence }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = grey_eminence }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = hole_in_the_pocket }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = hole_in_the_pocket }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = midas_touched }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = midas_touched }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = detached_priest }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = detached_priest }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = mastermind_theologian }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = mastermind_theologian }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = misguided_warrior }
			factor = 1.05 
		}
		modifier = {
			condition = { type = father_trait value = knowledged_tactician }
			factor = 0.95 
		}
		modifier = {
			condition = { type = father_trait value = brilliant_strategist }
			factor = 0.9 
		}
		modifier = {
			condition = {
				type = marshal_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = marshal_csc 
					condition = { type = trait value = misguided_warrior }
			}
			factor = 1.05 
		}
		modifier = {
			condition = {
				type = marshal_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = marshal_csc 
					condition = { type = trait value = knowledged_tactician }
			}
			factor = 0.95 
		}
		modifier = {
			condition = {
				type = marshal_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = marshal_csc 
					condition = { type = trait value = brilliant_strategist }
			}
			factor = 0.9 
		}
		modifier = {
			condition = {
				type = marshal_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = marshal_csc 
					condition = { type = martial value = 10 }
			}
			factor = 0.9 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { grand_shipyard = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { armory = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { traininggrounds = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { templar_house = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { waracademy = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { large_castle = yes } }
			}
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = vengeful }
			factor = 0.75
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = honest }
			condition = { type = not value = { type = trait value = vengeful } }
			factor = 0.9
		}
		modifier = {
			condition = { type = trait value = bastard }
			condition = { type = trait value = suspicious }
			condition = { type = not value = { type = trait value = vengeful } }
			factor = 0.9
		}
	}
	immidiate = { 
		effect = { type = remove_trait value = martial_education }
		effect = { type = add_trait value = brilliant_strategist }
	}
}
#
# An offspring finishes her education
# She became a naive_wirepuller 
#
character_event = {
	id = 1041
	picture = "event_education"
	trigger = {
		condition = { type = gender value = female }
		condition = { type = age value = 16}
		condition = { type = trait value = court_education }
	}
	mean_time_to_happen = {
		months = 35
		modifier = {
			condition = { type = not value = { type = diplomacy value = 5 } }
			factor = 0.95
		}
		modifier = {
			condition = { type = diplomacy value = 8 }
			factor = 1.05
		}
		modifier = {
			condition = { type = not value = { type = intrigue value = 5 } }
			factor = 1.25
		}
		modifier = {
			condition = { type = intrigue value = 8 }
			factor = 1.15
		}
		modifier = {
			condition = { type = not value = { type = stewardship value = 5 } }
			factor = 0.95
		}
		modifier = {
			condition = { type = stewardship value = 8 }
			factor = 1.05
		}
		modifier = {
			condition = { type = not value = { type = health value = 4 } }
			factor = 0.9
		}
		modifier = {
			condition = { type = health value = 7 }
			factor = 1.1
		}
		modifier = {
			condition = { type = trait value = arbitrary }
			factor = 0.85 
		}
		modifier = {
			condition = { type = trait value = chaste }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = coward }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = honest }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = just }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = lustful }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = maniac }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = modest }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = proud }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = schizofrenia }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = selfish }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = lisp }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = trusting }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = valorous }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = vengeful }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = wise }
			factor = 1.2 
		}
		modifier = {
			condition = { type = father_trait value = naive_wirepuller }
			factor = 0.9 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = naive_wirepuller }
      }
      factor = 0.9
    }
		modifier = {
			condition = { type = father_trait value = flamboyant_schemer }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = flamboyant_schemer }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = illusive_shadow }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = illusive_shadow }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = amateurish_pettifogger }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = amateurish_pettifogger }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = grey_eminence }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = grey_eminence }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = hole_in_the_pocket }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = hole_in_the_pocket }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = midas_touched }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = midas_touched }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = detached_priest }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = detached_priest }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = mastermind_theologian }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = mastermind_theologian }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = misguided_warrior }
			factor = 0.95 
		}
		modifier = {
			condition = { type = father_trait value = brilliant_tactician }
			factor = 1.05
		}
		modifier = {
			condition = {
				type = spymaster_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = spymaster_csc 
					condition = { type = trait value = naive_wirepuller }
			}
			factor = 0.9 
		}
		modifier = {
			condition = {
				type = spymaster_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = spymaster_csc 
					condition = { type = trait value = flamboyant_schemer }
			}
			factor = 0.95 
		}
		modifier = {
			condition = {
				type = spymaster_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = spymaster_csc 
					condition = { type = trait value = illusive_shadow }
			}
			factor = 1.05 
		}
		modifier = {
			condition = {
				type = spymaster_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = spymaster_csc 
					condition = { type = intrigue value = 10 }
			}
			factor = 1.15 
		}
	}
	immidiate = { 
		effect = { type = remove_trait value = court_education }
		effect = { type = add_trait value = naive_wirepuller }
	}
}
#
# An offspring finishes her education
# She became a flamboyant_schemer 
#
character_event = {
	id = 1042
	picture = "event_education"
	trigger = {
		condition = { type = gender value = female }
		condition = { type = age value = 16}
		condition = { type = trait value = court_education }
	}
	mean_time_to_happen = {
		months = 30
		modifier = {
			condition = { type = not value = { type = intrigue value = 5 } }
			factor = 1.5
		}
		modifier = {
			condition = { type = intrigue value = 8 }
			factor = 0.9
		}
		modifier = {
			condition = { type = not value = { type = stewardship value = 5 } }
			factor = 0.95
		}
		modifier = {
			condition = { type = stewardship value = 8 }
			factor = 1.05
		}
		modifier = {
			condition = { type = trait value = bastard }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = chaste }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = clubfooted }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = coward }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = cruel }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = deceitful }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = energetic }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = excommunicated }
			factor = 15 
		}
		modifier = {
			condition = { type = trait value = generous }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = harelip }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = heretic }
			factor = 10 
		}
		modifier = {
			condition = { type = trait value = honest }
			factor = 1.25 
		}
		modifier = {
			condition = { type = trait value = hunchback }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = indulgent }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = just }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = kinslayer }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = lustful }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = merciful }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = modest }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = proud }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = reckless }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = sceptical }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = schizofrenia }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = selfish }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = lisp }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = suspicious }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = temperate }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = trusting }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = valorous }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = wise }
			factor = 1.15 
		}
		modifier = {
			condition = { type = father_trait value = naive_wirepuller }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = naive_wirepuller }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = flamboyant_schemer }
			factor = 0.9 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = flamboyant_schemer }
      }
      factor = 0.9
    }
		modifier = {
			condition = { type = father_trait value = intricate_webweaver }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = intricate_webweaver }
      }
      factor = 0.95
    }
		modifier = {
			condition = {
				type = spymaster_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = spymaster_csc 
					condition = { type = trait value = naive_wirepuller }
			}
			factor = 0.95 
		}
		modifier = {
			condition = {
				type = spymaster_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = spymaster_csc 
					condition = { type = trait value = flamboyant_schemer }
			}
			factor = 0.9 
		}
		modifier = {
			condition = {
				type = spymaster_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = spymaster_csc 
					condition = { type = trait value = intricate_webweaver }
			}
			factor = 0.95 
		}
		modifier = {
			condition = {
				type = spymaster_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = spymaster_csc 
					condition = { type = intrigue value = 10 }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { school = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { library = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { royal_post = yes } }
			}
			factor = 0.95 
		}
	}
	immidiate = { 
		effect = { type = remove_trait value = court_education }
		effect = { type = add_trait value = flamboyant_schemer }
	}
}
#
# An offspring finishes her education
# She became a intricate_webweaver 
#
character_event = {
	id = 1043
	picture = "event_education"
	trigger = {
		condition = { type = gender value = female }
		condition = { type = age value = 16}
		condition = { type = trait value = court_education }
	}
	mean_time_to_happen = {
		months = 40
		modifier = {
			condition = { type = not value = { type = diplomacy value = 5 } }
			factor = 1.05
		}
		modifier = {
			condition = { type = diplomacy value = 8 }
			factor = 0.95
		}
		modifier = {
			condition = { type = not value = { type = intrigue value = 5 } }
			factor = 2
		}
		modifier = {
			condition = { type = intrigue value = 8 }
			factor = 0.7
		}
		modifier = {
			condition = { type = not value = { type = health value = 4 } }
			factor = 1.1
		}
		modifier = {
			condition = { type = health value = 7 }
			factor = 0.95
		}
		modifier = {
			condition = { type = trait value = arbitrary }
			factor = 1.2 
		}
		modifier = {
			condition = { type = trait value = bastard }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = clubfooted }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = cruel }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = crusader }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = deceitful }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = depression }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = energetic }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = excommunicated }
			factor = 5 
		}
		modifier = {
			condition = { type = trait value = forgiving }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = generous }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = harelip }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = heretic }
			factor = 5 
		}
		modifier = {
			condition = { type = trait value = honest }
			factor = 1.5 
		}
		modifier = {
			condition = { type = trait value = hunchback }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = inbred }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = indulgent }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = just }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = kinslayer }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = lazy }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = lisp }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = maniac }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = merciful }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = proud }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = reckless }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = sceptical }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = schizofrenia }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = suspicious }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = temperate }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = trusting }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = valorous }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = vengeful }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = zealous }
			factor = 1.05 
		}
		modifier = {
			condition = { type = father_trait value = flamboyant_schemer }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = flamboyant_schemer }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = intricate_webweaver }
			factor = 0.9 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = intricate_webweaver }
      }
      factor = 0.9
    }
		modifier = {
			condition = { type = father_trait value = illusive_shadow }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = illusive_shadow }
      }
      factor = 0.95
    }
		modifier = {
			condition = {
				type = spymaster_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = spymaster_csc 
					condition = { type = trait value = flamboyant_schemer }
			}
			factor = 0.95 
		}
		modifier = {
			condition = {
				type = spymaster_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = spymaster_csc 
					condition = { type = trait value = intricate_webweaver }
			}
			factor = 0.9 
		}
		modifier = {
			condition = {
				type = spymaster_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = spymaster_csc 
					condition = { type = trait value = illusive_shadow }
			}
			factor = 0.95 
		}
		modifier = {
			condition = {
				type = spymaster_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = spymaster_csc 
					condition = { type = intrigue value = 10 }
			}
			factor = 0.9 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { school = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { library = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { university = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { grand_palace = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { large_castle = yes } }
			}
			factor = 0.95 
		}
	}
	immidiate = { 
		effect = { type = remove_trait value = court_education }
		effect = { type = add_trait value = intricate_webweaver }
	}
}
#
# An offspring finishes her education
# She became a illusive_shadow 
#
character_event = {
	id = 1044
	picture = "event_education"
	trigger = {
		condition = { type = gender value = female }
		condition = { type = age value = 16}
		condition = { type = trait value = court_education }
	}
	mean_time_to_happen = {
		months = 50
		modifier = {
			condition = { type = not value = { type = diplomacy value = 5 } }
			factor = 1.05
		}
		modifier = {
			condition = { type = diplomacy value = 8 }
			factor = 0.95
		}
		modifier = {
			condition = { type = not value = { type = intrigue value = 5 } }
			factor = 5
		}
		modifier = {
			condition = { type = intrigue value = 8 }
			factor = 0.8
		}
		modifier = {
			condition = { type = not value = { type = health value = 4 } }
			factor = 0.9
		}
		modifier = {
			condition = { type = health value = 7 }
			factor = 0.95
		}
		modifier = {
			condition = { type = trait value = arbitrary }
			factor = 1.5 
		}
		modifier = {
			condition = { type = trait value = bastard }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = chaste }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = coward }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = crusader }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = deceitful }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = depression }
			factor = 1.25 
		}
		modifier = {
			condition = { type = trait value = energetic }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = excommunicated }
			factor = 3 
		}
		modifier = {
			condition = { type = trait value = forgiving }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = generous }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = harelip }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = heretic }
			factor = 3 
		}
		modifier = {
			condition = { type = trait value = honest }
			factor = 2 
		}
		modifier = {
			condition = { type = trait value = hunchback }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = inbred }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = indulgent }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = just }
			factor = 1.2 
		}
		modifier = {
			condition = { type = trait value = lazy }
			factor = 1.25 
		}
		modifier = {
			condition = { type = trait value = lisp }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = lustful }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = maniac }
			factor = 1.2 
		}
		modifier = {
			condition = { type = trait value = merciful }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = modest }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = proud }
			factor = 1.2 
		}
		modifier = {
			condition = { type = trait value = reckless }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = schizofrenia }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = selfish }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = suspicious }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = trusting }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = valorous }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = wise }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = zealous }
			factor = 1.15 
		}
		modifier = {
			condition = { type = father_trait value = naive_wirepuller }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = naive_wirepuller }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = intricate_webweaver }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = intricate_webweaver }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = illusive_shadow }
			factor = 0.9 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = illusive_shadow }
      }
      factor = 0.9
    }
		modifier = {
			condition = { type = father_trait value = amateurish_pettifogger }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = amateurish_pettifogger }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = grey_eminence }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = grey_eminence }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = hole_in_the_pocket }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = hole_in_the_pocket }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = midas_touched }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = midas_touched }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = detached_priest }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = detached_priest }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = mastermind_theologian }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = mastermind_theologian }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = misguided_warrior }
			factor = 1.05 
		}
		modifier = {
			condition = { type = father_trait value = brilliant_tactician }
			factor = 0.95
		}
		modifier = {
			condition = {
				type = spymaster_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = spymaster_csc 
					condition = { type = trait value = naive_wirepuller }
			}
			factor = 1.05 
		}
		modifier = {
			condition = {
				type = spymaster_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = spymaster_csc 
					condition = { type = trait value = intricate_webweaver }
			}
			factor = 0.95 
		}
		modifier = {
			condition = {
				type = spymaster_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = spymaster_csc 
					condition = { type = trait value = illusive_shadow }
			}
			factor = 0.9 
		}
		modifier = {
			condition = {
				type = spymaster_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = spymaster_csc 
					condition = { type = intrigue value = 10 }
			}
			factor = 0.9 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { school = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { library = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { university = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { grand_palace = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { royal_post = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { large_castle = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { huge_castle = yes } }
			}
			factor = 0.95 
		}
	}
	immidiate = { 
		effect = { type = remove_trait value = court_education }
		effect = { type = add_trait value = illusive_shadow }
	}
}
#
# An offspring finishes her education
# She became a amateurish_pettifogger 
#
character_event = {
	id = 1045
	picture = "event_education"
	trigger = {
		condition = { type = gender value = female }
		condition = { type = age value = 16}
		condition = { type = trait value = court_education }
	}
	mean_time_to_happen = {
		months = 35
		modifier = {
			condition = { type = not value = { type = diplomacy value = 5 } }
			factor = 1.25
		}
		modifier = {
			condition = { type = diplomacy value = 8 }
			factor = 1.15
		}
		modifier = {
			condition = { type = not value = { type = intrigue value = 5 } }
			factor = 0.95
		}
		modifier = {
			condition = { type = intrigue value = 8 }
			factor = 1.05
		}
		modifier = {
			condition = { type = not value = { type = stewardship value = 5 } }
			factor = 0.95
		}
		modifier = {
			condition = { type = stewardship value = 8 }
			factor = 1.05
		}
		modifier = {
			condition = { type = not value = { type = health value = 4 } }
			factor = 0.9
		}
		modifier = {
			condition = { type = health value = 7 }
			factor = 1.1
		}
		modifier = {
			condition = { type = trait value = arbitrary }
			factor = 0.85 
		}
		modifier = {
			condition = { type = trait value = chaste }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = cruel }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = deceitful }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = harelip }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = honest }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = hunchback }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = inbred }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = kinslayer }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = lustful }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = merciful }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = proud }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = schizofrenia }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = lisp }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = trusting }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = wise }
			factor = 1.1 
		}
		modifier = {
			condition = { type = father_trait value = naive_wirepuller }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = naive_wirepuller }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = illusive_shadow }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = illusive_shadow }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = amateurish_pettifogger }
			factor = 0.9 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = amateurish_pettifogger }
      }
      factor = 0.9
    }
		modifier = {
			condition = { type = father_trait value = proven_dealbreaker }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = proven_dealbreaker }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = grey_eminence }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = grey_eminence }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = hole_in_the_pocket }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = hole_in_the_pocket }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = midas_touched }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = midas_touched }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = detached_priest }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = detached_priest }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = mastermind_theologian }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = mastermind_theologian }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = misguided_warrior }
			factor = 0.95 
		}
		modifier = {
			condition = { type = father_trait value = brilliant_tactician }
			factor = 1.05
		}
		modifier = {
			condition = {
				type = chancellor_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = chancellor_csc 
					condition = { type = trait value = amateurish_pettifogger }
			}
			factor = 0.9 
		}
		modifier = {
			condition = {
				type = chancellor_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = chancellor_csc 
					condition = { type = trait value = proven_dealbreaker }
			}
			factor = 0.95 
		}
		modifier = {
			condition = {
				type = chancellor_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = chancellor_csc 
					condition = { type = trait value = grey_eminence }
			}
			factor = 1.05 
		}
		modifier = {
			condition = {
				type = chancellor_csc 
					condition = { type = diplomacy value = 10 }
			}
			factor = 1.15 
		}
	}
	immidiate = { 
		effect = { type = remove_trait value = court_education }
		effect = { type = add_trait value = amateurish_pettifogger }
	}
}
#
# An offspring finishes her education
# She became a proven_dealbreaker 
#
character_event = {
	id = 1046
	picture = "event_education"
	trigger = {
		condition = { type = gender value = female }
		condition = { type = age value = 16}
		condition = { type = trait value = court_education }
	}
	mean_time_to_happen = {
		months = 30
		modifier = {
			condition = { type = not value = { type = diplomacy value = 5 } }
			factor = 1.5
		}
		modifier = {
			condition = { type = diplomacy value = 8 }
			factor = 0.9
		}
		modifier = {
			condition = { type = trait value = energetic }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = excommunicated }
			factor = 10 
		}
		modifier = {
			condition = { type = trait value = harelip }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = heretic }
			factor = 3 
		}
		modifier = {
			condition = { type = trait value = honest }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = hunchback }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = kinslayer }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = lazy }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = lisp }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = maniac }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = merciful }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = modest }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = proud }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = reckless }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = sceptical }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = selfish }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = suspicious }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = trusting }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = valorous }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = vengeful }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = zealous }
			factor = 0.95 
		}
		modifier = {
			condition = { type = father_trait value = amateurish_pettifogger }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = amateurish_pettifogger }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = proven_dealbreaker }
			factor = 0.9 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = proven_dealbreaker }
      }
      factor = 0.9
    }
		modifier = {
			condition = { type = father_trait value = charismatic_negotiator }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = charismatic_negotiator }
      }
      factor = 0.95
    }
		modifier = {
			condition = {
				type = chancellor_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = chancellor_csc 
					condition = { type = trait value = amateurish_pettifogger }
			}
			factor = 0.95 
		}
		modifier = {
			condition = {
				type = chancellor_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = chancellor_csc 
					condition = { type = trait value = proven_dealbreaker }
			}
			factor = 0.9 
		}
		modifier = {
			condition = {
				type = chancellor_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = chancellor_csc 
					condition = { type = trait value = charismatic_negotiator }
			}
			factor = 0.95 
		}
		modifier = {
			condition = {
				type = chancellor_csc 
					condition = { type = diplomacy value = 10 }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { library = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { grand_palace = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { large_castle = yes } }
			}
			factor = 0.95 
		}
	}
	immidiate = { 
		effect = { type = remove_trait value = court_education }
		effect = { type = add_trait value = proven_dealbreaker }
	}
}
#
# An offspring finishes her education
# She became a charismatic_negotiator 
#
character_event = {
	id = 1047
	picture = "event_education"
	trigger = {
		condition = { type = gender value = female }
		condition = { type = age value = 16}
		condition = { type = trait value = court_education }
	}
	mean_time_to_happen = {
		months = 40
		modifier = {
			condition = { type = not value = { type = diplomacy value = 5 } }
			factor = 2
		}
		modifier = {
			condition = { type = diplomacy value = 8 }
			factor = 0.7
		}
		modifier = {
			condition = { type = not value = { type = health value = 4 } }
			factor = 1.05
		}
		modifier = {
			condition = { type = health value = 7 }
			factor = 0.95
		}
		modifier = {
			condition = { type = trait value = arbitrary }
			factor = 1.25 
		}
		modifier = {
			condition = { type = trait value = bastard }
			factor = 1.2 
		}
		modifier = {
			condition = { type = trait value = chaste }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = clubfooted }
			factor = 1.3 
		}
		modifier = {
			condition = { type = trait value = crusader }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = depression }
			factor = 1.25 
		}
		modifier = {
			condition = { type = trait value = energetic }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = excommunicated }
			factor = 20 
		}
		modifier = {
			condition = { type = trait value = forgiving }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = harelip }
			factor = 1.25 
		}
		modifier = {
			condition = { type = trait value = heretic }
			factor = 5 
		}
		modifier = {
			condition = { type = trait value = honest }
			factor = 0.85 
		}
		modifier = {
			condition = { type = trait value = hunchback }
			factor = 1.25 
		}
		modifier = {
			condition = { type = trait value = inbred }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = indulgent }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = kinslayer }
			factor = 1.2 
		}
		modifier = {
			condition = { type = trait value = lazy }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = lisp }
			factor = 1.25 
		}
		modifier = {
			condition = { type = trait value = maniac }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = modest }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = proud }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = reckless }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = sceptical }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = schizofrenia }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = selfish }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = suspicious }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = temperate }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = trusting }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = valorous }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = vengeful }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = zealous }
			factor = 0.95 
		}
		modifier = {
			condition = { type = father_trait value = proven_dealbreaker }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = proven_dealbreaker }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = charismatic_negotiator }
			factor = 0.9 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = charismatic_negotiator }
      }
      factor = 0.9
    }
		modifier = {
			condition = { type = father_trait value = grey_eminence }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = grey_eminence }
      }
      factor = 0.95
    }
		modifier = {
			condition = {
				type = chancellor_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = chancellor_csc 
					condition = { type = trait value = proven_dealbreaker }
			}
			factor = 0.95 
		}
		modifier = {
			condition = {
				type = chancellor_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = chancellor_csc 
					condition = { type = trait value = charismatic_negotiator }
			}
			factor = 0.9 
		}
		modifier = {
			condition = {
				type = chancellor_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = chancellor_csc 
					condition = { type = trait value = grey_eminence }
			}
			factor = 0.95 
		}
		modifier = {
			condition = {
				type = chancellor_csc 
					condition = { type = diplomacy value = 10 }
			}
			factor = 0.9 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { civilian_harbour = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { grand_shipyard = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { library = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { grand_palace = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { large_castle = yes } }
			}
			factor = 0.95 
		}
	}
	immidiate = { 
		effect = { type = remove_trait value = court_education }
		effect = { type = add_trait value = charismatic_negotiator }
	}
}
#
# An offspring finishes her education
# She became a grey_eminence 
#
character_event = {
	id = 1048
	picture = "event_education"
	trigger = {
		condition = { type = gender value = female }
		condition = { type = age value = 16}
		condition = { type = trait value = court_education }
	}
	mean_time_to_happen = {
		months = 50
		modifier = {
			condition = { type = not value = { type = diplomacy value = 5 } }
			factor = 5
		}
		modifier = {
			condition = { type = diplomacy value = 8 }
			factor = 0.8
		}
		modifier = {
			condition = { type = not value = { type = intrigue value = 5 } }
			factor = 1.05
		}
		modifier = {
			condition = { type = intrigue value = 8 }
			factor = 0.95
		}
		modifier = {
			condition = { type = not value = { type = health value = 4 } }
			factor = 1.1
		}
		modifier = {
			condition = { type = health value = 7 }
			factor = 0.9
		}
		modifier = {
			condition = { type = trait value = arbitrary }
			factor = 1.5 
		}
		modifier = {
			condition = { type = trait value = bastard }
			factor = 1.25 
		}
		modifier = {
			condition = { type = trait value = chaste }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = clubfooted }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = coward }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = crusader }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = deceitful }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = depression }
			factor = 1.25 
		}
		modifier = {
			condition = { type = trait value = energetic }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = excommunicated }
			factor = 5 
		}
		modifier = {
			condition = { type = trait value = generous }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = harelip }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = heretic }
			factor = 2 
		}
		modifier = {
			condition = { type = trait value = honest }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = hunchback }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = inbred }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = indulgent }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = kinslayer }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = lazy }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = lisp }
			factor = 1.2 
		}
		modifier = {
			condition = { type = trait value = lustful }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = maniac }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = merciful }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = modest }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = proud }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = reckless }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = sceptical }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = schizofrenia }
			factor = 1.2 
		}
		modifier = {
			condition = { type = trait value = selfish }
			factor = 1.25 
		}
		modifier = {
			condition = { type = trait value = suspicious }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = temperate }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = vengeful }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = wise }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = zealous }
			factor = 1.2 
		}
		modifier = {
			condition = { type = father_trait value = naive_wirepuller }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = naive_wirepuller }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = illusive_shadow }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = illusive_shadow }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = amateurish_pettifogger }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = amateurish_pettifogger }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = charismatic_negotiator }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = charismatic_negotiator }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = grey_eminence }
			factor = 0.9 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = grey_eminence }
      }
      factor = 0.9
    }
		modifier = {
			condition = { type = father_trait value = hole_in_the_pocket }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = hole_in_the_pocket }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = midas_touched }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = midas_touched }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = detached_priest }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = detached_priest }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = mastermind_theologian }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = mastermind_theologian }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = misguided_warrior }
			factor = 1.05 
		}
		modifier = {
			condition = { type = father_trait value = brilliant_tactician }
			factor = 0.95
		}
		modifier = {
			condition = {
				type = chancellor_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = chancellor_csc 
					condition = { type = trait value = amateurish_pettifogger }
			}
			factor = 1.05 
		}
		modifier = {
			condition = {
				type = chancellor_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = chancellor_csc 
					condition = { type = trait value = charismatic_negotiator }
			}
			factor = 0.95 
		}
		modifier = {
			condition = {
				type = chancellor_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = chancellor_csc 
					condition = { type = trait value = grey_eminence }
			}
			factor = 0.9 
		}
		modifier = {
			condition = {
				type = chancellor_csc 
					condition = { type = diplomacy value = 10 }
			}
			factor = 0.9 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { civilian_harbour = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { grand_shipyard = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { library = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { university = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { grand_palace = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { royal_post = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { large_castle = yes } }
			}
			factor = 0.95 
		}
	}
	immidiate = { 
		effect = { type = remove_trait value = court_education }
		effect = { type = add_trait value = grey_eminence }
	}
}
#
# An offspring finishes her education
# She became a hole_in_the_pocket 
#
character_event = {
	id = 1049
	picture = "event_education"
	trigger = {
		condition = { type = gender value = female }
		condition = { type = age value = 16}
		condition = { type = trait value = court_education }
	}
	mean_time_to_happen = {
		months = 35
		modifier = {
			condition = { type = not value = { type = diplomacy value = 5 } }
			factor = 0.95
		}
		modifier = {
			condition = { type = diplomacy value = 8 }
			factor = 1.05
		}
		modifier = {
			condition = { type = not value = { type = intrigue value = 5 } }
			factor = 0.95
		}
		modifier = {
			condition = { type = intrigue value = 8 }
			factor = 1.05
		}
		modifier = {
			condition = { type = not value = { type = stewardship value = 5 } }
			factor = 1.25
		}
		modifier = {
			condition = { type = stewardship value = 8 }
			factor = 1.15
		}
		modifier = {
			condition = { type = not value = { type = health value = 4 } }
			factor = 0.9
		}
		modifier = {
			condition = { type = health value = 7 }
			factor = 1.1
		}
		modifier = {
			condition = { type = trait value = bastard }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = chaste }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = generous }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = honest }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = inbred }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = indulgent }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = just }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = lazy }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = lustful }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = maniac }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = merciful }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = modest }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = proud }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = reckless }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = schizofrenia }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = selfish }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = suspicious }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = temperate }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = trusting }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = vengeful }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = wise }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = zealous }
			factor = 0.95 
		}
		modifier = {
			condition = { type = father_trait value = naive_wirepuller }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = naive_wirepuller }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = illusive_shadow }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = illusive_shadow }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = amateurish_pettifogger }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = amateurish_pettifogger }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = grey_eminence }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = grey_eminence }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = hole_in_the_pocket }
			factor = 0.9 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = hole_in_the_pocket }
      }
      factor = 0.9
    }
		modifier = {
			condition = { type = father_trait value = proven_accountant }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = proven_accountant }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = midas_touched }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = midas_touched }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = detached_priest }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = detached_priest }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = mastermind_theologian }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = mastermind_theologian }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = misguided_warrior }
			factor = 0.95 
		}
		modifier = {
			condition = { type = father_trait value = brilliant_tactician }
			factor = 1.05
		}
		modifier = {
			condition = {
				type = steward_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = steward_csc 
					condition = { type = trait value = hole_in_the_pocket }
			}
			factor = 0.9 
		}
		modifier = {
			condition = {
				type = steward_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = steward_csc 
					condition = { type = trait value = proven_accountant }
			}
			factor = 0.95 
		}
		modifier = {
			condition = {
				type = steward_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = steward_csc 
					condition = { type = trait value = midas_touched }
			}
			factor = 1.05 
		}
		modifier = {
			condition = {
				type = steward_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = steward_csc 
					condition = { type = stewardship value = 10 }
			}
			factor = 1.15 
		}
	}
	immidiate = { 
		effect = { type = remove_trait value = court_education }
		effect = { type = add_trait value = hole_in_the_pocket }
	}
}
#
# An offspring finishes her education
# She became a proven_accountant 
#
character_event = {
	id = 1050
	picture = "event_education"
	trigger = {
		condition = { type = gender value = female }
		condition = { type = age value = 16}
		condition = { type = trait value = court_education }
	}
	mean_time_to_happen = {
		months = 30
		modifier = {
			condition = { type = not value = { type = stewardship value = 5 } }
			factor = 1.5
		}
		modifier = {
			condition = { type = stewardship value = 8 }
			factor = 0.9
		}
		modifier = {
			condition = { type = trait value = arbitrary }
			factor = 1.25 
		}
		modifier = {
			condition = { type = trait value = clubfooted }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = excommunicated }
			factor = 1.5 
		}
		modifier = {
			condition = { type = trait value = generous }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = indulgent }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = just }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = lazy }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = maniac }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = merciful }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = reckless }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = selfish }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = temperate }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = trusting }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = vengeful }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = zealous }
			factor = 1.05 
		}
		modifier = {
			condition = { type = father_trait value = hole_in_the_pocket }
			factor = 0.95 
		}
		modifier = {
			condition = { type = father_trait value = proven_accountant }
			factor = 0.9 
		}
		modifier = {
			condition = { type = father_trait value = fortune_builder }
			factor = 0.95 
		}
		modifier = {
			condition = {
				type = steward_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = steward_csc 
					condition = { type = trait value = hole_in_the_pocket }
			}
			factor = 0.95 
		}
		modifier = {
			condition = {
				type = steward_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = steward_csc 
					condition = { type = trait value = proven_accountant }
			}
			factor = 0.9 
		}
		modifier = {
			condition = {
				type = steward_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = steward_csc 
					condition = { type = trait value = fortune_builder }
			}
			factor = 0.95 
		}
		modifier = {
			condition = {
				type = steward_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = steward_csc 
					condition = { type = stewardship value = 10 }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { civilian_harbour = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { extensive_roadnet = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { court_of_justice = yes } }
			}
			factor = 0.95 
		}
	}
	immidiate = { 
		effect = { type = remove_trait value = court_education }
		effect = { type = add_trait value = proven_accountant }
	}
}
#
# An offspring finishes her education
# She became a fortune_builder 
#
character_event = {
	id = 1051
	picture = "event_education"
	trigger = {
		condition = { type = gender value = female }
		condition = { type = age value = 16}
		condition = { type = trait value = court_education }
	}
	mean_time_to_happen = {
		months = 40
		modifier = {
			condition = { type = not value = { type = intrigue value = 5 } }
			factor = 1.05
		}
		modifier = {
			condition = { type = intrigue value = 8 }
			factor = 0.95
		}
		modifier = {
			condition = { type = not value = { type = stewardship value = 5 } }
			factor = 2
		}
		modifier = {
			condition = { type = stewardship value = 8 }
			factor = 0.7
		}
		modifier = {
			condition = { type = not value = { type = health value = 4 } }
			factor = 1.05
		}
		modifier = {
			condition = { type = health value = 7 }
			factor = 0.95
		}
		modifier = {
			condition = { type = trait value = arbitrary }
			factor = 1.5 
		}
		modifier = {
			condition = { type = trait value = chaste }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = crusader }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = deceitful }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = depression }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = excommunicated }
			factor = 5 
		}
		modifier = {
			condition = { type = trait value = generous }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = harelip }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = heretic }
			factor = 2 
		}
		modifier = {
			condition = { type = trait value = hunchback }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = inbred }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = indulgent }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = just }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = kinslayer }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = lazy }
			factor = 1.25 
		}
		modifier = {
			condition = { type = trait value = lisp }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = lustful }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = maniac }
			factor = 1.2 
		}
		modifier = {
			condition = { type = trait value = merciful }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = proud }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = reckless }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = sceptical }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = schizofrenia }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = selfish }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = temperate }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = trusting }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = valorous }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = vengeful }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = wise }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = zealous }
			factor = 1.1 
		}
		modifier = {
			condition = { type = father_trait value = proven_accountant }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = proven_accountant }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = fortune_builder }
			factor = 0.9 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = fortune_builder }
      }
      factor = 0.9
    }
		modifier = {
			condition = { type = father_trait value = midas_touched }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = midas_touched }
      }
      factor = 0.95
    }
		modifier = {
			condition = {
				type = steward_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = steward_csc 
					condition = { type = trait value = proven_accountant }
			}
			factor = 0.95 
		}
		modifier = {
			condition = {
				type = steward_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = steward_csc 
					condition = { type = trait value = fortune_builder }
			}
			factor = 0.9 
		}
		modifier = {
			condition = {
				type = steward_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = steward_csc 
					condition = { type = trait value = midas_touched }
			}
			factor = 0.95 
		}
		modifier = {
			condition = {
				type = steward_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = steward_csc 
					condition = { type = stewardship value = 10 }
			}
			factor = 0.9 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { civilian_harbour = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { grand_shipyard = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { mine = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { improved_mine = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { extensive_roadnet = yes } }
			}
			factor = 0.95 
		}
	}
	immidiate = { 
		effect = { type = remove_trait value = court_education }
		effect = { type = add_trait value = fortune_builder }
	}
}
#
# An offspring finishes her education
# She became a midas_touched 
#
character_event = {
	id = 1052
	picture = "event_education"
	trigger = {
		condition = { type = gender value = female }
		condition = { type = age value = 16}
		condition = { type = trait value = court_education }
	}
	mean_time_to_happen = {
		months = 50
		modifier = {
			condition = { type = not value = { type = diplomacy value = 5 } }
			factor = 1.05
		}
		modifier = {
			condition = { type = diplomacy value = 8 }
			factor = 0.95
		}
		modifier = {
			condition = { type = not value = { type = intrigue value = 5 } }
			factor = 1.05
		}
		modifier = {
			condition = { type = intrigue value = 8 }
			factor = 0.95
		}
		modifier = {
			condition = { type = not value = { type = stewardship value = 5 } }
			factor = 5
		}
		modifier = {
			condition = { type = stewardship value = 8 }
			factor = 0.8
		}
		modifier = {
			condition = { type = not value = { type = health value = 4 } }
			factor = 1.1
		}
		modifier = {
			condition = { type = health value = 7 }
			factor = 0.9
		}
		modifier = {
			condition = { type = trait value = arbitrary }
			factor = 2 
		}
		modifier = {
			condition = { type = trait value = bastard }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = chaste }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = coward }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = crusader }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = deceitful }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = depression }
			factor = 1.25 
		}
		modifier = {
			condition = { type = trait value = energetic }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = excommunicated }
			factor = 10 
		}
		modifier = {
			condition = { type = trait value = generous }
			factor = 1.2 
		}
		modifier = {
			condition = { type = trait value = harelip }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = heretic }
			factor = 5 
		}
		modifier = {
			condition = { type = trait value = honest }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = hunchback }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = inbred }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = indulgent }
			factor = 1.2 
		}
		modifier = {
			condition = { type = trait value = just }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = kinslayer }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = lazy }
			factor = 1.35 
		}
		modifier = {
			condition = { type = trait value = lisp }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = lustful }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = maniac }
			factor = 1.25 
		}
		modifier = {
			condition = { type = trait value = merciful }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = proud }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = reckless }
			factor = 1.2 
		}
		modifier = {
			condition = { type = trait value = schizofrenia }
			factor = 1.25 
		}
		modifier = {
			condition = { type = trait value = selfish }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = suspicious }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = temperate }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = trusting }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = valorous }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = vengeful }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = wise }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = zealous }
			factor = 1.1 
		}
		modifier = {
			condition = { type = father_trait value = naive_wirepuller }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = naive_wirepuller }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = illusive_shadow }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = illusive_shadow }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = amateurish_pettifogger }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = midas_touched }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = grey_eminence }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = grey_eminence }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = hole_in_the_pocket }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = hole_in_the_pocket }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = fortune_builder }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = fortune_builder }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = midas_touched }
			factor = 0.9 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = midas_touched }
      }
      factor = 0.9
    }
		modifier = {
			condition = { type = father_trait value = detached_priest }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = detached_priest }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = mastermind_theologian }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = mastermind_theologian }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = misguided_warrior }
			factor = 1.05 
		}
		modifier = {
			condition = { type = father_trait value = brilliant_tactician }
			factor = 0.95
		}
		modifier = {
			condition = {
				type = steward_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = steward_csc 
					condition = { type = trait value = hole_in_the_pocket }
			}
			factor = 1.05 
		}
		modifier = {
			condition = {
				type = steward_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = steward_csc 
					condition = { type = trait value = fortune_builder }
			}
			factor = 0.95 
		}
		modifier = {
			condition = {
				type = steward_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = steward_csc 
					condition = { type = trait value = midas_touched }
			}
			factor = 0.9 
		}
		modifier = {
			condition = {
				type = steward_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = steward_csc 
					condition = { type = stewardship value = 10 }
			}
			factor = 0.9 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { civilian_harbour = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { grand_shipyard = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { mine = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { improved_mine = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { extensive_roadnet = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { court_of_justice = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { large_castle = yes } }
			}
			factor = 0.95 
		}
	}
	immidiate = { 
		effect = { type = remove_trait value = court_education }
		effect = { type = add_trait value = midas_touched }
	}
}
#
# An offspring finishes her education
# She became a detached_priest 
#
character_event = {
	id = 1037
	picture = "event_education"
	trigger = {
		condition = { type = gender value = female }
		condition = { type = age value = 16}
		condition = { type = trait value = ecclesiastical_education }
	}
	mean_time_to_happen = {
		months = 35
		modifier = {
			condition = { type = not value = { type = martial value = 4 } }
			factor = 0.9
		}
		modifier = {
			condition = { type = martial value = 7 }
			factor = 1.1
		}
		modifier = {
			condition = { type = not value = { type = diplomacy value = 6 } }
			factor = 0.95
		}
		modifier = {
			condition = { type = diplomacy value = 9 }
			factor = 1.05
		}
		modifier = {
			condition = { type = not value = { type = intrigue value = 5 } }
			factor = 0.9
		}
		modifier = {
			condition = { type = intrigue value = 8 }
			factor = 1.1
		}
		modifier = {
			condition = { type = not value = { type = stewardship value = 4 } }
			factor = 0.9
		}
		modifier = {
			condition = { type = stewardship value = 7 }
			factor = 1.1
		}
		modifier = {
			condition = { type = not value = { type = health value = 4 } }
			factor = 0.8
		}
		modifier = {
			condition = { type = trait value = bastard }
			factor = 0.8 
		}
		modifier = {
			condition = { type = trait value = chaste }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = clubfooted }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = coward }
			factor = 0.8 
		}
		modifier = {
			condition = { type = trait value = crusader }
			factor = 1.2 
		}
		modifier = {
			condition = { type = trait value = depression }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = energetic }
			factor = 1.25 
		}
		modifier = {
			condition = { type = trait value = forgiving }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = generous }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = harelip }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = inbred }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = indulgent }
			factor = 1.2 
		}
		modifier = {
			condition = { type = trait value = kinslayer }
			factor = 0.8 
		}
		modifier = {
			condition = { type = trait value = lazy }
			factor = 0.85 
		}
		modifier = {
			condition = { type = trait value = lisp }
			factor = 0.85
		}
		modifier = {
			condition = { type = trait value = lustful }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = modest }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = reckless }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = schizofrenia }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = selfish }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = suspicious }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = trusting }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = vengeful }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = wise }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = zealous }
			factor = 1.1 
		}
		modifier = {
			condition = { type = father_trait value = naive_wirepuller }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = naive_wirepuller }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = illusive_shadow }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = illusive_shadow }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = amateurish_pettifogger }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = amateurish_pettifogger }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = grey_eminence }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = grey_eminence }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = hole_in_the_pocket }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = hole_in_the_pocket }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = midas_touched }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = midas_touched }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = detached_priest }
			factor = 0.9 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = detached_priest }
      }
      factor = 0.9
    }
		modifier = {
			condition = { type = father_trait value = martial_cleric }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = martial_cleric }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = mastermind_theologian }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = mastermind_theologian }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = misguided_warrior }
			factor = 0.95 
		}
		modifier = {
			condition = { type = father_trait value = brilliant_strategist }
			factor = 1.05 
		}
		modifier = {
			condition = {
				type = chaplain_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = chaplain_csc 
					condition = { type = trait value = detached_priest }
			}
			factor = 0.9 
		}
		modifier = {
			condition = {
				type = chaplain_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = chaplain_csc 
					condition = { type = trait value = martial_cleric }
			}
			factor = 0.95 
		}
		modifier = {
			condition = {
				type = chaplain_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = chaplain_csc 
					condition = { type = trait value = mastermind_theologian }
			}
			factor = 1.05 
		}
	}
	immidiate = { 
		effect = { type = remove_trait value = ecclesiastical_education }
		effect = { type = add_trait value = detached_priest }
		effect = { type = set_to_realm_religion }
	}
}
#
# An offspring finishes her education
# She became a martial_cleric 
#
character_event = {
	id = 1038
	picture = "event_education"
	trigger = {
		condition = { type = gender value = female }
		condition = { type = age value = 16}
		condition = { type = trait value = ecclesiastical_education }
	}
	mean_time_to_happen = {
		months = 30
		modifier = {
			condition = { type = not value = { type = martial value = 4 } }
			factor = 1.1
		}
		modifier = {
			condition = { type = martial value = 7 }
			factor = 0.9
		}
		modifier = {
			condition = { type = not value = { type = health value = 4 } }
			factor = 1.2
		}
		modifier = {
			condition = { type = health value = 7 }
			factor = 0.95
		}
		modifier = {
			condition = { type = trait value = clubfooted }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = coward }
			factor = 1.2 
		}
		modifier = {
			condition = { type = trait value = cruel }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = crusader }
			factor = 0.75 
		}
		modifier = {
			condition = { type = trait value = depression }
			factor = 1.2 
		}
		modifier = {
			condition = { type = trait value = energetic }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = excommunicated }
			factor = 5 
		}
		modifier = {
			condition = { type = trait value = generous }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = harelip }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = lisp }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = lustful }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = maniac }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = merciful }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = proud }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = sceptical }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = selfish }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = temperate }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = valorous }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = wise }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = zealous }
			factor = 0.8 
		}
		modifier = {
			condition = { type = father_trait value = detached_priest }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = detached_priest }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = martial_cleric }
			factor = 0.9 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = martial_cleric }
      }
      factor = 0.9
    }
		modifier = {
			condition = { type = father_trait value = scholarly_theologian }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = scholarly_theologian }
      }
      factor = 0.95
    }
		modifier = {
			condition = {
				type = chaplain_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = chaplain_csc 
					condition = { type = trait value = detached_priest }
			}
			factor = 0.95 
		}
		modifier = {
			condition = {
				type = chaplain_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = chaplain_csc 
					condition = { type = trait value = martial_cleric }
			}
			factor = 0.9 
		}
		modifier = {
			condition = {
				type = chaplain_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = chaplain_csc 
					condition = { type = trait value = scholarly_theologian }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { traininggrounds = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { templar_house = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { large_church = yes } }
			}
			factor = 0.95 
		}
	}
	immidiate = { 
		effect = { type = remove_trait value = ecclesiastical_education }
		effect = { type = add_trait value = martial_cleric }
		effect = { type = set_to_realm_religion }
	}
}
#
# An offspring finishes her education
# She became a scholarly_theologian 
#
character_event = {
	id = 1039
	picture = "event_education"
	trigger = {
		condition = { type = gender value = female }
		condition = { type = age value = 16}
		condition = { type = trait value = ecclesiastical_education }
	}
	mean_time_to_happen = {
		months = 40
		modifier = {
			condition = { type = not value = { type = intrigue value = 5 } }
			factor = 1.1
		}
		modifier = {
			condition = { type = intrigue value = 8 }
			factor = 0.9
		}
		modifier = {
			condition = { type = not value = { type = stewardship value = 4 } }
			factor = 1.1
		}
		modifier = {
			condition = { type = stewardship value = 7 }
			factor = 0.9
		}
		modifier = {
			condition = { type = trait value = arbitrary }
			factor = 1.25 
		}
		modifier = {
			condition = { type = trait value = bastard }
			factor = 1.5 
		}
		modifier = {
			condition = { type = trait value = chaste }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = crusader }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = deceitful }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = excommunicated }
			factor = 10 
		}
		modifier = {
			condition = { type = trait value = forgiving }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = heretic }
			factor = 5 
		}
		modifier = {
			condition = { type = trait value = indulgent }
			factor = 1.2 
		}
		modifier = {
			condition = { type = trait value = kinslayer }
			factor = 1.25 
		}
		modifier = {
			condition = { type = trait value = maniac }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = modest }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = reckless }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = sceptical }
			factor = 1.25 
		}
		modifier = {
			condition = { type = trait value = schizofrenia }
			factor = 1.25 
		}
		modifier = {
			condition = { type = trait value = suspicious }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = trusting }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = vengeful }
			factor = 1.1 
		}
		modifier = {
			condition = { type = father_trait value = martial_cleric }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = martial_cleric }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = scholarly_theologian }
			factor = 0.9 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = scholarly_theologian }
      }
      factor = 0.9
    }
		modifier = {
			condition = { type = father_trait value = mastermind_theologian }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = mastermind_theologian }
      }
      factor = 0.95
    }
		modifier = {
			condition = {
				type = chaplain_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = chaplain_csc 
					condition = { type = trait value = martial_cleric }
			}
			factor = 0.95 
		}
		modifier = {
			condition = {
				type = chaplain_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = chaplain_csc 
					condition = { type = trait value = scholarly_theologian }
			}
			factor = 0.9 
		}
		modifier = {
			condition = {
				type = chaplain_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = chaplain_csc 
					condition = { type = trait value = mastermind_theologian }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { library = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { templar_house = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { university = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { large_church = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { domed_church = yes } }
			}
			factor = 0.95 
		}
	}
	immidiate = { 
		effect = { type = remove_trait value = ecclesiastical_education }
		effect = { type = add_trait value = scholarly_theologian }
		effect = { type = set_to_realm_religion }
	}
}
#
# An offspring finishes her education
# She became a mastermind_theologian 
#
character_event = {
	id = 1040
	picture = "event_education"
	trigger = {
		condition = { type = gender value = female }
		condition = { type = age value = 16}
		condition = { type = trait value = ecclesiastical_education }
	}
	mean_time_to_happen = {
		months = 50
		modifier = {
			condition = { type = not value = { type = diplomacy value = 6 } }
			factor = 1.05
		}
		modifier = {
			condition = { type = diplomacy value = 9 }
			factor = 0.95
		}
		modifier = {
			condition = { type = not value = { type = intrigue value = 5 } }
			factor = 2
		}
		modifier = {
			condition = { type = intrigue value = 8 }
			factor = 0.85
		}
		modifier = {
			condition = { type = not value = { type = stewardship value = 4 } }
			factor = 2
		}
		modifier = {
			condition = { type = stewardship value = 7 }
			factor = 0.85
		}
		modifier = {
			condition = { type = not value = { type = health value = 4 } }
			factor = 1.2
		}
		modifier = {
			condition = { type = health value = 7 }
			factor = 0.95
		}
		modifier = {
			condition = { type = trait value = arbitrary }
			factor = 1.5 
		}
		modifier = {
			condition = { type = trait value = bastard }
			factor = 3 
		}
		modifier = {
			condition = { type = trait value = chaste }
			factor = 0.85 
		}
		modifier = {
			condition = { type = trait value = cruel }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = deceitful }
			factor = 1.25 
		}
		modifier = {
			condition = { type = trait value = depression }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = excommunicated }
			factor = 20 
		}
		modifier = {
			condition = { type = trait value = forgiving }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = generous }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = harelip }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = heretic }
			factor = 10 
		}
		modifier = {
			condition = { type = trait value = honest }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = inbred }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = indulgent }
			factor = 1.5 
		}
		modifier = {
			condition = { type = trait value = just }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = kinslayer }
			factor = 1.5 
		}
		modifier = {
			condition = { type = trait value = lazy }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = lustful }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = maniac }
			factor = 1.25 
		}
		modifier = {
			condition = { type = trait value = modest }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = proud }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = reckless }
			factor = 1.2 
		}
		modifier = {
			condition = { type = trait value = sceptical }
			factor = 1.5 
		}
		modifier = {
			condition = { type = trait value = schizofrenia }
			factor = 1.5 
		}
		modifier = {
			condition = { type = trait value = selfish }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = lisp }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = suspicious }
			factor = 1.15 
		}
		modifier = {
			condition = { type = trait value = temperate }
			factor = 0.95 
		}
		modifier = {
			condition = { type = trait value = valorous }
			factor = 1.05 
		}
		modifier = {
			condition = { type = trait value = vengeful }
			factor = 1.1 
		}
		modifier = {
			condition = { type = trait value = wise }
			factor = 0.9 
		}
		modifier = {
			condition = { type = trait value = zealous }
			factor = 1.1 
		}
		modifier = {
			condition = { type = father_trait value = naive_wirepuller }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = naive_wirepuller }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = illusive_shadow }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = illusive_shadow }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = amateurish_pettifogger }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = amateurish_pettifogger }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = grey_eminence }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = grey_eminence }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = hole_in_the_pocket }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = hole_in_the_pocket }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = midas_touched }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = midas_touched }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = detached_priest }
			factor = 1.05 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = detached_priest }
      }
      factor = 1.05
    }
		modifier = {
			condition = { type = father_trait value = scholarly_theologian }
			factor = 0.95 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = scholarly_theologian }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = mastermind_theologian }
			factor = 0.9 
		}
		modifier = {
      condition = { type = mother 
        condition = {type = trait value = mastermind_theologian }
      }
      factor = 0.95
    }
		modifier = {
			condition = { type = father_trait value = misguided_warrior }
			factor = 1.05 
		}
		modifier = {
			condition = { type = father_trait value = brilliant_strategist }
			factor = 0.95 
		}
		modifier = {
			condition = {
				type = chaplain_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = chaplain_csc 
					condition = { type = trait value = detached_priest }
			}
			factor = 1.05 
		}
		modifier = {
			condition = {
				type = chaplain_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = chaplain_csc 
					condition = { type = trait value = scholarly_theologian }
			}
			factor = 0.95 
		}
		modifier = {
			condition = {
				type = chaplain_csc 
					condition = { type = diplomacy value = 7 }
			}
			condition = {
				type = chaplain_csc 
					condition = { type = trait value = mastermind_theologian }
			}
			factor = 0.9 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { library = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { templar_house = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { university = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { large_church = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { domed_church = yes } }
			}
			factor = 0.95 
		}
		modifier = { 
			condition = {
				type = capital 
					condition = { type = has_improvement value = { cathedral = yes } }
			}
			factor = 0.95 
		}
	}
	immidiate = { 
		effect = { type = remove_trait value = ecclesiastical_education }
		effect = { type = add_trait value = mastermind_theologian }
		effect = { type = set_to_realm_religion }
	}
}