﻿#1.纵横捭阖
establish_heritages_diplomacy_master_decision = { 
	picture = "gfx/interface/illustrations/decisions/decision_GA_diplomacy_master.dds"
	major = yes
	ai_check_interval = 5
	title = establish_heritages_diplomacy_master_decision_title
	desc = establish_heritages_diplomacy_master_decision_desc

	is_shown = {
		OR = {
			has_trait = education_diplomacy_4
			has_trait = education_diplomacy_5
			has_trait = diplomat
			diplomacy >= 22
		}
		exists = house
		NOT = {
			house = { has_house_modifier = GA_diplomacy_master_modifier }
		}
	}

	is_valid = {
		trigger_if = {
			limit = { has_game_rule = GA_rule_is_house_head }
			is_house_head = yes
		}
		trigger_if = {
			limit = {
				has_game_rule = GA_rule_ai_not_house_head
				is_ai = no
			}
			is_house_head = yes
		}	
		OR = {
			has_trait = education_diplomacy_4
			has_trait = education_diplomacy_5
			has_trait = diplomat
		}
		diplomacy >= 27
		prestige_level >= 2
	}

	is_valid_showing_failures_only = {
		is_capable_adult = yes
	}

	cost = {
		prestige = 500
	}

	effect = {
		save_scope_as = founder
		custom_tooltip = establish_heritages_diplomacy_master_custom_tooltip
		show_as_tooltip = { diplomacy_master_scripted_effect = yes }

		trigger_event = {
			id = establish_heritages_event.0001
		}
		
	}
	
	ai_potential = { always = yes }
	ai_will_do = { base = 100 }
}

#2.圣明君王
establish_heritages_wise_monarch_decision = {
	picture = "gfx/interface/illustrations/decisions/decision_GA_wise_monarch.dds"
	major = yes
	ai_check_interval = 5
	title = establish_heritages_wise_monarch_decision_title
	desc = establish_heritages_wise_monarch_decision_desc

	is_shown = {
		OR = {
			has_trait = august
			has_trait = administrator
			has_trait = education_stewardship_5
			stewardship >= 17
		}
		exists = house
		NOT = {
			house = { has_house_modifier = GA_wise_monarch_modifier }
		}
	}

	is_valid = {
		trigger_if = {
			limit = { has_game_rule = GA_rule_is_house_head }
			is_house_head = yes
		}
		trigger_if = {
			limit = {
				has_game_rule = GA_rule_ai_not_house_head
				is_ai = no
			}
			is_house_head = yes
		}	
		OR = {
			has_trait = august
			has_trait = administrator
			has_trait = education_stewardship_5
		}
		diplomacy >= 17
		stewardship >= 22
		custom_description = {
			text = GA_no_tyranny_tt
			tyranny = 0
		}
		prestige_level >= 2
	}

	is_valid_showing_failures_only = {
		is_capable_adult = yes
	}

	cost = {
		prestige = 500
	}

	effect = {
		save_scope_as = founder
		custom_tooltip = establish_heritages_wise_monarch_custom_tooltip
		show_as_tooltip = { wise_monarch_scripted_effect = yes }

		trigger_event = {
			id = establish_heritages_event.0002
		}
	}
	
	ai_potential = { always = yes }
	ai_will_do = { base = 100 }
}

#3.战争艺术家
establish_heritages_war_artist_decision = {
	picture = "gfx/interface/illustrations/decisions/fp2_decision_struggle_hostility.dds"
	major = yes
	ai_check_interval = 5
	title = establish_heritages_war_artist_decision_title
	desc = establish_heritages_war_artist_decision_desc

	is_shown = {
		OR = {
			has_trait = education_martial_4
			has_trait = education_martial_5
			has_trait = strategist
			martial >= 22
		}
		exists = house
		NOT = {
			house = { has_house_modifier = GA_war_artist_modifier }
		}
	}

	is_valid = {
		trigger_if = {
			limit = { has_game_rule = GA_rule_is_house_head }
			is_house_head = yes
		}
		trigger_if = {
			limit = {
				has_game_rule = GA_rule_ai_not_house_head
				is_ai = no
			}
			is_house_head = yes
		}	
		OR = {
			has_trait = education_martial_4
			has_trait = education_martial_5
			has_trait = strategist
		}
		martial >= 27
		prestige_level >= 2
	}

	is_valid_showing_failures_only = {
		is_capable_adult = yes
	}

	cost = {
		prestige = 500
	}

	effect = {
		save_scope_as = founder
		custom_tooltip = establish_heritages_war_artist_custom_tooltip
		show_as_tooltip = { war_artist_scripted_effect = yes }

		trigger_event = {
			id = establish_heritages_event.0003
		}
	}
	
	ai_potential = { always = yes }
	ai_will_do = { base = 100 }
}

#4.传奇勇士
establish_heritages_legendary_warrior_decision = {
	picture = "gfx/interface/illustrations/decisions/decision_GA_legendary_warrior.dds"
	major = yes
	ai_check_interval = 5
	title = establish_heritages_legendary_warrior_decision_title
	desc = establish_heritages_legendary_warrior_decision_desc

	is_shown = {
		OR = {
			has_trait = education_martial_prowess_4
			has_trait = gallant
			has_trait = lifestyle_blademaster
			has_trait = lifestyle_hunter
			has_trait = tourney_participant
			has_trait = physique_good
			has_trait = strong
			prowess >= 30
		}
		prowess >= 12
		exists = house
		NOT = { 
			house = { has_house_modifier = GA_legendary_warrior_modifier }
			has_trait = craven
		}
	}

	is_valid = {
		trigger_if = {
			limit = { has_game_rule = GA_rule_is_house_head }
			is_house_head = yes
		}
		trigger_if = {
			limit = {
				has_game_rule = GA_rule_ai_not_house_head
				is_ai = no
			}
			is_house_head = yes
		}	
		OR = {
			has_trait = gallant
			has_trait = lifestyle_blademaster
			has_trait = tourney_participant
		}
		AND = {
			OR = {
				has_trait = education_martial_prowess_4
				has_trait = strong
				has_trait = physique_good
			}
		}
		prowess >= 40
		prestige_level >= 2
	}

	is_valid_showing_failures_only = {
		is_capable_adult = yes
	}

	cost = {
		prestige = 500
	}

	effect = {
		save_scope_as = founder
		custom_tooltip = establish_heritages_legendary_warrior_custom_tooltip
		show_as_tooltip = { legendary_warrior_scripted_effect = yes }

		trigger_event = {
			id = establish_heritages_event.0004
		}
	}
	
	ai_potential = { always = yes }
	ai_will_do = { base = 100 }
}

