SBI_pokryshkin_PHOENIX_cons = {
	clamp_variable = {
		var = NOV_Fenix_power_Progress
		min = 0
		max = 100
	}
	clamp_variable = {
		var = NOV_Fenix_loyalty_Progress
		min = 0
		max = 100
	}
	set_variable = { SBI_PHOENIX_MODIFIER_defence = NOV_Fenix_power_Progress }
	set_variable = { SBI_PHOENIX_MODIFIER_attack = NOV_Fenix_power_Progress }
	set_variable = { SBI_PHOENIX_MODIFIER_efficiency_gain = NOV_Fenix_power_Progress }
	set_variable = { SBI_PHOENIX_MODIFIER_start_efficiency = NOV_Fenix_power_Progress }
	set_variable = { SBI_PHOENIX_MODIFIER_political_power = NOV_Fenix_loyalty_Progress }
	add_to_variable = { SBI_PHOENIX_MODIFIER_political_power = -65 }
	
	multiply_variable = { SBI_PHOENIX_MODIFIER_defence = 0.003 }
	multiply_variable = { SBI_PHOENIX_MODIFIER_attack = 0.004 }
	multiply_variable = { SBI_PHOENIX_MODIFIER_efficiency_gain = 0.005 }
	multiply_variable = { SBI_PHOENIX_MODIFIER_start_efficiency = 0.002 }
	multiply_variable = { SBI_PHOENIX_MODIFIER_political_power = 0.002 }
}

SBI_pokryshkin_SIBIR_cons = {
	clamp_variable = {
		var = NOV_Sibir_power_Progress
		min = 0
		max = 100
	}
	clamp_variable = {
		var = NOV_Sibir_loyalty_Progress
		min = 0
		max = 100
	}
	
	set_variable = { SBI_SIBIR_MODIFIER_consumer = NOV_Sibir_loyalty_Progress }
	set_variable = { SBI_SIBIR_MODIFIER_speed = NOV_Sibir_power_Progress }
	set_variable = { SBI_SIBIR_MODIFIER_boost = NOV_Sibir_power_Progress }
	set_variable = { SBI_SIBIR_MODIFIER_political_power = NOV_Sibir_loyalty_Progress }
	add_to_variable = { SBI_SIBIR_MODIFIER_political_power = -65 }

	multiply_variable = { SBI_SIBIR_MODIFIER_consumer = 0.002 }
	multiply_variable = { SBI_SIBIR_MODIFIER_speed = 0.004 }
	multiply_variable = { SBI_SIBIR_MODIFIER_boost = 0.003 }
	multiply_variable = { SBI_SIBIR_MODIFIER_political_power = 0.002 }
}

SBI_pokryshkin_TITAN_cons = {
	clamp_variable = {
		var = NOV_Titan_power_Progress
		min = 0
		max = 100
	}
	clamp_variable = {
		var = NOV_Titan_loyalty_Progress
		min = 0
		max = 100
	}
	
	set_variable = { SBI_TITAN_MODIFIER_recources = NOV_Titan_power_Progress }
	set_variable = { SBI_TITAN_MODIFIER_research = NOV_Titan_power_Progress }
	set_variable = { SBI_TITAN_MODIFIER_industrial = NOV_Titan_power_Progress }
	set_variable = { SBI_TITAN_MODIFIER_political_power = NOV_Titan_loyalty_Progress }
	add_to_variable = { SBI_TITAN_MODIFIER_political_power = -65 }
	
	multiply_variable = { SBI_TITAN_MODIFIER_recources = 0.002 }
	multiply_variable = { SBI_TITAN_MODIFIER_research = 0.004 }
	multiply_variable = { SBI_TITAN_MODIFIER_industrial = 0.003 }
	multiply_variable = { SBI_TITAN_MODIFIER_political_power = 0.001 }
}

