country_decisions = {

	maya_nation = {
		major = yes
		potential = {
			normal_or_historical_nations = yes
			OR = {
				ai = no
				is_playing_custom_nation = no
			}
			culture_group = maya
			religion = mesoamerican_religion
			NOT = { exists = MAY }
			NOT = { tag = PAP }
			NOT = { tag = HLR }			
			is_colonial_nation = no
			OR = {
				is_former_colonial_nation = no
				AND = {
					is_former_colonial_nation = yes
					ai = no
				}
			}
		}
		allow = {
			is_at_war = no
			is_subject = no
			owns_core_province = 842 #Petén
			owns_core_province = 846 #Sotuta
			owns_core_province = 2637 #Mani
			owns_core_province = 2636 #Ecab
			owns_core_province = 2634 #Chacuyal
			owns_core_province = 2640 #Xicallanco
		}
		effect = {
			change_tag = MAY
			yucatan_region = {
				limit = {
					NOT = { owned_by = ROOT }
				}
				add_claim = MAY
			}
			add_prestige = 25
			change_government = despotic_monarchy
		}
		ai_will_do = {
			factor = 1
		}
		ai_importance = 400
	}
}
