# usage:
## weekly_communism_drift_effect_from_monument = yes
weekly_communism_drift_effect_from_monument = {
	if = {
		limit = {
			NOT = { check_variable = { modifier@weekly_communism_drift_in_neighbors_and_subjects = 0 } }
			OR = {
				num_subjects > 0
				any_other_country = {
					is_neighbor_of = ROOT
				}
			}
		}
		set_temp_variable = { communism_change_temp = modifier@weekly_communism_drift_in_neighbors_and_subjects }
		divide_temp_variable = { communism_change_temp = 100 }
		every_other_country = {
			limit = {
				OR = {
					is_subject_of = ROOT
					is_neighbor_of = ROOT
				}
			}
			add_popularity = {
				ideology = communism
				popularity = communism_change_temp
			}
		}
	}
}