#5.盛世缔造者
establish_heritages_creator_of_golden_age_decision = {
	picture = "gfx/interface/illustrations/decisions/decision_GA_f_creator_of_golden_age.dds"
	major = yes
	ai_check_interval = 5
	title = establish_heritages_creator_of_golden_age_decision_title
	desc = establish_heritages_creator_of_golden_age_decision_desc

	is_shown = {
		OR = {
			has_trait = education_stewardship_4
			has_trait = education_stewardship_5
			has_trait = architect
			stewardship >= 22
		}
		exists = house
		NOT = {
			house = { has_house_modifier = GA_creator_of_golden_age_modifier }
		}
	}

	is_valid = {
		trigger_if = {
			limit = { has_game_rule = GA_rule_is_house_head }
			is_house_head = yes
		}
		trigger_if = {
			limit = {
				has_game_rule = GA_rule_ai_not_house_head
				is_ai = no
			}
			is_house_head = yes
		}	
		OR = {
			has_trait = education_stewardship_4
			has_trait = education_stewardship_5
			has_trait = architect
		}
		stewardship >= 27
		prestige_level >= 2
	}

	is_valid_showing_failures_only = {
		is_capable_adult = yes
	}

	cost = {
		prestige = 500
	}

	effect = {
		save_scope_as = founder
		custom_tooltip = establish_heritages_creator_of_golden_age_custom_tooltip
		show_as_tooltip = { creator_of_golden_age_scripted_effect = yes }

		trigger_event = {
			id = establish_heritages_event.0005
		}
	}
	
	ai_potential = { always = yes }
	ai_will_do = { base = 100 }
}

#6.传奇谋略家
establish_heritages_legendary_tactician_decision = {
	picture = "gfx/interface/illustrations/decisions/decision_GA_legendary_tactician.dds"
	major = yes
	ai_check_interval = 5
	title = establish_heritages_legendary_tactician_decision_title
	desc = establish_heritages_legendary_tactician_decision_desc

	is_shown = {
		OR = {
			has_trait = strategist
			has_trait = schemer
			has_trait = education_martial_5
			intrigue >= 17
		}
		exists = house
		NOT = {
			house = { has_house_modifier = GA_legendary_tactician_modifier }
			has_trait = trusting
		}
	}

	is_valid = {
		trigger_if = {
			limit = { has_game_rule = GA_rule_is_house_head }
			is_house_head = yes
		}
		trigger_if = {
			limit = {
				has_game_rule = GA_rule_ai_not_house_head
				is_ai = no
			}
			is_house_head = yes
		}	
		OR = {
			has_trait = strategist
			has_trait = schemer
			has_trait = education_martial_5
		}
		intrigue >= 22
		martial >= 17
		prestige_level >= 2
	}

	is_valid_showing_failures_only = {
		is_capable_adult = yes
	}

	cost = {
		prestige = 500
	}

	effect = {
		save_scope_as = founder
		custom_tooltip = establish_heritages_legendary_tactician_custom_tooltip
		show_as_tooltip = { legendary_tactician_scripted_effect = yes }

		trigger_event = {
			id = establish_heritages_event.0006
		}
	}
	
	ai_potential = { always = yes }
	ai_will_do = { base = 100 }
}

#7.无边恐怖
establish_heritages_boundless_terror_decision = {
	picture = "gfx/interface/illustrations/decisions/decision_GA_boundless_terror.dds"
	major = yes
	ai_check_interval = 12 #Hate bad guys
	title = establish_heritages_boundless_terror_decision_title
	desc = establish_heritages_boundless_terror_decision_desc

	is_shown = {
		OR = {
			has_trait = education_intrigue_4
			has_trait = education_intrigue_5
			has_trait = torturer
			has_trait = schemer
		}
		intrigue >= 16
		dread >= 30
		exists = house
		NOT = {
			house = { has_house_modifier = GA_boundless_terror_modifier }
			has_trait = compassionate
			has_trait = gallant	
		}
	}

	is_valid = {
		trigger_if = {
			limit = { has_game_rule = GA_rule_is_house_head }
			is_house_head = yes
		}
		trigger_if = {
			limit = {
				has_game_rule = GA_rule_ai_not_house_head
				is_ai = no
			}
			is_house_head = yes
		}	
		OR = {
			has_trait = education_intrigue_4
			has_trait = education_intrigue_5
			has_trait = torturer
			has_trait = schemer
		}
		intrigue >= 20
		dread >= 100
		prestige_level >= 2
	}

	is_valid_showing_failures_only = {
		is_capable_adult = yes
	}

	cost = {
		prestige = 500
	}

	effect = {
		save_scope_as = founder
		custom_tooltip = establish_heritages_boundless_terror_custom_tooltip
		show_as_tooltip = { boundless_terror_scripted_effect = yes }

		trigger_event = {
			id = establish_heritages_event.0007
		}
	}
	
	ai_potential = { always = yes }
	ai_will_do = { base = 80 }
}

#8.资深学究
establish_heritages_great_scholar_decision = {
	picture = "gfx/interface/illustrations/decisions/decision_misc.dds"
	major = yes
	ai_check_interval = 5
	title = establish_heritages_great_scholar_decision_title
	desc = establish_heritages_great_scholar_decision_desc

	is_shown = {
		OR = {
			has_trait = education_learning_4
			has_trait = education_learning_5
			has_trait = scholar
			has_trait = theologian
			learning >= 30
		}
		exists = house
		NOT = {
			house = { has_house_modifier = GA_great_scholar_modifier }
		}
	}

	is_valid = {
		trigger_if = {
			limit = { has_game_rule = GA_rule_is_house_head }
			is_house_head = yes
		}
		trigger_if = {
			limit = {
				has_game_rule = GA_rule_ai_not_house_head
				is_ai = no
			}
			is_house_head = yes
		}	
		OR = {
			has_trait = education_learning_4
			has_trait = education_learning_5
			has_trait = scholar
			has_trait = theologian
		}
		learning >= 40
		prestige_level >= 2
	}

	is_valid_showing_failures_only = {
		is_capable_adult = yes
	}

	cost = {
		prestige = 500
	}

	effect = {
		save_scope_as = founder
		custom_tooltip = establish_heritages_great_scholar_custom_tooltip
		show_as_tooltip = { great_scholar_scripted_effect = yes }

		trigger_event = {
			id = establish_heritages_event.0008
		}
	}
	
	ai_potential = { always = yes }
	ai_will_do = { base = 100 }
}

