ary_vanilla_decision_1 = {
	picture = {
		reference = "gfx/interface/illustrations/decisions/mpo_decision_great_khan.dds"
	}
	decision_group_type = any_new_traditions
	desc = ary_vanilla_decision_1_desc
	selection_tooltip = ary_vanilla_decision_1_tooltip
	ai_check_interval = 0

	is_shown = {
		is_ai = no
		OR = {
			culture = { has_cultural_tradition = vv_tradition_by_lance }
		}
        NOT = {
            is_target_in_global_variable_list = {
				name = unavailable_unique_decisions
				target = flag:ary_vanilla_decision_1
			}
        }
	}
	
	is_valid = {
        prestige_level >= 5
		OR = {
			custom_tooltip = {
				text = ary_vanilla_require3
				number_maa_soldiers_of_type = {
					target = vv_riders_plains
					value >= 1000
				}
			}
			custom_tooltip = {
				text = ary_vanilla_require4
				primary_title = {
					any_owned_title_maa_regiment = {
						is_maa_type = vv_riders_plains
						count >= 2
						maa_size >= 5
					}
				}
			}
			custom_tooltip = {
				text = ary_vanilla_require5
				number_maa_soldiers_of_type = {
					target = vv_h_archers_p
					value >= 1000
				}
			}
			custom_tooltip = {
				text = ary_vanilla_require6
				primary_title = {
					any_owned_title_maa_regiment = {
						is_maa_type = vv_h_archers_p
						count >= 2
						maa_size >= 5
					}
				}
			}
		}
		OR = {
			custom_tooltip = {
				text = ary_vanilla_require1
				number_maa_soldiers_of_type = {
					target = vv_knights_plains
					value >= 500
				}
			}
			custom_tooltip = {
				text = ary_vanilla_require2
				primary_title = {
					any_owned_title_maa_regiment = {
						is_maa_type = vv_knights_plains
						count >= 2
						maa_size >= 5
					}
				}
			}
		}
	}

	effect = {
		root.culture = {
			custom_tooltip = {
				text = ary_vanilla_remove_tradition1
				remove_culture_tradition = vv_tradition_by_lance
			}
		}
		root.culture = {
			custom_tooltip = {
				text = ary_vanilla_add_tradition1
				add_culture_tradition = vv_tradition_by_lance2
			}
			custom_tooltip = { text = ary_vanilla_change1 }
			custom_tooltip = { text = ary_vanilla_change2 }
			custom_tooltip = { text = ary_vanilla_change3 }
		}
		root.dynasty = {
			add_dynasty_modifier = ary_traditions_1_modifier
		}
        hidden_effect = {
            add_to_global_variable_list = {
                name = unavailable_unique_decisions
                target = flag:ary_vanilla_decision_1
            }
        }
	}

	cost = { prestige = 25000 }

	ai_will_do = {
		base = 0
	}
}

ary_vanilla_decision_2 = {
	picture = {
		reference = "gfx/interface/illustrations/decisions/fp2_decision_struggle_opening.dds"
	}
	decision_group_type = any_new_traditions
	desc = ary_vanilla_decision_2_desc
	selection_tooltip = ary_vanilla_decision_2_tooltip
	ai_check_interval = 0

	is_shown = {
		is_ai = no
		OR = {
			culture = { has_cultural_tradition = vv_tradition_btsas }
		}
        NOT = {
            is_target_in_global_variable_list = {
				name = unavailable_unique_decisions
				target = flag:ary_vanilla_decision_2
			}
        }
	}
	
	is_valid = {
        prestige_level >= 5
		OR = {
			custom_tooltip = {
				text = ary_vanilla_require7
				number_maa_soldiers_of_type = {
					target = vv_ary_exspear
					value >= 1000
				}
			}
			custom_tooltip = {
				text = ary_vanilla_require8
				primary_title = {
					any_owned_title_maa_regiment = {
						is_maa_type = vv_ary_exspear
						count >= 2
						maa_size >= 5
					}
				}
			}
		}
		OR = {
			custom_tooltip = {
				text = ary_vanilla_require9
				number_maa_soldiers_of_type = {
					target = vv_ary_exsword
					value >= 1000
				}
			}
			custom_tooltip = {
				text = ary_vanilla_require10
				primary_title = {
					any_owned_title_maa_regiment = {
						is_maa_type = vv_ary_exsword
						count >= 2
						maa_size >= 5
					}
				}
			}
		}
	}

	effect = {
		root.culture = {
			custom_tooltip = {
				text = ary_vanilla_remove_tradition2
				remove_culture_tradition = vv_tradition_btsas
			}
		}
		root.culture = {
			custom_tooltip = {
				text = ary_vanilla_add_tradition2
				add_culture_tradition = vv_tradition_btsas2
			}
			custom_tooltip = { text = ary_vanilla_change4 }
			custom_tooltip = { text = ary_vanilla_change5 }
		}
		root.dynasty = {
			add_dynasty_modifier = ary_traditions_2_modifier
		}
        hidden_effect = {
            add_to_global_variable_list = {
                name = unavailable_unique_decisions
                target = flag:ary_vanilla_decision_2
            }
        }
	}

	cost = { prestige = 25000 }

	ai_will_do = {
		base = 0
	}
}

