decisions = {
	restore_sorbia_des = {
		is_high_prio = yes
		only_playable = yes
		ai_check_interval = 10

		potential = {
			culture = sorbian
			d_sorbs = {
				has_holder = no
			}
			k_sorbia = {
				has_holder = no
			}
			NOR = {
				has_alternate_start_setting = {
					setting = dejure
					value = random
				}
				has_alternate_start_setting = {
					setting = title_names
					value = random
				}
				has_alternate_start_setting = {
					setting = title_names
					value = random_including_duchies
				}
			}
		}

		allow = {
			OR = {
				tier = DUKE
				tier = KING
				tier = EMPEROR
			}
			war = no
			prestige = 250
                  wealth = 335                   
			completely_controls = c_brandenburg
			completely_controls = c_lausitz
			completely_controls = c_gorlitz
		}

		effect = {
			prestige = 200
			custom_tooltip = {
				text = "By bringing together the remains of the old tribes I can reform Sorbia!"
 				d_sorbs = {
					show_scope_change = no
					grant_title = ROOT
					hidden_tooltip = { make_primary_title = yes }
					copy_title_laws = PREV
					copy_title_history = PREV
				}
			}

			hidden_tooltip = {
				c_lausitz = {
					de_jure_liege = d_sorbs
				}
				c_gorlitz = {
					de_jure_liege = d_sorbs
				}
				c_brandenburg ={
					de_jure_liege = d_sorbs
				}
				d_sorbs = {
					de_jure_liege = k_germany
				}
			}	
		}
	}
	tribal_union_of_samo = {
		is_high_prio = yes
		only_playable = yes
		ai_check_interval = 10

		potential = {
			culture_group = west_slavic
			e_samostribalunion = {
				has_holder = no
			}
			NOR = {
				has_alternate_start_setting = {
					setting = dejure
					value = random
				}
				has_alternate_start_setting = {
					setting = title_names
					value = random
				}
				has_alternate_start_setting = {
					setting = title_names
					value = random_including_duchies
				}
			}
		}

		allow = {
			OR = {
				tier = DUKE
				tier = KING
				tier = EMPEROR
			}
			independent = yes
			war = no
			prestige = 500
                  wealth = 500                   
			completely_controls = d_meissen
			completely_controls = d_lausitz
			completely_controls = k_bohemia
			completely_controls = d_osterreich
			completely_controls = d_salzburg
			completely_controls = d_styria
			completely_controls = d_carinthia
		}

		effect = {	
			custom_tooltip = {
				text = "Samo's Slavic Union was a great empire stretching throughout the West Slavic tribes. Bringing it back to life would be a good decision."
 				e_samostribalunion = {
					show_scope_change = no
					grant_title = ROOT
					hidden_tooltip = { make_primary_title = yes }
					copy_title_laws = PREV
					copy_title_history = PREV
				}
			}
			prestige = 1000	
		}
	}
}