#9.深渊观测者
establish_heritages_abyss_observer_decision = {
	picture = "gfx/interface/illustrations/decisions/decision_GA_abyss_observer.dds"
	major = yes
	ai_check_interval = 5
	title = establish_heritages_abyss_observer_decision_title
	desc = establish_heritages_abyss_observer_decision_desc

	is_shown = {
		OR = {
			has_trait = witch
			has_trait = lifestyle_mystic
			has_trait = possessed_1
			has_trait = possessed_genetic
			has_trait = reincarnation
			has_trait = lunatic_1
			has_trait = lunatic_genetic
		}
		exists = house
		NOT = {
			house = { has_house_modifier = GA_abyss_observer_modifier }
		}
	}

	is_valid = {
		trigger_if = {
			limit = { has_game_rule = GA_rule_is_house_head }
			is_house_head = yes
		}
		trigger_if = {
			limit = {
				has_game_rule = GA_rule_ai_not_house_head
				is_ai = no
			}
			is_house_head = yes
		}	
		has_trait = witch
		has_trait = lifestyle_mystic
		OR = {
			has_trait = possessed_1
			has_trait = possessed_genetic
			has_trait = reincarnation
			has_trait = lunatic_1
			has_trait = lunatic_genetic
			has_trait = education_learning_5
		}
		learning >= 25
	}

	is_valid_showing_failures_only = {
	}

	cost = {
		prestige = 500
	}

	effect = {
		save_scope_as = founder
		custom_tooltip = establish_heritages_abyss_observer_custom_tooltip
		show_as_tooltip = { abyss_observer_scripted_effect = yes }

		trigger_event = {
			id = establish_heritages_event.0009
		}
	}
	
	ai_potential = { always = yes }
	ai_will_do = { base = 80 }
}

#10.养生大师
establish_heritages_health_preservation_master_decision = {
	picture = "gfx/interface/illustrations/decisions/decision_GA_health_preservation_master.dds"
	major = yes
	ai_check_interval = 5
	title = establish_heritages_health_preservation_master_decision_title
	desc = establish_heritages_health_preservation_master_decision_desc

	is_shown = {
		OR = {
			has_trait = whole_of_body
			has_trait = lifestyle_physician
			has_trait = journaller
			has_trait = confider
			has_trait = athletic
			has_trait = lifestyle_herbalist
			age >= 70
		}
		exists = house
		NOT = { 
			house = { has_house_modifier = GA_health_preservation_master_modifier }
			has_trait = infirm
		}
	}

	is_valid = {
		trigger_if = {
			limit = { has_game_rule = GA_rule_is_house_head }
			is_house_head = yes
		}
		trigger_if = {
			limit = {
				has_game_rule = GA_rule_ai_not_house_head
				is_ai = no
			}
			is_house_head = yes
		}	
		OR = {
			has_trait = whole_of_body
			has_trait = lifestyle_physician
			has_trait = lifestyle_herbalist
		}
		OR = {
			has_trait = journaller
			has_trait = confider
			has_trait = athletic
		}
		age >= 100
		NOT = {
			has_trait = infirm
		}
	}

	is_valid_showing_failures_only = {
		is_capable_adult = yes
	}

	cost = {
		prestige = 500
	}

	effect = {
		save_scope_as = founder
		custom_tooltip = establish_heritages_health_preservation_master_custom_tooltip
		show_as_tooltip = { health_preservation_master_scripted_effect = yes }

		trigger_event = {
			id = establish_heritages_event.0010
		}
	}
	
	ai_potential = { always = yes }
	ai_will_do = { base = 100 }
}

#11.神圣仲裁者
establish_heritages_holy_arbiter_decision = {
	picture = "gfx/interface/illustrations/decisions/decision_major_religion.dds"
	major = yes
	ai_check_interval = 5
	title = establish_heritages_holy_arbiter_decision_title
	desc = establish_heritages_holy_arbiter_decision_desc

	is_shown = {
		OR = {
			has_trait = savior
			has_trait = divine_blood
			has_trait = paragon
			has_trait = consecrated_blood
			has_trait = saoshyant
			has_trait = saoshyant_descendant
			has_trait = sayyid
		}
		exists = house
		NOT = {
			house = { has_house_modifier = GA_holy_arbiter_modifier }
			has_game_rule = GA_rule_conversion_universe
		}
	}

	is_valid = {
		trigger_if = {
			limit = { has_game_rule = GA_rule_is_house_head }
			is_house_head = yes
		}
		trigger_if = {
			limit = {
				has_game_rule = GA_rule_ai_not_house_head
				is_ai = no
			}
			is_house_head = yes
		}	
		#
		trigger_if = {
			limit = { has_game_rule = GA_rule_normal_universe }
		    OR = {
				faith.religious_head = root
			    has_trait = savior
			    has_trait = divine_blood
			    has_trait = paragon
			    has_trait = consecrated_blood
			    has_trait = saoshyant
			    has_trait = saoshyant_descendant
			    has_trait = sayyid
			}
		}
		trigger_if = {
			limit = { has_game_rule = GA_rule_conversion_universe }
		    OR = {
				faith.religious_head = root
			    has_trait = savior
			    has_trait = divine_blood
			    has_trait = paragon
			    has_trait = consecrated_blood
			}
		}
		num_sinful_traits = 0
		num_virtuous_traits >= 2
		diplomacy >= 17
		stewardship >= 17
		learning >= 17
		piety_level >= max_prestige_level
		prestige_level >= 4
	}

	is_valid_showing_failures_only = {
		is_capable_adult = yes
		is_imprisoned = no
	}

	cost = {
		prestige = 300
		piety = 500
	}

	effect = {
		save_scope_as = founder
		custom_tooltip = establish_heritages_holy_arbiter_custom_tooltip
		show_as_tooltip = { holy_arbiter_scripted_effect = yes }

		trigger_event = {
			id = establish_heritages_event.0011
		}
	}
	
	ai_potential = { always = yes }
	ai_will_do = { base = 100 }
}

