﻿### State geography triggers

state_is_from_europe = {
	subject = this # State
	OR = {
		region = sr:region_north_germany
		region = sr:region_south_germany
		region = sr:region_england
		region = sr:region_iberia
		region = sr:region_france
		region = sr:region_occitania
		region = sr:region_rhine
		region = sr:region_italy
		region = sr:region_poland
		region = sr:region_danubia
		region = sr:region_balkans
		region = sr:region_baltic
		region = sr:region_russia
		region = sr:region_dnieper
		region = sr:region_belarus
		region = sr:region_finland
		region = sr:region_baltic_states
		region = sr:region_arctic_russia
		region = sr:region_urals
		region = sr:region_caucasus
		region = sr:region_north_sea_coast
	}
}

state_is_from_north_america = {
	subject = this
	OR = {
		region = sr:region_canada
		region = sr:region_new_england
		region = sr:region_pacific_coast
		region = sr:region_great_plains
		region = sr:region_the_midwest
		region = sr:region_dixie
		region = sr:region_mexico
		region = sr:region_central_america
		region = sr:region_caribbean
	}
}

state_is_from_south_america = {
	subject = this
	OR = {
		region = sr:region_brazil	
		region = sr:region_la_plata
		region = sr:region_andes	
		region = sr:region_gran_colombia
	}
}

state_is_from_north_africa = {
	subject = this
	OR = {
		region = sr:region_nile_basin
		region = sr:region_north_africa
	}
}

state_is_from_africa = {
	subject = this
	OR = {
		region = sr:region_ethiopia
		region = sr:region_senegal
		region = sr:region_niger
		region = sr:region_congo
		region = sr:region_southern_africa
		region = sr:region_zanj		
	}
}

state_is_from_byzantine_or_ottoman = {
	subject = this
	OR = {
		region = sr:region_balkans
		region = sr:region_anatolia
	}
}

state_is_from_persia_or_arabia = {
	subject = this
	OR = {
		region = sr:region_persia
		region = sr:region_arabic
		region = sr:region_nile_basin
	}
}

state_is_from_central_asia = {
	subject = this
	OR = {
		region = sr:region_himalayas
		region = sr:region_central_asia
	}
}

state_is_from_india = {
	subject = this
	OR = {
		region = sr:region_madras
		region = sr:region_bengal
		region = sr:region_bombay
		region = sr:region_punjab
		region = sr:region_central_india
	}
}

state_is_from_siberia = {
	subject = this
	OR = {
		region = sr:region_east_siberia
		region = sr:region_west_siberia
	}
}

state_is_from_china = {
	subject = this
	OR = {
		region = sr:region_south_china
		region = sr:region_north_china
	}
}

state_is_from_manchuria = {
	subject = this
	OR = {
		region = sr:region_manchuria
	}
}

state_is_from_japan = {
	subject = this
	OR = {
		region = sr:region_japan
	}
}

state_is_from_indonesia = {
	subject = this
	OR = {
		region = sr:region_indonesia
	}
}

state_is_from_indochina = {
	subject = this
	OR = {
		region = sr:region_indochina
	}
}

state_is_from_oceania = {
	subject = this
	OR = {
		region = sr:region_oceania
	}
}

state_is_from_himalayas = {
	subject = this
	OR = {
		region = sr:region_himalayas
	}
}

state_is_from_persia = {
	subject = this
	OR = {
		region = sr:region_persia
	}
}

state_is_from_british_isles = {
	subject = this
	OR = {
		region = sr:region_england
		region = sr:region_north_sea_coast
	}
}

state_is_from_iberia = {
	subject = this
	OR = {
		region = sr:region_iberia
	}
}

state_is_from_france = {
	subject = this
	OR = {
		region = sr:region_france
		region = sr:region_occitania
	}
}

state_is_from_germany = {
	subject = this
	OR = {
		region = sr:region_rhine
		region = sr:region_north_germany
		region = sr:region_south_germany
	}
}

state_is_from_italy = {
	subject = this
	OR = {
		region = sr:region_italy
	}
}

state_is_from_balkans = {
	subject = this
	OR = {
		region = sr:region_balkans
	}
}

state_is_from_nordic_states = {
	subject = this
	OR = {
		region = sr:region_baltic
		region = sr:region_finland
	}
}

