namespace = Plus

#reserved: Plus.2400 to Plus.2499

#######################################
# TRADE NETWORK EVENTS
# Written by Zeress
#######################################

province_event = { # Amber Road Trade Headquarters established
	id = Plus.2400
	
	hide_window = yes
	
	trigger = {
		NOT = {
			has_global_flag = amber_road_hq_established
		}
		trade_route = amber_road
		trade_post_has_building = tr_amber_road_trade_guild_1
		NOT = {
			has_province_modifier = trade_guild_hq # Can't have more than 1 HQ per province
		}
	}

	mean_time_to_happen = {
		days = 1
	}

	immediate = {
		set_global_flag = amber_road_hq_established
		set_province_flag = amber_road
		add_province_modifier = {
			name = trade_guild_hq
			duration = -1
		}
		any_trade_route_province = {
			holder_scope = {
				if = {
					limit = {
						NOT = {
							has_character_flag = trade_hq_informed
						}
					}
					set_character_flag = trade_hq_informed
					character_event = { id = Plus.2420 } # Inform those on the trade network that the trade guild of the route has been formed, thereby determining the headquarters
				}
			}
		}
		clr_province_flag = amber_road
	}
}

province_event = { # Atlantic Trade Headquarters established
	id = Plus.2401
	
	hide_window = yes
	
	trigger = {
		NOT = {
			has_global_flag = atlantic_trade_hq_established
		}
		trade_route = atlantic_trade
		trade_post_has_building = tr_atlantic_trade_guild_1
		NOT = {
			has_province_modifier = trade_guild_hq # Can't have more than 1 HQ per province
		}		
	}

	mean_time_to_happen = {
		days = 1
	}

	immediate = {
		set_global_flag = atlantic_trade_hq_established
		set_province_flag = atlantic_trade
		add_province_modifier = {
			name = trade_guild_hq
			duration = -1
		}
		any_trade_route_province = {
			holder_scope = {
				if = {
					limit = {
						NOT = {
							has_character_flag = trade_hq_informed
						}
					}
					set_character_flag = trade_hq_informed
					character_event = { id = Plus.2420 } # Inform those on the trade network that the trade guild of the route has been formed, thereby determining the headquarters
				}
			}
		}
		clr_province_flag = atlantic_trade
	}
}

province_event = { # Balkan Road Trade Headquarters established
	id = Plus.2402
	
	hide_window = yes
	
	trigger = {
		NOT = {
			has_global_flag = balkan_road_trade_hq_established
		}
		trade_route = balkan_road
		trade_post_has_building = tr_balkan_road_trade_guild_1
		NOT = {
			has_province_modifier = trade_guild_hq # Can't have more than 1 HQ per province
		}		
	}

	mean_time_to_happen = {
		days = 1
	}

	immediate = {
		set_global_flag = balkan_road_trade_hq_established
		set_province_flag = balkan_road
		add_province_modifier = {
			name = trade_guild_hq
			duration = -1
		}
		any_trade_route_province = {
			holder_scope = {
				if = {
					limit = {
						NOT = {
							has_character_flag = trade_hq_informed
						}
					}
					set_character_flag = trade_hq_informed
					character_event = { id = Plus.2420 } # Inform those on the trade network that the trade guild of the route has been formed, thereby determining the headquarters
				}
			}
		}
		clr_province_flag = balkan_road
	}
}

province_event = { # Baltic Trade Headquarters established
	id = Plus.2403
	
	hide_window = yes
	
	trigger = {
		NOT = {
			has_global_flag = baltic_trade_hq_established
		}
		trade_route = baltic_sea
		trade_post_has_building = tr_baltic_trade_guild_1
		NOT = {
			has_province_modifier = trade_guild_hq # Can't have more than 1 HQ per province
		}		
	}

	mean_time_to_happen = {
		days = 1
	}

	immediate = {
		set_global_flag = baltic_trade_hq_established
		set_province_flag = baltic_trade
		add_province_modifier = {
			name = trade_guild_hq
			duration = -1
		}
		any_trade_route_province = {
			holder_scope = {
				if = {
					limit = {
						NOT = {
							has_character_flag = trade_hq_informed
						}
					}
					set_character_flag = trade_hq_informed
					character_event = { id = Plus.2420 } # Inform those on the trade network that the trade guild of the route has been formed, thereby determining the headquarters
				}
			}
		}
		clr_province_flag = baltic_trade
	}
}