#12.少年英雄
establish_heritages_youth_legend_decision = {
	picture = "gfx/interface/illustrations/decisions/decision_GA_youth_legend.dds"
	major = yes
	ai_check_interval = 5
	title = establish_heritages_youth_legend_decision_title
	desc = establish_heritages_youth_legend_decision_desc

	is_shown = {
		OR = {
			has_trait = rowdy
			has_trait = charming
			has_trait = curious
			has_trait = pensive
			has_trait = bossy
		}
		exists = house
		NOT = {
			house = { has_house_modifier = GA_youth_legend_modifier }
		}
	}

	is_valid = {
		trigger_if = {
			limit = { has_game_rule = GA_rule_is_house_head }
			is_house_head = yes
		}
		trigger_if = {
			limit = {
				has_game_rule = GA_rule_ai_not_house_head
				is_ai = no
			}
			is_house_head = yes
		}
		is_adult = no
		prestige_level >= 4
	}

	is_valid_showing_failures_only = {
	}

	cost = {
		prestige = 500
	}

	effect = {
		save_scope_as = founder
		custom_tooltip = establish_heritages_youth_legend_custom_tooltip
		show_as_tooltip = { youth_legend_scripted_effect = yes }

		trigger_event = {
			id = establish_heritages_event.0012
		}
	}
	
	ai_potential = { always = yes }
	ai_will_do = { base = 100 }
}

#13.光芒四射
establish_heritages_shining_ruler_decision = {
	picture = "gfx/interface/illustrations/decisions/decision_GA_shining_ruler.dds"
	major = yes
	ai_check_interval = 5
	title = establish_heritages_shining_ruler_decision_title
	desc = establish_heritages_shining_ruler_decision_desc

	is_shown = {
		OR = {
			has_trait = intellect_good
			has_trait = shrewd
		}
		prestige_level >= 3
		exists = house
		NOT = {
			house = { has_house_modifier = GA_shining_ruler_modifier }
		}
	}

	is_valid = {
		trigger_if = {
			limit = { has_game_rule = GA_rule_is_house_head }
			is_house_head = yes
		}
		trigger_if = {
			limit = {
				has_game_rule = GA_rule_ai_not_house_head
				is_ai = no
			}
			is_house_head = yes
		}	
		diplomacy >= 17
		martial >= 17
		stewardship >= 17
		intrigue >= 17
		learning >= 17
		prowess >= 17
		OR = {
			has_trait = intellect_good
			has_trait = shrewd
		}	
		prestige_level >= 4
	}

	is_valid_showing_failures_only = {
		is_capable_adult = yes
	}

	cost = {
		prestige = 500
	}

	effect = {
		save_scope_as = founder
		custom_tooltip = establish_heritages_shining_ruler_custom_tooltip
		show_as_tooltip = { shining_ruler_scripted_effect = yes }

		trigger_event = {
			id = establish_heritages_event.0013
		}
	}
	
	ai_potential = { always = yes }
	ai_will_do = { base = 100 }
}

###
#14.圣地守护者
establish_heritages_guardian_of_holy_site_decision = {
	picture = "gfx/interface/illustrations/decisions/decision_GA_guardian_of_holy_site.dds"
	major = yes
	ai_check_interval = 5
	title = establish_heritages_guardian_of_holy_site_decision_title
	desc = establish_heritages_guardian_of_holy_site_decision_desc

	is_shown = {
		highest_held_title_tier < tier_kingdom
		custom_description = {
			text = "consecrate_bloodline_holy_site"
			faith = {
				any_holy_site = {
					OR = {
						county.holder = root
						county.holder.top_liege = { this = root }
					}
					count >= 1
				}
			}
		}
		exists = house
		NOT = {
			house = { has_house_modifier = GA_guardian_of_holy_site_modifier }
			has_trait = cynical
		}
	}

	is_valid = {
		trigger_if = {
			limit = { has_game_rule = GA_rule_is_house_head }
			is_house_head = yes
		}
		trigger_if = {
			limit = {
				has_game_rule = GA_rule_ai_not_house_head
				is_ai = no
			}
			is_house_head = yes
		}	
		is_independent_ruler = yes
		custom_description = {
			text = "consecrate_bloodline_holy_site"
			faith = {
				any_holy_site = {
					OR = {
						county.holder = root
						county.holder.top_liege = { this = root }
					}
					count >= 1
				}
			}
		}
		custom_description = {
			text = GA_hold_holy_site_30_years_tt
			faith = {
				any_holy_site = {
					county.holder = root
					count >= 1
					title_held_years >= 30
				}
			}
		}
		num_sinful_traits = 0
		piety_level >= 4
		prestige_level >= 3
		highest_held_title_tier < tier_kingdom
	}

	is_valid_showing_failures_only = {
		is_capable_adult = yes
		is_imprisoned = no
	}

	cost = {
		prestige = 500
		piety = 800
	}

	effect = {
		save_scope_as = founder
		custom_tooltip = establish_heritages_guardian_of_holy_site_custom_tooltip
		show_as_tooltip = { guardian_of_holy_site_scripted_effect = yes }

		trigger_event = {
			id = establish_heritages_event.0101
		}
	}
	
	ai_potential = { always = yes }
	ai_will_do = { base = 100 }
}

#15.上帝之鞭
establish_heritages_scourge_of_god_decision = {
	picture = "gfx/interface/illustrations/decisions/decision_GA_scourge_of_god.dds"
	major = yes
	ai_check_interval = 5
	title = establish_heritages_scourge_of_god_decision_title
	desc = establish_heritages_scourge_of_god_decision_desc

	is_shown = {
		OR = {
			culture = { 
				OR = {
					has_cultural_pillar = heritage_iberian
					has_cultural_pillar = heritage_mongolic
					has_cultural_pillar = heritage_turkic
					has_cultural_pillar = heritage_magyar
				}
			}
			government_has_flag = government_is_tribal
		}
		exists = house
		NOT = {
			house = { has_house_modifier = GA_scourge_of_god_modifier }
			religion = religion:christianity_religion
			has_game_rule = GA_rule_conversion_universe
		} 
	}

	is_valid = {
		trigger_if = {
			limit = { has_game_rule = GA_rule_is_house_head }
			is_house_head = yes
		}
		trigger_if = {
			limit = {
				has_game_rule = GA_rule_ai_not_house_head
				is_ai = no
			}
			is_house_head = yes
		}	
		is_independent_ruler = yes
		OR = {
			culture = { 
				OR = {
					has_cultural_pillar = heritage_iberian
					has_cultural_pillar = heritage_mongolic
					has_cultural_pillar = heritage_turkic
					has_cultural_pillar = heritage_magyar
				}
			}
			government_has_flag = government_is_tribal
		}
		AND = {
			OR = {
				completely_controls = title:c_roma
				completely_controls = title:c_byzantion
			}
		}
		NOT = { religion = religion:christianity_religion }
		dread >= 30
		prestige_level >= max_prestige_level
		highest_held_title_tier >= tier_kingdom
	}

	is_valid_showing_failures_only = {
		is_capable_adult = yes
		is_imprisoned = no
	}

	cost = {
		prestige = 1000
	}

	effect = {
		save_scope_as = founder
		custom_tooltip = establish_heritages_scourge_of_god_custom_tooltip
		show_as_tooltip = { scourge_of_god_scripted_effect = yes }

		trigger_event = {
			id = establish_heritages_event.0102
		}
	}
	
	ai_potential = { always = yes }
	ai_will_do = { base = 100 }
}

