

war_name_parts_list = {
	key = "default_war_names"
	parts = {
		"Háború" = 1
	}
}

war_name_parts_list = {
	key = "federation_war_names"
	parts = {
		"Nagy háború" = 1
		"Galaktikus háború" = 1
		"Szövetségek háborúja" = 1
		"Föderációs háború"
	}
}

war_name_parts_list = {
	key = "conquest_war_names"
	parts = {
		"Hódító háború" = 1
		"Agressziós háború" = 1
		"Területi invázió" = 1
		"Annektálási kísérlet" = 1
	}
}

war_name_parts_list = {
	key = "corp_conquest_war_names"
	parts = {
		"Ellenséges hatalomátvétel" = 1
	}
}

war_name_parts_list = {
	key = "subjugation_war_names"
	parts = {
		"Elnyomó háború" = 1
		"Szolga hadjárat" = 1
		"Engedelmességi háború" = 1
		"Hűbérúri háború" = 1
	}
}

war_name_parts_list = {
	key = "corp_subjugation_war_names"
	parts = {
		"Leányvállalti akvizíció" = 1
	}
}

war_name_parts_list = {
	key = "galatron_war_names"
	parts = {
		"War_for_the_Galatron" = 1
	}
}

war_name_parts_list = {
	key = "expel_corp_war_names"
	parts = {
		"Embargo_War" = 1
		"War_of_Expropriation" = 1
		"Expulsion_War" = 1
	}
}						   
war_name_parts_list = {					   
	key = "tribute_war_names"
	parts = {
		"Sarcolási háború" = 1
	}
}

war_name_parts_list = {
	key = "corp_tribute_war_names"
	parts = {
		"Kötelező szponzorálás" = 1
	}
}

war_name_parts_list = {
	key = "force_ideology_war_names"
	parts = {
		"Ideológiák háborúja" = 1
		"Filozófiák háborúja" = 1
		"Hitek háborúja" = 1
	}
}

war_name_parts_list = {
	key = "humiliation_war_names"
	parts = {
		"Megaláztató háború" = 1
		"Rivalizálási háború" = 1
		"Konfrontáció" = 1
		"Határvillongás" = 1
	}
}

war_name_parts_list = {
	key = "fe_humiliation_war_names"
	parts = {
		"Büntető expedíció" = 1
	}
}

war_name_parts_list = {
	key = "fe_stop_atrocities_war_names"
	parts = {
		"Erkölcsi intervenció" = 1
	}
}

war_name_parts_list = {
	key = "fe_stop_ai_names_war_names"
	parts = {
		"AI-ellenes rendfenntartási művelet" = 1
	}
}

war_name_parts_list = {
	key = "fe_cleanse_holy_worlds_war_names"
	parts = {
		"Szent tisztogatás" = 1
	}
}

war_name_parts_list = {
	key = "fe_cleanse_border_worlds_war_names"
	parts = {
		"Pufferzóna létrehozása" = 1
	}
}

war_name_parts_list = {
	key = "machine_uprising_war_names"
	parts = {
		"Gépek lázadása"
	}
}

war_name_parts_list = {
	key = "war_in_heaven_war_names"
	parts = {
		"Mennyei háború"
	}
}

war_name_parts_list = {
	key = "protection_war_names"
	parts = {
		"Megelőző háború" = 1
		"Önvédelmi háború" = 1
		"Megelőző hadművelet" = 1
		"Intervenciós háború" = 1
	}
}

war_name_parts_list = {
	key = "cleansing_pur_war_names"
	parts = {
		"Xenotisztigatási háború" = 1
		"Tisztogatási háború" = 1
		"Idegen mocsok eltávolítása" = 1
	}
}

war_name_parts_list = {
	key = "cleansing_ext_war_names"
	parts = {
		"Szerves elaltatási háború" = 1
		"Exterminációs hadjárat" = 1
		"Szerves fertőtlenítési program" = 1
	}
}

war_name_parts_list = {
	key = "absorption_war_names"
	parts = {
		"Abszorpciós háború" = 1
		"Biomassza felhalmozása" = 1
		"A Nagy Habzsolás" = 1
	}
}

