
namespace = astral_rift


country_event = {
	id = astral_rift.3031
	title = astral_rift.3031.name
	desc = astral_rift.3031.desc
	show_sound = event_custodian_greeting
	is_triggered_only = yes

	picture = GFX_leader_recruitment_bg_renowned
	event_window_type = leader_recruit
	notification_event_icon = "GFX_message_leader_recruitment_lysator"

	immediate = {
		ethic_leader_creator = {
			SPECIES_CLASS = PLANT
			LEADER_PORTRAIT = pla16_baol
			CLASS = commander
			TIER = leader_tier_renowned
			NAME = NAME_Baol_leader
			LEVEL = 5
			GENDER = indeterminable
			IMMORTAL = yes
			ETHIC = gestalt_consciousness
			DESC = baol_leader_desc
			CATCH_PHRASE = baol_leader_catch_phrase
		}
		last_created_leader = {
			add_trait = {
				trait = leader_trait_taskmaster
				consume_selection = yes
			}
			add_trait = {
				trait = subclass_commander_governor
				consume_selection = yes
			}
			add_trait = {
				trait = leader_trait_conscripter_2
				consume_selection = yes
			}
			add_trait = {
				trait = leader_trait_farming_focus
				consume_selection = yes
			}
			add_trait = {
				trait = leader_trait_lawless_2
				consume_selection = yes
			}
			add_trait = {
				trait = leader_trait_agrarian_upbringing
				consume_selection = no
			}
		}
	}

	picture_event_data = {
		portrait = event_target:ethic_leader
		room = ethic_spaceship_room
	}

	option = {
		name = astral_rift.3031.a
		response_text = astral_rift.3031.a.response
		is_dialog_only = yes
	}
	option = {
		name = astral_rift.3031.b
		response_text = astral_rift.3031.b.response
		is_dialog_only = yes
	}
	option = {
		name = astral_rift.3031.c
		response_text = astral_rift.3031.c.response
		is_dialog_only = yes
	}
	option = {
		name = astral_rift.3031.d
		response_text = astral_rift.3031.d.response
		is_dialog_only = yes
	}
	option = {
		name = HIRE
		tag = hire_leader
		hire_event_leader_effect = {
			LEADER = ethic_leader
		}
	}
	option = {
		name = DISMISS
		tag = dismiss_leader
		hidden_effect = {
			ethic_leader_kill_effect = yes
		}
	}
}
