decisions = {
	nostria_restore_western_roman_empire = {
		only_independent = yes
		is_high_prio = yes

		potential = {
			has_landed_title = d_nostria
            NOT = { has_global_flag = nostria_restored_western_roman_empire }
	        NOT = { has_global_flag = rome_restored }
	        has_dlc = "Legacy of Rome"
			e_roman_empire = { has_holder = no }
			e_western_roman_empire = { has_holder = no }
		}

		allow = {
			prestige = 1000
			has_landed_title = d_nostria
			AND = { 
			   completely_controls = d_toscana
			   completely_controls = d_genua
			   completely_controls = d_spoleto
			   completely_controls = d_pisa
			   completely_controls = d_venice
			   completely_controls = d_modena
			   completely_controls = d_lombardia
			   completely_controls = d_verona
			   completely_controls = d_friuli
			   completely_controls = d_susa
			   completely_controls = d_ancona
			   completely_controls = d_ferrara
			   completely_controls = d_abruzzo
			   completely_controls = k_sicily
			}
		}

		effect = {
			narrative_event = { id = nostrian_casual.1 }
			set_global_flag = nostria_restored_western_roman_empire
		}
	}
	
	nostria_party_change = {
	    only_independent = no
		is_high_prio = no
		potential = {
		    ai = no
		    OR = {
			    has_landed_title = k_nostria
				any_liege = { has_landed_title = k_nostria }	
            }
			k_nostria = { has_holder = yes }
		}
		
		allow = {
		    OR = {
			    has_landed_title = k_nostria
				any_liege = { has_landed_title = k_nostria }	
            }
			k_nostria = { has_holder = yes }
			prestige=300
		}
		effect = {
			character_event = { id = nostrian_casual.3 }
		}
	}
	
	show_me_populares_and_optimates = {
		ai = no
		potential = {
			ai = no
		}
		allow = {			
		}
		effect = {
			character_event = { id = nostrian_casual.4 }
		}
		ai_will_do = {
			factor = 0 
		}
	}
	
	ask_senate_for_tribunate_acceptation = {
		only_playable = yes
		is_high_prio = yes
		ai_check_interval = 8 #check only once every 8 months.
	    potential = {
			has_dlc = "Holy Fury"
			age = 11
			prisoner = no
			is_landed = yes
			higher_real_tier_than = DUKE
			NOT = { trait = incapable }
			is_vice_royalty = no
			NOT = { government = order_government }
			has_landed_title=k_nostria
		} 
		allow = {	
			war = no 	
			has_landed_title=k_nostria
			NOT = { trait = tribune_accepted_by_senate } 
		}
		effect = {
		    cash = -100
			character_event = { id = nostrian_casual.5 }
		}
		ai_will_do = {
			factor = 0 
		}
	}
	
	claim_nostrian_tribunate = {
		only_playable = yes
		is_high_prio = yes
		ai_check_interval = 8 
	    potential = {
		    independent = yes
			prisoner = no
			is_landed = yes
			NOT = { trait = incapable }
			government = nostrian_republic_government
			has_landed_title=d_nostria
			NOT = { has_landed_title = k_nostria ]
		} 
		allow = {	
			prisoner = no
			war = no
			has_landed_title=d_nostria
			NOT = { has_landed_title = k_nostria ]
		}
		effect = {
		    prestige=-50
			gain_title=k_nostria
		}
		ai_will_do = {
			factor = 0 
		}
	}
}