fascist_major_scorer = { #Finds biggest Fascist
    # Valid example of mission scorer:
	targets = {
		# describe the target to consider
		targets_dynamic = no
		target_non_existing = no
		#target_array = global.majors
		target_array = global.countries
		# MTTH like score description
		# THIS is a target
		# FROM is the initiator
		score = {
			base = 1
			# Add tension added by country
			modifier = {
				always = yes 
				add = has_added_tension_amount
			}        
			# Add total number of Divisions 
			modifier = {
				always = yes 
				add = num_armies
			}
			# add factories
			modifier = {
				always = yes 
				add = num_of_factories
			}
			modifier = {
				tag = GER # If Germany is still fascist, they are something to be vary about - always 
				factor = 1.5
			}
			modifier = { # Japan and Italy should have preference, but not as much as Germany  
				OR = {
					tag = ITA
					tag = JAP
				}  
				factor = 1.3
			}
			modifier = {
				is_major = yes
				add = 100
			}
			modifier = {
				is_faction_leader = yes 
				add = 50
			}
			modifier = {
				NOT = { has_government = fascism }
				factor = 0 
			}
			modifier = {
				exists = no 
				factor = 0
			}
		}
	}
}
democratic_major_scorer = { # Finds biggest Democratic Nation
	targets = {
		# describe the target to consider
		targets_dynamic = no
		target_non_existing = no
		#target_array = global.majors
		target_array = global.countries
		# MTTH like score description
		# THIS is a target
		# FROM is the initiator
		score = {
			base = 1
			# Add tension added by country
			modifier = {
				always = yes 
				add = has_added_tension_amount
			}        
			# Add total number of Divisions 
			modifier = {
				always = yes 
				add = num_armies
			}
			# add factories
			modifier = {
				always = yes 
				add = num_of_factories
			}
			modifier = {
				tag = ENG # If the UK is still democratic, they should have preference
				factor = 1.5
			}
			modifier = { # France and USA should have preference, but not as much as the UK   
				OR = {
					tag = FRA
					tag = USA
				}
				factor = 1.3
			}
			modifier = {
				is_major = yes
				add = 100
			}
			modifier = {
				is_faction_leader = yes 
				add = 50
			}
			modifier = {
				NOT = { has_government = democratic }
				factor = 0 
			}
		}
	}
}

communist_major_scorer = { # Finds biggest Communist
	targets = {
		# describe the target to consider
		targets_dynamic = no
		target_non_existing = no
		#target_array = global.majors
		target_array = global.countries
		# MTTH like score description
		# THIS is a target
		# FROM is the initiator
		score = {
			base = 1
			# Add tension added by country
			modifier = {
				always = yes 
				add = has_added_tension_amount
			}        
			# Add total number of Divisions 
			modifier = {
				always = yes 
				add = num_armies
			}
			# add factories
			modifier = {
				always = yes 
				add = num_of_factories
			}
			modifier = {
				tag = SOV # If the Soviet Union is still communist, they are something to be vary about - always 
				factor = 1.5
			}
			modifier = { # Communist China should have preference, but not as much as SOV  
				tag = PRC
				factor = 1.3
			}
			modifier = {
				is_major = yes
				add = 100
			}
			modifier = {
				is_faction_leader = yes 
				add = 50
			}
			modifier = {
				NOT = { has_government = communism }
				factor = 0 
			}
		}
	}
}

non_aligned_major_scorer = { # Finds biggest Non-Aligned
	targets = {
		# describe the target to consider
		targets_dynamic = no
		target_non_existing = no
		#target_array = global.majors
		target_array = global.countries
		# MTTH like score description
		# THIS is a target
		# FROM is the initiator
		score = {
			base = 1
			# Add tension added by country
			modifier = {
				always = yes 
				add = has_added_tension_amount
			}        
			# Add total number of Divisions 
			modifier = {
				always = yes 
				add = num_armies
			}
			# add factories
			modifier = {
				always = yes 
				add = num_of_factories
			}
			modifier = {
				is_major = yes
				add = 100
			}
			modifier = {
				is_faction_leader = yes 
				add = 50
			}
			modifier = {
				NOT = { has_government = neutrality }
				factor = 0 
			}
		}
	}
}

