SBI_KANARIS_MILITARY_SET = {
	set_variable = { SBI_KANARIS_MILITARY_MODIFIER_army_attack_factor = var:KANARIS_military_Progress }
	set_variable = { SBI_KANARIS_MILITARY_MODIFIER_army_morale_factor = var:KANARIS_military_Progress }
	set_variable = { SBI_KANARIS_MILITARY_MODIFIER_coordination_bonus = var:KANARIS_military_Progress }
	set_variable = { SBI_KANARIS_MILITARY_MODIFIER_experience_gain_army_unit_factor = var:KANARIS_military_Progress }
	
	
	add_to_variable = { SBI_KANARIS_MILITARY_MODIFIER_army_attack_factor = -5 }
	add_to_variable = { SBI_KANARIS_MILITARY_MODIFIER_army_morale_factor = -30 }
	add_to_variable = { SBI_KANARIS_MILITARY_MODIFIER_coordination_bonus = -45 }
	add_to_variable = { SBI_KANARIS_MILITARY_MODIFIER_experience_gain_army_unit_factor = -60 }
	
	multiply_variable = { SBI_KANARIS_MILITARY_MODIFIER_army_attack_factor = 0.003 }
	multiply_variable = { SBI_KANARIS_MILITARY_MODIFIER_army_morale_factor = 0.003 }
	multiply_variable = { SBI_KANARIS_MILITARY_MODIFIER_coordination_bonus = 0.002 }
	multiply_variable = { SBI_KANARIS_MILITARY_MODIFIER_experience_gain_army_unit_factor = 0.002 }
}

SBI_KANARIS_MILITARY_plus = {
	custom_effect_tooltip = SBI_KANARIS_MILITARY_plus_tt
	clamp_variable = { var = KANARIS_military_Progress min = 0 max = 100 }
	round_variable = KANARIS_military_Progress
	SBI_KANARIS_MILITARY_SET = yes
}

SBI_KANARIS_MILITARY_minus = {
	custom_effect_tooltip = SBI_KANARIS_MILITARY_minus_tt
	clamp_variable = { var = KANARIS_military_Progress min = 0 max = 100 }
	round_variable = KANARIS_military_Progress
	SBI_KANARIS_MILITARY_SET = yes
}


SBI_KANARIS_LEGITIMACY_SET = {
	set_variable = { SBI_KANARIS_LEGITIMACY_MODIFIER_stability_factor = var:KANARIS_stabilization_Progress }
	set_variable = { SBI_KANARIS_LEGITIMACY_MODIFIER_production_speed_industrial_complex_factor = var:KANARIS_stabilization_Progress }
	set_variable = { SBI_KANARIS_LEGITIMACY_MODIFIER_supply_consumption_factor = var:KANARIS_stabilization_Progress }
	
	
	add_to_variable = { SBI_KANARIS_LEGITIMACY_MODIFIER_stability_factor = -30 }
	add_to_variable = { SBI_KANARIS_LEGITIMACY_MODIFIER_production_speed_industrial_complex_factor = -30 }
	add_to_variable = { SBI_KANARIS_LEGITIMACY_MODIFIER_supply_consumption_factor = -65 }
	
	multiply_variable = { SBI_KANARIS_LEGITIMACY_MODIFIER_stability_factor = 0.005 }
	multiply_variable = { SBI_KANARIS_LEGITIMACY_MODIFIER_production_speed_industrial_complex_factor = 0.001 }
	multiply_variable = { SBI_KANARIS_LEGITIMACY_MODIFIER_supply_consumption_factor = 0.001 }
}

SBI_KANARIS_LEGITIMACY_plus = {
	custom_effect_tooltip = SBI_KANARIS_LEGITIMACY_plus_tt
	clamp_variable = { var = KANARIS_stabilization_Progress min = 0 max = 100 }
	round_variable = KANARIS_stabilization_Progress
	SBI_KANARIS_LEGITIMACY_SET = yes
}

SBI_KANARIS_LEGITIMACY_minus = {
	custom_effect_tooltip = SBI_KANARIS_LEGITIMACY_minus_tt
	clamp_variable = { var = KANARIS_stabilization_Progress min = 0 max = 100 }
	round_variable = KANARIS_stabilization_Progress
	SBI_KANARIS_LEGITIMACY_SET = yes
}


