# Core Overdrive: starts the Core Temperature situation (one-shot)

apb_engage_overdrive = {
	length = 1
	icon = "GFX_edict_type_policy"

	resources = {
		category = edicts
	}

	potential = {
		has_ascension_perk = ap_core_overdrive
	}

	allow = {
		custom_tooltip = {
			fail_text = apb_overdrive_already_running
			NOT = {
				any_situation = { is_situation_type = apb_situation_core_overdrive }
			}
		}
		custom_tooltip = {
			fail_text = apb_overdrive_locked_fail
			NOT = { has_country_flag = apb_overdrive_locked }
		}
	}

	effect = {
		start_situation = {
			type = apb_situation_core_overdrive
			target = root
		}
	}

	ai_weight = {
		weight = 0
	}
}