war_name_parts_list = {
	key = "independence_war_names"
	parts = {
		"Függetlenségi háború" = 1
		"Függetlenségi háború" = 1
		"Felszabadítási háború" = 1
		"Szabadságharc" = 1
		"Szeparatista háború" = 1
	}
}

### DEFAULT (Fallback)
war_name_format = {
	random_weight = {
		factor = 1
	}
	format = "[This.MainAttacker.GetAdj] - [This.MainDefender.GetAdj] <default_war_names>"
}

### FEDERATION WARS

# War Between Federations
war_name_format = {
	random_weight = {
		factor = 0
		modifier = {
			add = 999
            attacker = {
				has_federation = yes
			}
			defender = {
				has_federation = yes
			}
		}
	}
	format = "[This.MainAttacker.GetAllianceName] - [This.MainDefender.GetAllianceName] <federation_war_names>"
}

### CONQUEST WARS

# Conquest - No Federations
war_name_format = {
	random_weight = {
		factor = 0
		modifier = {
			add = 999
			using_war_goal = {
                type = wg_conquest
                owner = attacker
            }
            attacker = {
				has_federation = no
				NOT = { has_government = gov_megacorporation }
			}
			defender = {
				has_federation = no
			}
		}
	}
	format = "[This.MainAttacker.GetAdj] - [This.MainDefender.GetAdj] <conquest_war_names>"
}

# Conquest - Attacker Federation
war_name_format = {
	random_weight = {
		factor = 0
		modifier = {
			add = 999
			using_war_goal = {
                type = wg_conquest
                owner = attacker
            }
			attacker = {
				has_federation = yes
			}
			defender = {
				has_federation = no
			}
		}
	}
	format = "[This.MainAttacker.GetAllianceName] - [This.MainDefender.GetAdj] <war_names>"
}

# Conquest - Defender Federation
war_name_format = {
	random_weight = {
		factor = 0
		modifier = {
			add = 999
			using_war_goal = {
                type = wg_conquest
                owner = attacker
            }
			attacker = {
				has_federation = no
			}
			defender = {
				has_federation = yes
			}
		}
	}
	format = "[This.MainAttacker.GetAdj] - [This.MainDefender.GetAllianceName] <war_names>"
}

# Conquest - Corporate Attacker, No Federations
war_name_format = {
	random_weight = {
		factor = 0
		modifier = {
			add = 999
			using_war_goal = {
                type = wg_conquest
                owner = attacker
            }
            attacker = {
				has_federation = no
				has_government = gov_megacorporation
			}
			defender = {
				has_federation = no
			}
		}
	}
	format = "[This.MainAttacker.GetAdj] - [This.MainDefender.GetAdj] <corp_conquest_war_names>"
}

### SUBJUGATION WARS

# Subjugation - No Federations
war_name_format = {
	random_weight = {
		factor = 0
		modifier = {
			add = 999
				using_war_goal = {
					type = wg_subjugation
					owner = attacker
				}
				using_war_goal = {
					type = wg_megacorp_subjugate
					owner = attacker
				}				
		 
            attacker = {
				has_federation = no
				NOT = { has_government = gov_megacorporation }
			}
			defender = {
				has_federation = no
			}
		}
	}
	format = "[This.MainAttacker.GetAdj] - [This.MainDefender.GetAdj] <subjugation_war_names>"
}

# Subjugation - Attacker Federation
war_name_format = {
	random_weight = {
		factor = 0
		modifier = {
			add = 999
				using_war_goal = {
					type = wg_subjugation
					owner = attacker
				}
				using_war_goal = {
					type = wg_megacorp_subjugate
					owner = attacker
				}				
			}
			attacker = {
				has_federation = yes
			}
			defender = {
				has_federation = no
			}
		}
	}
	format = "[This.MainAttacker.GetAllianceName] - [This.MainDefender.GetAdj] <subjugation_war_names>"
}

