﻿#EK NOTE: Removing references to real-world places.
#EK TODO: Need proper Mundus distant lands locs here.
LocalGuildsLoc = {
	type = character

	text = {
		trigger = {
			scope:local_guild_scope = 1
		}
		localization_key = LocalGuildsMillers
	}

	text = {
		trigger = {
			scope:local_guild_scope = 2
		}
		localization_key = LocalGuildsBakers
	}

	text = {
		trigger = {
			scope:local_guild_scope = 3
		}
		localization_key = LocalGuildsFishmongers
	}

	text = {
		trigger = {
			scope:local_guild_scope = 4
		}
		localization_key = LocalGuildsShoemakers
	}

	text = {
		trigger = {
			scope:local_guild_scope = 5
		}
		localization_key = LocalGuildsTanners
	}

	text = {
		trigger = {
			scope:local_guild_scope = 6
		}
		localization_key = LocalGuildsTailors
	}

	text = {
		trigger = {
			scope:local_guild_scope = 7
		}
		localization_key = LocalGuildsWeavers
	}

	text = {
		trigger = {
			scope:local_guild_scope = 8
		}
		localization_key = LocalGuildsSkinners
	}

	text = {
		trigger = {
			scope:local_guild_scope = 9
		}
		localization_key = LocalGuildsButchers
	}

	text = {
		trigger = {
			scope:local_guild_scope = 10
		}
		localization_key = LocalGuildsFurriers
	}

	text = {
		trigger = {
			scope:local_guild_scope = 11
		}
		localization_key = LocalGuildsVintners
	}

	text = {
		trigger = {
			scope:local_guild_scope = 12
		}
		localization_key = LocalGuildsCarpenters
	}

	text = {
		trigger = {
			scope:local_guild_scope = 13
		}
		localization_key = LocalGuildsMasons
	}

	text = {
		trigger = {
			scope:local_guild_scope = 14
		}
		localization_key = LocalGuildsMiners
	}

	text = {
		trigger = {
			scope:local_guild_scope = 15
		}
		localization_key = LocalGuildsBlacksmiths
	}

	text = {
		trigger = {
			scope:local_guild_scope = 16
		}
		localization_key = LocalGuildsSaddlers
	}

	text = {
		trigger = {
			scope:local_guild_scope = 17
		}
		localization_key = LocalGuildsMerchants
	}

	text = {
		trigger = {
			scope:local_guild_scope = 18
		}
		localization_key = LocalGuildsPhysicians
	}

	text = {
		trigger = {
			scope:local_guild_scope = 19
		}
		localization_key = LocalGuildsPharmacists
	}

	text = {
		trigger = {
			scope:local_guild_scope = 20
		}
		localization_key = LocalGuildsToolmakers
	}
}

#EK TODO: This whole section will need reworking, but I'm holding off for now till we get around to the new lifestyle events where these get set up.
DistantLandsLoc = {
	type = character

	# Europe
	#EK DISABLED: Real world. Add new ones after this.
	#text = {
	#	trigger = {
	#		has_variable = dreams_of_distant_lands_europe
	#		var:dreams_of_distant_lands_europe = 1
	#	}
	#	localization_key = DistantLandsEurope1
	#}

	#text = {
	#	trigger = {
	#		has_variable = dreams_of_distant_lands_europe
	#		var:dreams_of_distant_lands_europe = 2
	#	}
	#	localization_key = DistantLandsEurope2
	#}

	## Africa
	#text = {
	#	trigger = {
	#		has_variable = dreams_of_distant_lands_africa
	#		var:dreams_of_distant_lands_africa = 1
	#	}
	#	localization_key = DistantLandsAfrica1
	#}

	#text = {
	#	trigger = {
	#		has_variable = dreams_of_distant_lands_africa
	#		var:dreams_of_distant_lands_africa = 2
	#	}
	#	localization_key = DistantLandsAfrica2
	#}

	#text = {
	#	trigger = {
	#		has_variable = dreams_of_distant_lands_africa
	#		var:dreams_of_distant_lands_africa = 3
	#	}
	#	localization_key = DistantLandsAfrica3
	#}

	## Asia
	#text = {
	#	trigger = {
	#		has_variable = dreams_of_distant_lands_middle_east
	#		var:dreams_of_distant_lands_middle_east = 1
	#	}
	#	localization_key = DistantLandsAsia1
	#}

	#text = {
	#	trigger = {
	#		has_variable = dreams_of_distant_lands_middle_east
	#		var:dreams_of_distant_lands_middle_east = 2
	#	}
	#	localization_key = DistantLandsAsia2
	#}

	#text = {
	#	trigger = {
	#		has_variable = dreams_of_distant_lands_middle_east
	#		var:dreams_of_distant_lands_middle_east = 3
	#	}
	#	localization_key = DistantLandsAsia3
	#}

	## India
	#text = {
	#	trigger = {
	#		has_variable = dreams_of_distant_lands_india
	#		var:dreams_of_distant_lands_india = 1
	#	}
	#	localization_key = DistantLandsIndia1
	#}

	#text = {
	#	trigger = {
	#		has_variable = dreams_of_distant_lands_india
	#		var:dreams_of_distant_lands_india = 2
	#	}
	#	localization_key = DistantLandsIndia2
	#}

	#text = {
	#	trigger = {
	#		has_variable = dreams_of_distant_lands_india
	#		var:dreams_of_distant_lands_india = 3
	#	}
	#	localization_key = DistantLandsIndia3
	#}

	## Tibet
	#text = {
	#	trigger = {
	#		has_variable = dreams_of_distant_lands_tibet
	#		var:dreams_of_distant_lands_tibet = 1
	#	}
	#	localization_key = DistantLandsTibet1
	#}

	#text = {
	#	trigger = {
	#		has_variable = dreams_of_distant_lands_tibet
	#		var:dreams_of_distant_lands_tibet = 2
	#	}
	#	localization_key = DistantLandsTibet2
	#}

	#text = {
	#	trigger = {
	#		has_variable = dreams_of_distant_lands_tibet
	#		var:dreams_of_distant_lands_tibet = 3
	#	}
	#	localization_key = DistantLandsTibet3
	#}

	## Steppe
	#text = {
	#	trigger = {
	#		has_variable = dreams_of_distant_lands_steppe
	#		var:dreams_of_distant_lands_steppe = 1
	#	}
	#	localization_key = DistantLandsSteppe1
	#}

	#text = {
	#	trigger = {
	#		has_variable = dreams_of_distant_lands_steppe
	#		var:dreams_of_distant_lands_steppe = 2
	#	}
	#	localization_key = DistantLandsSteppe2
	#}

	#text = {
	#	trigger = {
	#		has_variable = dreams_of_distant_lands_steppe
	#		var:dreams_of_distant_lands_steppe = 3
	#	}
	#	localization_key = DistantLandsSteppe3
	#}
}