local_fascist_country = {
	# Valid example of mission scorer:
	targets = {
		# describe the target to consider
		targets_dynamic = no
		target_non_existing = no
		#target_array = global.majors
		target_array = global.countries
		# MTTH like score description
		# THIS is a target
		# FROM is the initiator
		score = {
			base = 1
			
			modifier = {
				is_major = yes
				factor = 10
			}
			# Add tension added by country
			modifier = {
				always = yes 
				add = has_added_tension_amount
			}
			# Add total number of Divisions 
			modifier = {
				always = yes
				add = num_armies 
			}
			modifier = {
				tag = GER # If Germany is still fascist, they are something to be vary about - always 
				factor = 1.8
			}
			# If neighbor, more scary
			modifier = {
				is_neighbor_of = FROM
				factor = 2
			}
			# Same continent also more scary
			modifier = {
				OR = {
					AND = {
						THIS.capital_scope = { is_on_continent = europe }
						FROM.capital_scope = { is_on_continent = europe }
					}
					AND = {
						THIS.capital_scope = { is_on_continent = asia }
						FROM.capital_scope = { is_on_continent = asia }
					}
					AND = {
						OR = {
							THIS.capital_scope = { is_on_continent = north_america }
							THIS.capital_scope = { is_on_continent = south_america }
						}
						OR = {
							FROM.capital_scope = { is_on_continent = north_america }
							FROM.capital_scope = { is_on_continent = south_america }
						}
					}
					AND = {
						THIS.capital_scope = { is_on_continent = africa }
						FROM.capital_scope = { is_on_continent = africa }
					}
					AND = {
						THIS.capital_scope = { is_on_continent = middle_east }
						FROM.capital_scope = { is_on_continent = middle_east }
					}
					AND = {
						OR = {
							THIS.capital_scope = { is_on_continent = australia }
							THIS.capital_scope = { is_on_continent = asia }
						}
						FROM.capital_scope = { is_on_continent = australia }
					}	
				}
				factor = 3
			}
			modifier = {
				add = num_armies
			}
			# add factories
			modifier = {
				always = yes 
				add = num_of_factories
			}
			modifier = {
				NOT = { has_government = fascism }
				factor = 0 
			}
		}
	}
}

fascist_bully_scorer = { #Finds meanest fascist
    # Valid example of mission scorer:
	targets = {
		# describe the target to consider
		targets_dynamic = no
		target_non_existing = no
		#target_array = global.majors
		target_array = global.countries
		# MTTH like score description
		# THIS is a target
		# FROM is the initiator
		score = {
			base = 1
			# Add tension added by country
			# Add total number of Divisions 
			modifier = {
				always = yes 
				add = num_armies
			}
			# add factories
			modifier = {
				always = yes 
				add = num_of_factories
			}
			modifier = {
				always = yes 
				add = has_added_tension_amount
			}
			modifier = {
				tag = GER # If Germany is still fascist, they are something to be vary about - always 
				factor = 1.5
			}
			modifier = { # Japan and Italy should have preference, but not as much as Germany  
				OR = {
					tag = ITA
					tag = JAP
				}  
				factor = 1.3
			}
			modifier = {
				is_major = yes
				add = 100
			}
			modifier = {
				is_faction_leader = yes 
				add = 100
			}
			modifier = {
				NOT = { has_government = fascism }
				factor = 0 
			}
		}
	}
}
democratic_faction_leader_scorer = { # Finds biggest Democratic Nation
	targets = {
		# describe the target to consider
		targets_dynamic = no
		target_non_existing = no
		#target_array = global.majors
		target_array = global.countries
		# MTTH like score description
		# THIS is a target
		# FROM is the initiator
		score = {
			base = 1
			# Add tension added by country
			modifier = {
				always = yes 
				add = has_added_tension_amount
			}        
			# Add total number of Divisions 
			modifier = {
				always = yes 
				add = num_armies
			}
			# add factories
			modifier = {
				always = yes 
				add = num_of_factories
			}
			modifier = {
				tag = ENG # If the UK is still democratic, they should have preference
				factor = 1.5
			}
			modifier = { # France and USA should have preference, but not as much as the UK   
				OR = {
					tag = FRA
					tag = USA
				}
				factor = 1.2
			}
			modifier = {
				is_major = yes
				add = 100
			}
			modifier = {
				is_faction_leader = no 
				factor = 0.1
			}
			modifier = {
				NOT = { has_government = democratic }
				factor = 0 
			}
		}
	}
}