# Subjugation - Defender Federation
war_name_format = {
	random_weight = {
		factor = 0
		modifier = {
			add = 999
				using_war_goal = {
					type = wg_subjugation
					owner = attacker
				}
				using_war_goal = {
					type = wg_megacorp_subjugate
					owner = attacker
				}				
			}
			attacker = {
				has_federation = no
			}
			defender = {
				has_federation = yes
			}
		}
	}
	format = "[This.MainAttacker.GetAdj] - [This.MainDefender.GetAllianceName] <subjugation_war_names>"
}

# Subjugation - Corporate Attacker, No Federations
war_name_format = {
	random_weight = {
		factor = 0
		modifier = {
			add = 999
				using_war_goal = {
					type = wg_subjugation
					owner = attacker
				}
				using_war_goal = {
					type = wg_megacorp_subjugate
					owner = attacker
				}				
			}
            attacker = {
				has_federation = no
				has_government = gov_megacorporation
			}
			defender = {
				has_federation = no
			}
		}
	}
	format = "[This.MainAttacker.GetAdj] - [This.MainDefender.GetAdj] <corp_subjugation_war_names>"
}

### TRIBUTE WARS

# Tribute - No Federations
war_name_format = {
	random_weight = {
		factor = 0
		modifier = {
			add = 999
			using_war_goal = {
                type = wg_tribute
                owner = attacker
            }
            attacker = {
				has_federation = no
				NOT = { has_government = gov_megacorporation }
			}
			defender = {
				has_federation = no
			}
		}
	}
	format = "[This.MainAttacker.GetAdj] - [This.MainDefender.GetAdj] <tribute_war_names>"
}

# Tribute - Attacker Federation
war_name_format = {
	random_weight = {
		factor = 0
		modifier = {
			add = 999
			using_war_goal = {
                type = wg_tribute
                owner = attacker
            }
			attacker = {
				has_federation = yes
			}
			defender = {
				has_federation = no
			}
		}
	}
	format = "[This.MainAttacker.GetAllianceName] - [This.MainDefender.GetAdj] <tribute_war_names>"
}

# Tribute - Defender Federation
war_name_format = {
	random_weight = {
		factor = 0
		modifier = {
			add = 999
			using_war_goal = {
                type = wg_tribute
                owner = attacker
            }
			attacker = {
				has_federation = no
			}
			defender = {
				has_federation = yes
			}
		}
	}
	format = "[This.MainAttacker.GetAdj] - [This.MainDefender.GetAllianceName] <tribute_war_names>"
}

# Tribute - Corporate Attacker, No Federations
war_name_format = {
	random_weight = {
		factor = 0
		modifier = {
			add = 999
			using_war_goal = {
                type = wg_tribute
                owner = attacker
            }
            attacker = {
				has_federation = no
				has_government = gov_megacorporation
			}
			defender = {
				has_federation = no
			}
		}
	}
	format = "[This.MainAttacker.GetAdj] - [This.MainDefender.GetAdj] <corp_tribute_war_names>"
}

### FORCE IDEOLOGY WARS

# Force Ideology - No Federations
war_name_format = {
	random_weight = {
		factor = 0
		modifier = {
			add = 999
			using_war_goal = {
                type = wg_force_ideology
                owner = attacker
            }
            attacker = {
				has_federation = no
			}
			defender = {
				has_federation = no
			}
		}
	}
	format = "[This.MainAttacker.GetAdj] - [This.MainDefender.GetAdj] <force_ideology_war_names>"
}

# Force Ideology - Attacker Federation
war_name_format = {
	random_weight = {
		factor = 0
		modifier = {
			add = 999
			using_war_goal = {
                type = wg_force_ideology
                owner = attacker
            }
			attacker = {
				has_federation = yes
			}
			defender = {
				has_federation = no
			}
		}
	}
	format = "[This.MainAttacker.GetAllianceName] - [This.MainDefender.GetAdj] <force_ideology_war_names>"
}

# Force Ideology - Defender Federation
war_name_format = {
	random_weight = {
		factor = 0
		modifier = {
			add = 999
			using_war_goal = {
                type = wg_force_ideology
                owner = attacker
            }
			attacker = {
				has_federation = no
			}
			defender = {
				has_federation = yes
			}
		}
	}
	format = "[This.MainAttacker.GetAdj] - [This.MainDefender.GetAllianceName] <force_ideology_war_names>"
}