#16.新罗马缔造者
establish_heritages_founder_of_new_rome_decision = {
	picture = "gfx/interface/illustrations/decisions/decision_GA_founder_of_new_rome.dds"
	major = yes
	ai_check_interval = 5
	title = establish_heritages_founder_of_new_rome_decision_title
	desc = establish_heritages_founder_of_new_rome_decision_desc

	is_shown = {
		exists = house
		custom_description = {
			text = GA_current_date_above_476_tt 
			current_date > 476.1.1
		}
		culture = {
			OR = {
				has_cultural_pillar = heritage_latin
				has_cultural_pillar = heritage_byzantine
			}
		}
		NOT = { 
			house = { has_house_modifier = GA_founder_of_new_rome_modifier }
			has_title = title:e_roman_empire
			has_title = title:e_hre
			has_title = title:e_byzantium
			has_game_rule = GA_rule_conversion_universe
			government_has_flag = government_is_tribal
			is_target_in_global_variable_list = {
				name = unavailable_unique_decisions
				target = flag:flag_founder_of_new_rome
			}
		}
	}

	is_valid = {
		custom_description = {
			text = GA_current_date_above_476_tt 
			current_date > 476.1.1
		}
		trigger_if = {
			limit = { has_game_rule = GA_rule_is_house_head }
			is_house_head = yes
		}
		trigger_if = {
			limit = {
				has_game_rule = GA_rule_ai_not_house_head
				is_ai = no
			}
			is_house_head = yes
		}
		culture = {
			OR = {
				has_cultural_pillar = heritage_latin
				has_cultural_pillar = heritage_byzantine
			}
		}
		OR = {
			religion = religion:christianity_religion
			religion = religion:hellenism_religion
		}
		OR = {
			has_realm_law = crown_authority_2
			has_realm_law = crown_authority_3
		}
		highest_held_title_tier = tier_empire
		prestige_level >= max_prestige_level
	}

	is_valid_showing_failures_only = {
		is_capable_adult = yes
		is_imprisoned = no
		is_at_war = no
	}

	cost = {
		prestige = 2000
		gold = 1000
	}

	effect = {
		save_scope_as = founder
		custom_tooltip = GA_founder_of_new_rome_decision_effect_tooltip
		custom_tooltip = establish_heritages_founder_of_new_rome_custom_tooltip
		show_as_tooltip = { founder_of_new_rome_scripted_effect = yes }

		trigger_event = {
			id = establish_heritages_event.0103
		}
		hidden_effect = {
			add_to_global_variable_list = {
				name = unavailable_unique_decisions
				target = flag:flag_founder_of_new_rome
			}
			set_global_variable = {
				name = flag_founder_of_new_rome
				value = root
			}
		}
	}
	
	ai_potential = { always = yes }
	ai_will_do = { base = 100 }
}

#17.文兰传奇
establish_heritages_legend_of_vinland_decision = {
	picture = "gfx/interface/illustrations/decisions/decision_GA_legend_of_vinland.dds"
	major = yes
	ai_check_interval = 5
	title = establish_heritages_legend_of_vinland_decision_title
	desc = establish_heritages_legend_of_vinland_decision_desc

	is_shown = {
		exists = house
		custom_description = {
			text = GA_current_date_above_700_tt
			current_date > 700.1.1
		}
		OR = {
			culture = { has_cultural_pillar = heritage_north_germanic }
			culture = culture:norman
			culture = { has_cultural_tradition = tradition_seafaring }
		}
		NOT = { 
			house = { has_house_modifier = GA_legend_of_vinland_modifier }
			has_game_rule = GA_rule_conversion_universe
			is_target_in_global_variable_list = {
				name = unavailable_unique_decisions
				target = flag:flag_legend_of_vinland
			}
		}
	}

	is_valid = {
		custom_description = {
			text = GA_current_date_above_700_tt
			current_date > 700.1.1
		}
		trigger_if = {
			limit = { has_game_rule = GA_rule_is_house_head }
			is_house_head = yes
		}
		trigger_if = {
			limit = {
				has_game_rule = GA_rule_ai_not_house_head
				is_ai = no
			}
			is_house_head = yes
		}	
		is_independent_ruler = yes
		OR = {
			culture = { has_cultural_pillar = heritage_north_germanic }
			culture = culture:norman
			culture = { has_cultural_tradition = tradition_seafaring }
		}
		completely_controls = title:d_iceland
		custom_description = {
			text = GA_iceland_must_be_developed_tt
			title:d_iceland = {
				any_in_de_jure_hierarchy = {
					count = all
					trigger_if = {
						limit =  { tier = tier_county }
						development_level >= 6
					}
					trigger_else = {
						always = yes
					}
				}
			}
		}
		prestige_level >= 3
		highest_held_title_tier < tier_kingdom
	}

	is_valid_showing_failures_only = {
		is_capable_adult = yes
		is_imprisoned = no
	}

	cost = {
		prestige = 800
	}

	effect = {
		save_scope_as = founder
		custom_tooltip = establish_heritages_legend_of_vinland_custom_tooltip
		show_as_tooltip = { legend_of_vinland_scripted_effect = yes }

		trigger_event = {
			id = establish_heritages_event.0104
		}
		hidden_effect = {
			add_to_global_variable_list = {
				name = unavailable_unique_decisions
				target = flag:flag_legend_of_vinland
			}
			set_global_variable = {
				name = flag_legend_of_vinland
				value = root
			}
		}
	}
	
	ai_potential = { always = yes }
	ai_will_do = { base = 100 }
}

