#############
#			#
#	DEEDS	#
#			#
#############

# Example:
#deed_example = {
#	attunement = 100					# Attunement given towards the patron (must be >0)
#	has_desc = no # (/yes)				# Does the deed has a description describing a specific case for the given attunement (ex: attunement multiplied by a certain value) (Can be empty and no by default)
#	counter = { }						# Objectives to complete the calling
#	potential = { }						# Whether the deed can be picked for the given country (can be empty)
#}

deed_claim_system = {
	attunement = 10
	potential = { is_nomadic = no }

	counter = {
		po_claim_system = {
			max = 1
		}
	}
}

deed_pick_supremacy_or_enmity_tradition = {
	attunement = 20

	counter = {
		po_pick_supremacy_or_enmity_tradition = {
			max = 1
		}
	}
}

deed_destroy_army = {
	attunement = 3

	counter = {
		po_destroy_army = {
			max = 1
		}
	}
}

deed_conquer_planet = {
	attunement = 20

	counter = {
		po_conquer_planet = {
			max = 1
		}
	}
}

deed_ruin_enemy_building = {
	attunement = 10

	counter = {
		po_ruin_enemy_building = {
			max = 1
		}
	}
}

deed_hunt_space_fauna = {
	attunement = 1
	has_desc = yes

	counter = {
		po_hunt_space_fauna = {
			max = 1
		}
	}
}

deed_destroy_ship = {
	attunement = 0.5
	has_desc = yes

	counter = {
		po_destroy_ship = {
			max = 1
		}
	}
}

deed_kill_pop = {
	attunement = 0.05

	counter = {
		po_kill_pop = {
			max = 1
		}
	}
}

deed_conquer_system = {
	attunement = 5
	has_desc = yes
	potential = { is_nomadic = no }

	counter = {
		po_conquer_system = {
			max = 1
		}
	}
}

deed_declare_war = {
	attunement = 20

	counter = {
		po_declare_war = {
			max = 1
		}
	}
}

deed_galcom_vote = {
	attunement = 10
	potential = { is_homicidal = no }

	counter = {
		po_galcom_vote = {
			max = 1
		}
	}
}

deed_pick_diplomacy_or_politics_tradition = {
	attunement = 20
	potential = { is_homicidal = no }

	counter = {
		po_pick_diplomacy_or_politics_tradition = {
			max = 1
		}
	}
}

deed_pass_resolution_galcom = {
	attunement = 20
	potential = { is_homicidal = no }

	counter = {
		po_pass_resolution_galcom = {
			max = 1
		}
	}
}

deed_form_or_upgrade_federation = {
	attunement = 40
	potential = { is_homicidal = no }

	counter = {
		po_form_or_upgrade_federation = {
			max = 1
		}
	}
}

deed_pass_law_federation = {
	attunement = 5
	potential = { is_homicidal = no }

	counter = {
		po_pass_law_federation = {
			max = 1
		}
	}
}

deed_reach_excellent_relations = {
	attunement = 10
	potential = { is_homicidal = no }

	counter = {
		po_reach_excellent_relations = {
			max = 1
		}
	}
}

deed_build_defense_platform = {
	attunement = 3
	potential = { is_nomadic = no }

	counter = {
		po_build_defense_platform = {
			max = 1
		}
	}
}

deed_earn_favor = {
	attunement = 20
	potential = { is_homicidal = no }

	counter = {
		po_earn_favor = {
			max = 1
		}
	}
}

deed_complete_operation = {
	attunement = 10

	counter = {
		po_complete_operation = {
			max = 1
		}
	}
}

deed_establish_diplomatic_pact = {
	attunement = 10
	potential = { is_homicidal = no }

	counter = {
		po_establish_diplomatic_pact = {
			max = 1
		}
	}
}

deed_ascend_planet = {
	attunement = 20

	counter = {
		po_ascend_planet = {
			max = 1
		}
	}
}

deed_pick_mercantile_or_domination_tradition = {
	attunement = 20
	potential = {
		is_gestalt = no
	}

	counter = {
		po_pick_mercantile_or_domination_tradition = {
			max = 1
		}
	}
}

deed_pick_logistics_or_domination_tradition = {
	attunement = 20
	potential = {
		is_gestalt = yes
	}

	counter = {
		po_pick_logistics_or_domination_tradition = {
			max = 1
		}
	}
}

deed_clear_blocker = {
	attunement = 10

	counter = {
		po_clear_blocker = {
			max = 1
		}
	}
}

deed_upgrade_building_non_capital = {
	attunement = 5

	counter = {
		po_upgrade_building_non_capital = {
			max = 1
		}
	}
}

deed_upgrade_building_capital = {
	attunement = 15

	counter = {
		po_upgrade_building_capital = {
			max = 1
		}
	}
}

deed_uplift_species = {
	attunement = 0.1
	has_desc = yes
	potential = {
		is_homicidal = no
		is_gestalt = no
	}

	counter = {
		po_uplift_species = {
			max = 1
		}
	}
}

deed_destroy_pirates = {
	attunement = 1
	has_desc = yes

	counter = {
		po_destroy_pirates = {
			max = 1
		}
	}
}