### HUMILIATION WARS

# Humiliation - No Federations
war_name_format = {
	random_weight = {
		factor = 0
		modifier = {
			add = 999
			using_war_goal = {
                type = wg_humiliation
                owner = attacker
            }
            attacker = {
				has_federation = no
			}
			defender = {
				has_federation = no
			}
		}
	}
	format = "[This.MainAttacker.GetAdj] - [This.MainDefender.GetAdj] <humiliation_war_names>"
}

# Humiliation - Attacker Federation
war_name_format = {
	random_weight = {
		factor = 0
		modifier = {
			add = 999
			using_war_goal = {
                type = wg_humiliation
                owner = attacker
            }
			attacker = {
				has_federation = yes
			}
			defender = {
				has_federation = no
			}
		}
	}
	format = "[This.MainAttacker.GetAllianceName] - [This.MainDefender.GetAdj] <humiliation_war_names>"
}

# Humiliation - Defender Federation
war_name_format = {
	random_weight = {
		factor = 0
		modifier = {
			add = 999
			using_war_goal = {
                type = wg_humiliation
                owner = attacker
            }
			attacker = {
				has_federation = no
			}
			defender = {
				has_federation = yes
			}
		}
	}
	format = "[This.MainAttacker.GetAdj] - [This.MainDefender.GetAllianceName] <humiliation_war_names>"
}

### PROTECTION WAR NAMES

# Protection - No Federations
war_name_format = {
	random_weight = {
		factor = 0
		modifier = {
			add = 999
			OR = {
				using_war_goal = {
					type = wg_end_threat
					owner = attacker
				}
				using_war_goal = {
					type = wg_end_threat_swarm
					owner = attacker
				}				
			}
            attacker = {
				has_federation = no
			}
			defender = {
				has_federation = no
			}
		}
	}
	format = "[This.MainAttacker.GetAdj] - [This.MainDefender.GetAdj] <protection_war_names>"
}

# Protection - Attacker Federation
war_name_format = {
	random_weight = {
		factor = 0
		modifier = {
			add = 999
			OR = {
				using_war_goal = {
					type = wg_end_threat
					owner = attacker
				}
				using_war_goal = {
					type = wg_end_threat_swarm
					owner = attacker
				}				
			}
			attacker = {
				has_federation = yes
			}
			defender = {
				has_federation = no
			}
		}
	}
	format = "[This.MainAttacker.GetAllianceName] - [This.MainDefender.GetAdj] <protection_war_names>"
}

### CLEANSING PURIFIERS WAR NAMES

# Cleansing Purifiers - No Federations
war_name_format = {
	random_weight = {
		factor = 0
		modifier = {
			add = 999
			using_war_goal = {
                type = wg_cleansing
                owner = attacker
            }
            attacker = {
				has_federation = no
				has_valid_civic = civic_fanatic_purifiers
			}
			defender = {
				has_federation = no
			}
		}
	}
	format = "[This.MainAttacker.GetAdj] - [This.MainDefender.GetAdj] <cleansing_pur_war_names>"
}

# Cleansing Purifiers - Defender Federation
war_name_format = {
	random_weight = {
		factor = 0
		modifier = {
			add = 999
			using_war_goal = {
                type = wg_cleansing
                owner = attacker
            }
			attacker = {
				has_federation = no
				has_valid_civic = civic_fanatic_purifiers
			}
			defender = {
				has_federation = yes
			}
		}
	}
	format = "[This.MainAttacker.GetAdj] - [This.MainDefender.GetAllianceName] <cleansing_pur_war_names>"
}

### CLEANSING EXTERMINATORS WAR NAMES

# Cleansing Exterminators - No Federations
war_name_format = {
	random_weight = {
		factor = 0
		modifier = {
			add = 999
			using_war_goal = {
                type = wg_cleansing
                owner = attacker
            }
            attacker = {
				has_federation = no
				has_valid_civic = civic_machine_terminator
			}
			defender = {
				has_federation = no
			}
		}
	}
	format = "[This.MainAttacker.GetAdj] - [This.MainDefender.GetAdj] <cleansing_ext_war_names>"
}

