#	Example:
# 
#	example_effect = {
#		add_political_power = 66
#		add_popularity = {
#			ideology = fascism
#			popularity = 0.33
#		}
#	}
#
#
#	In a script file:
#
#	effect = {
#		example_effect = yes
#	}
#

#### Helper functions

pd_ai_will_take = {
	set_variable = { ROOT.pd_selected = 1 }
	add_state_to_list = yes
}

pd_ai_will_puppet = {
	set_variable = { ROOT.pd_selected = 2 }
	add_state_to_list = yes
}

pd_ai_will_demilitarize = {
	set_variable = { ROOT.pd_selected = 3 }
	add_state_to_list = yes
}

pd_ai_will_liberate = {
	set_variable = { ROOT.pd_selected = 4 }
	add_state_to_list = yes
}

####

pd_ai_prepare_peace_deal = {
	# root is the sender and this is receiver
	
	for_each_scope_loop = {
		array = ROOT.pd_state_list
		
		# TODO
	}
	
	# TODO
}