ary_vanilla_decision_3 = {
	picture = {
		reference = "gfx/interface/illustrations/decisions/decision_activity.dds"
	}
	decision_group_type = any_new_traditions
	desc = ary_vanilla_decision_3_desc
	selection_tooltip = ary_vanilla_decision_3_tooltip
	ai_check_interval = 0

	is_shown = {
		is_ai = no
		OR = {
			culture = { has_cultural_tradition = vv_tradition_by_the_arrow }
		}
        NOT = {
            is_target_in_global_variable_list = {
				name = unavailable_unique_decisions
				target = flag:ary_vanilla_decision_3
			}
        }
	}
	
	is_valid = {
        prestige_level >= 5
		OR = {
			custom_tooltip = {
				text = ary_vanilla_require11
				number_maa_soldiers_of_type = {
					target = vv_rangers_forest
					value >= 1000
				}
			}
			custom_tooltip = {
				text = ary_vanilla_require12
				primary_title = {
					any_owned_title_maa_regiment = {
						is_maa_type = vv_rangers_forest
						count >= 2
						maa_size >= 5
					}
				}
			}
		}
		OR = {
			custom_tooltip = {
				text = ary_vanilla_require13
				number_maa_soldiers_of_type = {
					target = vv_ary_elight_footmen
					value >= 1000
				}
			}
			custom_tooltip = {
				text = ary_vanilla_require14
				primary_title = {
					any_owned_title_maa_regiment = {
						is_maa_type = vv_ary_elight_footmen
						count >= 2
						maa_size >= 5
					}
				}
			}
		}
	}

	effect = {
		root.culture = {
			custom_tooltip = {
				text = ary_vanilla_remove_tradition3
				remove_culture_tradition = vv_tradition_by_the_arrow
			}
		}
		root.culture = {
			custom_tooltip = {
				text = ary_vanilla_add_tradition3
				add_culture_tradition = vv_tradition_by_the_arrow2
			}
			custom_tooltip = { text = ary_vanilla_change6 }
			custom_tooltip = { text = ary_vanilla_change7 }
		}
		root.dynasty = {
			add_dynasty_modifier = ary_traditions_3_modifier
		}
        hidden_effect = {
            add_to_global_variable_list = {
                name = unavailable_unique_decisions
                target = flag:ary_vanilla_decision_3
            }
        }
	}

	cost = { prestige = 25000 }

	ai_will_do = {
		base = 0
	}
}

ary_vanilla_decision_4 = {
	picture = {
		reference = "gfx/interface/illustrations/decisions/decision_dynasty_house.dds"
	}
	decision_group_type = any_new_traditions
	desc = ary_vanilla_decision_4_desc
	selection_tooltip = ary_vanilla_decision_4_tooltip
	ai_check_interval = 0

	is_shown = {
		is_ai = no
		OR = {
			culture = { has_cultural_tradition = vv_tradition_ice_age1 }
		}
        NOT = {
            is_target_in_global_variable_list = {
				name = unavailable_unique_decisions
				target = flag:ary_vanilla_decision_4
			}
        }
	}
	
	is_valid = {
        prestige_level >= 5
		OR = {
			custom_tooltip = {
				text = ary_vanilla_require15
				number_maa_soldiers_of_type = {
					target = vv_mammonth1
					value >= 125
				}
			}
			custom_tooltip = {
				text = ary_vanilla_require16
				primary_title = {
					any_owned_title_maa_regiment = {
						is_maa_type = vv_mammonth1
						count >= 1
						maa_size >= 5
					}
				}
			}
		}
		OR = {
			custom_tooltip = {
				text = ary_vanilla_require17
				number_maa_soldiers_of_type = {
					target = vv_mammonth2
					value >= 125
				}
			}
			custom_tooltip = {
				text = ary_vanilla_require18
				primary_title = {
					any_owned_title_maa_regiment = {
						is_maa_type = vv_mammonth2
						count >= 1
						maa_size >= 5
					}
				}
			}
		}
	}

	effect = {
		root.culture = {
			custom_tooltip = {
				text = ary_vanilla_remove_tradition4
				remove_culture_tradition = vv_tradition_ice_age1
			}
		}
		root.culture = {
			custom_tooltip = {
				text = ary_vanilla_add_tradition4
				add_culture_tradition = vv_tradition_ice_age2
			}
			custom_tooltip = { text = ary_vanilla_change8 }
		}
		root.dynasty = {
			add_dynasty_modifier = ary_traditions_4_modifier
		}
        hidden_effect = {
            add_to_global_variable_list = {
                name = unavailable_unique_decisions
                target = flag:ary_vanilla_decision_4
            }
        }
	}

	cost = { prestige = 25000 }

	ai_will_do = {
		base = 0
	}
}