democratic_sleeping_giant_scorer = { #Finds the least armed big democratic country. 
 	targets = {
		# describe the target to consider
		targets_dynamic = no
		target_non_existing = no
		#target_array = global.majors
		target_array = global.countries
		# MTTH like score description
		# THIS is a target
		# FROM is the initiator
		score = {
			base = 1
			# Add tension added by country
			# Add total number of Divisions 
			# add factories
			modifier = {
				always = yes 
				add = num_of_factories
			}
			modifier = {
				always = yes 
				add = -num_armies
			}
			modifier = {
				always = yes 
				add = -has_added_tension_amount
			}        
			modifier = {
				tag = USA # If the US is still democratic, they should have preference
				factor = 1.5
			}
			modifier = { # France and UK should have preference, but not as much as the UK   
				OR = {
					tag = FRA
					tag = ENG
				}
				factor = 1.2
			}
			modifier = {
				is_major = yes
				add = 30
			}
			modifier = {
				is_faction_leader = yes 
				factor = 0.5
			}
			modifier = {
				NOT = { has_government = democratic }
				factor = 0 
			}
		}
	}   
}


###################################################
###########       BY CONTINTENT     ###############
###################################################

european_fascist_major_scorer = { #Finds biggest Fascist in Europe
    # Valid example of mission scorer:
	targets = {
		# describe the target to consider
		targets_dynamic = no
		target_non_existing = no
		#target_array = global.majors
		target_array = global.countries
		# MTTH like score description
		# THIS is a target
		# FROM is the initiator
		score = {
			base = 1
			# Add tension added by country
			modifier = {
				always = yes 
				add = has_added_tension_amount
			}        
			# Add total number of Divisions 
			modifier = {
				always = yes 
				add = num_armies
			}
			# add factories
			modifier = {
				always = yes 
				add = num_of_factories
			}
			modifier = {
				tag = GER # If Germany is still fascist, they are something to be vary about - always 
				factor = 1.5
			}
			modifier = { # Italy should have preference, but not as much as Germany  
					tag = ITA
				factor = 1.3
			}
			modifier = {
				is_major = yes
				add = 100
			}
			modifier = {
				is_faction_leader = yes 
				add = 50
			}
			modifier = {
				NOT = { has_government = fascism }
				factor = 0 
			}
			modifier = {
				NOT = { THIS.capital_scope = { is_on_continent = europe } }
			}
		}
	}
}

