BRA_Livestock_Ranch_Setup_Money = {
	set_temp_variable = { BRA_Livestock_Country_Money_temp = BRA_Livestock_Country_Money }
	every_owned_state = {
		limit = {
			THIS = { has_dynamic_modifier = { modifier = BRA_Livestock_Ranch_Modifier } }
		}
		add_to_temp_variable = { BRA_Livestock_Country_Money_temp = BRA_Livestock_State_Money }
	}
	clear_variable = BRA_Livestock_Country_Money
	add_to_variable = { BRA_Livestock_Country_Money = BRA_Livestock_Country_Money_temp }
}

BRA_Coffee_Plantations_Setup_Money = {
	set_temp_variable = { BRA_Coffee_Country_Money_temp = BRA_Coffee_Country_Money }
	every_owned_state = {
		limit = {
			THIS = { has_dynamic_modifier = { modifier = BRA_Coffee_Plantations_Modifier } }
		}
		add_to_temp_variable = { BRA_Coffee_Country_Money_temp = BRA_Coffee_State_Money }
	}
	clear_variable = BRA_Coffee_Country_Money
	add_to_variable = { BRA_Coffee_Country_Money = BRA_Coffee_Country_Money_temp }
}

BRA_Sugar_Plantations_Setup_Money = {
	set_temp_variable = { BRA_Sugar_Country_Money_temp = BRA_Sugar_Country_Money }
	every_owned_state = {
		limit = {
			THIS = { has_dynamic_modifier = { modifier = BRA_Sugar_Plantations_Modifier } }
		}
		add_to_temp_variable = { BRA_Sugar_Country_Money_temp = BRA_Sugar_State_Money }
	}
	clear_variable = BRA_Sugar_Country_Money
	add_to_variable = { BRA_Sugar_Country_Money = BRA_Sugar_Country_Money_temp }
	
}

BRA_Tobacco_Plantations_Setup_Money = {
	set_temp_variable = { BRA_Tobacco_Country_Money_temp = BRA_Tobacco_Country_Money }
	every_owned_state = {
		limit = {
			THIS = { has_dynamic_modifier = { modifier = BRA_Tobacco_Plantations_Modifier } }
		}
		add_to_temp_variable = { BRA_Tobacco_Country_Money_temp = BRA_Tobacco_State_Money }
	}
	clear_variable = BRA_Tobacco_Country_Money
	add_to_variable = { BRA_Tobacco_Country_Money = BRA_Tobacco_Country_Money_temp }
}

BRA_Cocoa_Plantations_Setup_Money = {
	set_temp_variable = { BRA_Cocoa_Country_Money_temp = BRA_Cocoa_Country_Money }
	every_owned_state = {
		limit = {
			THIS = { has_dynamic_modifier = { modifier = BRA_Cocoa_Plantations_Modifier } }
		}
		add_to_temp_variable = { BRA_Cocoa_Country_Money_temp = BRA_Cocoa_State_Money }
	}
	clear_variable = BRA_Cocoa_Country_Money
	add_to_variable = { BRA_Cocoa_Country_Money = BRA_Cocoa_Country_Money_temp }
}