ary_vanilla_decision_5 = {
	picture = {
		reference = "gfx/interface/illustrations/decisions/decision_family_tree.dds"
	}
	decision_group_type = ary_traditions_group_type
	desc = ary_vanilla_decision_5_desc
	selection_tooltip = ary_vanilla_decision_5_tooltip
	ai_check_interval = 0

	is_shown = {
		is_ai = no
		OR = {
			culture = { has_cultural_tradition = vv_tradition_supremeblood }
		}
        NOT = {
            is_target_in_global_variable_list = {
				name = unavailable_unique_decisions
				target = flag:ary_vanilla_decision_5
			}
        }
	}
	
	is_valid = {
        prestige_level >= 5
		piety_level >= 5
		learning >= 30
		has_trait = scholar
		has_trait = theologian
		OR = {
			learning >= 45
			has_trait = education_learning_5
			has_trait = zealous
			has_trait = intellect_good_3
			has_trait = lifestyle_mystic
		}
		OR = {
			has_trait = diplomat
			has_trait = august
			has_trait = family_first
			has_trait = strategist
			has_trait = overseer
			has_trait = gallant
			has_trait = avaricious
			has_trait = architect
			has_trait = administrator
		}
	}

	effect = {
		root.culture = {
			custom_tooltip = {
				text = ary_vanilla_remove_tradition5
				remove_culture_tradition = vv_tradition_supremeblood
			}
		}
		root.culture = {
			custom_tooltip = {
				text = ary_vanilla_add_tradition5
				add_culture_tradition = vv_tradition_supremeblood2
			}
			custom_tooltip = { text = ary_vanilla_change9 }
			custom_tooltip = { text = ary_vanilla_change10 }
		}
		root.dynasty = {
			add_dynasty_modifier = ary_traditions_5_modifier
		}
        hidden_effect = {
			root.dynasty = {
				add_dynasty_prestige >= 10000
			}
            add_to_global_variable_list = {
                name = unavailable_unique_decisions
                target = flag:ary_vanilla_decision_5
            }
        }
		show_as_tooltip = {
			root.dynasty = {
				add_dynasty_prestige >= 10000
			}
		}
	}

	cost = {
		gold = 10000
		prestige = 50000
		piety = 20000
	}

	ai_will_do = {
		base = 0
	}
}

ary_vanilla_decision_6 = {
	picture = {
		reference = "gfx/interface/illustrations/decisions/fp2_decision_struggle_hostility.dds"
	}
	decision_group_type = any_new_traditions
	desc = ary_vanilla_decision_6_desc
	selection_tooltip = ary_vanilla_decision_6_tooltip
	ai_check_interval = 0

	is_shown = {
		is_ai = no
		OR = {
			culture = { has_cultural_tradition = vv_tradition_lotsap }
		}
        NOT = {
            is_target_in_global_variable_list = {
				name = unavailable_unique_decisions
				target = flag:ary_vanilla_decision_6
			}
        }
	}
	
	is_valid = {
        prestige_level >= 5
		martial >= 25
		has_trait = strategist
		has_trait = gallant
		OR = {
			custom_tooltip = {
				text = ary_vanilla_require19
				number_maa_soldiers_of_type = {
					target = vv_ary_kg
					value >= 1000
				}
			}
			custom_tooltip = {
				text = ary_vanilla_require20
				primary_title = {
					any_owned_title_maa_regiment = {
						is_maa_type = vv_ary_kg
						count >= 2
						maa_size >= 5
					}
				}
			}
		}
		OR = {
			custom_tooltip = {
				text = ary_vanilla_require21
				number_maa_soldiers_of_type = {
					target = vv_corsair_raid
					value >= 2000
				}
			}
			custom_tooltip = {
				text = ary_vanilla_require22
				primary_title = {
					any_owned_title_maa_regiment = {
						is_maa_type = vv_corsair_raid
						count >= 2
						maa_size >= 5
					}
				}
			}
		}
	}

	effect = {
		root.dynasty = {
			add_dynasty_modifier = fp1_legacy_of_piracy_modifier
		}
        hidden_effect = {
            add_to_global_variable_list = {
                name = unavailable_unique_decisions
                target = flag:ary_vanilla_decision_6
            }
        }
	}

	cost = { prestige = 0 }

	ai_will_do = {
		base = 0
	}
}

