######################
###     Relics     ###
######################

r_WL_lv_zinara = {
	activation_duration = 3600
	portrait = "GFX_relic_WL_lv_zinara"
	sound = "relic_activation_prethoryn_blood_queen"

	resources = {
		category = relics
		cost = {
			energy = 500
		}
		produces = {
			society_research = 30
		}
	}
	
	ai_weight = {
		weight = 100
	}
	
	triggered_country_modifier = {
		potential = { always = yes }
	}
	score = 1200

	active_effect = {
#		custom_tooltip = relic_WL_lv_zinara_contact
		custom_tooltip = relic_triumph_cooldown
		hidden_effect = {
			add_modifier = {
				modifier = "relic_activation_cooldown" 
				days = 3600
			}
		}	
		if = { 
			limit = {
				NOT = { has_country_flag =  zinara_rival }
			}
			hidden_effect = {
				country_event = { id = WL_lv_Zinara_contact_events.1  }	
			}
		}
		if = { 
			limit = { has_country_flag =  zinara_rival }
			hidden_effect = {
				country_event = { id = WL_lv_Zinara_contact_events.100  }	
			}
		}
	}

	possible = {
		custom_tooltip = {
			fail_text = "requires_relic_no_cooldown"
			NOT = { has_modifier = relic_activation_cooldown }
		}	
	}
}
