update_ERI_integration_acceptance = { set_temp_variable = { a = ETH_amharic_speakers } set_temp_variable = { b = ETH_propaganda_distribution } set_temp_variable = { c = ETH_crackdown_on_bozos } subtract_from_temp_variable = { a = 20 } multiply_temp_variable = { a = 0.1 } subtract_from_temp_variable = { b = 20 } multiply_temp_variable = { b = 0.1 } subtract_from_temp_variable = { c = 20 } multiply_temp_variable = { c = 0.1 } add_to_temp_variable = { a = b } add_to_temp_variable = { a = c } add_to_variable = { var = ETH_eritrean_acceptance value = a } clamp_variable = { var = ETH_eritrean_acceptance min = 0 max = 100 } } update_ERI_federalisation_levels = { set_temp_variable = { a = ETH_amharic_speakers } set_temp_variable = { b = ETH_propaganda_distribution } set_temp_variable = { c = ETH_crackdown_on_bozos } subtract_from_temp_variable = { a = 20 } multiply_temp_variable = { a = 0.1 } subtract_from_temp_variable = { b = 20 } multiply_temp_variable = { b = 0.1 } subtract_from_temp_variable = { c = 20 } multiply_temp_variable = { c = 0.1 } add_to_temp_variable = { a = b } add_to_temp_variable = { a = c } add_to_variable = { var = ETH_eritrean_federation_process value = a } clamp_variable = { var = ETH_eritrean_federation_process min = 0 max = 100 } } update_ETH_eritrean_federation_process = { custom_effect_tooltip = update_ETH_eritrean_federation_process_TT add_to_variable = { ETH_eritrean_federation_process = ETH_federation_process_change } clamp_variable = { var = ETH_eritrean_federation_process min = 0 max = 100 } } update_ETH_amharic_speakers = { custom_effect_tooltip = update_ETH_amharic_speakers_TT add_to_variable = { ETH_amharic_speakers = ETH_amharic_change } clamp_variable = { var = ETH_amharic_speakers min = 0 max = 100 } } update_ETH_propaganda_distribution = { custom_effect_tooltip = update_ETH_propaganda_distribution_TT add_to_variable = { ETH_propaganda_distribution = ETH_propaganda_change } clamp_variable = { var = ETH_propaganda_distribution min = 0 max = 100 } } update_ETH_bozo_crackdown = { custom_effect_tooltip = update_ETH_bozo_crackdown_TT add_to_variable = { ETH_crackdown_on_bozos = ETH_crackdown_change } clamp_variable = { var = ETH_crackdown_on_bozos min = 0 max = 100 } } # ERITREAN STUFF # stashing this here until they need a file of their own