#18.新亚特兰蒂斯缔造者
establish_heritages_founder_of_new_atlantis_decision = {
	picture = "gfx/interface/illustrations/decisions/decision_GA_founder_of_new_atlantis.dds"
	major = yes
	ai_check_interval = 5
	title = establish_heritages_founder_of_new_atlantis_decision_title
	desc = establish_heritages_founder_of_new_atlantis_decision_desc

	is_shown = {
		exists = house
		highest_held_title_tier < tier_kingdom
		OR = {
			title:c_canarias.holder = { 	
				any_liege_or_above = { this = root }
			}
			title:c_canarias.holder = { this = root }
		}
		NOT = {
			house = { has_house_modifier = GA_founder_of_new_atlantis_modifier }
			has_game_rule = GA_rule_conversion_universe
			is_target_in_global_variable_list = {
				name = unavailable_unique_decisions
				target = flag:flag_founder_of_new_atlantis
			}
		}
	}

	is_valid = {
		trigger_if = {
			limit = { has_game_rule = GA_rule_is_house_head }
			is_house_head = yes
		}
		trigger_if = {
			limit = {
				has_game_rule = GA_rule_ai_not_house_head
				is_ai = no
			}
			is_house_head = yes
		}
		is_independent_ruler = yes
		government_has_flag = government_is_feudal
		government_has_flag = government_is_feudal
		highest_held_title_tier < tier_kingdom
		has_title = title:c_canarias
		has_title = title:d_canarias
		title:c_canarias.county = { development_level >= 25 }
		custom_description = {
			text = canarias_must_be_filled_tt
			title:d_canarias = {
				any_in_de_jure_hierarchy = {
					count = all
					trigger_if = {
						limit =  { tier = tier_barony }
						title_province = { has_holding = yes }
					}
					trigger_else = {
						always = yes
					}
				}
			}
		}
		prestige_level >= 4
	}

	is_valid_showing_failures_only = {
		is_capable_adult = yes
		is_imprisoned = no
		is_at_war = no
	}

	cost = {
		prestige = 1000
		gold = 1000
	}

	effect = {
		save_scope_as = founder
		custom_tooltip = establish_heritages_founder_of_new_atlantis_custom_tooltip
		show_as_tooltip = { founder_of_new_atlantis_scripted_effect = yes }

		trigger_event = {
			id = establish_heritages_event.0105
		}
		hidden_effect = {
			add_to_global_variable_list = {
				name = unavailable_unique_decisions
				target = flag:flag_founder_of_new_atlantis
			}
			set_global_variable = {
				name = flag_founder_of_new_atlantis
				value = root
			}
		}
	}
	
	ai_potential = { always = yes }
	ai_will_do = { base = 100 }
}

#19.光明使者
establish_heritages_emissary_of_light_decision = {
	picture = "gfx/interface/illustrations/decisions/decision_GA_emissary_of_light.dds"
	major = yes
	ai_check_interval = 5
	title = establish_heritages_emissary_of_light_decision_title
	desc = establish_heritages_emissary_of_light_decision_desc

	is_shown = {
		exists = house
		OR = {
			religion = religion:dualism_religion
			faith = {
				has_doctrine = tenet_gnosticism
			}
		}
		NOT = {
			house = { has_house_modifier = GA_emissary_of_light_modifier }
			has_game_rule = GA_rule_conversion_universe
			is_target_in_global_variable_list = {
				name = unavailable_unique_decisions
				target = flag:flag_emissary_of_light
			}
		}
	}

	is_valid = {
		trigger_if = {
			limit = { has_game_rule = GA_rule_is_house_head }
			is_house_head = yes
		}
		trigger_if = {
			limit = {
				has_game_rule = GA_rule_ai_not_house_head
				is_ai = no
			}
			is_house_head = yes
		}	
		is_independent_ruler = yes
		custom_description = {
			text = "consecrate_bloodline_holy_site"
			faith = {
				any_holy_site = {
					OR = {
						county.holder = root
						county.holder.top_liege = { this = root }
					}
					count >= 1
				}
			}
		}
		OR = {
			religion = religion:dualism_religion
			faith = {
				has_doctrine = tenet_gnosticism
			}
		}
		highest_held_title_tier = tier_empire
		num_sinful_traits = 0
		num_virtuous_traits >= 1
		piety_level >= 4
		prestige_level >= 4
	}

	is_valid_showing_failures_only = {
		is_capable_adult = yes
	}

	cost = {
		prestige = 500
		piety = 1000
	}

	effect = {
		save_scope_as = founder
		custom_tooltip = establish_heritages_emissary_of_light_custom_tooltip
		show_as_tooltip = { emissary_of_light_scripted_effect = yes }

		trigger_event = {
			id = establish_heritages_event.0106
		}
		hidden_effect = {
			add_to_global_variable_list = {
				name = unavailable_unique_decisions
				target = flag:flag_emissary_of_light
			}
			set_global_variable = {
				name = flag_emissary_of_light
				value = root
			}
		}
	}
	
	ai_potential = { always = yes }
	ai_will_do = { base = 100 }
}

#20.祭司王约翰
establish_heritages_prester_john_decision = {
	picture = "gfx/interface/illustrations/decisions/decision_major_religion.dds"
	major = yes
	ai_check_interval = 5
	title = establish_heritages_prester_john_decision_title
	desc = establish_heritages_prester_john_decision_desc

	is_shown = {
		exists = house
		faith = faith:nestorian
		NOT = {
			house = { has_house_modifier = GA_prester_john_modifier }
			has_game_rule = GA_rule_conversion_universe
		}
	}

	is_valid = {
		trigger_if = {
			limit = { has_game_rule = GA_rule_is_house_head }
			is_house_head = yes
		}
		trigger_if = {
			limit = {
				has_game_rule = GA_rule_ai_not_house_head
				is_ai = no
			}
			is_house_head = yes
		}
		is_independent_ruler = yes
		custom_description = {
			text = "consecrate_bloodline_holy_site"
			faith = {
				any_holy_site = {
					OR = {
						county.holder = root
						county.holder.top_liege = { this = root }
					}
					count >= 1
				}
			}
		}
		faith = faith:nestorian
		highest_held_title_tier >= tier_kingdom
		num_sinful_traits = 0
		piety_level >= 4
		prestige_level >= 4
	}

	is_valid_showing_failures_only = {
		is_capable_adult = yes
		is_imprisoned = no
	}

	cost = {
		prestige = 500
		piety = 1000
	}

	effect = {
		save_scope_as = founder
		custom_tooltip = establish_heritages_prester_john_custom_tooltip
		show_as_tooltip = { prester_john_scripted_effect = yes }

		trigger_event = {
			id = establish_heritages_event.0107
		}
	}
	
	ai_potential = { always = yes }
	ai_will_do = { base = 100 }
}