state_is_from_russia = {
	subject = this
	OR = {
		region = sr:region_russia
		region = sr:region_dnieper
		region = sr:region_belarus
		region = sr:region_arctic_russia
		region = sr:region_urals
	}
}

state_is_from_danubia = {
	subject = this
	OR = {
		region = sr:region_danubia
	}
}

state_is_from_poland = {
	subject = this
	OR = {
		region = sr:region_poland
	}
}

state_is_from_caucasus = {
	subject = this
	OR = {
		region = sr:region_caucasus
	}
}

state_is_from_anatolia = {
	subject = this
	OR = {
		region = sr:region_anatolia
	}
}

state_is_from_baltic_states = {
	subject = this
	OR = {
		region = sr:region_baltic_states
	}
}

### Country geography triggers
# exists = capital checks are necessary only because we may test these triggers and scope switch to capitals before states are initialized properly


country_is_from_europe = {
	subject = this
	capital ?= {
		state_is_from_europe = yes
	}
}

country_is_from_north_america = {
	subject = this
	capital ?= {
		state_is_from_north_america = yes
	}
}

country_is_from_south_america = {
	subject = this
	capital ?= {
		state_is_from_south_america = yes
	}
}

country_is_from_north_africa = {
	subject = this
	capital ?= {
		state_is_from_north_africa = yes
	}
}

country_is_from_africa = {
	subject = this
	capital ?= {
		state_is_from_africa = yes
	}
}

country_is_from_byzantine_or_ottoman = {
	subject = this
	capital ?= {
		state_is_from_byzantine_or_ottoman = yes
	}
}

country_is_from_persia_or_arabia = {
	subject = this
	capital ?= {
		state_is_from_persia_or_arabia = yes
	}
}

country_is_from_central_asia = {
	subject = this
	capital ?= {
		state_is_from_central_asia = yes
	}
}

country_is_from_india = {
	subject = this
	capital ?= {
		state_is_from_india = yes
	}
}

country_is_from_siberia = {
	subject = this
	capital ?= {
		state_is_from_siberia = yes
	}
}

country_is_from_china = {
	subject = this
	capital ?= {
		state_is_from_china = yes
	}
}

country_is_from_manchuria = {
	subject = this
	capital ?= {
		state_is_from_manchuria = yes
	}
}

country_is_from_japan = {
	subject = this
	capital ?= {
		state_is_from_japan = yes
	}
}

country_is_from_indonesia = {
	subject = this
	capital ?= {
		state_is_from_indonesia = yes
	}
}

country_is_from_indochina = {
	subject = this
	capital ?= {
		state_is_from_indochina = yes
	}
}

country_is_from_oceania = {
	subject = this
	capital ?= {
		state_is_from_oceania = yes
	}
}

country_is_from_himalayas = {
	subject = this
	capital ?= {
		state_is_from_himalayas = yes
	}
}

country_is_from_persia = {
	subject = this
	capital ?= {
		state_is_from_persia = yes
	}
}

country_is_from_british_isles = {
	subject = this
	capital ?= {
		state_is_from_british_isles = yes
	}
}

country_is_from_iberia = {
	subject = this
	capital ?= {
		state_is_from_iberia = yes
	}
}

country_is_from_france = {
	subject = this
	capital ?= {
		state_is_from_france = yes
	}
}

country_is_from_germany = {
	subject = this
	capital ?= {
		state_is_from_germany = yes
	}
}

country_is_from_italy = {
	subject = this
	capital ?= {
		state_is_from_italy = yes
	}
}

country_is_from_balkans = {
	subject = this
	capital ?= {
		state_is_from_balkans = yes
	}
}

country_is_from_nordic_states = {
	subject = this
	capital ?= {
		state_is_from_nordic_states = yes
	}
}

country_is_from_russia = {
	subject = this
	capital ?= {
		state_is_from_russia = yes
	}
}

country_is_from_danubia = {
	subject = this
	capital ?= {
		state_is_from_danubia = yes
	}
}

country_is_from_poland = {
	subject = this
	capital ?= {
		state_is_from_poland = yes
	}
}

country_is_from_caucasus = {
	subject = this
	capital ?= {
		state_is_from_caucasus = yes
	}
}

country_is_from_anatolia = {
	subject = this
	capital ?= {
		state_is_from_anatolia = yes
	}
}

country_is_from_baltic_states = {
	subject = this
	capital ?= {
		state_is_from_baltic_states = yes
	}
}