# Cleansing Exterminators - Defender Federation
war_name_format = {
	random_weight = {
		factor = 0
		modifier = {
			add = 999
			using_war_goal = {
                type = wg_cleansing
                owner = attacker
            }
			attacker = {
				has_federation = no
				has_valid_civic = civic_machine_terminator
			}
			defender = {
				has_federation = yes
			}
		}
	}
	format = "[This.MainAttacker.GetAdj] - [This.MainDefender.GetAllianceName] <cleansing_ext_war_names>"
}

### ABSORPTION WAR NAMES

# Absorption - No Federations
war_name_format = {
	random_weight = {
		factor = 0
		modifier = {
			add = 999
			using_war_goal = {
                type = wg_absorption
                owner = attacker
            }
            attacker = {
				has_federation = no
			}
			defender = {
				has_federation = no
			}
		}
	}
	format = "[This.MainAttacker.GetAdj] - [This.MainDefender.GetAdj] <absorption_war_names>"
}

# Absorption - Defender Federation
war_name_format = {
	random_weight = {
		factor = 0
		modifier = {
			add = 999
			using_war_goal = {
                type = wg_absorption
                owner = attacker
            }
			attacker = {
				has_federation = no
			}
			defender = {
				has_federation = yes
			}
		}
	}
	format = "[This.MainAttacker.GetAdj] - [This.MainDefender.GetAllianceName] <absorption_war_names>"
}

### FALLEN EMPIRE HUMILIATION WARS

# Fallen Empire Humiliation - No Federations
war_name_format = {
	random_weight = {
		factor = 0
		modifier = {
			add = 999
			using_war_goal = {
                type = wg_fe_humiliation
                owner = attacker
            }
            attacker = {
				has_federation = no
			}
			defender = {
				has_federation = no
			}
		}
	}
	format = "[This.MainAttacker.GetAdj] - [This.MainDefender.GetAdj] <fe_humiliation_war_names>"
}

# Fallen Empire Humiliation - Defender Federation
war_name_format = {
	random_weight = {
		factor = 0
		modifier = {
			add = 999
			using_war_goal = {
                type = wg_humiliation
                owner = attacker
            }
			attacker = {
				has_federation = no
			}
			defender = {
				has_federation = yes
			}
		}
	}
	format = "[This.MainAttacker.GetAdj] - [This.MainDefender.GetAllianceName] <fe_humiliation_war_names>"
}

### FALLEN EMPIRE STOP ATROCITIES WARS

# Fallen Empire Stop Atrocities - No Federations
war_name_format = {
	random_weight = {
		factor = 0
		modifier = {
			add = 999
			using_war_goal = {
                type = wg_fe_stop_atrocities
                owner = attacker
            }
            attacker = {
				has_federation = no
			}
			defender = {
				has_federation = no
			}
		}
	}
	format = "[This.MainAttacker.GetAdj] - [This.MainDefender.GetAdj] <fe_stop_atrocities_war_names>"
}

# Fallen Empire Stop Atrocities - Defender Federation
war_name_format = {
	random_weight = {
		factor = 0
		modifier = {
			add = 999
			using_war_goal = {
                type = wg_fe_stop_atrocities
                owner = attacker
            }
			attacker = {
				has_federation = no
			}
			defender = {
				has_federation = yes
			}
		}
	}
	format = "[This.MainAttacker.GetAdj] - [This.MainDefender.GetAllianceName] <fe_stop_atrocities_war_names>"
}

### FALLEN EMPIRE STOP AI WARS

# Fallen Empire Stop AI - No Federations
war_name_format = {
	random_weight = {
		factor = 0
		modifier = {
			add = 999
			using_war_goal = {
                type = wg_fe_stop_ai
                owner = attacker
            }
            attacker = {
				has_federation = no
			}
			defender = {
				has_federation = no
			}
		}
	}
	format = "[This.MainAttacker.GetAdj] - [This.MainDefender.GetAdj] <fe_stop_ai_war_names>"
}