province_event = { # British Trade Headquarters established
	id = Plus.2404
	
	hide_window = yes
	
	trigger = {
		NOT = {
			has_global_flag = british_trade_hq_established
		}
		trade_route = british_trade
		trade_post_has_building = tr_british_trade_guild_1
		NOT = {
			has_province_modifier = trade_guild_hq # Can't have more than 1 HQ per province
		}		
	}

	mean_time_to_happen = {
		days = 1
	}

	immediate = {
		set_global_flag = british_trade_hq_established
		set_province_flag = british_trade
		add_province_modifier = {
			name = trade_guild_hq
			duration = -1
		}
		any_trade_route_province = {
			holder_scope = {
				if = {
					limit = {
						NOT = {
							has_character_flag = trade_hq_informed
						}
					}
					set_character_flag = trade_hq_informed
					character_event = { id = Plus.2420 } # Inform those on the trade network that the trade guild of the route has been formed, thereby determining the headquarters
				}
			}
		}
		clr_province_flag = british_trade
	}
}

province_event = { # French Trade Headquarters established
	id = Plus.2405
	
	hide_window = yes
	
	trigger = {
		NOT = {
			has_global_flag = french_trade_hq_established
		}
		trade_route = french_trade
		trade_post_has_building = tr_french_trade_guild_1
		NOT = {
			has_province_modifier = trade_guild_hq # Can't have more than 1 HQ per province
		}		
	}

	mean_time_to_happen = {
		days = 1
	}

	immediate = {
		set_global_flag = french_trade_hq_established
		set_province_flag = french_trade
		add_province_modifier = {
			name = trade_guild_hq
			duration = -1
		}
		any_trade_route_province = {
			holder_scope = {
				if = {
					limit = {
						NOT = {
							has_character_flag = trade_hq_informed
						}
					}
					set_character_flag = trade_hq_informed
					character_event = { id = Plus.2420 } # Inform those on the trade network that the trade guild of the route has been formed, thereby determining the headquarters
				}
			}
		}
		clr_province_flag = french_trade
	}
}

province_event = { # Iberian Trade Headquarters established
	id = Plus.2406
	
	hide_window = yes
	
	trigger = {
		NOT = {
			has_global_flag = iberian_trade_hq_established
		}
		trade_route = iberian_trade
		trade_post_has_building = tr_iberian_trade_guild_1
		NOT = {
			has_province_modifier = trade_guild_hq # Can't have more than 1 HQ per province
		}		
	}

	mean_time_to_happen = {
		days = 1
	}

	immediate = {
		set_global_flag = iberian_trade_hq_established
		set_province_flag = iberian_trade
		add_province_modifier = {
			name = trade_guild_hq
			duration = -1
		}
		any_trade_route_province = {
			holder_scope = {
				if = {
					limit = {
						NOT = {
							has_character_flag = trade_hq_informed
						}
					}
					set_character_flag = trade_hq_informed
					character_event = { id = Plus.2420 } # Inform those on the trade network that the trade guild of the route has been formed, thereby determining the headquarters
				}
			}
		}
		clr_province_flag = iberian_trade
	}
}

province_event = { # Mediterranean Trade Headquarters established
	id = Plus.2407
	
	hide_window = yes
	
	trigger = {
		NOT = {
			has_global_flag = mediterranean_trade_hq_established
		}
		trade_route = mediterranean_trade
		trade_post_has_building = tr_mediterranean_trade_guild_1
		NOT = {
			has_province_modifier = trade_guild_hq # Can't have more than 1 HQ per province
		}		
	}

	mean_time_to_happen = {
		days = 1
	}

	immediate = {
		set_global_flag = mediterranean_trade_hq_established
		set_province_flag = mediterranean_trade
		add_province_modifier = {
			name = trade_guild_hq
			duration = -1
		}
		any_trade_route_province = {
			holder_scope = {
				if = {
					limit = {
						NOT = {
							has_character_flag = trade_hq_informed
						}
					}
					set_character_flag = trade_hq_informed
					character_event = { id = Plus.2420 } # Inform those on the trade network that the trade guild of the route has been formed, thereby determining the headquarters
				}
			}
		}
		clr_province_flag = mediterranean_trade
	}
}

