﻿add_namespace = nf_whitelegs
add_namespace = wht_frontier


# The White Legs Petition
country_event = {
	immediate = { log = "[GetDateText]: [Root.GetName]: event nf_whitelegs.1" }
	id = nf_whitelegs.1
	title = nf_whitelegs.1.t
	desc = nf_whitelegs.1.d
	picture = GFX_event_CES_whitelegs

	is_triggered_only = yes

	# Ally
	option = {
		name = nf_whitelegs.1.a
		custom_effect_tooltip = enables_the_ransack_coring_mechanic
		set_country_flag = allow_ransack_states_non_raider
		add_ideas = white_legs_strength

	}

	# Refuse
	option = {
		name = nf_whitelegs.1.b
		custom_effect_tooltip = enables_the_ransack_coring_mechanic
		set_country_flag = allow_ransack_states_non_raider
		add_ideas = white_legs_cunning

	}
}

country_event = {
	immediate = { log = "[GetDateText]: [Root.GetName]: event nf_whitelegs.2" }
	id = nf_whitelegs.2
	title = nf_whitelegs.2.t
	desc = nf_whitelegs.2.d
	picture = GFX_event_CES_whitelegs
	is_triggered_only = yes
	# mutants join tribe
	option = {
		name = nf_whitelegs.2.a
		add_ideas = mutant_law_super
		set_technology = { super_mutant_aux_infantry_tech = 1 }
		custom_effect_tooltip = nf_whitelegs.2.a_tt
		hidden_effect = {
			load_oob = super_mutant_white_legs
		}
		add_corps_commander_role = {
			character = WHT_Greck
			traits = {
				strength_trait
				enduring_trait
			}
			skill = 1
			attack_skill = 4
			defense_skill = 1
			planning_skill = 1
			logistics_skill = 2
		}
	}
	# mutants enslaved
	option = {
		name = nf_whitelegs.2.b
		set_temp_variable = { caps_to_add = 100 }
		add_caps = yes
		add_manpower = 350
		add_war_support = 0.10
	}
}

