• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

FoX111

Second Lieutenant
20 Badges
Nov 14, 2010
145
107
  • Crusader Kings II: Legacy of Rome
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Europa Universalis IV: Res Publica
  • Heir to the Throne
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
  • Divine Wind
  • Europa Universalis III Complete
  • Crusader Kings II: The Republic
  • Crusader Kings II: The Old Gods
  • Crusader Kings II
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Victoria 2
  • 500k Club
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Common Sense
Hey, so basically, I just wanna change the posibility of targaryen kids going either lunatic, quick or genius. As I understand it, there's 50% possibility that the kid's gonna go lunatic, 40% quick and 10% genius, right? I'm not good at modding, just digging around for fun like usually, but this one's a bit tricky for me, I might be completely wrong. So if I wanna lower the change of gaining lunatic trait, I'll just change the numbers.






Code:
option = {
		name = "EVTOPTA999900072" 
		random_list = {
			50 = {
				add_trait = lunatic
				hidden_tooltip = {
					any_dynasty_member = {
						limit = {
							OR = {
								any_child = { character = ROOT }
								any_child = { any_child = { character = ROOT } }
								any_child = { any_child = { any_child = { character = ROOT } } }
							}
						}
						character_event = { id = high_valyrian.4 days = 1 }
					}
				}	
			}
			40 = {
				add_trait = quick
				hidden_tooltip = {
					any_dynasty_member = {
						limit = {
							OR = {
								any_child = { character = ROOT }
								any_child = { any_child = { character = ROOT } }
								any_child = { any_child = { any_child = { character = ROOT } } }
							}
						}
						character_event = { id = high_valyrian.5 days = 1 }
					}
				}	
			}
			10 = {
				hidden_tooltip = {
					remove_trait = quick
				}
				add_trait = genius	
				hidden_tooltip = {
					any_dynasty_member = {
						limit = {
							OR = {
								any_child = { character = ROOT }
								any_child = { any_child = { character = ROOT } }
								any_child = { any_child = { any_child = { character = ROOT } } }
							}
						}
						character_event = { id = high_valyrian.6 days = 1 }
					}
				}	
			}
		}
		
	}	
}	






option = {
		name = "EVTOPTA999900072" 
		random_list = {
			10 = {
				add_trait = lunatic
				hidden_tooltip = {
					any_dynasty_member = {
						limit = {
							OR = {
								any_child = { character = ROOT }
								any_child = { any_child = { character = ROOT } }
								any_child = { any_child = { any_child = { character = ROOT } } }
							}
						}
						character_event = { id = high_valyrian.4 days = 1 }
					}
				}	
			}
			20 = {
				add_trait = quick
				hidden_tooltip = {
					any_dynasty_member = {
						limit = {
							OR = {
								any_child = { character = ROOT }
								any_child = { any_child = { character = ROOT } }
								any_child = { any_child = { any_child = { character = ROOT } } }
							}
						}
						character_event = { id = high_valyrian.5 days = 1 }
					}
				}	
			}
			70 = {
				hidden_tooltip = {
					remove_trait = quick
				}
				add_trait = genius	
				hidden_tooltip = {
					any_dynasty_member = {
						limit = {
							OR = {
								any_child = { character = ROOT }
								any_child = { any_child = { character = ROOT } }
								any_child = { any_child = { any_child = { character = ROOT } } }
							}
						}
						character_event = { id = high_valyrian.6 days = 1 }
					}
				}	
			}
		}
		
	}	
}

Now, if I get it right, there's now 70% chance the kid goes genius, 20% chance quick and 10% lunatic. Am I right or not? Thanks.
Documents\Paradox Interactive\Crusader Kings II\mod\A Game of Thrones\events\high_valyrian_events
 
Last edited:
Code:
option = {
		name = "EVTOPTA999900072" 
		random_list = {
			10 = {
				add_trait = lunatic
				hidden_tooltip = {
					any_dynasty_member = {
						limit = {
							OR = {
								any_child = { character = ROOT }
								any_child = { any_child = { character = ROOT } }
								any_child = { any_child = { any_child = { character = ROOT } } }
							}
						}
						character_event = { id = high_valyrian.4 days = 1 }
					}
				}	
			}
			20 = {
				add_trait = quick
				hidden_tooltip = {
					any_dynasty_member = {
						limit = {
							OR = {
								any_child = { character = ROOT }
								any_child = { any_child = { character = ROOT } }
								any_child = { any_child = { any_child = { character = ROOT } } }
							}
						}
						character_event = { id = high_valyrian.5 days = 1 }
					}
				}	
			}
			70 = {
				hidden_tooltip = {
					remove_trait = quick
				}
				add_trait = genius	
				hidden_tooltip = {
					any_dynasty_member = {
						limit = {
							OR = {
								any_child = { character = ROOT }
								any_child = { any_child = { character = ROOT } }
								any_child = { any_child = { any_child = { character = ROOT } } }
							}
						}
						character_event = { id = high_valyrian.6 days = 1 }
					}
				}	
			}
		}
		
	}	
}

This is what you want,

You're welcome.