province_event = { # Salt Road Trade Headquarters established
	id = Plus.2408
	
	hide_window = yes
	
	trigger = {
		NOT = {
			has_global_flag = salt_road_trade_hq_established
		}
		trade_route = salt_road
		trade_post_has_building = tr_salt_road_trade_guild_1
		NOT = {
			has_province_modifier = trade_guild_hq # Can't have more than 1 HQ per province
		}		
	}

	mean_time_to_happen = {
		days = 1
	}

	immediate = {
		set_global_flag = salt_road_trade_hq_established
		set_province_flag = salt_road_trade
		add_province_modifier = {
			name = trade_guild_hq
			duration = -1
		}
		any_trade_route_province = {
			holder_scope = {
				if = {
					limit = {
						NOT = {
							has_character_flag = trade_hq_informed
						}
					}
					set_character_flag = trade_hq_informed
					character_event = { id = Plus.2420 } # Inform those on the trade network that the trade guild of the route has been formed, thereby determining the headquarters
				}
			}
		}
		clr_province_flag = salt_road_trade
	}
}

character_event = {
	id = Plus.2420 # A trade headquarters has been established
	desc = EVTDESC_Plus_2420
	picture = GFX_evt_throne_room

	is_triggered_only = yes
	
	option = {
		name = "EVTOPTA_Plus_2420"
		clr_character_flag = trade_hq_informed
	}
}

### Spread of Islam in West Africa
province_event = {
	id = Plus.2425
	desc = EVTDESC_Plus_2425
	picture = GFX_evt_diwan_poetry
	
	trigger = {
		trade_route = timbuktu_trade
		region = world_africa_west
		is_pagan_religion = yes
		is_reformed_pagan_religion = no
		year = 900
		OR = {
			province_id = 911 #Timbuktu
			province_id = 1545 #Waalo
			any_neighbor_province = {
				region = world_africa_west
				OR = {
					is_pagan_religion = no
					has_province_flag = trade_route_muslims
				}
			}
		}
		NOR = {
			year = 1050
			796 = { is_pagan_religion = yes }
			has_province_flag = trade_route_muslims
		}
	}
	
	mean_time_to_happen = {
		months = 120
		modifier = {
			factor = 1.5
			NOT = { year = 950 }
		}
		modifier = {
			factor = 0.75
			year = 1000
		}
		modifier = {
			factor = 0.75
			year = 1020
		}
		modifier = {
			factor = 0.75
			year = 1040
		}
		modifier = {
			factor = 0.75
			any_neighbor_province = {
				region = world_africa_west
				is_pagan_religion = no
			}
		}
		modifier = {
			factor = 0.75
			any_neighbor_province = {
				count = 2
				region = world_africa_west
				is_pagan_religion = no
			}
		}
		modifier = {
			factor = 0.5
			any_neighbor_province = {
				count = 3
				region = world_africa_west
				is_pagan_religion = no
			}
		}
	}

	immediate = {
		set_province_flag = trade_route_muslims
		796 = { #Cairo
			save_event_target_as = route_origin
			reverse_religion = ROOT
		}
	}
	
	option = {
		name = EXCELLENT
		trigger = {
			owner = {
				event_target:route_origin = {
					religion = PREV
				}
			}
		}
		tooltip = { religion = event_target:route_origin }
		owner = { piety = 25 }
	}
	option = {
		name = CURSES
		trigger = {
			owner = {
				is_pagan_religion = no
				event_target:route_origin = {
					NOT = { religion = PREV }
				}
			}
		}
		tooltip = { religion = event_target:route_origin }
		owner = { piety = -25 }
	}
	option = {
		name = EVTOPTA_Plus_2425 # Convert
		trigger = {
			is_capital = yes
			owner = { is_pagan_religion = yes }
		}
		ai_chance = {
			factor = 80
			modifier = {
				factor = 0
				owner = {
					OR = {
						trait = zealous
						is_theocracy = yes
					}
				}
			}
		}
		tooltip = { religion = event_target:route_origin }
		owner = {
			piety = -100
			if = {
				limit = { higher_tier_than = BARON }
				religion_authority = {
					modifier = ruler_converted_from
				}
			}
			religion = event_target:route_origin
			if = {
				limit = { higher_tier_than = BARON }
				hidden_tooltip = {
					religion_authority = {
						modifier = ruler_converted_to
					}
				}
			}
			hidden_tooltip = {
				any_courtier = {
					limit = {
						prisoner = no
						is_ruler = no
						is_pagan_religion = yes
						is_reformed_pagan_religion = no
					}
					religion = PREV
				}
			}
			set_character_flag = converted_religion
		}
	}
	option = {
		name = EVTOPTB_Plus_2425 # Don't Convert
		trigger = {
			is_capital = yes
			owner = { is_pagan_religion = yes }
		}
		ai_chance = {
			factor = 20
			modifier = {
				factor = 0
				owner = { trait = cynical }
			}
		}
		tooltip = { religion = event_target:route_origin }
		owner = { piety = 100 }
	}
	option = {
		name = EVTOPTC_Plus_2425
		trigger = {
			is_capital = no
			owner = { is_pagan_religion = yes }
		}
		tooltip = { religion = event_target:route_origin }
		owner = {
			if = {
				limit = {
					ai = yes
					NOT = { trait = zealous }
				}
				if = {
					limit = { event_target:route_origin = { religion_group = christian } }
					add_trait = sympathy_christendom
				}
				if = {
					limit = { event_target:route_origin = { religion_group = muslim } }
					add_trait = sympathy_islam
				}
				if = {
					limit = { event_target:route_origin = { religion_group = zoroastrian_group } }
					add_trait = sympathy_zoroastrianism
				}
				if = {
					limit = { event_target:route_origin = { religion_group = jewish_group } }
					add_trait = sympathy_judaism
				}
				if = {
					limit = { event_target:route_origin = { religion_group = indian_group } }
					add_trait = sympathy_indian
				}
			}
		}
	}
}

