Anti_Bully = {
	AB_offer_stalemate_Atk = {

		icon = jap_conquer_china
		target_array = enemies
		target_trigger = {
			from = { has_defensive_war_with = ROOT } #deffender
			has_offensive_war_with = FROM #attacker
		}
		
		available = {
			has_offensive_war_with = FROM #attacker
			or = {
				has_war_support < 0.51
				from = { surrender_progress > 0.49 }
			}
			not = { has_idea = three_months_of_war }
		}

		visible = {
			has_offensive_war_with = FROM #attacker
		}
		
		complete_effect = {
			hidden_effect = { save_event_target_as = AB_event_target set_country_flag = FC_with_@FROM }
			from = {
				hidden_effect = { set_country_flag = FC_with_@ROOT }
				country_event = { id = anti_bully.5 days = 1 }  
			}
			effect_tooltip = {
				if = {
					limit = { #If you're in a faction, not a major and not the leader
						is_in_faction = yes
						is_faction_leader = no
						any_allied_country = { #Faction leader must have capitulated for me to see this decision
							has_war_together_with = ROOT
							is_faction_leader = yes
							has_capitulated = no
						}
					}
					custom_effect_tooltip = anti_bully.tt
					if = {
						limit = { has_idea = NATO_member }
						remove_ideas = NATO_member
					}
				}
			}
		}

	}
	
	AB_offer_stalemate_Def = {

		icon = jap_conquer_china
		target_array = enemies
		target_trigger = {
			from = { has_offensive_war_with = ROOT } #attacker
			has_defensive_war_with = FROM #deffender
		}
		
		available = {
			has_defensive_war_with = FROM #attacker
			or = {
				has_war_support < 0.51
				from = { surrender_progress > 0.49 }
			}
			not = { has_idea = three_months_of_war }
			custom_trigger_tooltip = { tooltip = anti_bully2.tt has_country_flag = stalemate@FROM }
			
		}

		visible = {
			has_defensive_war_with = FROM #attacker

		}
		complete_effect = {
			hidden_effect = { save_event_target_as = AB_event_target set_country_flag = FC_with_@FROM }
			from = {
				hidden_effect = { set_country_flag = FC_with_@ROOT }
				country_event = { id = anti_bully.5 days = 1 }  
			}
			effect_tooltip = {
				if = {
					limit = { #If you're in a faction, not a major and not the leader
						is_in_faction = yes
						is_faction_leader = no
						any_allied_country = { #Faction leader must have capitulated for me to see this decision
							has_war_together_with = ROOT
							is_faction_leader = yes
							has_capitulated = no
						}
					}
					custom_effect_tooltip = anti_bully.tt
					if = {
						limit = { has_idea = NATO_member }
						remove_ideas = NATO_member
					}
					
				}
			}
		}
	}
	
	# AB_escalate_FC = {
		# available = {
			
		# }
		# visible = {
			# tag = ISR
		# }
		
		# target_trigger = {
			# from = { has_country_flag = FC_with_@ROOT }
			# has_country_flag = FC_with_@FROM
		# }
		
		# complete_effect = {
			# SYR = { country_event = { id = Israel.2 } }
			
		# }
		
	# }
	# AB_de_escalate_FC = {
		# available = {
			# tag = ISR
			# any_neighbor_country = { tag = SYR }
			# any_owned_state = { is_core_of = SYR }
		# }
		# visible = {
			# tag = ISR
		# }
		# complete_effect = {
			# SYR = { country_event = { id = Israel.2 } }
			
		# }
		
	# }
	# AB_Border_war_FC = {
		# available = {
			# tag = ISR
			# any_neighbor_country = { tag = SYR }
			# any_owned_state = { is_core_of = SYR }
		# }
		# visible = {
			# tag = ISR
		# }
		# complete_effect = {
			# SYR = { country_event = { id = Israel.2 } }
			
		# }
		
	# }
	# AB_Request_UN_FC = {
		# available = {
			# tag = ISR
			# any_neighbor_country = { tag = SYR }
			# any_owned_state = { is_core_of = SYR }
		# }
		# visible = {
			# tag = ISR
		# }
		# complete_effect = {
			# SYR = { country_event = { id = Israel.2 } }
			
		# }
		
	# }
	# AB_Crisis_FC = {
		# available = {
			# tag = ISR
			# any_neighbor_country = { tag = SYR }
			# any_owned_state = { is_core_of = SYR }
		# }
		# visible = {
			# tag = ISR
		# }
		# complete_effect = {
			# SYR = { country_event = { id = Israel.2 } }
			
		# }
		
	# }
	
}