# Fallen Empire Stop AI - Defender Federation
war_name_format = {
	random_weight = {
		factor = 0
		modifier = {
			add = 999
			using_war_goal = {
                type = wg_fe_stop_ai
                owner = attacker
            }
			attacker = {
				has_federation = no
			}
			defender = {
				has_federation = yes
			}
		}
	}
	format = "[This.MainAttacker.GetAdj] - [This.MainDefender.GetAllianceName] <fe_stop_ai_war_names>"
}

### FALLEN EMPIRE CLEANSE HOLY WORLDS WARS

# Fallen Empire Cleanse Holy Worlds - No Federations
war_name_format = {
	random_weight = {
		factor = 0
		modifier = {
			add = 999
			using_war_goal = {
                type = wg_fe_cleanse_holy_worlds
                owner = attacker
            }
            attacker = {
				has_federation = no
			}
			defender = {
				has_federation = no
			}
		}
	}
	format = "[This.MainAttacker.GetAdj] - [This.MainDefender.GetAdj] <fe_cleanse_holy_worlds_war_names>"
}

# Fallen Empire Cleanse Holy Worlds - Defender Federation
war_name_format = {
	random_weight = {
		factor = 0
		modifier = {
			add = 999
			using_war_goal = {
                type = wg_fe_cleanse_holy_worlds
                owner = attacker
            }
			attacker = {
				has_federation = no
			}
			defender = {
				has_federation = yes
			}
		}
	}
	format = "[This.MainAttacker.GetAdj] - [This.MainDefender.GetAllianceName] <fe_cleanse_holy_worlds_war_names>"
}

### FALLEN EMPIRE CLEANSE BORDER WORLDS WARS

# Fallen Empire Cleanse Border Worlds - No Federations
war_name_format = {
	random_weight = {
		factor = 0
		modifier = {
			add = 999
			using_war_goal = {
                type = wg_fe_cleanse_border_worlds
                owner = attacker
            }
            attacker = {
				has_federation = no
			}
			defender = {
				has_federation = no
			}
		}
	}
	format = "[This.MainAttacker.GetAdj] - [This.MainDefender.GetAdj] <fe_cleanse_border_worlds_war_names>"
}

# Fallen Empire Cleanse Border Worlds - Defender Federation
war_name_format = {
	random_weight = {
		factor = 0
		modifier = {
			add = 999
			using_war_goal = {
                type = wg_fe_cleanse_border_worlds
                owner = attacker
            }
			attacker = {
				has_federation = no
			}
			defender = {
				has_federation = yes
			}
		}
	}
	format = "[This.MainAttacker.GetAdj] - [This.MainDefender.GetAllianceName] <fe_cleanse_border_worlds_war_names>"
}

### INDEPENDENCE WAR NAMES
war_name_format = {
	random_weight = {
		factor = 0
		modifier = {
			add = 999
			using_war_goal = {
                type = wg_independence
                owner = attacker
            }
			attacker = {
			}
			defender = {
			}
		}
	}
	format = "[This.MainAttacker.GetAdj] <independence_war_names>"
}

### WAR IN HEAVEN
war_name_format = {
	random_weight = {
		factor = 0
		modifier = {
			add = 999
			using_war_goal = {
                type = wg_war_in_heaven
                owner = attacker
            }
			attacker = {
			}
			defender = {
			}
		}
	}
	format = "<war_in_heaven_war_names>"
}

### MACHINE UPRISING
war_name_format = {
	random_weight = {
		factor = 0
		modifier = {
			add = 999
			using_war_goal = {
                type = wg_machine_uprising
                owner = attacker
            }
			attacker = {
			}
			defender = {
			}
		}
	}
	format = "[This.MainDefender.GetAdj] <machine_uprising_war_names>"
}

## EXPEL CORP WARS
war_name_format = {
	random_weight = {
		factor = 0
		modifier = {
			add = 999
			using_war_goal = {
                type = wg_expel_corp
                owner = attacker
            }
		}
	}
	format = "[This.MainAttacker.GetAdj] - [This.MainDefender.GetAdj] <expel_corp_war_names>"
}

## GALATRON WARS
war_name_format = {
	random_weight = {
		factor = 0
		modifier = {
			add = 999
			using_war_goal = {
                type = wg_take_galatron
                owner = attacker
            }
		}
	}
	format = "<galatron_war_names>"
}				  