#21.地中海之主
establish_heritages_master_of_mediterranean_decision = {
	picture = "gfx/interface/illustrations/decisions/decision_destiny_goal.dds"
	major = yes
	ai_check_interval = 5
	title = establish_heritages_master_of_mediterranean_decision_title
	desc = establish_heritages_master_of_mediterranean_decision_desc

	is_shown = {
		exists = house
		OR = {
			completely_controls = title:d_krete
			completely_controls = title:d_cyprus
			completely_controls = title:d_sicily
			completely_controls = title:d_sardinia
			completely_controls = title:d_corsica
			completely_controls = title:d_mallorca
		}
		highest_held_title_tier <= tier_kingdom
		NOR = {
			house = { has_house_modifier = GA_master_of_mediterranean_modifier }
			has_game_rule = GA_rule_conversion_universe
		}
	}

	is_valid = {
		trigger_if = {
			limit = { has_game_rule = GA_rule_is_house_head }
			is_house_head = yes
		}
		trigger_if = {
			limit = {
				has_game_rule = GA_rule_ai_not_house_head
				is_ai = no
			}
			is_house_head = yes
		}
		is_independent_ruler = yes
		completely_controls = title:d_krete
		completely_controls = title:d_cyprus
		completely_controls = title:d_sicily
		completely_controls = title:d_sardinia
		completely_controls = title:d_corsica
		completely_controls = title:d_mallorca
		highest_held_title_tier <= tier_kingdom
		prestige_level >= 4
	}

	is_valid_showing_failures_only = {
		is_capable_adult = yes
		is_imprisoned = no
	}

	cost = {
		prestige = 800
	}

	effect = {
		save_scope_as = founder
		custom_tooltip = establish_heritages_master_of_mediterranean_custom_tooltip
		show_as_tooltip = { master_of_mediterranean_scripted_effect = yes }

		trigger_event = {
			id = establish_heritages_event.0108
		}
	}
	
	ai_potential = { always = yes }
	ai_will_do = { base = 100 }
}


#22.西苏精神的胜利
establish_heritages_victory_of_sisu_spirit_decision = {
	picture = "gfx/interface/illustrations/decisions/fp2_decision_struggle_hostility.dds"
	major = yes
	ai_check_interval = 5
	title = establish_heritages_victory_of_sisu_spirit_decision_title
	desc = establish_heritages_victory_of_sisu_spirit_decision_desc

	is_shown = {
		exists = house
		OR = {
			culture = {
				OR = {
					has_cultural_pillar = heritage_balto_finnic
					has_cultural_pillar = heritage_baltic
				}
			}
			religion = religion:finno_ugric_religion
		}
		NOT = {
			house = { has_house_modifier = GA_victory_of_sisu_spirit_modifier }
			has_game_rule = GA_rule_conversion_universe
			is_target_in_global_variable_list = {
				name = unavailable_unique_decisions
				target = flag:flag_victory_of_sisu_spirit
			}
		}
	}

	is_valid = {
		trigger_if = {
			limit = { has_game_rule = GA_rule_is_house_head }
			is_house_head = yes
		}
		trigger_if = {
			limit = {
				has_game_rule = GA_rule_ai_not_house_head
				is_ai = no
			}
			is_house_head = yes
		}	
		is_independent_ruler = yes
		culture = {
			OR = {
				has_cultural_pillar = heritage_balto_finnic
				has_cultural_pillar = heritage_baltic
			}
		}
		religion = religion:finno_ugric_religion
		completely_controls = title:k_norway
		completely_controls = title:k_sweden
		prestige_level >= 4
		piety_level >= 3
	}

	is_valid_showing_failures_only = {
		is_capable_adult = yes
		is_imprisoned = no
	}

	cost = {
		prestige = 800
	}

	effect = {
		save_scope_as = founder
		custom_tooltip = establish_heritages_victory_of_sisu_spirit_custom_tooltip
		show_as_tooltip = { victory_of_sisu_spirit_scripted_effect = yes }

		trigger_event = {
			id = establish_heritages_event.0109
		}
		hidden_effect = {
			add_to_global_variable_list = {
				name = unavailable_unique_decisions
				target = flag:flag_victory_of_sisu_spirit
			}
			set_global_variable = {
				name = flag_victory_of_sisu_spirit
				value = root
			}
		}
	}
	
	ai_potential = { always = yes }
	ai_will_do = { base = 100 }
}

#23.古莱什之鹰
establish_heritages_eagle_of_quraish_decision = {
	picture = "gfx/interface/illustrations/decisions/decision_GA_eagle_of_quraish.dds"
	major = yes
	ai_check_interval = 5
	title = establish_heritages_eagle_of_quraish_decision_title
	desc = establish_heritages_eagle_of_quraish_decision_desc

	is_shown = {
		exists = house
		OR = {
			culture = {
				OR = {
					has_cultural_pillar = heritage_berber
					has_cultural_pillar = heritage_arabic
				}
			}
			culture = culture:andalusian
		}
		religion = religion:islam_religion
		NOT = {
			house = { has_house_modifier = GA_eagle_of_quraish_modifier }
			has_game_rule = GA_rule_conversion_universe
			is_target_in_global_variable_list = {
				name = unavailable_unique_decisions
				target = flag:flag_eagle_of_quraish
			}
		}
	}

	is_valid = {
		trigger_if = {
			limit = { has_game_rule = GA_rule_is_house_head }
			is_house_head = yes
		}
		trigger_if = {
			limit = {
				has_game_rule = GA_rule_ai_not_house_head
				is_ai = no
			}
			is_house_head = yes
		}	
		is_independent_ruler = yes
		OR = {
			culture = {
				OR = {
					has_cultural_pillar = heritage_berber
					has_cultural_pillar = heritage_arabic
				}
			}
			culture = culture:andalusian
		}
		religion = religion:islam_religion
		faith.religious_head = root
		completely_controls = title:c_cordoba
		completely_controls = title:c_baghdad
		highest_held_title_tier = tier_empire
		prestige_level >= 4
	}

	is_valid_showing_failures_only = {
		is_capable_adult = yes
		is_imprisoned = no
	}

	cost = {
		prestige = 800
	}

	effect = {
		save_scope_as = founder
		custom_tooltip = establish_heritages_eagle_of_quraish_custom_tooltip
		show_as_tooltip = { eagle_of_quraish_scripted_effect = yes }

		trigger_event = {
			id = establish_heritages_event.0110
		}
		hidden_effect = {
			add_to_global_variable_list = {
				name = unavailable_unique_decisions
				target = flag:flag_eagle_of_quraish
			}
			set_global_variable = {
				name = flag_eagle_of_quraish
				value = root
			}
		}
	}
	
	ai_potential = { always = yes }
	ai_will_do = { base = 100 }
}