european_democratic_major_scorer = { # Finds biggest Democratic Nation in Europe
	targets = {
		# describe the target to consider
		targets_dynamic = no
		target_non_existing = no
		#target_array = global.majors
		target_array = global.countries
		# MTTH like score description
		# THIS is a target
		# FROM is the initiator
		score = {
			base = 1
			# Add tension added by country
			modifier = {
				always = yes 
				add = has_added_tension_amount
			}        
			# Add total number of Divisions 
			modifier = {
				always = yes 
				add = num_armies
			}
			# add factories
			modifier = {
				always = yes 
				add = num_of_factories
			}
			modifier = {
				tag = ENG # If the UK is still democratic, they should have preference
				factor = 1.5
			}
			modifier = { # France should have preference, but not as much as the UK   
				tag = FRA				
				factor = 1.3
			}
			modifier = {
				is_major = yes
				add = 100
			}
			modifier = {
				is_faction_leader = yes 
				add = 50
			}
			modifier = {
				NOT = { has_government = democratic }
				factor = 0 
			}
			modifier = {
				NOT = { THIS.capital_scope = { is_on_continent = europe } }
				factor = 0
			}
		}
	}
}

european_communist_major_scorer = { # Finds biggest Communist in Europe
	targets = {
		# describe the target to consider
		targets_dynamic = no
		target_non_existing = no
		#target_array = global.majors
		target_array = global.countries
		# MTTH like score description
		# THIS is a target
		# FROM is the initiator
		score = {
			base = 1
			# Add tension added by country
			modifier = {
				always = yes 
				add = has_added_tension_amount
			}        
			# Add total number of Divisions 
			modifier = {
				always = yes 
				add = num_armies
			}
			# add factories
			modifier = {
				always = yes 
				add = num_of_factories
			}
			modifier = {
				tag = SOV # If the Soviet Union is still communist, they are something to be vary about - always 
				factor = 1.5
			}
			modifier = {
				is_major = yes
				add = 100
			}
			modifier = {
				is_faction_leader = yes 
				add = 50
			}
			modifier = {
				NOT = { has_government = communism }
				factor = 0 
			}
			modifier = {
				NOT = { THIS.capital_scope = { is_on_continent = europe } }
				factor = 0 
			}
		}
	}
}

european_non_aligned_major_scorer = { # Finds biggest Non-Aligned in Europe
	targets = {
		# describe the target to consider
		targets_dynamic = no
		target_non_existing = no
		#target_array = global.majors
		target_array = global.countries
		# MTTH like score description
		# THIS is a target
		# FROM is the initiator
		score = {
			base = 1
			# Add tension added by country
			modifier = {
				always = yes 
				add = has_added_tension_amount
			}        
			# Add total number of Divisions 
			modifier = {
				always = yes 
				add = num_armies
			}
			# add factories
			modifier = {
				always = yes 
				add = num_of_factories
			}
			modifier = {
				is_major = yes
				add = 100
			}
			modifier = {
				is_faction_leader = yes 
				add = 50
			}
			modifier = {
				NOT = { has_government = neutrality }
				factor = 0 
			}
			modifier = {
				NOT = { THIS.capital_scope = { is_on_continent = europe } }
				factor = 0 
			}
		}
	}
}

asian_fascist_major_scorer = { #Finds biggest Fascist in Asia
    # Valid example of mission scorer:
	targets = {
		# describe the target to consider
		targets_dynamic = no
		target_non_existing = no
		#target_array = global.majors
		target_array = global.countries
		# MTTH like score description
		# THIS is a target
		# FROM is the initiator
		score = {
			base = 1
			# Add tension added by country
			modifier = {
				always = yes 
				add = has_added_tension_amount
			}        
			# Add total number of Divisions 
			modifier = {
				always = yes 
				add = num_armies
			}
			# add factories
			modifier = {
				always = yes 
				add = num_of_factories
			}
			modifier = {
				tag = JAP # If Japan is still fascist, they are something to be vary about - always 
				factor = 1.5
			}
			modifier = {
				is_major = yes
				add = 100
			}
			modifier = {
				is_faction_leader = yes 
				add = 50
			}
			modifier = {
				NOT = { has_government = fascism }
				factor = 0 
			}
			modifier = {
				OR = { 
					NOT = { THIS.capital_scope = { is_on_continent = asia } } 
					NOT = { THIS.capital_scope = { is_on_continent = australia } }
					NOT = { THIS.capital_scope = { is_on_continent = middle_east } }
				}
				factor = 0
			}
		}
	}
}

