• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Dracko81

Field Marshal
88 Badges
Jun 13, 2012
7.030
1.950
  • Tyranny: Archon Edition
  • Magicka
  • March of the Eagles
  • A Game of Dwarves
  • Victoria: Revolutions
  • Rome Gold
  • Semper Fi
  • Sengoku
  • Sword of the Stars
  • Sword of the Stars II
  • Supreme Ruler 2020
  • Pirates of Black Cove
  • Victoria 2: A House Divided
  • Warlock: Master of the Arcane
  • Warlock 2: The Exiled
  • Age of Wonders III
  • Stellaris: Galaxy Edition
  • Cities: Skylines Deluxe Edition
  • Stellaris: Synthetic Dawn
  • Pillars of Eternity
  • Tyranny: Archon Edition
  • Stellaris
  • Crusader Kings II: The Republic
  • Ancient Space
  • Arsenal of Democracy
  • Hearts of Iron II: Armageddon
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Impire
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Heir to the Throne
  • Hearts of Iron III
  • For The Glory
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Conquest of Paradise
  • Surviving Mars
  • Divine Wind
  • Europa Universalis III
  • Darkest Hour
  • Crusader Kings II: Sunset Invasion
  • Europa Universalis IV: Pre-order
  • Mount & Blade: Warband
  • Mount & Blade: With Fire and Sword
  • Stellaris: Necroids
  • Cities: Skylines - After Dark
  • Crusader Kings II: Conclave
Description: Trade Route is created at wrong location if you do not bring Priests.

Mods: No
DLC: All

Code:
# Foreign ruler (bounce)
character_event = {
	id = WoL.10117
	is_triggered_only = yes
	hide_window = yes
	
	immediate = {
		if = {
			limit = { FROM = { has_character_flag = trade_priest } }
			FROM = {
				character_event = { id = WoL.10118 days = 7 }
			}
			break = yes
		}
[COLOR="#FF0000"]		FROM = {
			character_event = { id = WoL.10119 days = 7}
		}[/COLOR]
	}
}

I could be mistaken here but it would be great if it is looked at to confirm.

This is the section that checks if the Host(person making the trade route) has taken priests with them. I had not in my case. The event 10118, then using the from calls the event to my character if I did. If I do not bring them 10119 is called to my character. Event 10119 then check to see if the foreign ruler will create the trade route. Since my character is not the foreign ruler, the target location actually gets the Trade route and not my province.

Event 10118 - when you do bring the priests - calls 10119 using from, which triggers that event for the foreign ruler correctly.

Screenshot of trade route at target location.

Now I suspect I have the flag on my character for the event chain, hopefully that isn't inheritted or stops the event from firing later on.
 
Upvote 0