ary_vanilla_decision_7 = {
	picture = {
		reference = "gfx/interface/illustrations/decisions/decision_golden_age.dds"
	}
	decision_group_type = any_new_traditions
	desc = ary_vanilla_decision_7_desc
	selection_tooltip = ary_vanilla_decision_7_tooltip
	ai_check_interval = 0

	is_shown = {
		is_ai = no
		OR = {
			culture = { has_cultural_tradition = vv_tradition_tb }
		}
        NOT = {
            is_target_in_global_variable_list = {
				name = unavailable_unique_decisions
				target = flag:ary_vanilla_decision_7
			}
        }
	}
	
	is_valid = {
        prestige_level >= 5
		stewardship >= 30
		has_trait = architect
		has_trait = scholar
		NOT = { has_trait = lazy }
		OR = {
			has_trait = education_stewardship_5
			stewardship >= 40
			has_trait = intellect_good_3
			has_trait = diligent
			has_trait = shrewd
		}
	}

	effect = {
		root.culture = {
			custom_tooltip = {
				text = ary_vanilla_remove_tradition6
				remove_culture_tradition = vv_tradition_tb
			}
		}
		root.culture = {
			custom_tooltip = {
				text = ary_vanilla_add_tradition6
				add_culture_tradition = vv_tradition_tb2
			}
		}
		root.dynasty = {
			add_dynasty_modifier = ary_traditions_6_modifier
		}
        hidden_effect = {
            add_to_global_variable_list = {
                name = unavailable_unique_decisions
                target = flag:ary_vanilla_decision_7
            }
        }
	}

	cost = {
		prestige = 25000
	}

	ai_will_do = {
		base = 0
	}
}

ary_vanilla_decision_8 = {
	picture = {
		reference = "gfx/interface/illustrations/decisions/decision_legitimacy.dds"
	}
	decision_group_type = any_new_traditions
	desc = ary_vanilla_decision_8_desc
	selection_tooltip = ary_vanilla_decision_8_tooltip
	ai_check_interval = 0

	is_shown = {
		is_ai = no
		OR = {
			culture = { has_cultural_tradition = vv_tradition_true_knight }
		}
        NOT = {
            is_target_in_global_variable_list = {
				name = unavailable_unique_decisions
				target = flag:ary_vanilla_decision_8
			}
        }
	}
	
	is_valid = {
        prestige_level >= 5
		prowess >= 30
		has_trait = gallant
		NOT = { has_trait = craven }
		NOT = { has_trait = disloyal }
		NOT = { has_trait = deceitful }
		OR - {
			prowess >= 40
			has_trait = brave
			has_trait = lifestyle_blademaster
			has_trait = knight_errant
			has_trait = just
		}
		OR = {
			custom_tooltip = {
				text = ary_vanilla_require23
				any_knight = {
					count >= 6
					prowess >= 15
				}
			}
		}
		OR = {
			custom_tooltip = {
				text = ary_vanilla_require24
				any_knight = {
					count >= 3
					prowess >= 20
				}
			}
		}
		OR = {
			custom_tooltip = {
				text = ary_vanilla_require25
				any_knight = {
					count >= 1
					prowess >= 30
				}
			}
		}
	}

	effect = {
		root.culture = {
			custom_tooltip = {
				text = ary_vanilla_remove_tradition7
				remove_culture_tradition = vv_tradition_true_knight
			}
		}
		root.culture = {
			custom_tooltip = {
				text = ary_vanilla_add_tradition7
				add_culture_tradition = vv_tradition_true_knight2
			}
		}
		root.house = {
			add_house_modifier = ary_house_traditions_1_modifier
		}
        hidden_effect = {
            add_to_global_variable_list = {
                name = unavailable_unique_decisions
                target = flag:ary_vanilla_decision_8
            }
        }
	}

	cost = {
		prestige = 25000
	}

	ai_will_do = {
		base = 0
	}
}