DistantLandsPluralTypeLoc = {
	type = character
	parent = DistantLandsLoc
	suffix = _plural
}

DistantLandsGroupTypeLoc = {
	type = character
	parent = DistantLandsLoc
	suffix = _group
}

DistantLandsActivityTypeLoc = {
	type = character
	parent = DistantLandsLoc
	suffix = _activity
}

DistantLandsDescriptionTypeLoc = {
	type = character
	parent = DistantLandsLoc
	suffix = _description
}

DistantLandsTerrainTypeLoc = {
	type = character
	parent = DistantLandsLoc
	suffix = _terrain
}

DistantLandsRegionLoc = {
	type = character

	#EK DISABLED
	#text = {
	#	trigger = {
	#		has_variable = dreams_of_distant_lands_europe
	#	}
	#	localization_key = DistantLandsRegionEurope
	#}

	#text = {
	#	trigger = {
	#		has_variable = dreams_of_distant_lands_africa
	#	}
	#	localization_key = DistantLandsRegionAfrica
	#}

	#text = {
	#	trigger = {
	#		has_variable = dreams_of_distant_lands_middle_east
	#	}
	#	localization_key = DistantLandsRegionAsia
	#}

	#text = {
	#	trigger = {
	#		has_variable = dreams_of_distant_lands_india
	#	}
	#	localization_key = DistantLandsRegionIndia
	#}

	#text = {
	#	trigger = {
	#		has_variable = dreams_of_distant_lands_tibet
	#	}
	#	localization_key = DistantLandsRegionTibet
	#}

	#text = {
	#	trigger = {
	#		has_variable = dreams_of_distant_lands_steppe
	#	}
	#	localization_key = DistantLandsRegionSteppe
	#}
}

RiverNameLoc = {
	type = province

	#EK EDIT: we do not have the Nile
	#text = {
	# 	trigger = {
	# 		OR = {
	# 			this = province:6027
	# 			this = province:6026
	# 			this = province:6028
	# 			this = province:6029
	# 			this = province:6125
	# 		}
	# 	}
	# 	localization_key = RiverNameTheNile
	#}
	#EK EDIT END

	text = {
		localization_key = RiverNameNotTheNile
	}
}

TerrainInspirationLoc = {
	type = province

	text = {
		trigger = {
			terrain = mountains
		}
		localization_key = TerrainInspirationMountains
	}
	text = {
		trigger = {
			terrain = hills
		}
		localization_key = TerrainInspirationHills
	}
	text = {
		trigger = {
			terrain = jungle
		}
		localization_key = TerrainInspirationJungle
	}
	text = {
		trigger = {
			terrain = taiga
		}
		localization_key = TerrainInspirationTaiga
	}
	text = {
		trigger = {
			terrain = wetlands
		}
		localization_key = TerrainInspirationWetlands
	}
	text = {
		trigger = {
			terrain = floodplains
		}
		localization_key = TerrainInspirationFloodplains
	}
	text = {
		trigger = {
			terrain = desert
		}
		localization_key = TerrainInspirationDesert
	}
	text = {
		trigger = {
			terrain = forest
		}
		localization_key = TerrainInspirationForest
	}
	text = {
		trigger = {
			terrain = farmlands
		}
		localization_key = TerrainInspirationFarmlands
	}
	text = {
		trigger = {
			terrain = steppe
		}
		localization_key = TerrainInspirationSteppe
	}
	text = {
		trigger = {
			terrain = drylands
		}
		localization_key = TerrainInspirationdrylands
	}
}

DynamicIntroLoc = {
	type = character

	text = {
		trigger = { is_landed = yes }
		localization_key = DynamicIntroLanded
	}
	text = {
		trigger = { is_landed = no }
		localization_key = DynamicIntroWanderer
	}
}