###
#27.致命美貌
establish_heritages_fatal_beauty_decision = {
	picture = "gfx/interface/illustrations/decisions/decision_dynasty_house.dds"
	major = yes
	ai_check_interval = 5
	title = establish_heritages_fatal_beauty_decision_title
	desc = establish_heritages_fatal_beauty_decision_desc

	is_shown = {
		has_game_rule = GA_rule_more_decision_on
		exists = house
		OR = {
			has_trait = education_intrigue_4
			has_trait = education_intrigue_5
			has_trait = schemer
			has_trait = seducer
			intrigue >= 17
		}
		AND = {
			OR = {
				has_trait = beauty_good_2
				has_trait = beauty_good_3
			}
		}
		is_female = yes
		NOT = {
			house = { has_house_modifier = GA_fatal_beauty_modifier }
		}
	}

	is_valid = {
		trigger_if = {
			limit = { has_game_rule = GA_rule_is_house_head }
			is_house_head = yes
		}
		trigger_if = {
			limit = {
				has_game_rule = GA_rule_ai_not_house_head
				is_ai = no
			}
			is_house_head = yes
		}	
		OR = {
			has_trait = education_intrigue_4
			has_trait = education_intrigue_5
			has_trait = schemer
			has_trait = seducer
		}
		AND = {
			OR = {
				has_trait = beauty_good_2
				has_trait = beauty_good_3
			}
		}
		intrigue >= 27
		prestige_level >= 2
	}

	is_valid_showing_failures_only = {
		is_capable_adult = yes
	}

	cost = {
		prestige = 500
	}

	effect = {
		save_scope_as = founder
		custom_tooltip = establish_heritages_fatal_beauty_custom_tooltip
		show_as_tooltip = { fatal_beauty_scripted_effect = yes }

		trigger_event = {
			id = establish_heritages_event.0014
		}
	}
	
	ai_potential = { always = yes }
	ai_will_do = { base = 100 }
}

#28.圣战家族
establish_heritages_faith_warrior_decision = {
	picture = "gfx/interface/illustrations/decisions/decision_dynasty_house.dds"
	major = yes
	ai_check_interval = 5
	title = establish_heritages_faith_warrior_decision_title
	desc = establish_heritages_faith_warrior_decision_desc

	is_shown = {
		has_trait = faith_warrior
		has_game_rule = GA_rule_more_decision_on
		exists = house
		NOT = {
			house = { has_house_modifier = GA_faith_warrior_modifier }
		}
	}

	is_valid = {
		trigger_if = {
			limit = { has_game_rule = GA_rule_is_house_head }
			is_house_head = yes
		}
		trigger_if = {
			limit = {
				has_game_rule = GA_rule_ai_not_house_head
				is_ai = no
			}
			is_house_head = yes
		}	
		has_trait = faith_warrior
		martial >= 25
		trigger_if = {
			limit = {
				exists = root.faith.religious_head
				NOT = { root = root.faith.religious_head }
			}
			root.faith.religious_head = {
				opinion = {
					target = root
					value >= 60
				}
			}
		}
		NOT = { has_trait = cynical }
		piety_level >= max_prestige_level
		prestige_level >= 3
	}

	is_valid_showing_failures_only = {
		is_capable_adult = yes
	}

	cost = {
		prestige = 300
		piety = 300
	}

	effect = {
		save_scope_as = founder
		custom_tooltip = establish_heritages_faith_warrior_custom_tooltip
		show_as_tooltip = { faith_warrior_scripted_effect = yes }

		trigger_event = {
			id = establish_heritages_event.0015
		}
	}
	
	ai_potential = { always = yes }
	ai_will_do = { base = 100 }
}

#29.海盗血脉
establish_heritages_seaking_bloodline_decision = {
	picture = "gfx/interface/illustrations/decisions/decision_GA_seaking_bloodline.dds"
	major = yes
	ai_check_interval = 5
	title = establish_heritages_seaking_bloodline_decision_title
	desc = establish_heritages_seaking_bloodline_decision_desc

	is_shown = {
		has_game_rule = GA_rule_more_decision_on
		exists = house
		has_trait = viking
		NOT = {
			house = { has_house_modifier = GA_seaking_bloodline_modifier }
			dynasty =  { has_dynasty_modifier = fp1_legacy_of_piracy_modifier }
		}
	}

	is_valid = {
		trigger_if = {
			limit = { has_game_rule = GA_rule_is_house_head }
			is_house_head = yes
		}
		trigger_if = {
			limit = {
				has_game_rule = GA_rule_ai_not_house_head
				is_ai = no
			}
			is_house_head = yes
		}
		is_independent_ruler = yes
		highest_held_title_tier <= tier_duchy
		has_trait = viking
		custom_description = {
			text = GA_raid_counter_viking_tt
			trigger_if = {
				limit = {
					has_variable = raid_counter
				}
				var:raid_counter >= 200
			}
			trigger_else = {
				always = no
			}
		}
		prestige_level >= max_prestige_level
	}

	is_valid_showing_failures_only = {
		is_alive = yes
		not = { exists = involved_activity }
		is_capable_adult = yes
		is_imprisoned = no
	}

	cost = {
		prestige = 1000
	}

	effect = {
		save_scope_as = founder
		custom_tooltip = establish_heritages_seaking_bloodline_custom_tooltip
		show_as_tooltip = { seaking_bloodline_scripted_effect = yes }

		trigger_event = {
			id = establish_heritages_event.0016
		}
	}
	
	ai_potential = { always = yes }
	ai_will_do = { base = 100 }
}