asian_democratic_major_scorer = { # Finds biggest Democratic Nation in Asia
	targets = {
		# describe the target to consider
		targets_dynamic = no
		target_non_existing = no
		#target_array = global.majors
		target_array = global.countries
		# MTTH like score description
		# THIS is a target
		# FROM is the initiator
		score = {
			base = 1
			# Add tension added by country
			modifier = {
				always = yes 
				add = has_added_tension_amount
			}        
			# Add total number of Divisions 
			modifier = {
				always = yes 
				add = num_armies
			}
			# add factories
			modifier = {
				always = yes 
				add = num_of_factories
			}
			modifier = {
				is_major = yes
				add = 100
			}
			modifier = {
				is_faction_leader = yes 
				add = 50
			}
			modifier = {
				NOT = { has_government = democratic }
				factor = 0 
			}
			modifier = {
				OR = { 
					NOT = { THIS.capital_scope = { is_on_continent = asia } } 
					NOT = { THIS.capital_scope = { is_on_continent = australia } }
					NOT = { THIS.capital_scope = { is_on_continent = middle_east } }
				}
				factor = 0
			}
		}
	}
}

asian_communist_major_scorer = { # Finds biggest Communist in Asia
	targets = {
		# describe the target to consider
		targets_dynamic = no
		target_non_existing = no
		#target_array = global.majors
		target_array = global.countries
		# MTTH like score description
		# THIS is a target
		# FROM is the initiator
		score = {
			base = 1
			# Add tension added by country
			modifier = {
				always = yes 
				add = has_added_tension_amount
			}        
			# Add total number of Divisions 
			modifier = {
				always = yes 
				add = num_armies
			}
			# add factories
			modifier = {
				always = yes 
				add = num_of_factories
			}
			modifier = {
				tag = PRC # If Communist China is still communist, they should have preference 
				factor = 1.5
			}
			modifier = {
				is_major = yes
				add = 100
			}
			modifier = {
				is_faction_leader = yes 
				add = 50
			}
			modifier = {
				NOT = { has_government = communism }
				factor = 0 
			}
			modifier = {
				OR = { 
					NOT = { THIS.capital_scope = { is_on_continent = asia } } 
					NOT = { THIS.capital_scope = { is_on_continent = australia } }
					NOT = { THIS.capital_scope = { is_on_continent = middle_east } }
				}
				factor = 0
			}
		}
	}
}

asian_non_aligned_major_scorer = { # Finds biggest Non-Aligned in Asia
	targets = {
		# describe the target to consider
		targets_dynamic = no
		target_non_existing = no
		#target_array = global.majors
		target_array = global.countries
		# MTTH like score description
		# THIS is a target
		# FROM is the initiator
		score = {
			base = 1
			# Add tension added by country
			modifier = {
				always = yes 
				add = has_added_tension_amount
			}        
			# Add total number of Divisions 
			modifier = {
				always = yes 
				add = num_armies
			}
			# add factories
			modifier = {
				always = yes 
				add = num_of_factories
			}
			modifier = {
				is_major = yes
				add = 100
			}
			modifier = {
				is_faction_leader = yes 
				add = 50
			}
			modifier = {
				NOT = { has_government = neutrality }
				factor = 0 
			}
			modifier = {
				OR = { 
					NOT = { THIS.capital_scope = { is_on_continent = asia } } 
					NOT = { THIS.capital_scope = { is_on_continent = australia } }
					NOT = { THIS.capital_scope = { is_on_continent = middle_east } }
				}
				factor = 0
			}
		}
	}
}