### Spread of Orthodoxy in Russia
province_event = {
	id = Plus.2426
	desc = EVTDESC_Plus_2425
	picture = GFX_evt_christian_trade
	
	trigger = {
		trade_route = amber_road
		OR = {
			region = custom_wallachia
			region = custom_crimea
			region = custom_rus
			region = custom_muscovy
			region = custom_novgorod
		}
		is_pagan_religion = yes
		is_reformed_pagan_religion = no
		year = 1000
		OR = {
			province_id = 414 # Novgorod
			province_id = 547 # Kiev
			any_neighbor_province = {
				OR = {
					region = custom_wallachia
					region = custom_crimea
					region = custom_rus
					region = custom_muscovy
					region = custom_novgorod
				}
				OR = {
					is_pagan_religion = no
					has_province_flag = trade_route_orthodox
				}
			}
		}
		NOR = {
			year = 1150
			496 = { is_pagan_religion = yes } # Byzantium
			has_province_flag = trade_route_orthodox
		}
	}
	
	mean_time_to_happen = {
		months = 500
		modifier = {
			factor = 1.5
			NOT = { year = 1050 }
		}
		modifier = {
			factor = 0.75
			year = 1100
		}
		modifier = {
			factor = 0.75
			year = 1120
		}
		modifier = {
			factor = 0.75
			year = 1140
		}
		modifier = {
			factor = 0.75
			any_neighbor_province = {
				OR = {
					region = custom_wallachia
					region = custom_crimea
					region = custom_rus
					region = custom_muscovy
					region = custom_novgorod
				}
				is_pagan_religion = no
			}
		}
		modifier = {
			factor = 0.75
			any_neighbor_province = {
				count = 2
				OR = {
					region = custom_wallachia
					region = custom_crimea
					region = custom_rus
					region = custom_muscovy
					region = custom_novgorod
				}
				is_pagan_religion = no
			}
		}
		modifier = {
			factor = 0.5
			any_neighbor_province = {
				count = 3
				OR = {
					region = custom_wallachia
					region = custom_crimea
					region = custom_rus
					region = custom_muscovy
					region = custom_novgorod
				}
				is_pagan_religion = no
			}
		}
	}

	immediate = {
		set_province_flag = trade_route_orthodox
		496 = { # Byzantium
			save_event_target_as = route_origin
			reverse_religion = ROOT
		}
	}
	
	option = {
		name = EXCELLENT
		trigger = {
			owner = {
				event_target:route_origin = {
					religion = PREV
				}
			}
		}
		tooltip = { religion = event_target:route_origin }
		owner = { piety = 25 }
	}
	option = {
		name = CURSES
		trigger = {
			owner = {
				is_pagan_religion = no
				event_target:route_origin = {
					NOT = { religion = PREV }
				}
			}
		}
		tooltip = { religion = event_target:route_origin }
		owner = { piety = -25 }
	}
	option = {
		name = EVTOPTA_Plus_2425 # Convert
		trigger = {
			is_capital = yes
			owner = { is_pagan_religion = yes }
		}
		ai_chance = {
			factor = 80
			modifier = {
				factor = 0
				owner = {
					OR = {
						trait = zealous
						is_theocracy = yes
					}
				}
			}
		}
		tooltip = { religion = event_target:route_origin }
		owner = {
			piety = -100
			if = {
				limit = { higher_tier_than = BARON }
				religion_authority = {
					modifier = ruler_converted_from
				}
			}
			religion = event_target:route_origin
			if = {
				limit = { higher_tier_than = BARON }
				hidden_tooltip = {
					religion_authority = {
						modifier = ruler_converted_to
					}
				}
			}
			hidden_tooltip = {
				any_courtier = {
					limit = {
						prisoner = no
						is_ruler = no
						is_pagan_religion = yes
						is_reformed_pagan_religion = no
					}
					religion = PREV
				}
			}
			set_character_flag = converted_religion
		}
	}
	option = {
		name = EVTOPTB_Plus_2425 # Don't Convert
		trigger = {
			is_capital = yes
			owner = { is_pagan_religion = yes }
		}
		ai_chance = {
			factor = 20
			modifier = {
				factor = 0
				owner = { trait = cynical }
			}
		}
		tooltip = { religion = event_target:route_origin }
		owner = { piety = 100 }
	}
	option = {
		name = EVTOPTC_Plus_2425
		trigger = {
			is_capital = no
			owner = { is_pagan_religion = yes }
		}
		tooltip = { religion = event_target:route_origin }
		owner = {
			if = {
				limit = {
					ai = yes
					NOT = { trait = zealous }
				}
				if = {
					limit = { event_target:route_origin = { religion_group = christian } }
					add_trait = sympathy_christendom
				}
				if = {
					limit = { event_target:route_origin = { religion_group = muslim } }
					add_trait = sympathy_islam
				}
				if = {
					limit = { event_target:route_origin = { religion_group = zoroastrian_group } }
					add_trait = sympathy_zoroastrianism
				}
				if = {
					limit = { event_target:route_origin = { religion_group = jewish_group } }
					add_trait = sympathy_judaism
				}
				if = {
					limit = { event_target:route_origin = { religion_group = indian_group } }
					add_trait = sympathy_indian
				}
			}
		}
	}
}

