operations = {
	znp_prodoljenie_voiny_s_segunami = {
		icon = generic_civil_support
		allowed = { always = no } #Activated from effect
		available = {
			OR = {
				NOT = {
					has_war_with = ZJA
				}
				has_civil_war = no
			}			
		}
		days_mission_timeout = 500			
		fire_only_once = yes
		is_good = no
		modifier = {
			
		}
		timeout_effect = {
			country_event = {
				id = nippon.27
			}
		}
		ai_will_do = {
			factor = 20
		}
	}
	znp_stanovitsya_jarko = {
		icon = generic_civil_support
		allowed = { always = no } #Activated from effect
		available = {
#			hidden_trigger = {
#					always = no 
#				}
			OR = {
				NOT = {
					has_war_with = ZJA
				}
				has_civil_war = no
			}
		}
		days_mission_timeout = 70			
		fire_only_once = yes
		is_good = no
		timeout_effect = {
			country_event = {
				id = nippon.31
			}
		}
		ai_will_do = {
			factor = 20
		}
	}
	znp_500pp_to_win = {
		icon = generic_operation		
		available = {			
			has_war_with = ZJA			
		}
		cost = 500
		fire_only_once = yes
		visible = {
			has_war_with = ZJA
			has_country_flag = nippon_flag_rech_lidera
		}		
		complete_effect = {
			remove_mission = znp_stanovitsya_jarko		
		}
		ai_will_do = {
			factor = 100			
		}
	}
	
	znp_superremont_korablei = {
		icon = generic_industry
		allowed = {
			original_tag = ZNP
		}
		available = {
			has_government = neutrality
		}
		visible = {
			has_completed_focus = znp_razvertyvanie_verfei
		}
		fire_only_once = no
		modifier = {			
			consumer_goods_factor = 0.05
			repair_speed_factor = 0.3
			refit_speed = 0.3
		}
		days_remove = 180
		days_re_enable = 250
		cost = 60
		complete_effect = {
			
		}
		ai_will_do = {
			base = 0
			modifier = {
				add = 1
				has_war = yes
			}
		}
	}
	
	znp_dolf_v_obmen_na_sodeistvie = {
		icon = generic_political_discourse
		available = {
			has_government = neutrality
			# has_country_leader = {
				# name = "Yoshiro"
			# }
			has_country_leader = {
				character = ZJA_yoshiro
				ruling_only = yes
			}
			has_war = yes			
			NOT = {
				has_war_with = ZHA	
			}
			ZHA = {				
				exists = yes
				has_government = fascism
				NOT = {
					has_completed_focus = zha_konvfikt_na_vostoke
					has_idea = zha_neutral_politika
				}				
			}			
		}
		visible = {
			has_global_flag = zha_imperatoe_dolg_defolt
			has_war = yes
			ZHA = {
				NOT = {
					has_completed_focus = zha_konvfikt_na_vostoke
				}
			}
		}
		fire_only_once = yes		
		cost = 5
		complete_effect = {			
			ZHA = {
				country_event = { id = hanchines.82 }
			}
		}
		ai_will_do = {
			factor = 1
		}
	}

}