american_fascist_major_scorer = { #Finds biggest Fascist in the Americas
    # Valid example of mission scorer:
	targets = {
		# describe the target to consider
		targets_dynamic = no
		target_non_existing = no
		#target_array = global.majors
		target_array = global.countries
		# MTTH like score description
		# THIS is a target
		# FROM is the initiator
		score = {
			base = 1
			# Add tension added by country
			modifier = {
				always = yes 
				add = has_added_tension_amount
			}        
			# Add total number of Divisions 
			modifier = {
				always = yes 
				add = num_armies
			}
			# add factories
			modifier = {
				always = yes 
				add = num_of_factories
			}
			modifier = {
				is_major = yes
				add = 100
			}
			modifier = {
				is_faction_leader = yes 
				add = 50
			}
			modifier = {
				NOT = { has_government = fascism }
				factor = 0 
			}
			modifier = {
				OR = { 
					NOT = { THIS.capital_scope = { is_on_continent = south_america } } 
					NOT = { THIS.capital_scope = { is_on_continent = north_america } }
				}
				factor = 0
			}
		}
	}
}

american_democratic_major_scorer = { # Finds biggest Democratic Nation in the Americas
	targets = {
		# describe the target to consider
		targets_dynamic = no
		target_non_existing = no
		#target_array = global.majors
		target_array = global.countries
		# MTTH like score description
		# THIS is a target
		# FROM is the initiator
		score = {
			base = 1
			# Add tension added by country
			modifier = {
				always = yes 
				add = has_added_tension_amount
			}        
			# Add total number of Divisions 
			modifier = {
				always = yes 
				add = num_armies
			}
			# add factories
			modifier = {
				always = yes 
				add = num_of_factories
			}
			modifier = { # If the US is still democratic, it shuld prefer it 
				tag = USA
				factor = 1.5
			}
			modifier = {
				is_major = yes
				add = 100
			}
			modifier = {
				NOT = { has_government = democratic }
				factor = 0 
			}
			modifier = {
				OR = { 
					NOT = { THIS.capital_scope = { is_on_continent = south_america } } 
					NOT = { THIS.capital_scope = { is_on_continent = north_america } }
				}
				factor = 0 
			}
		}
	}
}

american_communist_major_scorer = { # Finds biggest Communist in the Americas
	targets = {
		# describe the target to consider
		targets_dynamic = no
		target_non_existing = no
		#target_array = global.majors
		target_array = global.countries
		# MTTH like score description
		# THIS is a target
		# FROM is the initiator
		score = {
			base = 1
			# Add tension added by country
			modifier = {
				always = yes 
				add = has_added_tension_amount
			}        
			# Add total number of Divisions 
			modifier = {
				always = yes 
				add = num_armies
			}
			# add factories
			modifier = {
				always = yes 
				add = num_of_factories
			}
			modifier = {
				is_major = yes
				add = 100
			}
			modifier = {
				NOT = { has_government = communism }
				factor = 0 
			}
			modifier = {
				OR = { 
					NOT = { THIS.capital_scope = { is_on_continent = south_america } } 
					NOT = { THIS.capital_scope = { is_on_continent = north_america } }
				}
				factor = 0
			}
		}
	}
}

american_non_aligned_major_scorer = { # Finds biggest Non-Aligned in The Americas
	targets = {
		# describe the target to consider
		targets_dynamic = no
		target_non_existing = no
		#target_array = global.majors
		target_array = global.countries
		# MTTH like score description
		# THIS is a target
		# FROM is the initiator
		score = {
			base = 1
			# Add tension added by country
			modifier = {
				always = yes 
				add = has_added_tension_amount
			}        
			# Add total number of Divisions 
			modifier = {
				always = yes 
				add = num_armies
			}
			# add factories
			modifier = {
				always = yes 
				add = num_of_factories
			}
			modifier = {
				is_major = yes
				add = 100
			}
			modifier = {
				NOT = { has_government = neutrality }
				factor = 0 
			}
			modifier = {
				OR = { 
					NOT = { THIS.capital_scope = { is_on_continent = south_america } } 
					NOT = { THIS.capital_scope = { is_on_continent = north_america } }
				}
				factor = 0
			}
		}
	}
}