country_event = {
	immediate = { log = "[GetDateText]: [Root.GetName]: event nf_whitelegs.3" }
	id = nf_whitelegs.3
	title = nf_whitelegs.3.t
	desc = nf_whitelegs.3.d
	picture = GFX_event_CES_whitelegs

	is_triggered_only = yes

	# Guns
	option = {
		name = nf_whitelegs.3.a
		326 = {
			if = {
				limit = {
					is_valid_state_for_2_arms_factories = yes
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			
			}
		}
			set_temp_variable = { caps_to_add = 150 }
		add_caps = yes
		army_experience = 30
		
	}


	# Factories
	option = {
		name = nf_whitelegs.3.b
		326 = {
			if = {
				limit = {
					is_valid_state_for_2_civilian_factories = yes
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
			add_manpower = 792
		}
		add_political_power = 150
		add_to_variable = { WHT_consumer_goods_factor = -0.03 }
		add_to_variable = { WHT_production_speed_buildings_factor = 0.05 }
		force_update_dynamic_modifier = yes
		custom_effect_tooltip = WHT_Work_tt
	}
}

country_event = {
	immediate = { log = "[GetDateText]: [Root.GetName]: event nf_whitelegs.4" }
	id = nf_whitelegs.4
	title = nf_whitelegs.4.t
	desc = nf_whitelegs.4.d
	picture = GFX_event_CES_whitelegs

	is_triggered_only = yes

	# Guns
	option = {
		name = nf_whitelegs.4.a
		random_owned_controlled_state = {
			limit = {
				is_valid_state_for_3_arms_factories = yes
			}
			add_extra_state_shared_building_slots = 3
			add_building_construction = {
				type = arms_factory
				level = 3
				instant_build = yes
			}
		}
		add_equipment_to_stockpile = {
			type = ballistic_equipment_2
			amount = 5000
			producer = USA
		}
		add_equipment_to_stockpile = {
		type = ballistic_equipment_2
		amount = 2500
		producer = UTH
		}
		add_equipment_to_stockpile = {
		type = ballistic_equipment_2
		amount = 5000 
		producer = WHT
		}
		
		NCN = { country_event = nf_whitelegs.5 }
		custom_effect_tooltip = nf_whitelegs.4.a.tt
		
	}
}

country_event = {
	immediate = { log = "[GetDateText]: [Root.GetName]: event nf_whitelegs.5" }
	id = nf_whitelegs.5
	title = nf_whitelegs.5.t
	desc = nf_whitelegs.5.d
	picture = GFX_event_CES_whitelegs
	is_triggered_only = yes
	option = {
		name = nf_whitelegs.5.a
		add_war_support = -0.05
		add_stability = -0.05
	}
}
country_event = {
	immediate = { log = "[GetDateText]: [Root.GetName]: event nf_whitelegs.6" }
	id = nf_whitelegs.6
	title = nf_whitelegs.6.t
	desc = nf_whitelegs.6.d
	picture = GFX_event_CES_whitelegs
	is_triggered_only = yes
	option = {  ## offer loot
		name = nf_whitelegs.6.a
		EHT = { country_event = nf_whitelegs.7 }
	}
	option = { ####
		name = nf_whitelegs.6.b
		add_political_power = -200
		EHT = { country_event = nf_whitelegs.10 }
	}
	option = {
		name = nf_whitelegs.6.c
		custom_effect_tooltip = nf_whitelegs.6.c_tt
		start_border_war = {
			change_state_after_war = no
			attacker_modifier = 0.15
			attacker = {
				state = 496
				num_provinces = 4
				on_win = nf_whitelegs.22
				on_lose = nf_whitelegs.23
				on_cancel = nf_whitelegs.23
			}

			defender = {
				state = 213
				num_provinces = 1
				on_win = nf_whitelegs.25
				on_lose = nf_whitelegs.24
				on_cancel = nf_whitelegs.24
			}
		}
	}
}
country_event = {
	immediate = { log = "[GetDateText]: [Root.GetName]: event nf_whitelegs.7" }
	id = nf_whitelegs.7
	title = nf_whitelegs.7.t
	desc = nf_whitelegs.7.d
	picture = GFX_event_CES_whitelegs
	is_triggered_only = yes
	option = {
		name = nf_whitelegs.7.a
		WHT = { country_event = nf_whitelegs.8 }

	}
	option = {
		name = nf_whitelegs.7.b
		WHT = { country_event = nf_whitelegs.9 }
	}
}

country_event = {
	immediate = { log = "[GetDateText]: [Root.GetName]: event nf_whitelegs.8" }
	id = nf_whitelegs.8
	title = nf_whitelegs.8.t
	desc = nf_whitelegs.8.d
	picture = GFX_event_CES_whitelegs
	is_triggered_only = yes
	option = {
		name = nf_whitelegs.8.a
		set_country_flag = WHT_owe_loot
		transfer_state = 213
	}
}
country_event = {
	immediate = { log = "[GetDateText]: [Root.GetName]: event nf_whitelegs.9" }
	id = nf_whitelegs.9
	title = nf_whitelegs.9.t
	desc = nf_whitelegs.9.d
	picture = GFX_event_CES_whitelegs
	is_triggered_only = yes
	option = {
		name = nf_whitelegs.9.a
		custom_effect_tooltip = nf_whitelegs.6.c_tt
		start_border_war = {
			change_state_after_war = no
			attacker_modifier = 0.15
			attacker = {
				state = 496
				num_provinces = 4
				on_win = nf_whitelegs.22
				on_lose = nf_whitelegs.23
				on_cancel = nf_whitelegs.23
			}

			defender = {
				state = 213
				num_provinces = 1
				on_win = nf_whitelegs.24
				on_lose = nf_whitelegs.25
				on_cancel = nf_whitelegs.25
			}
		}
		custom_effect_tooltip = nf_whitelegs.9.a_tt
	}
}

country_event = {
	immediate = { log = "[GetDateText]: [Root.GetName]: event nf_whitelegs.10" }
	id = nf_whitelegs.10
	title = nf_whitelegs.10.t
	desc = nf_whitelegs.10.d
	picture = GFX_event_CES_whitelegs
	is_triggered_only = yes
	option = {
		name = nf_whitelegs.10.a
		WHT = { country_event = nf_whitelegs.11 }
		478 = {
			if = {
				limit = {
					is_valid_state_for_2_arms_factories = yes
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
		}
	}
	option = {
		name = nf_whitelegs.10.b
		WHT = {
			country_event = nf_whitelegs.9
			add_political_power = 200
			}
	}
}
country_event = {
	immediate = { log = "[GetDateText]: [Root.GetName]: event nf_whitelegs.11" }
	id = nf_whitelegs.11
	title = nf_whitelegs.11.t
	desc = nf_whitelegs.11.d
	picture = GFX_event_CES_whitelegs
	is_triggered_only = yes
	option = {
		name = nf_whitelegs.8.a
		transfer_state = 213
	}
}

country_event = {
	immediate = { log = "[GetDateText]: [Root.GetName]: event nf_whitelegs.12" }
	id = nf_whitelegs.12
	title = nf_whitelegs.12.t
	desc = nf_whitelegs.12.d
	picture = GFX_event_CES_whitelegs
	is_triggered_only = yes
	option = {
		name = nf_whitelegs.12.a
		set_temp_variable = { caps_to_add = 75 }
		add_caps = yes
		custom_effect_tooltip = nf_whitelegs.12.a_tt
	}
}

country_event = {
	immediate = { log = "[GetDateText]: [Root.GetName]: event nf_whitelegs.13" }
	id = nf_whitelegs.13
	title = nf_whitelegs.13.t
	desc = nf_whitelegs.13.d
	picture = GFX_event_CES_whitelegs
	is_triggered_only = yes
	option = {
		name = nf_whitelegs.13.a
		add_popularity = { ideology = people popularity = 0.05 }
		add_stability = 0.10
	}
	option = {
		name = nf_whitelegs.13.b
		add_popularity = { ideology = ruler popularity = 0.05 }
		add_war_support = 0.05
	}
	option = {
		name = nf_whitelegs.13.c
		add_popularity = { ideology = elites popularity = 0.05 }
		army_experience = 25
	}
}
country_event = {
	immediate = { log = "[GetDateText]: [Root.GetName]: event nf_whitelegs.14 #conversion" }
	id = nf_whitelegs.14 #conversion
	title = nf_whitelegs.14.t
	desc = nf_whitelegs.14.d
	picture = GFX_event_CES_whitelegs
	is_triggered_only = yes
	option = {
		name = nf_whitelegs.14.a
		set_cosmetic_tag = WHT_mormon
		set_politics = {
			ruling_party = people
		}
		promote_character = WHT_balm_upon_wounds
	}
}
country_event = {
	immediate = { log = "[GetDateText]: [Root.GetName]: event nf_whitelegs.15 #Legion Puppet" }
	id = nf_whitelegs.15 #Legion Puppet
	title = nf_whitelegs.15.t
	desc = nf_whitelegs.15.d
	picture = GFX_event_CES_whitelegs
	is_triggered_only = yes
	option = {
		name = nf_whitelegs.15.a
		set_cosmetic_tag = WHT_legion
		set_technology = {
			settled_civilization = 1
		}
		add_research_slot = 1
		CES = {
			add_to_faction = WHT
			add_ai_strategy = {
				type = alliance
				id = "WHT"
				value = 500
			}
		}
		add_ai_strategy = {
			type = alliance
			id = "CES"
			value = 500
		}
		set_technology = {
			habitation_tech_level_settler = 1
			tools_tech_level_settler = 1
			exploitation_tech_level_settler = 1
			special_forces_tech_level_settler = 1
		}
		set_technology = { infantry_tech_level_settler = 1 }
		set_technology = { support_tech_level_settler = 1 }
		swap_ideas = {
			remove_idea = tribal_nation
			add_idea = settler_nation
		}
		set_politics = {
			ruling_party = ruler
		}
		WHT_salt_upon_wounds = {
			remove_country_leader_trait = warmonger
		}
		
	}
}

country_event = {
	immediate = { log = "[GetDateText]: [Root.GetName]: event nf_whitelegs.16 #Legion Puppet" }
	id = nf_whitelegs.16 #Legion Puppet
	title = nf_whitelegs.16.t
	desc = nf_whitelegs.16.d
	picture = GFX_event_ulysses
	trigger = {
		tag = WHT
		has_completed_focus = WHT_ulysses
		owns_state = 551
		has_completed_focus = WHT_arms_depots
	}
	mean_time_to_happen = { days = 80 }
	fire_only_once = yes
	option = {
		name = nf_whitelegs.16.a
		clr_country_flag = WHT_ulysses
		add_stability = -0.10
		add_war_support = -0.10
		remove_unit_leader = 12081
	}
}
country_event = {
	immediate = { log = "[GetDateText]: [Root.GetName]: event nf_whitelegs.17  ##Betray the Eighties" }
	id = nf_whitelegs.17  ##Betray the Eighties
	title = nf_whitelegs.17.t
	desc = nf_whitelegs.17.d
	picture = GFX_event_car_2
	is_triggered_only = yes
	option = {
		name = nf_whitelegs.17.a
		custom_effect_tooltip = nf_whitelegs.17.a_tt
		set_country_flag = WHT_are_assholes
		EHT = { 
			set_country_flag = WHT_are_assholes }
	}
}
country_event = {
	immediate = { log = "[GetDateText]: [Root.GetName]: event nf_whitelegs.18  ##Women Protestors" }
	id = nf_whitelegs.18  ##Women Protestors
	title = nf_whitelegs.18.t
	desc = nf_whitelegs.18.d
	picture = GFX_event_generic_ruins_2
	trigger = {
		tag = WHT
		has_completed_focus = WHT_braid_hair
	}
	fire_only_once = yes
	mean_time_to_happen = { days = 30 }
	option = {
		name = nf_whitelegs.18.a
		custom_effect_tooltip = nf_whitelegs.18.a_tt
		add_popularity = { ideology = ruler popularity = -0.10 }

	}
	option = {
		name = nf_whitelegs.18.b
		add_political_power = -50
	}
}

country_event = {
	immediate = { log = "[GetDateText]: [Root.GetName]: event nf_whitelegs.19  ##Women Protestors" }
	id = nf_whitelegs.19  ##Women Protestors
	title = nf_whitelegs.19.t
	desc = nf_whitelegs.19.d
	picture = GFX_event_NCN_new_canaan
	trigger = {
		tag = WHT
		has_completed_focus = WHT_mormons_convert_warriors
	}
	fire_only_once = yes
	mean_time_to_happen = { days = 30 }
	option = {
		name = nf_whitelegs.19.a
		add_popularity = { ideology = people popularity = 0.10 }

	}
	option = {
		name = nf_whitelegs.19.b
		custom_effect_tooltip = nf_whitelegs.19.b_tt
		add_political_power = -50
	}
}

country_event = {
	immediate = { log = "[GetDateText]: [Root.GetName]: event nf_whitelegs.20  ## White Leg Poetry" }
	id = nf_whitelegs.20  ## White Leg Poetry
	title = nf_whitelegs.20.t
	desc = nf_whitelegs.20.d
	picture = GFX_event_CES_whitelegs
	trigger = {
		tag = WHT
		owns_state = 551
	}
	fire_only_once = yes
	mean_time_to_happen = { days = 30 }
	option = {
		name = nf_whitelegs.20.a
		add_command_power = 20
	}
}
country_event = {
	immediate = { log = "[GetDateText]: [Root.GetName]: event nf_whitelegs.21" }
	id = nf_whitelegs.21
	title = nf_whitelegs.21.t
	desc = nf_whitelegs.21.d
	picture = GFX_event_CES_whitelegs
	trigger = {
		tag = WHT
		has_country_flag = WHT_owe_loot
		owns_state = 551
	}
	fire_only_once = yes
	option = {
		name = nf_whitelegs.21.a
		clr_country_flag = WHT_owe_loot
		EHT = {
			random_owned_controlled_state = {
				limit = {
					is_valid_state_for_3_arms_factories = yes
				}
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = arms_factory
					level = 3
					instant_build = yes
				}
			}
		}
		551 = {
			remove_building = {
				type = arms_factory
				level = 3
			}
		}

	}
}

country_event = {
	immediate = { log = "[GetDateText]: [Root.GetName]: event nf_whitelegs.22  ## Conquer Jericho" }
	id = nf_whitelegs.22  ## Conquer Jericho
	title = nf_whitelegs.22.t
	desc = nf_whitelegs.22.d
	picture = GFX_event_CES_whitelegs
	is_triggered_only = yes
	fire_only_once = yes
	option = {
		name = nf_whitelegs.22.a
		transfer_state = 213
	}
}

country_event = {
	immediate = { log = "[GetDateText]: [Root.GetName]: event nf_whitelegs.23  ## The Walls of Jericho" }
	id = nf_whitelegs.23  ## The Walls of Jericho
	title = nf_whitelegs.23.t
	desc = nf_whitelegs.23.d
	picture = GFX_event_car_2
	is_triggered_only = yes
	fire_only_once = yes
	option = {
		name = nf_whitelegs.23.a
		add_stability = -0.05
	}
}
country_event = {
	immediate = { log = "[GetDateText]: [Root.GetName]: event nf_whitelegs.24  ##Eighties Lose Jericho" }
	id = nf_whitelegs.24  ##Eighties Lose Jericho
	title = nf_whitelegs.24.t
	desc = nf_whitelegs.24.d
	picture = GFX_event_car_2
	is_triggered_only = yes
	fire_only_once = yes
	option = {
		name = nf_whitelegs.24.a
		add_stability = -0.05
		custom_effect_tooltip = nf_whitelegs.24_tt
	}
}


country_event = {
	immediate = { log = "[GetDateText]: [Root.GetName]: event nf_whitelegs.25  ##Eighties Hold Jericho" }
	id = nf_whitelegs.25  ##Eighties Hold Jericho
	title = nf_whitelegs.25.t
	desc = nf_whitelegs.25.d
	picture = GFX_event_car_2
	is_triggered_only = yes
	fire_only_once = yes
	option = {
		name = nf_whitelegs.25.a
		add_stability = 0.05
	}
}

country_event = {
	immediate = { log = "[GetDateText]: [Root.GetName]: event nf_whitelegs.26  ##Vision Quest" }
	id = nf_whitelegs.26  ##Vision Quest
	title = nf_whitelegs.26.t
	desc = nf_whitelegs.26.d
	picture = GFX_event_ghost_of_she
	is_triggered_only = yes
	fire_only_once = yes
	option = {
		name = nf_whitelegs.26.a
		add_command_power = 10
		add_political_power = 50
	}
}

country_event = {
	immediate = { log = "[GetDateText]: [Root.GetName]: event nf_whitelegs.27  ##Solomon" }
	id = nf_whitelegs.27  ##Solomon
	title = nf_whitelegs.27.t
	desc = nf_whitelegs.27.d
	picture = GFX_event_zion
	is_triggered_only = yes
	fire_only_once = yes
	option = {
		name = nf_whitelegs.27.a
		add_political_power = 70
	}
}

country_event = {
	immediate = { log = "[GetDateText]: [Root.GetName]: event nf_whitelegs.28  #Laws" }
	id = nf_whitelegs.28  #Laws
	title = nf_whitelegs.28.t
	desc = nf_whitelegs.28.d
	picture = GFX_event_zion
	is_triggered_only = yes
	fire_only_once = yes
	option = {
		name = nf_whitelegs.28.a
		add_stability = 0.10
		set_temp_variable = { caps_to_add = 200 }
		add_caps = yes
	}
}

country_event = {
	immediate = { log = "[GetDateText]: [Root.GetName]: event nf_whitelegs.29" }
	id = nf_whitelegs.29
	title = nf_whitelegs.29.t
	desc = nf_whitelegs.29.d
	picture = GFX_event_zion
	is_triggered_only = yes
	option = {
		name = nf_whitelegs.29.a
		set_country_flag = WHT_CES_AID
		ai_chance = {
			base = 50
			modifier = {
				has_global_flag = WHT_ai_behavior_legion_global_flag
				factor = 75
			}
		}
		CES = { country_event = nf_whitelegs.30 }
		set_temp_variable = { caps_to_add = 200 }
		add_caps = yes
		add_popularity = { ideology = ruler popularity = 0.05 }
	}
	option = {
		name = nf_whitelegs.29.b
		CES = { country_event = nf_whitelegs.31 }
		ai_chance = {
			base = 10
		}
	}
}

country_event = {
	immediate = { log = "[GetDateText]: [Root.GetName]: event nf_whitelegs.30" }
	id = nf_whitelegs.30
	title = nf_whitelegs.30.t
	desc = nf_whitelegs.30.d
	picture = GFX_event_zion
	is_triggered_only = yes
	fire_only_once = yes
	option = {
		name = nf_whitelegs.30.a
		army_experience = 25

	}
}
country_event = {
	immediate = { log = "[GetDateText]: [Root.GetName]: event nf_whitelegs.31" }
	id = nf_whitelegs.31
	title = nf_whitelegs.31.t
	desc = nf_whitelegs.31.d
	picture = GFX_event_zion
	is_triggered_only = yes
	fire_only_once = yes
	option = {
		name = nf_whitelegs.31.a
		army_experience = 5
	}
}

country_event = {
	immediate = { log = "[GetDateText]: [Root.GetName]: event nf_whitelegs.32  #Bible" }
	id = nf_whitelegs.32  #Bible
	title = nf_whitelegs.32.t
	desc = nf_whitelegs.32.d
	picture = GFX_event_zion
	is_triggered_only = yes
	fire_only_once = yes
	option = {
		name = nf_whitelegs.32.a
		add_popularity = { ideology = people popularity = 0.10 }
		custom_effect_tooltip = nf_whitelegs.32.a_tt
	}
}

	country_event = {
	immediate = { log = "[GetDateText]: [Root.GetName]: event nf_whitelegs.33  #Bible" }
	id = nf_whitelegs.33  #Bible
	title = nf_whitelegs.33.t
	desc = nf_whitelegs.33.d
	picture = GFX_event_zion
	is_triggered_only = yes
	fire_only_once = yes
	option = {
		name = nf_whitelegs.32.a
		set_temp_variable = { caps_to_add = 100 }
		add_caps = yes 
		add_equipment_to_stockpile = {
		type = support_equipment
		amount = 125
		producer = USA
	}
}
	option = {
		name = nf_whitelegs.33.b
		army_experience = 25
		add_ideas = WHT_suped_up_combat_drugs
	}
}


		country_event = { #AI_cheat_bot
	immediate = { log = "[GetDateText]: [Root.GetName]: event nf_whitelegs.34" }
	id = nf_whitelegs.34
	title = nf_whitelegs.34.t
	desc = nf_whitelegs.35.d
	picture = GFX_event_NCR_settlers
		mean_time_to_happen = { days = 150 }
	trigger = {
        AND = {
            original_tag = WHT
            is_ai = yes
			date < 2279.6.1
			date > 2275.6.1
        }
    }
	fire_only_once = no
		immediate = {
			random_list = {
				15 = { set_country_flag = WHT_cheaty_mccheat_1
				}
				27 = {
					set_country_flag = WHT_cheaty_mccheat_2
				}
				26 = {
					set_country_flag = WHT_cheaty_mccheat_3
				}
				27 = {
					set_country_flag = WHT_cheaty_mccheat_4
				}
				5 =  { set_country_flag = WHT_cheaty_mccheat_5
				}
			}
		
		}
	option = {
		name = focus_event.34.a
		if = {
			limit = { has_country_flag = WHT_cheaty_mccheat_1 }
			add_manpower = 513
			clr_country_flag = WHT_cheaty_mccheat_1
			add_equipment_to_stockpile = {
			type = infantry_equipment
			amount = 152
			producer = WHT
			}
			add_equipment_to_stockpile = {
			type = ballistic_equipment_1
			amount = 135
			producer = UTH
			}
			add_equipment_to_stockpile = {
			type = melee_equipment_1
			amount = 135
			producer = WHT
			}
			random_owned_controlled_state = {
			add_manpower = 113
			}
			set_temp_variable = { caps_to_add = 20 }
		add_caps = yes
			}
	else_if = {
			limit = {
				has_country_flag =  WHT_cheaty_mccheat_2
				}
				add_manpower = 719
				clr_country_flag = WHT_cheaty_mccheat_2
				add_equipment_to_stockpile = {
				type = melee_equipment_1
				amount = 231
				producer = WHT
				}
				add_equipment_to_stockpile = {
				type = demolitions_equipment
				amount = 231
				producer = USA
				}
			
			add_equipment_to_stockpile = {
				type = ballistic_equipment_1
				amount = 341
				producer = NCR
				}
				random_owned_controlled_state = {
			add_manpower = 141
			}
			random_owned_controlled_state = {
			add_manpower = 253
			}
					random_owned_controlled_state = {
				create_unit = {
				division = "name = \"White Leg Initiates\" division_template = \"White Leg Initiates\" start_experience_factor = 0.6"
				owner = WHT
		}
	}
				set_temp_variable = { caps_to_add = 40 }
		add_caps = yes
			}

	else_if = {
			limit = { has_country_flag = WHT_cheaty_mccheat_3 }
				add_manpower = 1250
				clr_country_flag = WHT_cheaty_mccheat_3
				add_equipment_to_stockpile = {
				type = ballistic_equipment_2
				amount = 324
				producer = UTH
				}
				add_equipment_to_stockpile = {
				type = explosive_demolitions_equipment_2
				amount = 324
				producer = UTH
				}
				add_equipment_to_stockpile = {
				type = melee_equipment_3
				amount = 324
				producer = UTH
				}
				add_equipment_to_stockpile = {
				type = energy_equipment_3
				amount = 185
				producer = UTH
				}
				add_equipment_to_stockpile = {
				type = ballistic_equipment_1
				amount = 291
				producer = ZOG
			}

			add_equipment_to_stockpile = {
				type = ballistic_equipment_2
				amount = 110
				producer = QAR
			}
							random_owned_controlled_state = {
			add_manpower = 531
			}
			random_owned_controlled_state = {
			add_manpower = 211
			}
				random_owned_controlled_state = {
				create_unit = {
				division = "name = \"White Leg Initiates\" division_template = \"White Leg Initiates\" start_experience_factor = 0.7"
				owner = WHT
		}
	}
							set_temp_variable = { caps_to_add = 80 }
		add_caps = yes
				}
	else_if = { 
			limit = { has_country_flag = WHT_cheaty_mccheat_4 }
			add_manpower= 1846
			clr_country_flag = WHT_cheaty_mccheat_4
			add_equipment_to_stockpile = {
				type = energy_equipment_1
				amount = 228
				producer = UTH
				}
				add_equipment_to_stockpile = {
				type = melee_equipment_2
				amount = 651
				producer = USA
				}
				add_equipment_to_stockpile = {
				type = melee_equipment_2
				amount = 931
				producer = USA
				}
				add_equipment_to_stockpile = {
				type = demolitions_equipment
				amount  = 321
				producer = WHT
			}

			add_equipment_to_stockpile = {
				type = ballistic_equipment_2
				amount  = 643
				producer = XCO
			}
				add_equipment_to_stockpile = {
			type = ballistic_equipment_1
			amount = 521
			producer = USA
			}

			add_equipment_to_stockpile = {
				type = ballistic_equipment_3
				amount = 91
				producer = QAR
				}
			
										random_owned_controlled_state = {
			add_manpower = 671
				create_unit = {
				division = "name = \"White Leg Warband\" division_template = \"White Leg Warband\" start_experience_factor = 0.5"
				owner = WHT
		}
			}
			random_owned_controlled_state = {
			add_manpower = 312
			}
			random_owned_controlled_state = {
			add_manpower = 121
			}
			set_temp_variable = { caps_to_add = 120 }
		add_caps = yes
		}
	else_if = { 
			limit = { has_country_flag = WHT_cheaty_mccheat_5 }
			clr_country_flag = WHT_cheaty_mccheat_5
			add_manpower = 2413
			add_equipment_to_stockpile = {
			type = ballistic_equipment_2
			amount = 300
			producer = UTH
			}
			add_equipment_to_stockpile = {
			type = energy_equipment_2
			amount = 150
			producer = UTH
			}
			add_equipment_to_stockpile = {
			type = support_equipment
			amount = 481
			producer = USA
			}
			add_equipment_to_stockpile = {
			type = melee_equipment_3
			amount = 432
			producer = usa
			}
			add_equipment_to_stockpile = {
				type = melee_equipment_3
				amount = 643
				producer = QAR
				}

				add_equipment_to_stockpile = {
					type = ballistic_equipment_3
					amount = 35
					producer = QAR
					}
			add_equipment_to_stockpile = {
			type = infantry_equipment
			amount = 1432
			producer = WHT
			}
			add_equipment_to_stockpile = {
			type = ballistic_equipment_3
			amount = 285
			producer = USA
			}
			add_equipment_to_stockpile = {
			type = energy_equipment_3
			amount = 54
			producer = UTH
			}
			add_equipment_to_stockpile = {
			type = melee_equipment_1
			amount = 849
			producer = UTH
			}
			random_owned_controlled_state = {
			add_manpower = 671
			}
			random_owned_controlled_state = {
			add_manpower = 312
			}
			random_owned_controlled_state = {
			add_manpower = 121
			}
			set_temp_variable = { caps_to_add = 200 }
		add_caps = yes
		random_owned_controlled_state = {
			add_manpower = 1000
				create_unit = {
				division = "name = \"White Leg Warband\" division_template = \"White Leg Warband\" start_experience_factor = 1"
				owner = WHT
		}
		}
		random_owned_controlled_state = {
			add_manpower = 892
				create_unit = {
				division = "name = \"White Leg Warband\" division_template = \"White Leg Warband\" start_experience_factor = 0.5"
				owner = WHT
		}
		}
		add_to_variable = {
					ncn_threat = 2
				}
				custom_effect_tooltip = ncn_gain_2_threat
					update_ncn_threat = yes
	}
    }
}
	
		country_event = {
	immediate = { log = "[GetDateText]: [Root.GetName]: event nf_whitelegs.35  #Ceaser's Silver" }
	id = nf_whitelegs.35  #Bible
	title = nf_whitelegs.35.t
	desc = nf_whitelegs.35.d
	picture = GFX_event_SilverOreVein
	fire_only_once = yes
	trigger = { 
			tag = WHT
			has_completed_focus = wht_silver_mines
				OR = { has_completed_focus = WHT_adopt_denarius
						has_country_flag = accepted_petition
						has_country_flag = WHT_CES_AID 
					 }
			}
		mean_time_to_happen = { days = 200
	}
	option = {
		name = nf_whitelegs.35.a
		ai_chance = {
			base = 50
			modifier = {
				has_global_flag = WHT_ai_behavior_legion_global_flag
				factor = 75
			}
		}
		CES = { 
		add_ideas = { Wht_utah_silver} 
		set_temp_variable = { caps_to_add = 100 }
		add_caps = yes
		}
	
		WHT = {
					swap_ideas = {
					remove_idea = WHT_SILVER_route
					add_idea =  Wht_utah_silver
					}
		add_manpower = 2000
		  add_equipment_to_stockpile = {
		  type = infantry_equipment 
		  amount = 300
			producer = CES
			}
			
			add_equipment_to_stockpile = {
		  type = melee_equipment_2
		  amount = 300
			producer = CES
			}
			add_equipment_to_stockpile = {
		  type = ballistic_equipment_1
		  amount = 300
			producer = CES
			}
		
		add_popularity = { ideology = ruler popularity = 0.10 }
		}
	}	

	option = {
		name = nf_whitelegs.35.b
		WHT = {
		add_popularity = { ideology = elites popularity = 0.05 }
		add_popularity = { ideology = people popularity = 0.05 }
		add_stability = 0.10
		}
	}
}

	country_event = {
	immediate = { log = "[GetDateText]: [Root.GetName]: event nf_whitelegs.36  #a Tiny Aresnal" }
	id = nf_whitelegs.36  #Bible
	title = nf_whitelegs.36.t
	desc = nf_whitelegs.36.d
	picture = GFX_event_zion
	fire_only_once = yes
	trigger = { 
			tag = WHT
			has_completed_focus = wht_clear }
		mean_time_to_happen = { days = 365 }
	
	option = {
		name = nf_whitelegs.36.a
			WHT = { 
			add_equipment_to_stockpile = {
			type = melee_equipment_4
			amount = 500
			producer = USA
			
		}
		add_equipment_to_stockpile = {
			type = ballistic_equipment_1
			amount = 350
			producer = USA		
		}
			army_experience = 50
			add_manpower = -10
	}

		
	}
			option = {
		name = nf_whitelegs.36.b
		 add_equipment_to_stockpile = {
			type = energy_equipment_2
			amount = 200
			producer = UTH	
		}
		 add_equipment_to_stockpile = {
			type = demolitions_equipment
			amount = 300
			producer = UTH	
		}
		add_equipment_to_stockpile = {
			type = energy_equipment_1
			amount = 200
			producer = UTH	
		}
		add_equipment_to_stockpile = {
			type = ballistic_equipment_3
			amount = 50
			producer = USA	
		}
		add_to_variable = { WHT_industrial_capacity_factory = -0.02}
		 force_update_dynamic_modifier = yes
		 }
	
			option = {
        name = nf_whitelegs.36.c
        trigger = { 
		OR = {
            has_tech = electronic_engineering_2
			has_idea = literacy 
			}
        }
		
		add_popularity = { ideology = people popularity = 0.05 }
		add_popularity = { ideology = intellectuals popularity = 0.05 }
		add_equipment_to_stockpile = {
			type = melee_equipment_4
			amount = 500
			producer = USA
				}
			add_equipment_to_stockpile = {
			type = ballistic_equipment_3
			amount = 150
			producer = USA	
		}
		add_equipment_to_stockpile = {
			type = demolitions_equipment
			amount = 300
			producer = UTH	
		}
		add_equipment_to_stockpile = {
			type = energy_equipment_3
			amount = 150
			producer = UTH	
		}
    }
}

country_event = {
	immediate = { log = "[GetDateText]: [Root.GetName]: event nf_whitelegs.37  #a Tiny Aresnal" }
	id = nf_whitelegs.37  #Bible
	title = nf_whitelegs.37.t
	desc = nf_whitelegs.37.d
	picture = GFX_event_zion
	fire_only_once = yes
	is_triggered_only = yes
	option = {
	name = nf_whitelegs.37.a
	set_country_flag = WHT_Witch_follower
	add_political_power = 100
	add_manpower = 150
	}
	option = {
	name = nf_whitelegs.37.b
	add_stability = 0.15
	add_manpower = 300
	random_owned_controlled_state = {
				limit = {
					is_core_of = CLK
				}
				add_core_of = WHT
			}
	
	}
	option = {
	name = nf_whitelegs.37.c
	trigger = { has_completed_focus = wht_2nd_wife }
	set_country_flag = WHT_Witch_follower
		remove_trait = {
		character = WHT_Witch_hilda
		slot = research_advisor
		trait = WHT_magical_adivisor
		
	}
	
		add_trait = {
    character = WHT_Witch_hilda
	slot = research_advisor
    trait = WHT_MAGIC_concubine
}

random_owned_controlled_state = {
				limit = {
					is_core_of = CLK
				}
				add_core_of = WHT
			}
		add_manpower = 450
	
	
	}
}
	
	country_event = {
	immediate = { log = "[GetDateText]: [Root.GetName]: event nf_whitelegs.38  #a Tiny Aresnal" }
	id = nf_whitelegs.38  #Bible
	title = nf_whitelegs.38.t
	desc = nf_whitelegs.38.d
	picture = GFX_event_zion
	fire_only_once = yes
	is_triggered_only = yes
	
	option = { #scrap everything 
	name = nf_whitelegs.38.a
	random_owned_controlled_state = {
	add_resource = {
				type = metal
				amount = 12
			}
		}
		add_resource = {
				type = circuitry
				amount = 9
			}
			
			add_resource = {
				type = advanced
				amount = 6
			}
			
		add_equipment_to_stockpile = {
		type = ballistic_equipment_1
		amount = 500
		producer = USA
		}
			add_equipment_to_stockpile = {
			type = infantry_equipment
			amount = 250
			producer = WHT
			}
			add_equipment_to_stockpile = {
			type = energy_equipment_1
			amount = 100
			producer = USA
			}
			add_equipment_to_stockpile = {
			type = melee_equipment_2
			amount = 100
			producer = UTH
			}
		}
	
	
	option = { ### take what we can
	name = nf_whitelegs.38.b
	add_to_variable = { geck_count = 1 }
			custom_effect_tooltip = generic_geck_tt
			
			random_owned_controlled_state = {
			add_resource = {
				type = energy
				amount = 14
					}
					add_resource = {
				type = water
				amount = 10
					}
				}
			}
	
	}
	
	country_event = {
	immediate = { log = "[GetDateText]: [Root.GetName]: event nf_whitelegs.39  #a Tiny Aresnal" }
	id = nf_whitelegs.39  #Bible
	title = nf_whitelegs.39.t
	desc = nf_whitelegs.39.d
	picture = GFX_event_45_Auto_SMG_drums
	fire_only_once = yes
	is_triggered_only = yes
	option = {
	name = nf_whitelegs.39.a
	set_technology = { ballistic_weaponry_tech_2 = 1 }
	add_equipment_to_stockpile = {
	type = ballistic_equipment_2
	amount = 300
	producer = ROOT
	}
	add_ideas = { WHT_CANT_MAINtain }
	set_country_flag = wht_storm_drums
	}
	
	}
		
	
	country_event = {
	immediate = { log = "[GetDateText]: [Root.GetName]: event nf_whitelegs.40  #a Tiny Aresnal" }
	id = nf_whitelegs.40  #Bible
	title = nf_whitelegs.40.t
	desc = nf_whitelegs.40.d
	picture = GFX_event_Mirelurk_Queen
	fire_only_once = yes
	is_triggered_only = yes
	option = {
	name = nf_whitelegs.40.a
	add_popularity = { ideology = people popularity = 0.05 }
	random_owned_controlled_state = {
				limit = {
					is_core_of = TAR
				}
				add_core_of = WHT
			}
			random_owned_controlled_state = {
				limit = {
					is_core_of = TAR
				}
				add_core_of = WHT
			}
		}
	option = {
	name = nf_whitelegs.40.b
	add_political_power = 300
	add_country_leader_trait = WHT_Beast_slayer
	add_manpower = 300
	}
}

	country_event = {
	immediate = { log = "[GetDateText]: [Root.GetName]: event nf_whitelegs.41  #a A woman's place" }
	id = nf_whitelegs.41  #Bible
	title = nf_whitelegs.41.t
	desc = nf_whitelegs.41.d
	picture = GFX_event_WHT_woman
	fire_only_once = yes
	trigger = {
	tag = WHT 
	has_completed_focus = wht_2nd_wife
	ruler > 0.4
	}
	mean_time_to_happen = { days = 100 }
	option = {
	name = nf_whitelegs.41.a
	add_popularity = { ideology = people popularity = 0.025 }
	add_popularity = { ideology = Elites popularity = 0.025 }
	add_stability = 0.05
	}
	option = {
	name = nf_whitelegs.41.b
	add_war_support = 0.05
	add_popularity = { ideology = Ruler popularity = 0.025 }
	}
}

country_event = {
	immediate = { log = "[GetDateText]: [Root.GetName]: event nf_whitelegs.42  #Hunt" }
	id = nf_whitelegs.42  #Hunt
	title = nf_whitelegs.42.t
	desc = nf_whitelegs.42.d
	picture = GFX_event_Tribal_hunter
	fire_only_once = yes
	trigger = {
	tag = WHT 
	has_completed_focus =wht_militia_foce
	}
	mean_time_to_happen = { days = 100 }
	option = {
	name = nf_whitelegs.42.a
	
	}
}

	country_event = { # Marriage
	immediate = { log = "[GetDateText]: [Root.GetName]: event nf_whitelegs.43" }
	id = nf_whitelegs.43
	title = nf_whitelegs.43.t
	desc = nf_whitelegs.43.d
	picture = GFX_event_CES_whitelegs
fire_only_once = yes
	is_triggered_only = yes
	option = {
	name = nf_whitelegs.43.a
	trigger = {
			 tag = WHT }
			}
	
	option = {
	name = nf_whitelegs.43.b
	trigger = {
			 tag = CES
			 tag = LAC
			 tag = NAV
			 tag = TWO
			 tag = RES
		}
	}
	option = {
	name = nf_whitelegs.43.c
	trigger = {
			NOT = { tag = CES }
			NOT = { tag = WHT }
			NOT = { tag = LAC }
			NOT = { tag = NAV }
			NOT = { tag = TWO }
			NOT = { tag = RES }
		}
	}
	
}


	country_event = {
	immediate = { log = "[GetDateText]: [Root.GetName]: event nf_whitelegs.44" }
	id = nf_whitelegs.44
	title = nf_whitelegs.44.t
	desc = nf_whitelegs.44.d
	picture = GFX_event_white_legs
	fire_only_once = yes
	trigger = {
	tag = WHT 
	has_war_support > 0.05
	}
	
	mean_time_to_happen = { days = 500 }
	option = {
	name = nf_whitelegs.44.a
	
	}
}

country_event = {
	immediate = { log = "[GetDateText]: [Root.GetName]: event nf_whitelegs.45" }
	id = nf_whitelegs.45
	title = nf_whitelegs.45.t
	desc = nf_whitelegs.45.d
	picture = GFX_event_Cassidy_Caravans_Wreckage
	fire_only_once = yes
	trigger = {
	tag = WHT 
	has_war_support > 0.05
	 WHT_CRY_SOME= {
						is_hired_as_advisor = yes
					}
	}
	mean_time_to_happen = { days = 300 }
	option = {
	name = nf_whitelegs.45.a
	set_temp_variable = { caps_to_add = 450 }
		add_caps = yes
		set_country_flag = wht_trasure
	}
}

country_event = {
	immediate = { log = "[GetDateText]: [Root.GetName]: event nf_whitelegs.48" }
	id = nf_whitelegs.48
	title = nf_whitelegs.48.t
	desc = nf_whitelegs.48.d
	picture = GFX_event_VEG_securitronvault
	fire_only_once = yes
	trigger = {
	tag = WHT 
	controls_state = 211
	
	}
	mean_time_to_happen = { days = 120 }
	option = {
	name = nf_whitelegs.48.a
	211 = { 
	add_resource = {
				type = metal
				amount = 30
			}
			add_resource = {
				type = advanced
				amount = 10
			}
				add_resource = {
				type = circuitry
				amount = 20
			}
	}
}
	option = {
	name = nf_whitelegs.48.b
	trigger = { 
	has_tech = platinum_os_tech
	}
	set_technology = { robot_securitron_tech_1 = 1 }
	set_technology = { robot_securitron_cnp_tech = 1 }
	division_template= {
						name = "White Leg Securitrons"
						regiments = {
						security_robot = { x = 0 y = 0 }
						security_robot = { x = 0 y = 1 }
						security_robot = { x = 0 y = 2 }
						security_robot = { x = 1 y = 0 }
						security_robot = { x = 1 y = 1 }
						security_robot = { x = 1 y = 2 }
						security_robot = { x = 2 y = 0 }
						security_robot = { x = 2 y = 1 }
					}
				}
			127 = {
			create_unit = {
				division = "name = \"White Leg New Vegas Guards\" division_template = \"White Leg Securitrons\" start_experience_factor = 0.6"
				owner = WHT
		}

				}
				
			211 = {
			create_unit = {
				division = "name = \"White Leg Freeside Enforcers\" division_template = \"White Leg Securitrons\" start_experience_factor = 0.6"
				owner = WHT
		}
		create_unit = {
				division = "name = \"White Leg Metal Men\" division_template = \"White Leg Securitrons\" start_experience_factor = 0.6"
				owner = WHT
		}
			
			}
	
	}
}

country_event = {
	immediate = { log = "[GetDateText]: [Root.GetName]: event nf_whitelegs.49" }
	id = nf_whitelegs.49
	title = nf_whitelegs.49.t
	desc = nf_whitelegs.49.d
	picture = GFX_event_CES_whitelegs
	fire_only_once = yes
	trigger = {
	tag = WHT
	focus_progress = {
    focus = wht_clock_breaking
    progress > 0.01
}
	}
	mean_time_to_happen = { days = 10 }
	
	option = {
	name = nf_whitelegs.49.a
	add_war_support = 0.025
	}
}
	
	country_event = {
	immediate = { log = "[GetDateText]: [Root.GetName]: event nf_whitelegs.50" }
	id = nf_whitelegs.50
	title = nf_whitelegs.50.t
	desc = nf_whitelegs.50.d
	picture = GFX_event_VEG_platinumchip
	fire_only_once = yes
	trigger = {
	tag = WHT
	controls_state = 127
	}
	mean_time_to_happen = { days = 400 }
	option = {
	name = nf_whitelegs.50.a
	set_technology = { platinum_os_tech = 1 }
	}
}
	 

country_event = {
	immediate = { log = "[GetDateText]: [Root.GetName]: event wht_frontier.1" }
	id = WHT_frontier.1
	title = WHT_frontier.1.t
	desc = WHT_frontier.1.d
	picture = GFX_event_event_ces_whitelegs
	is_triggered_only = yes
	fire_only_once = yes
	option = {
		name = WHT_frontier.1.a
		WHT = {
			transfer_state = 12
			set_temp_variable = { caps_to_add = 50 }
		add_caps = yes
		}
	}
}

country_event = {
	immediate = { log = "[GetDateText]: [Root.GetName]: event WHT_frontier.2" }
	id = WHT_frontier.2
	title = WHT_frontier.2.t
	desc = WHT_frontier.2.d
	picture = GFX_event_event_ces_whitelegs
	is_triggered_only = yes
	fire_only_once = yes
	option = { 
		name = WHT_frontier.2.a
		WHT = {
			transfer_state = 75
			set_temp_variable = { caps_to_add = 50 }
		add_caps = yes
		}
	}
}
country_event = {
	immediate = { log = "[GetDateText]: [Root.GetName]: event WHT_frontier.3" }
	id = WHT_frontier.3
	title = WHT_frontier.3.t
	desc = WHT_frontier.3.d
	picture = GFX_event_event_ces_whitelegs
	is_triggered_only = yes
	fire_only_once = yes
	option = {
		name = WHT_frontier.3.a
		WHT = {
			transfer_state = 425
			set_temp_variable = { caps_to_add = 50 }
		add_caps = yes
		}
	}
}
country_event = {
	immediate = { log = "[GetDateText]: [Root.GetName]: event WHT_frontier.4" }
	id = WHT_frontier.4
	title = WHT_frontier.4.t
	desc = WHT_frontier.3.d
	picture = GFX_event_event_ces_whitelegs
	is_triggered_only = yes
	fire_only_once = yes
	option = {
		name = WHT_frontier.3.a
		WHT = {
			transfer_state = 270
			set_temp_variable = { caps_to_add = 50 }
		add_caps = yes
		}
	}
}
country_event = {
	immediate = { log = "[GetDateText]: [Root.GetName]: event WHT_frontier.5" }
	id = WHT_frontier.5
	title = WHT_frontier.5.t
	desc = WHT_frontier.5.d
	picture = GFX_event_event_ces_whitelegs
	is_triggered_only = yes
	fire_only_once = yes
	option = {
		name = WHT_frontier.5.a
		WHT = {
			transfer_state = 286
			set_temp_variable = { caps_to_add = 50 }
		add_caps = yes
		}
	}
}
country_event = {
	immediate = { log = "[GetDateText]: [Root.GetName]: event WHT_frontier.6" }
	id = WHT_frontier.6
	title = WHT_frontier.6.t
	desc = WHT_frontier.6.d
	picture = GFX_event_event_ces_whitelegs
	is_triggered_only = yes
	fire_only_once = yes
	option = { 
		name = WHT_frontier.6.a
		WHT = {
			transfer_state = 127
			set_temp_variable = { caps_to_add = 50 }
		add_caps = yes
		}
	}
}
country_event = {
	immediate = { log = "[GetDateText]: [Root.GetName]: event WHT_frontier.7" }
	id = WHT_frontier.7
	title = WHT_frontier.7.t
	desc = WHT_frontier.7.d
	picture = GFX_event_event_ces_whitelegs
	is_triggered_only = yes
	fire_only_once = yes
	option = { 
		name = WHT_frontier.7.a
		WHT = {
			transfer_state = 324
			set_temp_variable = { caps_to_add = 50 }
		add_caps = yes
		}
	}
}

country_event = {
	immediate = { log = "[GetDateText]: [Root.GetName]: event WHT_frontier.8" }
	id = WHT_frontier.8
	title = WHT_frontier.8.t
	desc = WHT_frontier.8.d
	picture = GFX_event_event_ces_whitelegs
	is_triggered_only = yes
	fire_only_once = yes
	option = { 
		name = WHT_frontier.8.a
		WHT = {
			transfer_state = 535
			set_temp_variable = { caps_to_add = 50 }
		add_caps = yes
		}
	}
}

country_event = {
	immediate = { log = "[GetDateText]: [Root.GetName]: event WHT_frontier.9" }
	id = WHT_frontier.9
	title = WHT_frontier.9.t
	desc = WHT_frontier.9.d
	picture = GFX_event_event_ces_whitelegs
	is_triggered_only = yes
	fire_only_once = yes
	option = { 
		name = WHT_frontier.9.a
		WHT = {
			transfer_state = 309
			set_temp_variable = { caps_to_add = 50 }
		add_caps = yes
		}
	}
}

country_event = {
	immediate = { log = "[GetDateText]: [Root.GetName]: event WHT_frontier.10" }
	id = WHT_frontier.10
	title = WHT_frontier.10.t
	desc = WHT_frontier.10.d
	picture = GFX_event_event_ces_whitelegs
	is_triggered_only = yes
	fire_only_once = yes
	option = { 
		name = WHT_frontier.10.a
		WHT = {
			transfer_state = 154
			set_temp_variable = { caps_to_add = 100 }
		add_caps = yes
		}
	}
}
