#scripted_diplomatic_actions = {
	#####################################################################################################################
	# COMMENTS HAVE BEEN INCLUDED FOR SAKE OF EXPLANATION, CAN BE REMOVED #
	# > REMEMBER < the default scope in this file is the TARGET COUNTRY! NOT THE COUNTRY SENDING THE DIPLOMATIC REQUEST #
	#####################################################################################################################
	
	### SEND AMMO
	send_ammo = {
		
		#### CONDITIONS TO USE/SEE ACTION ###
		
		allowed = {		#	Used for the send window, if not true player/AI wont be able to send the diplomatic request even if can_be_sent is true.
		}
		visible = {		#	Conditions to make this diplomatic action appear in the diplomacy screen.
		}
		selectable = {	#	Conditions to allow player/AI to click the option in the diplomacy screen, this is what the player sees as "prerequisets" to use this action. Must be at least a major power.
		}
		
		cost = 10		# The cost to execute this diplomatic action, by default is political power

		requires_acceptance = no		#	Does this diplomatic request requires acceptance, if set to NO reject_effect is invalid
		show_acceptance_on_action_button = no #	Should accept/decline tooltip be shown in the user interface when using this diplomatic action on AI countries		

		#### ACTION LOCALISATION ###

		send_description = SEND_AMMO_LOC		# The text the country that is executing the diplomatic action sees.
		receive_description = SEND_AMMO_RECIEVER_LOC	# The text the target country sees when recieving the diplomation action.


		#### EFFECTS ###		

		on_sent_effect = {		#	An effect that can be applied when sending the diplomatic action.
		}
		complete_effect = {		#	An effect that can be applied the action is ACCEPTED (accepted always if requires_acceptance is set to NO)
			THIS = { 
				set_variable = { ammunition_daily = -50 }

				# base gain
				set_variable = { modifier_gain = modifier@daily_ammunition_gain }
				divide_variable = { modifier_gain = 1000 }
				add_to_variable = { ammunition_daily = modifier_gain }

				# factor
				set_variable = { ammunition_factor_calc = 1 }
				add_to_variable = { ammunition_factor_calc = modifier@ammunition_factor }
				clamp_variable = { 
					var = ammunition_factor_calc 
					min = 0 
					#max = 0
			}
			ROOT = { 
				set_variable = { ammunition_daily = 50 }

				# base gain
				set_variable = { modifier_gain = modifier@daily_ammunition_gain }
				divide_variable = { modifier_gain = 1000 }
				add_to_variable = { ammunition_daily = modifier_gain }

				# factor
				set_variable = { ammunition_factor_calc = 1 }
				add_to_variable = { ammunition_factor_calc = modifier@ammunition_factor }
				clamp_variable = { 
					var = ammunition_factor_calc 
					min = 0 
					#max = 0
			}

			multiply_variable = { ammunition_daily = ammunition_factor_calc }


			add_to_variable = { ammunition_variable = ammunition_daily }
			}
		}
		reject_effect = {		#	An effect that can be applied the action is REJECTED (only valid if requires_acceptance is set to YES )
		}
		
		#### AI SECTION ###
		
		ai_desire = {		# AI modifiers to use this diplomatic action
			}
		ai_acceptance = {		# AI modifiers to accept this diplomatic action, not valid if requires_acceptance is set to NO.
		}
	}
	
	
}