# Comprehensive Sandbox Control - overhaul currency decisions
#
# Adjust the detected overhaul's currency (OWB caps / MD money) through the
# generic csc_hook_adjust_currency dispatch. The category is hidden unless a
# currency-providing overhaul is detected, so these never appear in vanilla.
# Repeatable one-shots, like the other economy decisions.

csc_currency_category = {

	csc_currency_add_small = {
		cost = 0
		fire_only_once = no
		days_remove = 0
		days_re_enable = 0
		visible = { csc_is_human_controlled = yes }
		available = { csc_is_human_controlled = yes }
		complete_effect = {
			set_temp_variable = { csc_currency_delta = 1000 }
			csc_hook_adjust_currency = yes
		}
		ai_will_do = { factor = 0 }
	}

	csc_currency_add_medium = {
		cost = 0
		fire_only_once = no
		days_remove = 0
		days_re_enable = 0
		visible = { csc_is_human_controlled = yes }
		available = { csc_is_human_controlled = yes }
		complete_effect = {
			set_temp_variable = { csc_currency_delta = 10000 }
			csc_hook_adjust_currency = yes
		}
		ai_will_do = { factor = 0 }
	}

	csc_currency_add_large = {
		cost = 0
		fire_only_once = no
		days_remove = 0
		days_re_enable = 0
		visible = { csc_is_human_controlled = yes }
		available = { csc_is_human_controlled = yes }
		complete_effect = {
			set_temp_variable = { csc_currency_delta = 100000 }
			csc_hook_adjust_currency = yes
		}
		ai_will_do = { factor = 0 }
	}

	csc_currency_remove_small = {
		cost = 0
		fire_only_once = no
		days_remove = 0
		days_re_enable = 0
		visible = { csc_is_human_controlled = yes }
		available = { csc_is_human_controlled = yes }
		complete_effect = {
			set_temp_variable = { csc_currency_delta = -1000 }
			csc_hook_adjust_currency = yes
		}
		ai_will_do = { factor = 0 }
	}

	csc_currency_remove_medium = {
		cost = 0
		fire_only_once = no
		days_remove = 0
		days_re_enable = 0
		visible = { csc_is_human_controlled = yes }
		available = { csc_is_human_controlled = yes }
		complete_effect = {
			set_temp_variable = { csc_currency_delta = -10000 }
			csc_hook_adjust_currency = yes
		}
		ai_will_do = { factor = 0 }
	}

	csc_currency_remove_large = {
		cost = 0
		fire_only_once = no
		days_remove = 0
		days_re_enable = 0
		visible = { csc_is_human_controlled = yes }
		available = { csc_is_human_controlled = yes }
		complete_effect = {
			set_temp_variable = { csc_currency_delta = -100000 }
			csc_hook_adjust_currency = yes
		}
		ai_will_do = { factor = 0 }
	}
}
