﻿don_mask_decision = {
	picture ={
		reference = "gfx/interface/illustrations/decisions/decision_misc.dds"
	}

	desc = don_mask_decision_desc
	selection_tooltip = don_mask_decision_tooltip

	ai_check_interval = 36

	is_shown = {
		has_trait = disfigured
		NOT = { has_character_modifier = masked_modifier }
	}

	is_valid_showing_failures_only = {
		is_imprisoned = no
	}

	effect = {
		add_character_modifier = {
			modifier = masked_modifier
		}
	}
	
	ai_potential = {
		highest_held_title_tier >= tier_kingdom
		has_trait = disfigured
		NOR = { 
			culture = { has_cultural_pillar = heritage_byzantine } 
			culture = { has_cultural_pillar = heritage_caucasian }
			culture = {has_cultural_pillar = heritage_south_slavic}
			has_character_modifier = masked_modifier
			has_game_rule = masks_off
			}
		OR = {
		has_trait = sadistic
		has_trait = callous
		has_trait = shy
		has_trait = reclusive
		intrigue >= good_skill_level
		}
	}

	ai_will_do = {
		base = 100
	}
}

remove_mask_decision = {
	picture = {
		reference = "gfx/interface/illustrations/decisions/decision_misc.dds"
	}

	desc = remove_mask_decision_desc
	selection_tooltip = remove_mask_decision_tooltip

	ai_check_interval = 0

	is_shown = {
		AND = {
			has_trait = disfigured
			has_character_modifier = masked_modifier
		}
	}

	is_valid_showing_failures_only = {
		is_imprisoned = no
	}

	effect = {
		remove_character_modifier = masked_modifier
		}
	
	ai_potential = {
		always = no
	}

	ai_will_do = {
		base = 0
	}
}