# Comprehensive Sandbox Control - overhaul detection
#
# One trigger per supported overhaul, using stable evidence (no descriptor
# dependency, no load-order guessing). These are evaluated live wherever a
# capability trigger is checked (menu time), so detection is independent of
# on_startup ordering between mods. Adding an overhaul = append one trigger
# here; see docs/superpowers/plans/2026-06-19-mod-compatibility-adapters-implementation.md.

# Old World Blues: detected via OWB's own caps-system flag, which OWB sets when
# its caps game rule is on. Flags are parse-safe in vanilla (an unset flag just
# returns false), unlike a reference to an OWB-only country tag/resource token.
csc_detect_owb = {
	has_global_flag = caps_enabled_global_flag
}

# Millennium Dawn: MD gives every country a `treasury` money variable at
# startup; vanilla has none. Checked on the current country scope.
csc_detect_md = {
	has_variable = treasury
}