SBI_pokryshkin_PEOPLE_cons = {
	clamp_variable = {
		var = NOV_People_power_Progress
		min = 0
		max = 100
	}
	clamp_variable = {
		var = NOV_People_loyalty_Progress
		min = 0
		max = 100
	}
	
	set_variable = { SBI_PEOPLE_MODIFIER_political_power_factor = NOV_People_loyalty_Progress }
	set_variable = { SBI_PEOPLE_MODIFIER_trade_opinion_factor = NOV_People_power_Progress }
	set_variable = { SBI_PEOPLE_MODIFIER_party_popularity_stability_factor = NOV_People_power_Progress }
	set_variable = { SBI_PEOPLE_MODIFIER_party_popularity_war_support_factor = NOV_People_power_Progress }
	set_variable = { SBI_PEOPLE_MODIFIER_stability_factor = NOV_People_loyalty_Progress }
	set_variable = { SBI_PEOPLE_MODIFIER_army_morale_factor = NOV_People_loyalty_Progress }
	
	add_to_variable = { SBI_PEOPLE_MODIFIER_stability_factor = -50 }
	add_to_variable = { SBI_PEOPLE_MODIFIER_army_morale_factor = -50 }
	add_to_variable = { SBI_PEOPLE_MODIFIER_political_power_factor = -45 }
	
	multiply_variable = { SBI_PEOPLE_MODIFIER_political_power_factor = 0.01 }
	multiply_variable = { SBI_PEOPLE_MODIFIER_trade_opinion_factor = 0.005 }
	multiply_variable = { SBI_PEOPLE_MODIFIER_party_popularity_stability_factor = 0.003 }
	multiply_variable = { SBI_PEOPLE_MODIFIER_party_popularity_war_support_factor = 0.003 }
	multiply_variable = { SBI_PEOPLE_MODIFIER_stability_factor = 0.002 }
	multiply_variable = { SBI_PEOPLE_MODIFIER_army_morale_factor = 0.002 }
}

SBI_pokryshkin_PHOENIX_plus_10 = {

	custom_effect_tooltip = SBI_pokryshkin_PHOENIX_plus_10_tt
	add_to_variable = { NOV_Fenix_power_Progress = 10 }
	
	SBI_pokryshkin_PHOENIX_cons = yes
}

SBI_pokryshkin_SIBIR_plus_10 = {

	custom_effect_tooltip = SBI_pokryshkin_SIBIR_plus_10_tt
	add_to_variable = { NOV_Sibir_power_Progress = 10 }
	
	SBI_pokryshkin_SIBIR_cons = yes
}

SBI_pokryshkin_TITAN_plus_10 = {

	custom_effect_tooltip = SBI_pokryshkin_TITAN_plus_10_tt
	add_to_variable = { NOV_Titan_power_Progress = 10 }
	
	SBI_pokryshkin_TITAN_cons = yes
}

SBI_pokryshkin_PEOPLE_plus_10 = {

	custom_effect_tooltip = SBI_pokryshkin_PEOPLE_plus_10_tt
	add_to_variable = { NOV_People_power_Progress = 10 }
	
	SBI_pokryshkin_PEOPLE_cons = yes
}


SBI_pokryshkin_PHOENIX_plus_5 = {

	custom_effect_tooltip = SBI_pokryshkin_PHOENIX_plus_5_tt
	add_to_variable = { NOV_Fenix_power_Progress = 5 }
	
	SBI_pokryshkin_PHOENIX_cons = yes
}

SBI_pokryshkin_SIBIR_plus_5 = {

	custom_effect_tooltip = SBI_pokryshkin_SIBIR_plus_5_tt
	add_to_variable = { NOV_Sibir_power_Progress = 5 }
	
	SBI_pokryshkin_SIBIR_cons = yes
}

SBI_pokryshkin_TITAN_plus_5 = {

	custom_effect_tooltip = SBI_pokryshkin_TITAN_plus_5_tt
	add_to_variable = { NOV_Titan_power_Progress = 5 }
	
	SBI_pokryshkin_TITAN_cons = yes
}