SBI_KANARIS_POWER_SET = {
	set_variable = { SBI_KANARIS_POWER_MODIFIER_party_popularity_stability_factor = var:KANARIS_power_Progress }
	set_variable = { SBI_KANARIS_POWER_MODIFIER_political_power_factor = var:KANARIS_power_Progress }
	set_variable = { SBI_KANARIS_POWER_MODIFIER_resistance_activity = var:KANARIS_power_Progress }
	
	
	add_to_variable = { SBI_KANARIS_POWER_MODIFIER_party_popularity_stability_factor = -50 }
	add_to_variable = { SBI_KANARIS_POWER_MODIFIER_political_power_factor = -25 }
	add_to_variable = { SBI_KANARIS_POWER_MODIFIER_resistance_activity = -65 }
	
	multiply_variable = { SBI_KANARIS_POWER_MODIFIER_party_popularity_stability_factor = 0.003 }
	multiply_variable = { SBI_KANARIS_POWER_MODIFIER_political_power_factor = 0.007 }
	multiply_variable = { SBI_KANARIS_POWER_MODIFIER_resistance_activity = -0.002 }
}

SBI_KANARIS_POWER_plus = {
	custom_effect_tooltip = SBI_KANARIS_POWER_plus_tt
	clamp_variable = { var = KANARIS_power_Progress min = 0 max = 100 }
	round_variable = KANARIS_power_Progress
	SBI_KANARIS_POWER_SET = yes
}

SBI_KANARIS_POWER_minus = {
	custom_effect_tooltip = SBI_KANARIS_POWER_minus_tt
	clamp_variable = { var = KANARIS_power_Progress min = 0 max = 100 }
	round_variable = KANARIS_power_Progress
	SBI_KANARIS_POWER_SET = yes
}


SBI_GER_STABILITY_MODIFIER_SET = {
	
	
	set_variable = { SBI_GER_STABILITY_MODIFIER_political_power_factor = var:SBI.Germany_stability_Progress }
	set_variable = { SBI_GER_STABILITY_MODIFIER_resistance_activity = var:SBI.Germany_stability_Progress }
	set_variable = { SBI_GER_STABILITY_MODIFIER_army_attack_factor = var:SBI.Germany_stability_Progress }
	set_variable = { SBI_GER_STABILITY_MODIFIER_army_morale_factor = var:SBI.Germany_stability_Progress }
	set_variable = { SBI_GER_STABILITY_MODIFIER_stability_factor = var:SBI.Germany_stability_Progress }
	set_variable = { SBI_GER_STABILITY_MODIFIER_consumer_goods_factor = var:SBI.Germany_stability_Progress }
	
	add_to_variable = { SBI_GER_STABILITY_MODIFIER_political_power_factor = -95 }
	add_to_variable = { SBI_GER_STABILITY_MODIFIER_resistance_activity = -100 }
	add_to_variable = { SBI_GER_STABILITY_MODIFIER_army_attack_factor = -95 }
	add_to_variable = { SBI_GER_STABILITY_MODIFIER_army_morale_factor = -95 }
	add_to_variable = { SBI_GER_STABILITY_MODIFIER_stability_factor = -100 }
	add_to_variable = { SBI_GER_STABILITY_MODIFIER_consumer_goods_factor = -100 }
	
	multiply_variable = { SBI_GER_STABILITY_MODIFIER_political_power_factor = 0.002 }
	multiply_variable = { SBI_GER_STABILITY_MODIFIER_resistance_activity = -0.006 }
	multiply_variable = { SBI_GER_STABILITY_MODIFIER_army_attack_factor = 0.004 }
	multiply_variable = { SBI_GER_STABILITY_MODIFIER_army_morale_factor = 0.004 }
	multiply_variable = { SBI_GER_STABILITY_MODIFIER_stability_factor = 0.005 }
	multiply_variable = { SBI_GER_STABILITY_MODIFIER_consumer_goods_factor = -0.003 }
}