#============
# Base
#============

councilor_energy_curator = {
	leader_class = { commander scientist official }

	is_leader_possible = {
		OR = {
			leader_class = commander
			leader_class = scientist
			leader_class = official
		}
	}

	civic = civic_entropy_drinkers

	modifier = {
		species_leader_exp_gain = 0.03
	}

	ai_hiring_weight = {
		inline_script = councilor_leader_weights
	}
}

councilor_chief_medium = {
	leader_class = { commander scientist official }

	is_leader_possible = {
		OR = {
			leader_class = commander
			leader_class = scientist
			leader_class = official
		}
	}

	civic = civic_superstitious_beliefs

	custom_tooltip = "councilor_chief_medium_effect_tooltip"

	modifier = {
		planet_bureaucrats_upkeep_mult = @sb_councilors_priest_upkeep_mult
		council_agenda_progress_speed = @sb_councilors_agenda_speed_mult
		cycle_negative_effects_bonus_mult = @sb_negative_effects_bonus
	}

	ai_hiring_weight = {
		inline_script = councilor_leader_weights
	}
}

councilor_experimentation_overseer = {
	leader_class = { commander scientist official }

	is_leader_possible = {
		OR = {
			leader_class = commander
			leader_class = scientist
			leader_class = official
		}
	}

	civic = civic_twisted_experimenters

	modifier = {
		planet_test_subjects_produces_mult = 0.02
		experimental_testing_test_subjects_death = @experimental_testing_test_subject_councilor_death_mult
	}

	ai_hiring_weight = {
		inline_script = councilor_leader_weights
	}
}

councilor_secret_societies = {
	leader_class = { scientist official commander }
	is_leader_possible = {
		OR = {
			leader_class = scientist
			leader_class = official
			leader_class = commander
		}
	}
	civic = civic_secret_societies
	modifier = {
		add_base_country_intel = 1
		diplo_weight_mult = 0.01
		espionage_operation_speed_mult = 0.025
	}

	ai_hiring_weight = {
		inline_script = councilor_leader_weights
	}
}

councilor_mindwarden = {
	leader_class = { commander }
	possible = {
		any_owned_leader = {
			has_leader_flag = mindwarden_commander
		}
	}
	is_leader_possible = {
		has_leader_flag = mindwarden_commander
	}
	modifier = {
		country_unity_produces_mult = 0.01
		planet_crime_add = -1
		psionic_aura_resistance_mult = 0.05
	}
	icon = "GFX_icon_councilor_mindwarden"
	custom_unlock_title = "councilor_mindwarden_unlock_title"
	conditional_tooltip = "councilor_mindwarden_conditional_tooltip"
}

councilor_chosen = {
	leader_class = { official }
	is_leader_possible = {
		leader_class = official
	}
	civic = civic_chosen
	modifier = {
		planet_bureaucrats_produces_mult = 0.01
	}

	ai_hiring_weight = {
		inline_script = councilor_leader_weights
	}
}

councilor_grand_vessel = {
	leader_class = { scientist official }

	is_leader_possible = {
		OR = {
			leader_class = scientist
			leader_class = official
		}
	}

	civic = civic_tankbound

	modifier = {
		bonus_automated_workforce_mult = 0.01
	}

	ai_hiring_weight = {
		inline_script = councilor_leader_weights
	}
}

#============
# Corporate
#============

councilor_executive_thrall_manager = {
	leader_class = { commander scientist official }

	is_leader_possible = {
		OR = {
			leader_class = commander
			leader_class = scientist
			leader_class = official
		}
	}

	civic = civic_entropy_drinkers_corporate

	modifier = {
		species_leader_exp_gain = 0.03
	}

	ai_hiring_weight = {
		inline_script = councilor_leader_weights
	}
}

councilor_secret_societies_corporate = {
	leader_class = { scientist official commander }
	is_leader_possible = {
		OR = {
			leader_class = scientist
			leader_class = official
			leader_class = commander
		}
	}
	civic = civic_secret_societies_corporate
	modifier = {
		add_base_country_intel = 1
		diplo_weight_mult = 0.01
		espionage_operation_speed_mult = 0.025
	}
	ai_hiring_weight = {
		inline_script = councilor_leader_weights
	}
}

councilor_executive_astrologist = {
	leader_class = { commander scientist official }

	is_leader_possible = {
		OR = {
			leader_class = commander
			leader_class = scientist
			leader_class = official
		}
	}

	civic = civic_corporate_superstitious_beliefs

	custom_tooltip = "councilor_executive_astrologist_effect_tooltip"

	modifier = {
		planet_bureaucrats_upkeep_mult = @sb_councilors_priest_upkeep_mult
		council_agenda_progress_speed = @sb_councilors_agenda_speed_mult
		cycle_positive_effects_bonus_mult = @sb_positive_effects_bonus
	}

	ai_hiring_weight = {
		inline_script = councilor_leader_weights
	}
}

councilor_test_marketer = {
	leader_class = { commander scientist official }

	is_leader_possible = {
		OR = {
			leader_class = commander
			leader_class = scientist
			leader_class = official
		}
	}

	civic = civic_twisted_experimenters_corporate

	modifier = {
		planet_test_subjects_produces_mult = 0.02
		experimental_testing_test_subjects_death = @experimental_testing_test_subject_councilor_death_mult
	}

	ai_hiring_weight = {
		inline_script = councilor_leader_weights
	}
}

councilor_chosen_corporate = {
	leader_class = { official }
	is_leader_possible = {
		leader_class = official
	}
	civic = civic_corporate_chosen
	modifier = {
		planet_bureaucrats_produces_mult = 0.01
	}

	ai_hiring_weight = {
		inline_script = councilor_leader_weights
	}
}

councilor_executive_vessel = {
	leader_class = { scientist official }

	is_leader_possible = {
		OR = {
			leader_class = scientist
			leader_class = official
		}
	}

	civic = civic_tankbound_corporate

	modifier = {
		bonus_automated_workforce_mult = 0.01
	}

	ai_hiring_weight = {
		inline_script = councilor_leader_weights
	}
}

#============
# Imperial
#============

councilor_ruler_imperial_transcendent = {
	leader_class = { official commander scientist }
	possible = { always = no }
	icon = "GFX_icon_councilor_ruler"
	modifier = {
		psionic_aura_effectiveness_mult = 0.03
	}
	triggered_country_modifier = {
		potential = {
			exists = this
			is_nomadic = yes
		}
		commercial_pacts_upkeep_mult = -0.05
		waystation_pacts_upkeep_mult = -0.05
	}
	ai_hiring_weight = {
		inline_script = councilor_leader_weights
	}
}
