# Comprehensive Sandbox Control - decision categories
#
# The controls category is always visible to a human player when the core is
# enabled, so "Show Cheat Decisions" is discoverable. It holds only the
# show/hide controls. The one-shot cheat categories added in later tasks gate
# their visibility on csc_cheats_visible (the csc_cheats_shown country flag), so
# they appear only after the player reveals the cheats.
#
# CSC does NOT use is_debug: it is a normal mod, not a debug-only tool.
# Icon reuses an existing engine category sprite (placeholder; original CSC art later).

csc_cheats_category = {
	icon = generic_research

	priority = 1000

	visible = {
		csc_core_enabled = yes
		csc_is_human_controlled = yes
	}
}

# One-shot cheat categories. Gated on csc_cheats_visible so they appear only
# after "Show Cheat Decisions". Icons reuse an existing engine sprite (placeholder).

csc_resources_category = {
	icon = generic_research

	priority = 990

	visible = {
		csc_core_enabled = yes
		csc_is_human_controlled = yes
		csc_cheats_visible = yes
	}
}

csc_core_capital_category = {
	icon = generic_research

	priority = 985

	visible = {
		csc_core_enabled = yes
		csc_is_human_controlled = yes
		csc_cheats_visible = yes
	}
}

csc_stockpiles_category = {
	icon = generic_research

	priority = 980

	visible = {
		csc_core_enabled = yes
		csc_is_human_controlled = yes
		csc_cheats_visible = yes
	}
}

csc_world_category = {
	icon = generic_research

	priority = 970

	visible = {
		csc_core_enabled = yes
		csc_is_human_controlled = yes
		csc_cheats_visible = yes
	}
}

csc_research_category = {
	icon = generic_research

	priority = 960

	visible = {
		csc_core_enabled = yes
		csc_is_human_controlled = yes
		csc_cheats_visible = yes
	}
}

csc_politics_category = {
	icon = generic_research

	priority = 945

	visible = {
		csc_core_enabled = yes
		csc_is_human_controlled = yes
		csc_cheats_visible = yes
	}
}

csc_industry_category = {
	icon = generic_research

	priority = 940

	visible = {
		csc_core_enabled = yes
		csc_is_human_controlled = yes
		csc_cheats_visible = yes
	}
}

csc_commanders_category = {
	icon = generic_research

	priority = 935

	visible = {
		csc_core_enabled = yes
		csc_is_human_controlled = yes
		csc_cheats_visible = yes
	}
}

# Overhaul currency (OWB caps / MD money). Shown only when a detected overhaul
# provides a currency CSC can adjust; absent in vanilla and in overhauls without
# a custom currency.
csc_currency_category = {
	icon = generic_research

	priority = 950

	visible = {
		csc_core_enabled = yes
		csc_is_human_controlled = yes
		csc_cheats_visible = yes
		csc_cap_has_custom_currency = yes
	}
}
