# Scripted GUI Pie Chart example by Yard1
# Feel free to use in your mods, but give credits to Yard1 (both in code, with comments; and on your download page)

# This is just an example of how to update the pie chart, it does not need to be an on_action
on_actions = {
	on_daily = {
		effect = {
			if = {
				limit = {
					has_country_flag = wrs_influence_gui
				}
				create_pie_chart = yes
				WRS_influence_zhukov_var = yes
			}
		}
	}
}