SBI_pokryshkin_PEOPLE_plus_5 = {

	custom_effect_tooltip = SBI_pokryshkin_PEOPLE_plus_5_tt
	add_to_variable = { NOV_People_power_Progress = 5 }
	
	SBI_pokryshkin_PEOPLE_cons = yes
}

SBI_pokryshkin_PHOENIX_minus_5 = {

	custom_effect_tooltip = SBI_pokryshkin_PHOENIX_minus_5_tt
	add_to_variable = { NOV_Fenix_power_Progress = -5 }
	
	SBI_pokryshkin_PHOENIX_cons = yes
}

SBI_pokryshkin_SIBIR_minus_5 = {

	custom_effect_tooltip = SBI_pokryshkin_SIBIR_minus_5_tt
	add_to_variable = { NOV_Sibir_power_Progress = -5 }
	
	SBI_pokryshkin_SIBIR_cons = yes
}

SBI_pokryshkin_TITAN_minus_5 = {

	custom_effect_tooltip = SBI_pokryshkin_TITAN_minus_5_tt
	add_to_variable = { NOV_Titan_power_Progress = -5 }
	
	SBI_pokryshkin_TITAN_cons = yes
}

SBI_pokryshkin_PEOPLE_minus_5 = {

	custom_effect_tooltip = SBI_pokryshkin_PEOPLE_minus_5_tt
	add_to_variable = { NOV_People_power_Progress = -5 }
	
	SBI_pokryshkin_PEOPLE_cons = yes
}


SBI_pokryshkin_PHOENIX_loyalty_plus_5 = {

	custom_effect_tooltip = SBI_pokryshkin_PHOENIX_loyalty_plus_5_tt
	add_to_variable = { NOV_Fenix_loyalty_Progress = 5 }
	
	SBI_pokryshkin_PHOENIX_cons = yes
}

SBI_pokryshkin_SIBIR_loyalty_plus_5 = {

	custom_effect_tooltip = SBI_pokryshkin_SIBIR_loyalty_plus_5_tt
	add_to_variable = { NOV_Sibir_loyalty_Progress = 5 }
	
	SBI_pokryshkin_SIBIR_cons = yes
}

SBI_pokryshkin_TITAN_loyalty_plus_5 = {

	custom_effect_tooltip = SBI_pokryshkin_TITAN_loyalty_plus_5_tt
	add_to_variable = { NOV_Titan_loyalty_Progress = 5 }
	
	SBI_pokryshkin_TITAN_cons = yes
}

SBI_pokryshkin_PEOPLE_loyalty_plus_5 = {

	custom_effect_tooltip = SBI_pokryshkin_PEOPLE_loyalty_plus_5_tt
	add_to_variable = { NOV_People_loyalty_Progress = 5 }
	
	SBI_pokryshkin_PEOPLE_cons = yes
}

SBI_pokryshkin_PHOENIX_loyalty_minus_5 = {

	custom_effect_tooltip = SBI_pokryshkin_PHOENIX_loyalty_minus_5_tt
	add_to_variable = { NOV_Fenix_loyalty_Progress = -5 }
	
	SBI_pokryshkin_PHOENIX_cons = yes
}

SBI_pokryshkin_SIBIR_loyalty_minus_5 = {

	custom_effect_tooltip = SBI_pokryshkin_SIBIR_loyalty_minus_5_tt
	add_to_variable = { NOV_Sibir_loyalty_Progress = -5 }
	
	SBI_pokryshkin_SIBIR_cons = yes
}

SBI_pokryshkin_TITAN_loyalty_minus_5 = {

	custom_effect_tooltip = SBI_pokryshkin_TITAN_loyalty_minus_5_tt
	add_to_variable = { NOV_Titan_loyalty_Progress = -5 }
	
	SBI_pokryshkin_TITAN_cons = yes
}

SBI_pokryshkin_PEOPLE_loyalty_minus_5 = {

	custom_effect_tooltip = SBI_pokryshkin_PEOPLE_loyalty_minus_5_tt
	add_to_variable = { NOV_People_loyalty_Progress = -5 }
	
	SBI_pokryshkin_PEOPLE_cons = yes
}