#####################################
# Building a balwan
#####################################

namespace = byzsla_slavic_event_balwan_rod

character_event = {
	id = byzsla_slavic_event_balwan_rod.1
	desc = desc_byzsla_slavic_event_balwan_rod.1
	
	picture = GFX_evt_balwan
	
	is_triggered_only = yes
	
	hide_from = yes
	
	option = { # Rod
		name = EVTOPTA_byzsla_slavic_event_balwan_rod.1
		
		custom_tooltip = {
			text = balwan_carved
			hidden_tooltip = { 
				random_list = { 
					60 = { 
						character_event = {
							id = byzsla_slavic_event_balwan_rod.2
							months = 2
						}
					}
					40 = { 
						character_event = {
							id = byzsla_slavic_event_balwan_rod.3
							months = 2
						}
					}
				}
			}
		}
	}
	option = { # Chors
		name = EVTOPTB_byzsla_slavic_event_balwan_rod.1
		
		custom_tooltip = {
			text = balwan_carved
			hidden_tooltip = { 
				random_list = { 
					60 = { 
						character_event = {
							id = byzsla_slavic_event_balwan_rod.4
							months = 2
						}
					}
					40 = { 
						character_event = {
							id = byzsla_slavic_event_balwan_rod.5
							months = 2
						}
					}
				}
			}
		}
	}
	option = { # Perepłut
		name = EVTOPTC_byzsla_slavic_event_balwan_rod.1
		
		custom_tooltip = {
			text = balwan_carved
			hidden_tooltip = { 
				random_list = { 
					60 = { 
						character_event = {
							id = byzsla_slavic_event_balwan_rod.6
							months = 2
						}
					}
					40 = { 
						character_event = {
							id = byzsla_slavic_event_balwan_rod.7
							months = 2
						}
					}
				}
			}
		}
	}
	option = { # Marovica
		name = EVTOPTD_byzsla_slavic_event_balwan_rod.1
		
		custom_tooltip = {
			text = balwan_carved
			hidden_tooltip = { 
				random_list = { 
					60 = { 
						character_event = {
							id = byzsla_slavic_event_balwan_rod.8
							months = 2
						}
					}
					40 = { 
						character_event = {
							id = byzsla_slavic_event_balwan_rod.9
							months = 2
						}
					}
				}
			}
		}
	}
}

#Rod

character_event = {
	id = byzsla_slavic_event_balwan_rod.2
	title = tyt_byzsla_slavic_event_balwan_rod.2
	desc = desc_byzsla_slavic_event_balwan_rod.2
	
	picture = GFX_evt_balwan
	
	trigger = { 
		has_character_flag = sevgart_perun_succ
	}
	
	is_triggered_only = yes
	
	hide_from = yes
	
	option = {
		name = optA_byzsla_slavic_event_balwan_rod.2
		piety = 100
		random = {
			chance = 20
			add_trait = zealous 
		}
		random = {
			chance = 30
			add_character_modifier = {
				name = rod_bless
				duration = 7300
			}
		}
	}
}
character_event = {
	id = byzsla_slavic_event_balwan_rod.3
	title = tyt_byzsla_slavic_event_balwan_rod.3
	desc = desc_byzsla_slavic_event_balwan_rod.3
	
	picture = GFX_evt_balwan
	
	is_triggered_only = yes
	
	hide_from = yes
	
	option = {
		name = optA_byzsla_slavic_event_balwan_rod.3
		piety = -100
		random = {
			chance = 20
			add_trait = cynical
		}
		random = {
			chance = 30
			add_character_modifier = {
				name = rod_curse
				duration = 7300
			}
		}
	}
}
character_event = {
	id = byzsla_slavic_event_balwan_rod.4
	title = tyt_byzsla_slavic_event_balwan_rod.4
	desc = desc_byzsla_slavic_event_balwan_rod.4
	
	picture = GFX_evt_balwan
		
	is_triggered_only = yes
	
	hide_from = yes
	
	option = {
		name = optA_byzsla_slavic_event_balwan_rod.4
		piety = 100
		random = {
			chance = 20
			add_trait = zealous
		}
		random = {
			chance = 30
			add_character_modifier = {
				name = chors_bless
				duration = 7300
			}
		}
	}
}
character_event = {
	id = byzsla_slavic_event_balwan_rod.5
	title = tyt_byzsla_slavic_event_balwan_rod.5
	desc = desc_byzsla_slavic_event_balwan_rod.5
	
	picture = GFX_evt_balwan
		
	is_triggered_only = yes
	
	hide_from = yes
	
	option = {
		name = optA_byzsla_slavic_event_balwan_rod.4
		piety = -100
		random = {
			chance = 20
			add_trait = cynical
		}
		random = {
			chance = 30
			add_character_modifier = {
				name = chors_curse
				duration = 7300
			}
		}
	}
}
character_event = {
	id = byzsla_slavic_event_balwan_rod.6
	title = tyt_byzsla_slavic_event_balwan_rod.6
	desc = desc_byzsla_slavic_event_balwan_rod.6
	
	picture = GFX_evt_balwan
		
	is_triggered_only = yes
	
	hide_from = yes
	
	option = {
		name = optA_byzsla_slavic_event_balwan_rod.6
		piety = 100
		random = {
			chance = 20
			add_trait = zealous
		}
		random = {
			chance = 30
			add_character_modifier = {
				name = pereplut_bless
				duration = 7300
			}
		}
	}
}
character_event = {
	id = byzsla_slavic_event_balwan_rod.7
	title = tyt_byzsla_slavic_event_balwan_rod.7
	desc = desc_byzsla_slavic_event_balwan_rod.7
	
	picture = GFX_evt_balwan
		
	is_triggered_only = yes
	
	hide_from = yes
	
	option = {
		name = optA_byzsla_slavic_event_balwan_rod.7
		piety = -100
		random = {
			chance = 20
			add_trait = cynical
		}
		random = {
			chance = 30
			add_character_modifier = {
				name = pereplut_curse
				duration = 7300
			}
		}
	}
}
character_event = {
	id = byzsla_slavic_event_balwan_rod.8
	title = tyt_byzsla_slavic_event_balwan_rod.8
	desc = desc_byzsla_slavic_event_balwan_rod.8
	
	picture = GFX_evt_balwan
		
	is_triggered_only = yes
	
	hide_from = yes
	
	option = {
		name = optA_byzsla_slavic_event_balwan_rod.8
		piety = 100
		random = {
			chance = 20
			add_trait = zealous
		}
		random = {
			chance = 30
			add_character_modifier = {
				name = marovica_bless
				duration = 7300
			}
		}
	}
}
character_event = {
	id = byzsla_slavic_event_balwan_rod.9
	title = tyt_byzsla_slavic_event_balwan_rod.9
	desc = desc_byzsla_slavic_event_balwan_rod.9
	
	picture = GFX_evt_balwan
		
	is_triggered_only = yes
	
	hide_from = yes
	
	option = {
		name = optA_byzsla_slavic_event_balwan_rod.9
		piety = -100
		random = {
			chance = 20
			add_trait = cynical
		}
		random = {
			chance = 30
			add_character_modifier = {
				name = marovica_curse
				duration = 7300
			}
		}
	}
}
