scripted_gui = {

	dst_main_container_A = {
	
		context_type = selected_state_context
		
		window_name = "dst_main_container_A"
		
		visible = {
			ROOT = {
				is_ai = no
				has_global_flag = dst_A_enabled
				OR = {
					has_country_flag = tp_is_host
					NOT = {
						has_global_flag = tp_is_multiplayer
					}
				}
			}
		}

		triggers = {
		
			dst_marker_visible = {
				FROM.OWNER = {
					NOT = { has_country_flag = dst_marked }
				}
			}
			dst_unmarker_visible = {
				FROM.OWNER = { has_country_flag = dst_marked }
			}
			dst_unmark_all_click_enabled = {
				any_country = {
					has_country_flag = dst_marked
				}
			}
			dst_infantry_on_visible = {
				NOT = { has_global_flag = dst_infantry_enabled }
			}
			dst_infantry_off_visible = {
				has_global_flag = dst_infantry_enabled
			}
			dst_cavalry_on_visible = {
				NOT = { has_global_flag = dst_cavalry_enabled }
			}
			dst_cavalry_off_visible = {
				has_global_flag = dst_cavalry_enabled
			}
			dst_motorized_on_visible = {
				NOT = { has_global_flag = dst_motorized_enabled }
			}
			dst_motorized_off_visible = {
				has_global_flag = dst_motorized_enabled
			}
			dst_armor_on_visible = {
				NOT = { has_global_flag = dst_armor_enabled }
			}
			dst_armor_off_visible = {
				has_global_flag = dst_armor_enabled
			}
			dst_mech_on_visible = {
				NOT = { has_global_flag = dst_mech_enabled }
			}
			dst_mech_off_visible = {
				has_global_flag = dst_mech_enabled
			}
			dst_tankmech_on_visible = {
				NOT = {
					has_global_flag = dst_tankmech_enabled
				}
			}
			dst_tankmech_off_visible = {
				has_global_flag = dst_tankmech_enabled
			}
			dst_tankmot_on_visible = {
				NOT = {
					has_global_flag = dst_tankmot_enabled
				}
			}
			dst_tankmot_off_visible = {
				has_global_flag = dst_tankmot_enabled
			}
			dst_1_on_visible = {
				NOT = { has_global_flag = dst_1_battalion }
			}
			dst_1_off_visible = {
				has_global_flag = dst_1_battalion
			}
			dst_2_on_visible = {
				NOT = { has_global_flag = dst_2_battalions }
			}
			dst_2_off_visible = {
				has_global_flag = dst_2_battalions
			}
			dst_4_on_visible = {
				NOT = { has_global_flag = dst_4_battalions }
			}
			dst_4_off_visible = {
				has_global_flag = dst_4_battalions
			}
			dst_6_on_visible = {
				NOT = { has_global_flag = dst_6_battalions }
			}
			dst_6_off_visible = {
				has_global_flag = dst_6_battalions
			}
			dst_8_on_visible = {
				NOT = { has_global_flag = dst_8_battalions }
			}
			dst_8_off_visible = {
				has_global_flag = dst_8_battalions
			}
			dst_10_on_visible = {
				NOT = { has_global_flag = dst_10_battalions }
			}
			dst_10_off_visible = {
				has_global_flag = dst_10_battalions
			}
			dst_16_on_visible = {
				NOT = { has_global_flag = dst_16_battalions }
			}
			dst_16_off_visible = {
				has_global_flag = dst_16_battalions
			}
			dst_20_on_visible = {
				NOT = { has_global_flag = dst_20_battalions }
			}
			dst_20_off_visible = {
				has_global_flag = dst_20_battalions
			}
			dst_delete_button_click_enabled = {
				OR = {
					has_global_flag = dst_infantry_enabled
					has_global_flag = dst_cavalry_enabled
					has_global_flag = dst_motorized_enabled
					has_global_flag = dst_armor_enabled
					has_global_flag = dst_mech_enabled
					has_global_flag = dst_tankmech_enabled
					has_global_flag = dst_tankmot_enabled
				}
				OR = {
					has_global_flag = dst_1_battalion
					has_global_flag = dst_2_battalions
					has_global_flag = dst_4_battalions
					has_global_flag = dst_6_battalions
					has_global_flag = dst_8_battalions
					has_global_flag = dst_10_battalions
					has_global_flag = dst_16_battalions
					has_global_flag = dst_20_battalions
				}
			}
			dst_spawn_1_click_enabled = {
				OR = {
					has_global_flag = dst_infantry_enabled
					has_global_flag = dst_cavalry_enabled
					has_global_flag = dst_motorized_enabled
					has_global_flag = dst_armor_enabled
					has_global_flag = dst_mech_enabled
					has_global_flag = dst_tankmech_enabled
					has_global_flag = dst_tankmot_enabled
				}
				OR = {
					has_global_flag = dst_1_battalion
					has_global_flag = dst_2_battalions
					has_global_flag = dst_4_battalions
					has_global_flag = dst_6_battalions
					has_global_flag = dst_8_battalions
					has_global_flag = dst_10_battalions
					has_global_flag = dst_16_battalions
					has_global_flag = dst_20_battalions
				}
			}
			dst_spawn_5_click_enabled = {
				OR = {
					has_global_flag = dst_infantry_enabled
					has_global_flag = dst_cavalry_enabled
					has_global_flag = dst_motorized_enabled
					has_global_flag = dst_armor_enabled
					has_global_flag = dst_mech_enabled
					has_global_flag = dst_tankmech_enabled
					has_global_flag = dst_tankmot_enabled
				}
				OR = {
					has_global_flag = dst_1_battalion
					has_global_flag = dst_2_battalions
					has_global_flag = dst_4_battalions
					has_global_flag = dst_6_battalions
					has_global_flag = dst_8_battalions
					has_global_flag = dst_10_battalions
					has_global_flag = dst_16_battalions
					has_global_flag = dst_20_battalions
				}
			}
			dst_spawn_10_click_enabled = {
				OR = {
					has_global_flag = dst_infantry_enabled
					has_global_flag = dst_cavalry_enabled
					has_global_flag = dst_motorized_enabled
					has_global_flag = dst_armor_enabled
					has_global_flag = dst_mech_enabled
					has_global_flag = dst_tankmech_enabled
					has_global_flag = dst_tankmot_enabled
				}
				OR = {
					has_global_flag = dst_1_battalion
					has_global_flag = dst_2_battalions
					has_global_flag = dst_4_battalions
					has_global_flag = dst_6_battalions
					has_global_flag = dst_8_battalions
					has_global_flag = dst_10_battalions
					has_global_flag = dst_16_battalions
					has_global_flag = dst_20_battalions
				}
			}
			dst_spawn_50_click_enabled = {
				OR = {
					has_global_flag = dst_infantry_enabled
					has_global_flag = dst_cavalry_enabled
					has_global_flag = dst_motorized_enabled
					has_global_flag = dst_armor_enabled
					has_global_flag = dst_mech_enabled
					has_global_flag = dst_tankmech_enabled
					has_global_flag = dst_tankmot_enabled
				}
				OR = {
					has_global_flag = dst_1_battalion
					has_global_flag = dst_2_battalions
					has_global_flag = dst_4_battalions
					has_global_flag = dst_6_battalions
					has_global_flag = dst_8_battalions
					has_global_flag = dst_10_battalions
					has_global_flag = dst_16_battalions
					has_global_flag = dst_20_battalions
				}
			}
		}
		effects = {

			dst_marker_click = {
				FROM.OWNER = { set_country_flag = dst_marked }
			}
			dst_unmarker_click = {
				FROM.OWNER = { clr_country_flag = dst_marked }
			}
			dst_unmark_all_click = {
				every_country = {
					limit = { has_country_flag = dst_marked }
					clr_country_flag = dst_marked
				}
			}
			dst_help_button_click = {
				ROOT = {
					country_event = toolpack.2
				}
			}
			dst_infantry_on_click = {
				set_global_flag = dst_infantry_enabled
			}
			dst_infantry_off_click = {
				clr_global_flag = dst_infantry_enabled
			}
			dst_cavalry_on_click = {
				set_global_flag = dst_cavalry_enabled
			}
			dst_cavalry_off_click = {
				clr_global_flag = dst_cavalry_enabled
			}
			dst_motorized_on_click = {
				set_global_flag = dst_motorized_enabled
			}
			dst_motorized_off_click = {
				clr_global_flag = dst_motorized_enabled
			}
			dst_armor_on_click = {
				set_global_flag = dst_armor_enabled
			}
			dst_armor_off_click = {
				clr_global_flag = dst_armor_enabled
			}
			dst_mech_on_click = {
				set_global_flag = dst_mech_enabled
			}
			dst_mech_off_click = {
				clr_global_flag = dst_mech_enabled
			}
			dst_tankmech_on_click = {
				set_global_flag = dst_tankmech_enabled
			}
			dst_tankmech_off_click = {
				clr_global_flag = dst_tankmech_enabled
			}
			dst_tankmot_on_click = {
				set_global_flag = dst_tankmot_enabled
			}
			dst_tankmot_off_click = {
				clr_global_flag = dst_tankmot_enabled
			}
			dst_1_on_click = {
				set_global_flag = dst_1_battalion
				clr_global_flag = dst_2_battalions
				clr_global_flag = dst_4_battalions
				clr_global_flag = dst_6_battalions
				clr_global_flag = dst_8_battalions
				clr_global_flag = dst_10_battalions
				clr_global_flag = dst_16_battalions
				clr_global_flag = dst_20_battalions
			}
			dst_1_off_click = {
				clr_global_flag = dst_1_battalion
			}
			dst_2_on_click = {
				clr_global_flag = dst_1_battalion
				set_global_flag = dst_2_battalions
				clr_global_flag = dst_4_battalions
				clr_global_flag = dst_6_battalions
				clr_global_flag = dst_8_battalions
				clr_global_flag = dst_10_battalions
				clr_global_flag = dst_16_battalions
				clr_global_flag = dst_20_battalions
			}
			dst_2_off_click = {
				clr_global_flag = dst_2_battalions
			}
			dst_4_on_click = {
				clr_global_flag = dst_1_battalion
				clr_global_flag = dst_2_battalions
				set_global_flag = dst_4_battalions
				clr_global_flag = dst_6_battalions
				clr_global_flag = dst_8_battalions
				clr_global_flag = dst_10_battalions
				clr_global_flag = dst_16_battalions
				clr_global_flag = dst_20_battalions
			}
			dst_4_off_click = {
				clr_global_flag = dst_4_battalions
			}
			dst_6_on_click = {
				clr_global_flag = dst_1_battalion
				clr_global_flag = dst_2_battalions
				clr_global_flag = dst_4_battalions
				set_global_flag = dst_6_battalions
				clr_global_flag = dst_8_battalions
				clr_global_flag = dst_10_battalions
				clr_global_flag = dst_16_battalions
				clr_global_flag = dst_20_battalions
			}
			dst_6_off_click = {
				clr_global_flag = dst_6_battalions
			}
			dst_8_on_click = {
				clr_global_flag = dst_1_battalion
				clr_global_flag = dst_2_battalions
				clr_global_flag = dst_4_battalions
				clr_global_flag = dst_6_battalions
				set_global_flag = dst_8_battalions
				clr_global_flag = dst_10_battalions
				clr_global_flag = dst_16_battalions
				clr_global_flag = dst_20_battalions
			}
			dst_8_off_click = {
				clr_global_flag = dst_8_battalions
			}
			dst_10_on_click = {
				clr_global_flag = dst_1_battalion
				clr_global_flag = dst_2_battalions
				clr_global_flag = dst_4_battalions
				clr_global_flag = dst_6_battalions
				clr_global_flag = dst_8_battalions
				set_global_flag = dst_10_battalions
				clr_global_flag = dst_16_battalions
				clr_global_flag = dst_20_battalions
			}
			dst_10_off_click = {
				clr_global_flag = dst_10_battalions
			}
			dst_16_on_click = {
				clr_global_flag = dst_1_battalion
				clr_global_flag = dst_2_battalions
				clr_global_flag = dst_4_battalions
				clr_global_flag = dst_6_battalions
				clr_global_flag = dst_8_battalions
				clr_global_flag = dst_10_battalions
				set_global_flag = dst_16_battalions
				clr_global_flag = dst_20_battalions
			}
			dst_16_off_click = {
				clr_global_flag = dst_16_battalions
			}
			dst_20_on_click = {
				clr_global_flag = dst_1_battalion
				clr_global_flag = dst_2_battalions
				clr_global_flag = dst_4_battalions
				clr_global_flag = dst_6_battalions
				clr_global_flag = dst_8_battalions
				clr_global_flag = dst_10_battalions
				clr_global_flag = dst_16_battalions
				set_global_flag = dst_20_battalions
			}
			dst_20_off_click = {
				clr_global_flag = dst_20_battalions
			}

			dst_delete_button_click = {
				tcw_clear_all_global_confirms = yes
				set_global_flag = tp_open_confirmation_window
				set_global_flag = dst_a_confirm_unit_deletion 
				random_country = {
					limit = { owns_state = PREV }
					set_country_flag = dsta_unit_deletion_target
				}
			}
			dst_spawn_1_click = {
				set_variable = { dst_state_var = THIS }
				OWNER = {
					set_variable = { FROM.dst_state_original_owner = THIS }
				}
				if = {
					limit = {
						any_country = { has_country_flag = dst_marked }
					}
					every_country = {
						limit = { has_country_flag = dst_marked }
						if = {
							limit = {
								has_global_flag = dst_motorized_enabled
								NOT = { has_tech = motorised_infantry }
							}
							set_technology = { motorised_infantry = 1 }
						}
						if = {
							limit = {
								has_global_flag = dst_armor_enabled
								NOT = { has_tech = gwtank }
							}
							set_technology = { gwtank = 1}
						}
					}
				}
				if = {
					limit = {
						all_country = {
							NOT = { has_country_flag = dst_marked }
						}
					}
					var:dst_state_original_owner = {
						toolpack_cycle_action_log_variables = yes
						add_to_array = { global.toolpack_mp_action_array_targets = THIS }
						add_to_array = { global.toolpack_mp_action_array = 9 }
						if = {
							limit = {
								has_global_flag = dst_motorized_enabled
								NOT = { has_tech = motorised_infantry }
							}
							set_technology = { motorised_infantry = 1 }
						}
						if = {
							limit = {
								has_global_flag = dst_armor_enabled
								NOT = { has_tech = gwtank }
							}
							set_technology = { gwtank = 1 }
						}
					}
				}
				if = {
					limit = {
						any_country = { has_country_flag = dst_marked }
					}
					every_country = {
						limit = { has_country_flag = dst_marked }
						toolpack_cycle_action_log_variables = yes
						add_to_array = { global.toolpack_mp_action_array_targets = THIS }
						add_to_array = { global.toolpack_mp_action_array = 9 }
						dst_spawn_unit = yes
					}
				}
				if = {
					limit = {
						all_country = {
							NOT = { has_country_flag = dst_marked }
						}
					}
					OWNER = {
						dst_spawn_unit = yes
					}
				}
				every_country = {
					limit = { has_country_flag = dst_marked }
					clr_country_flag = dst_marked
				}
			}
			dst_spawn_5_click = {
				set_variable = { dst_state_var = THIS }
				OWNER = {
					set_variable = { FROM.dst_state_original_owner = THIS }
				}
				if = {
					limit = {
						any_country = { has_country_flag = dst_marked }
					}
					every_country = {
						limit = { has_country_flag = dst_marked }
						toolpack_cycle_action_log_variables = yes
						add_to_array = { global.toolpack_mp_action_array_targets = THIS }
						add_to_array = { global.toolpack_mp_action_array = 9 }
						if = {
							limit = {
								has_global_flag = dst_motorized_enabled
								NOT = { has_tech = motorised_infantry }
							}
							set_technology = { motorised_infantry = 1 }
						}
						if = {
							limit = {
								has_global_flag = dst_armor_enabled
								NOT = { has_tech = gwtank }
							}
							set_technology = { gwtank = 1}
						}
					}
				}
				if = {
					limit = {
						all_country = {
							NOT = { has_country_flag = dst_marked }
						}
					}
					var:dst_state_original_owner = {
						toolpack_cycle_action_log_variables = yes
						add_to_array = { global.toolpack_mp_action_array_targets = THIS }
						add_to_array = { global.toolpack_mp_action_array = 9 }
						if = {
							limit = {
								has_global_flag = dst_motorized_enabled
								NOT = { has_tech = motorised_infantry }
							}
							set_technology = { motorised_infantry = 1 }
						}
						if = {
							limit = {
								has_global_flag = dst_armor_enabled
								NOT = { has_tech = gwtank }
							}
							set_technology = { gwtank = 1 }
						}
					}
				}
				if = {
					limit = {
						any_country = { has_country_flag = dst_marked }
					}
					every_country = {
						limit = { has_country_flag = dst_marked }
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
					}
				}
				if = {
					limit = {
						all_country = {
							NOT = { has_country_flag = dst_marked }
						}
					}
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
				}
				every_country = {
					limit = { has_country_flag = dst_marked }
					clr_country_flag = dst_marked
				}
			}
			dst_spawn_10_click = {
				set_variable = { dst_state_var = THIS }
				OWNER = {
					set_variable = { FROM.dst_state_original_owner = THIS }
				}
				if = {
					limit = {
						any_country = { has_country_flag = dst_marked }
					}
					every_country = {
						limit = { has_country_flag = dst_marked }
						toolpack_cycle_action_log_variables = yes
						add_to_array = { global.toolpack_mp_action_array_targets = THIS }
						add_to_array = { global.toolpack_mp_action_array = 9 }
						if = {
							limit = {
								has_global_flag = dst_motorized_enabled
								NOT = { has_tech = motorised_infantry }
							}
							set_technology = { motorised_infantry = 1 }
						}
						if = {
							limit = {
								has_global_flag = dst_armor_enabled
								NOT = { has_tech = gwtank }
							}
							set_technology = { gwtank = 1}
						}
					}
				}
				if = {
					limit = {
						all_country = {
							NOT = { has_country_flag = dst_marked }
						}
					}
					var:dst_state_original_owner = {
						toolpack_cycle_action_log_variables = yes
						add_to_array = { global.toolpack_mp_action_array_targets = THIS }
						add_to_array = { global.toolpack_mp_action_array = 9 }
						if = {
							limit = {
								has_global_flag = dst_motorized_enabled
								NOT = { has_tech = motorised_infantry }
							}
							set_technology = { motorised_infantry = 1 }
						}
						if = {
							limit = {
								has_global_flag = dst_armor_enabled
								NOT = { has_tech = gwtank }
							}
							set_technology = { gwtank = 1 }
						}
					}
				}
				if = {
					limit = {
						any_country = { has_country_flag = dst_marked }
					}
					every_country = {
						limit = { has_country_flag = dst_marked }
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
					}
				}
				if = {
					limit = {
						all_country = {
							NOT = { has_country_flag = dst_marked }
						}
					}
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
				}
				every_country = {
					limit = { has_country_flag = dst_marked }
					clr_country_flag = dst_marked
				}
			}
			dst_spawn_50_click = {
				set_variable = { dst_state_var = THIS }
				OWNER = {
					set_variable = { FROM.dst_state_original_owner = THIS }
				}
				if = {
					limit = {
						any_country = { has_country_flag = dst_marked }
					}
					every_country = {
						limit = { has_country_flag = dst_marked }
						toolpack_cycle_action_log_variables = yes
						add_to_array = { global.toolpack_mp_action_array_targets = THIS }
						add_to_array = { global.toolpack_mp_action_array = 9 }
						if = {
							limit = {
								has_global_flag = dst_motorized_enabled
								NOT = { has_tech = motorised_infantry }
							}
							set_technology = { motorised_infantry = 1 }
						}
						if = {
							limit = {
								has_global_flag = dst_armor_enabled
								NOT = { has_tech = gwtank }
							}
							set_technology = { gwtank = 1}
						}
					}
				}
				if = {
					limit = {
						all_country = {
							NOT = { has_country_flag = dst_marked }
						}
					}
					var:dst_state_original_owner = {
						toolpack_cycle_action_log_variables = yes
						add_to_array = { global.toolpack_mp_action_array_targets = THIS }
						add_to_array = { global.toolpack_mp_action_array = 9 }
						if = {
							limit = {
								has_global_flag = dst_motorized_enabled
								NOT = { has_tech = motorised_infantry }
							}
							set_technology = { motorised_infantry = 1 }
						}
						if = {
							limit = {
								has_global_flag = dst_armor_enabled
								NOT = { has_tech = gwtank }
							}
							set_technology = { gwtank = 1 }
						}
					}
				}
				if = {
					limit = {
						any_country = { has_country_flag = dst_marked }
					}
					every_country = {
						limit = { has_country_flag = dst_marked }
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
						dst_spawn_unit = yes
					}
				}
				if = {
					limit = {
						all_country = {
							NOT = { has_country_flag = dst_marked }
						}
					}
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
					OWNER = { dst_spawn_unit = yes }
				}
				every_country = {
					limit = { has_country_flag = dst_marked }
					clr_country_flag = dst_marked
				}
			}
		}
	}
}