﻿##############################################
# Player decision: Low Stability Event Management
# Opens the compact event-based frequency manager.
##############################################

riseandfall_low_stability_event_manager = {
	picture = { reference = "gfx/interface/illustrations/decisions/decision_misc.dds" }
	sort_order = 30
	ai_check_interval = 0
	desc = riseandfall_low_stability_event_manager_desc
	selection_tooltip = riseandfall_low_stability_event_manager_tooltip
	decision_group_type = riseandfall

	is_shown = {
		is_ai = no
		has_game_rule = riseandfall_low_stability_events_enabled
		NOT = { exists = global_var:riseandfall_hide_other_decisions }
	}

	is_valid = { is_ai = no }

	effect = {
		# Discard a stale detail selection before rebuilding the overview.
		remove_variable = rf_low_stability_manager_category
		trigger_event = riseandfall_low_stability_manager.0001
	}

	ai_potential = {}
	ai_will_do = { base = 0 }
}