### Spread of Catholicism in East Europe
province_event = {
	id = Plus.2427
	desc = EVTDESC_Plus_2425
	picture = GFX_evt_christian_trade
	
	trigger = {
		trade_route = amber_road
		OR = {
			region = custom_livonia
			region = custom_lithuania
			region = custom_poland
			region = custom_bohemia
		}
		is_pagan_religion = yes
		is_reformed_pagan_religion = no
		year = 1000
		OR = {
			province_id = 437 # Praha
			province_id = 435 # Upper Silesia
			any_neighbor_province = {
				OR = {
					region = custom_livonia
					region = custom_lithuania
					region = custom_poland
					region = custom_bohemia
				}
				OR = {
					is_pagan_religion = no
					has_province_flag = trade_route_catholic
				}
			}
		}
		NOR = {
			year = 1150
			431 = { is_pagan_religion = yes } # Poznan
			has_province_flag = trade_route_catholic
		}
	}
	
	mean_time_to_happen = {
		months = 500
		modifier = {
			factor = 1.5
			NOT = { year = 1050 }
		}
		modifier = {
			factor = 0.75
			year = 1100
		}
		modifier = {
			factor = 0.75
			year = 1120
		}
		modifier = {
			factor = 0.75
			year = 1140
		}
		modifier = {
			factor = 0.75
			any_neighbor_province = {
				OR = {
					region = custom_livonia
					region = custom_lithuania
					region = custom_poland
					region = custom_bohemia
				}
				is_pagan_religion = no
			}
		}
		modifier = {
			factor = 0.75
			any_neighbor_province = {
				count = 2
				OR = {
					region = custom_livonia
					region = custom_lithuania
					region = custom_poland
					region = custom_bohemia
				}
				is_pagan_religion = no
			}
		}
		modifier = {
			factor = 0.5
			any_neighbor_province = {
				count = 3
				OR = {
					region = custom_livonia
					region = custom_lithuania
					region = custom_poland
					region = custom_bohemia
				}
				is_pagan_religion = no
			}
		}
	}

	immediate = {
		set_province_flag = trade_route_catholic
		431 = { # Poznan
			save_event_target_as = route_origin
			reverse_religion = ROOT
		}
	}
	
	option = {
		name = EXCELLENT
		trigger = {
			owner = {
				event_target:route_origin = {
					religion = PREV
				}
			}
		}
		tooltip = { religion = event_target:route_origin }
		owner = { piety = 25 }
	}
	option = {
		name = CURSES
		trigger = {
			owner = {
				is_pagan_religion = no
				event_target:route_origin = {
					NOT = { religion = PREV }
				}
			}
		}
		tooltip = { religion = event_target:route_origin }
		owner = { piety = -25 }
	}
	option = {
		name = EVTOPTA_Plus_2425 # Convert
		trigger = {
			is_capital = yes
			owner = { is_pagan_religion = yes }
		}
		ai_chance = {
			factor = 80
			modifier = {
				factor = 0
				owner = {
					OR = {
						trait = zealous
						is_theocracy = yes
					}
				}
			}
		}
		tooltip = { religion = event_target:route_origin }
		owner = {
			piety = -100
			if = {
				limit = { higher_tier_than = BARON }
				religion_authority = {
					modifier = ruler_converted_from
				}
			}
			religion = event_target:route_origin
			if = {
				limit = { higher_tier_than = BARON }
				hidden_tooltip = {
					religion_authority = {
						modifier = ruler_converted_to
					}
				}
			}
			hidden_tooltip = {
				any_courtier = {
					limit = {
						prisoner = no
						is_ruler = no
						is_pagan_religion = yes
						is_reformed_pagan_religion = no
					}
					religion = PREV
				}
			}
			set_character_flag = converted_religion
		}
	}
	option = {
		name = EVTOPTB_Plus_2425 # Don't Convert
		trigger = {
			is_capital = yes
			owner = { is_pagan_religion = yes }
		}
		ai_chance = {
			factor = 20
			modifier = {
				factor = 0
				owner = { trait = cynical }
			}
		}
		tooltip = { religion = event_target:route_origin }
		owner = { piety = 100 }
	}
	option = {
		name = EVTOPTC_Plus_2425
		trigger = {
			is_capital = no
			owner = { is_pagan_religion = yes }
		}
		tooltip = { religion = event_target:route_origin }
		owner = {
			if = {
				limit = {
					ai = yes
					NOT = { trait = zealous }
				}
				if = {
					limit = { event_target:route_origin = { religion_group = christian } }
					add_trait = sympathy_christendom
				}
				if = {
					limit = { event_target:route_origin = { religion_group = muslim } }
					add_trait = sympathy_islam
				}
				if = {
					limit = { event_target:route_origin = { religion_group = zoroastrian_group } }
					add_trait = sympathy_zoroastrianism
				}
				if = {
					limit = { event_target:route_origin = { religion_group = jewish_group } }
					add_trait = sympathy_judaism
				}
				if = {
					limit = { event_target:route_origin = { religion_group = indian_group } }
					add_trait = sympathy_indian
				}
			}
		}
	}
}

province_event = { # Rus Road Trade Headquarters established
	id = Plus.2428
	
	hide_window = yes
	
	trigger = {
		NOT = {
			has_global_flag = rus_road_trade_hq_established
		}
		trade_route = rus_road
		trade_post_has_building = tr_rus_road_trade_guild_1
		NOT = {
			has_province_modifier = trade_guild_hq # Can't have more than 1 HQ per province
		}		
	}

	mean_time_to_happen = {
		days = 1
	}

	immediate = {
		set_global_flag = rus_road_trade_hq_established
		set_province_flag = rus_road_trade
		add_province_modifier = {
			name = trade_guild_hq
			duration = -1
		}
		any_trade_route_province = {
			holder_scope = {
				if = {
					limit = {
						NOT = {
							has_character_flag = trade_hq_informed
						}
					}
					set_character_flag = trade_hq_informed
					character_event = { id = Plus.2420 } # Inform those on the trade network that the trade guild of the route has been formed, thereby determining the headquarters
				}
			}
		}
		clr_province_flag = rus_road_trade
	}
}