# Comprehensive Sandbox Control - Diplomacy buff family
# Generated for Task 8. Law-style slot, five tiers (Off default, ai_will_do 0,
# free switching). Values from docs/cheat-catalog.md Section 1.

ideas = {
	csc_buff_diplomacy = {
		law = yes
		use_list_view = yes

		csc_buff_diplomacy_off = {
			picture = unknown
			default = yes
			cost = 0
			removal_cost = -1
			cancel_if_invalid = no
			allowed = { always = yes }
			available = { csc_is_human_controlled = yes }
			ai_will_do = { factor = 0 }
		}

		csc_buff_diplomacy_low = {
			picture = generic_flexible_foreign_policy
			cost = 0
			removal_cost = -1
			cancel_if_invalid = no
			allowed = { always = yes }
			available = { csc_is_human_controlled = yes }
			ai_will_do = { factor = 0 }
			modifier = {
				opinion_gain_monthly_factor = 0.25
				opinion_gain_monthly_same_ideology_factor = 0.25
				generate_wargoal_tension = -0.25
				join_faction_tension = -0.25
				send_volunteers_tension = -0.25
				guarantee_tension = -0.25
				lend_lease_tension = -0.25
				improve_relations_maintain_cost_factor = -0.25
			}
		}

		csc_buff_diplomacy_medium = {
			picture = generic_flexible_foreign_policy
			cost = 0
			removal_cost = -1
			cancel_if_invalid = no
			allowed = { always = yes }
			available = { csc_is_human_controlled = yes }
			ai_will_do = { factor = 0 }
			modifier = {
				opinion_gain_monthly_factor = 0.5
				opinion_gain_monthly_same_ideology_factor = 0.5
				generate_wargoal_tension = -0.5
				join_faction_tension = -0.5
				send_volunteers_tension = -0.5
				guarantee_tension = -0.5
				lend_lease_tension = -0.5
				improve_relations_maintain_cost_factor = -0.5
			}
		}

		csc_buff_diplomacy_high = {
			picture = generic_flexible_foreign_policy
			cost = 0
			removal_cost = -1
			cancel_if_invalid = no
			allowed = { always = yes }
			available = { csc_is_human_controlled = yes }
			ai_will_do = { factor = 0 }
			modifier = {
				opinion_gain_monthly_factor = 1
				opinion_gain_monthly_same_ideology_factor = 1
				generate_wargoal_tension = -0.75
				join_faction_tension = -0.75
				send_volunteers_tension = -0.75
				guarantee_tension = -0.75
				lend_lease_tension = -0.75
				improve_relations_maintain_cost_factor = -0.75
			}
		}

		csc_buff_diplomacy_extreme = {
			picture = generic_flexible_foreign_policy
			cost = 0
			removal_cost = -1
			cancel_if_invalid = no
			allowed = { always = yes }
			available = { csc_is_human_controlled = yes }
			ai_will_do = { factor = 0 }
			modifier = {
				opinion_gain_monthly_factor = 2
				opinion_gain_monthly_same_ideology_factor = 2
				generate_wargoal_tension = -0.95
				join_faction_tension = -0.95
				send_volunteers_tension = -0.95
				guarantee_tension = -0.95
				lend_lease_tension = -0.95
				improve_relations_maintain_cost_factor = -0.95
			}
		}

	}
}