deed_establish_trade_agreement = {
	attunement = 10
	potential = {
		is_homicidal = no
		is_gestalt = no
	}

	counter = {
		po_establish_trade_agreement = {
			max = 1
		}
	}
}

deed_pass_commerce_resolution = {
	attunement = 20
	potential = { is_homicidal = no }

	counter = {
		po_pass_commerce_resolution = {
			max = 1
		}
	}
}

deed_pass_industry_resolution = {
	attunement = 20
	potential = { is_homicidal = no }

	counter = {
		po_pass_industry_resolution = {
			max = 1
		}
	}
}

deed_clone_space_fauna = {
	attunement = 0.5

	counter = {
		po_clone_space_fauna = {
			max = 1
		}
	}

	potential = {
		has_grand_archive_dlc = yes
	}
}

deed_consecrate_planet = {
	attunement = 25
	potential = { is_spiritualist = yes }

	counter = {
		po_consecrate_planet = {
			max = 1
		}
	}
}

deed_pick_adaptability_or_expansion_tradition = {
	attunement = 20
	potential = {
		is_machine_empire = no
	}

	counter = {
		po_pick_adaptability_or_expansion_tradition = {
			max = 1
		}
	}
}

deed_pick_versatility_or_expansion_tradition = {
	attunement = 20
	potential = {
		is_machine_empire = yes
	}

	counter = {
		po_pick_versatility_or_expansion_tradition = {
			max = 1
		}
	}
}

deed_apply_species_template = {
	attunement = 0.5
	has_desc = yes

	counter = {
		po_apply_species_template = {
			max = 1
		}
	}
}

deed_host_new_species = {
	attunement = 15
	potential = {
		is_homicidal = no
		is_gestalt = no
	}

	counter = {
		po_host_new_species = {
			max = 1
		}
	}
}

deed_pass_ecology_resolution = {
	attunement = 20
	potential = { is_homicidal = no }

	counter = {
		po_pass_ecology_resolution = {
			max = 1
		}
	}
}

deed_pass_divinity_resolution = {
	attunement = 20
	potential = { is_homicidal = no }

	counter = {
		po_pass_divinity_resolution = {
			max = 1
		}
	}
}

deed_terraform_planet = {
	attunement = 15
	potential = { is_nomadic = no }

	counter = {
		po_terraform_planet = {
			max = 1
		}
	}
}

deed_colonize_gaia_world = {
	attunement = 25
	potential = { is_nomadic = no }

	counter = {
		po_colonize_gaia_world = {
			max = 1
		}
	}
}

deed_psionically_assimilate_pop = {
	attunement = 3
	potential = { is_homicidal = no }

	counter = {
		po_psionically_assimilate_pop = {
			max = 1
		}
	}
}

deed_upgrade_megastructure = {
	attunement = 15

	counter = {
		po_upgrade_megastructure = {
			max = 1
		}
	}
}

deed_scientist_level_up = {
	attunement = 10

	counter = {
		po_scientist_level_up = {
			max = 1
		}
	}
}

deed_explore_wormhole = {
	attunement = 50
	potential = { has_astral_planes_dlc = no }

	counter = {
		po_explore_wormhole = {
			max = 1
		}
	}
}

deed_wormhole_locks_mastery = {
	attunement = 50
	potential = { has_astral_planes_dlc = yes }

	counter = {
		po_wormhole_and_locks = {
			max = 1
		}
	}
}

deed_activate_relic = {
	attunement = 50

	counter = {
		po_activate_relic = {
			max = 1
		}
	}
}

deed_arc_site_stage = {
	attunement = 20
	potential = { has_astral_planes_dlc = no }

	counter = {
		po_complete_arc_site_stage = {
			max = 1
		}
	}
}

deed_arc_rift_stage = {
	attunement = 20
	potential = { has_astral_planes_dlc = yes }

	counter = {
		po_complete_arc_site_or_rift_stage = {
			max = 1
		}
	}
}

deed_research_rare_tech = {
	attunement = 15

	counter = {
		po_research_rare_tech = {
			max = 1
		}
	}
}

deed_pick_tradition = {
	attunement = 15

	counter = {
		po_pick_tradition = {
			max = 1
		}
	}
}

deed_change_policy = {
	attunement = 25

	counter = {
		po_change_policy = {
			max = 1
		}
	}
}

deed_reform_council = {
	attunement = 50

	counter = {
		po_reform_council = {
			max = 1
		}
	}
}

deed_research_repeatable_tech = {
	attunement = 20

	counter = {
		po_research_repeatable_tech = {
			max = 1
		}
	}
}

deed_sector_as_vassal = {
	attunement = 50
	potential = {
		is_homicidal = no
		is_gestalt = no
		is_nomadic = no
	}

	counter = {
		po_release_sector_as_vassal = {
			max = 1
		}
	}
}

deed_colonize_tomb_world = {
	attunement = 25

	potential = {
		is_nomadic = no
	}

	counter = {
		po_colonize_tomb_world = {
			max = 1
		}
	}
}
