CK3 DatabaseCrusader Kings III · 1.21.0 “Florin” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →Merch→

Interaction · Diplomatic actions

Share Market Competitiveness

No costThe AI weighs it

Offer another Merchant to exchange knowledge and permissions in each other's home Trade Markets

What you need

You

To send it

  • Also needed: available (an adult, not imprisoned, not incapable)

To see it in the menu

  • Government allows: profit trade routes
  • Any held title:
    • Title tier exactly County
    • One of these

      • Has “merchant creation reason” (a variable the game's script sets)
      • or

        All of these

        • is_landless_type_title = yes
        • The … is a Noble Family Title
        • title_domicile ?= { is_domicile_type = merchant_company }

The character you target

To send it

  • Your Domicile must be in a different Trade Market from … Domicile
  • Must be in the same Trade League, or the …-… House Relation must be Cordial or higher
  • Is not at war with you
  • Does not have you as rival
  • Also needed: available (an adult, not imprisoned, not incapable)

To see it in the menu

  • Government allows: profit trade routes
  • Any held title:
    • Title tier exactly County
    • One of these

      • Has “merchant creation reason” (a variable the game's script sets)
      • or

        All of these

        • is_landless_type_title = yes
        • The … is a Noble Family Title
        • title_domicile ?= { is_domicile_type = merchant_company }

Share Market Competitiveness is a diplomatic character interaction in Crusader Kings III. You need: Is available (an adult, not imprisoned, not incapable). The character you target needs: Your Domicile must be in a different Trade Market from … Domicile, Is available (an adult, not imprisoned, not incapable), Must be in the same Trade League, or the …-… House Relation must be Cordial or higher and 2 more. The AI weighs it. Reasons the AI weighs include You … the recipient's Spouse (+25), You … the recipient's Close Family (+25), You … the recipient's Ally (+25) and 5 more. Patch 1.21.0, from game/common/character_interactions/11_gdp_merchant_interactions.txt.

for a guide, post or blog
Quick answers (2)
What are the requirements for Share Market Competitiveness in CK3?
You: Is available (an adult, not imprisoned, not incapable). The character you target: Your Domicile must be in a different Trade Market from … Domicile, Is available (an adult, not imprisoned, not incapable), Must be in the same Trade League, or the …-… House Relation must be Cordial or higher, Is not at war with you and Does not have you as rival. (patch 1.21.0)
How do I get the AI to accept Share Market Competitiveness?
The AI weighs it. Its reasons: … Opinion of …, You … the recipient's Spouse +25, You … the recipient's Close Family +25, You … the recipient's Ally +25, They is Republican +25, The recipient's Routes in …, They doesn't trade in … -25, Shared Diasporic Tradition +25, Shared … Culture +15, …-… Cultural Acceptance, …-… Cultural Acceptance, Shared … Faith +10, Your Faith is … and House Relation Level.

Will they accept?

The AI adds these up and accepts above zero. Reasons in italics are the script's, with no label in the game.

ReasonAmount
Base-50
… Opinion of …varies
Their personality (AI values: sociability 0.5, compassion 0.5)varies
You … the recipient's Spouse
when
  • Is your spouse
+25
You … the recipient's Close Family
when
  • Is close family of you
+25
You … the recipient's Ally
when
  • Is allied to you
+25
They is Republican
when
+25
The recipient's Routes in …
when
  • root.domicile.domicile_location.barony.trade_market = { … }
varies
They doesn't trade in …
when
  • root.domicile.domicile_location.barony.trade_market = { save_temporary_scope_as = market_temp }
  • None of these

    • The market temp › Any character in market: Is the target
-25
Shared Diasporic Tradition
when
+25
Shared … Culture
when
  • The target’s culture is your
+15
…-… Cultural Acceptance
when
  • The target’s culture is not your
  • scope:recipient.culture.cultural_acceptance(scope:actor.culture) < 50
varies
…-… Cultural Acceptance
when
  • The target’s culture is not your
  • scope:recipient.culture.cultural_acceptance(scope:actor.culture) >= 50
varies
Shared … Faith
when
  • The target’s faith is your
+10
Your Faith is …
when
  • The target’s faith:
    • faith_hostility_level = { target = scope:actor.faith value >= faith_astray_level }
varies
House Relation Level
when
  • Your house is not the target’s
  • Your house › Any house relation:
    • Any relation house:
    • NOT = { has_house_relation_level = neutral }
varies
Acceptance (ai_accept) (127 lines of game script)
base = -50
opinion_modifier = {
	who = scope:recipient
	opinion_target = scope:actor
	multiplier = 0.5
	desc = AI_OPINION_REASON
}
ai_value_modifier = {
	ai_sociability = 0.5
	ai_compassion = 0.5
	min = -50
	max = 50
}
modifier = {
	add = 25
	is_spouse_of = scope:actor
	desc = AI_ACTOR_RECIPIENT_SPOUSE_REASON
}
modifier = {
	add = 25
	is_close_family_of = scope:actor
	desc = AI_ACTOR_RECIPIENT_CLOSE_FAMILY_REASON
}
modifier = {
	add = 25
	is_allied_to = scope:actor
	desc = AI_ACTOR_RECIPIENT_ALLIED_REASON
}
modifier = {
	add = 25
	government_has_flag = government_is_republic
	desc = AI_RECIPIENT_IS_REPUBLIC_REASON
}
modifier = {
	scope:actor.domicile.domicile_location.barony.trade_market = {
		any_character_in_market = {
			this = scope:recipient
		}
		save_temporary_scope_as = market_temp
	}
	add = {
		value = 0
		every_trade_route = {
			limit = {
				any_trade_market_on_route = {
					this = scope:market_temp
				}
			}
			add = 10
		}
	}
	desc = RECIPIENT_TRADE_ROUTES_IN_ACTOR_CAPITAL_MARKET_REASON
}
modifier = {
	add = -25
	scope:actor.domicile.domicile_location.barony.trade_market = {
		save_temporary_scope_as = market_temp
	}
	NOT = {
		scope:market_temp = {
			any_character_in_market = {
				this = scope:recipient
			}
		}
	}
	desc = RECIPIENT_NOT_TRADING_IN_ACTOR_CAPITAL_MARKET_REASON
}
modifier = {
	add = 25
	scope:recipient.culture = {
		has_cultural_parameter = extra_merchant_cooperation
	}
	scope:actor.culture = {
		has_cultural_parameter = extra_merchant_cooperation
	}
	desc = RECIPIENT_ACTOR_DIASPORIC_REASON
}
modifier = {
	scope:recipient.culture = scope:actor.culture
	add = 15
	desc = SAME_CULTURE_REASON
}
modifier = {
	scope:recipient.culture != scope:actor.culture
	scope:recipient.culture.cultural_acceptance(scope:actor.culture) < 50
	add = {
		value = 50
		subtract = scope:recipient.culture.cultural_acceptance(scope:actor.culture)
		multiply = -0.25
		round = yes
	}
	desc = CULTURAL_ACCEPTANCE
}
modifier = {
	scope:recipient.culture != scope:actor.culture
	scope:recipient.culture.cultural_acceptance(scope:actor.culture) >= 50
	add = {
		value = scope:recipient.culture.cultural_acceptance(scope:actor.culture)
		subtract = 50
		multiply = 0.25
		round = yes
	}
	desc = CULTURAL_ACCEPTANCE
}
modifier = {
	scope:recipient.faith = scope:actor.faith
	add = 10
	desc = SAME_FAITH_REASON
}
modifier = {
	scope:recipient.faith = {
		faith_hostility_level = {
			target = scope:actor.faith
			value >= faith_astray_level
		}
	}
	add = {
		value = faith.faith_hostility_level(scope:actor.faith)
		multiply = -10
	}
	desc = FAITH_HOSTILITY_LEVEL
}
house_relation_ai_accept_modifiers = {
	HOUSE_1_MEMBER = scope:actor
	HOUSE_2_MEMBER = scope:recipient
	MULTIPLIER = 0.5
}

As written in game/common/character_interactions/11_gdp_merchant_interactions.txt.

What happens

If they accept

  • Gain +75 Prestige
  • The character you target: Gain +75 Prestige
  • The character you target:
    • You:
      • If played by the AI: Opinion: Friendly (+15)
      • domicile.domicile_location.barony.trade_market = { … }
    • If played by the AI: Opinion: Friendly (+15)
    • domicile.domicile_location.barony.trade_market = { … }
    • Their house:
      • If

        a check the game hides

        Then

        • If

          • scope:steps > 0
          • Their house head’s culture: The Culture has House Relation gains with other Houses of Diasporic Cultures are doubled
          • The other house’s house head’s culture: Their Culture has House Relation gains with other Houses of Diasporic Cultures are doubled

          Then

          • impact_house_relation = { target = scope:other_house steps = scope:doubled_steps description = house_relation_reason_share_market_competitiveness_desc }

          Otherwise

          • impact_house_relation = { target = scope:other_house steps = scope:steps description = house_relation_reason_share_market_competitiveness_desc }

If they refuse

  • You › If played by the AI: Opinion: Insulted Me (-10)

• the game's own tooltip text · ◦ our reading of the script line · code the script where neither exists

Who can use it and sees it (is_available, is_shown) (6 lines of game script)
is_available = gdp_has_trade_expertise_access_trigger = yes
exists = house
is_shown = scope:recipient = {
	this != scope:actor
	gdp_has_trade_expertise_access_trigger = yes
}

As written in game/common/character_interactions/11_gdp_merchant_interactions.txt.

Can be sent when (is_valid…) (47 lines of game script)
scope:actor = {
	is_available_quick = {
		adult = yes
		imprisoned = no
		incapable = no
	}
}
scope:recipient = {
	custom_tooltip = {
		text = gdp_share_market_competitiveness_different_market_tt
		scope:actor.domicile.domicile_location.barony.trade_market ?= {
			save_temporary_scope_as = actor_home_market
		}
		domicile.domicile_location.barony.trade_market ?= {
			this != scope:actor_home_market
		}
	}
	is_available_quick = {
		adult = yes
		imprisoned = no
		incapable = no
	}
	custom_tooltip = {
		text = gdp_same_trade_league_or_positive_house_relation_tt
		OR = {
			is_in_same_trade_league_as_trigger = {
				TARGET_CHARACTER = scope:actor
			}
			house ?= {
				any_house_relation = {
					any_relation_house = {
						this = scope:actor.house
					}
					OR = {
						has_house_relation_level = cordial
						has_house_relation_level = friendly
						has_house_relation_level = amity
					}
				}
			}
		}
	}
	NOR = {
		is_at_war_with = scope:actor
		has_relation_rival = scope:actor
	}
}

As written in game/common/character_interactions/11_gdp_merchant_interactions.txt.

Effects (on_send, on_accept, on_decline) (85 lines of game script)
on_accept = scope:actor = {
	add_prestige = minor_prestige_gain
}
scope:recipient = {
	add_prestige = minor_prestige_gain
}
scope:actor = {
	send_interface_toast = {
		type = event_merchant_good
		title = share_market_competitiveness_interaction_toast
		right_icon = scope:recipient
		scope:recipient = {
			send_interface_toast = {
				type = event_merchant_good
				title = share_market_competitiveness_interaction_toast
				right_icon = scope:actor
				scope:actor = {
					if = {
						limit = {
							is_ai = yes
						}
						add_opinion = {
							target = scope:recipient
							modifier = friendliness_opinion
							opinion = 15
						}
					}
					domicile.domicile_location.barony.trade_market = {
						add_competitiveness_modifier_for_character = {
							character = scope:recipient
							modifier = gdp_share_trade_competitiveness_modifier
							years = 10
						}
					}
				}
				if = {
					limit = {
						is_ai = yes
					}
					add_opinion = {
						target = scope:actor
						modifier = friendliness_opinion
						opinion = 15
					}
				}
				domicile.domicile_location.barony.trade_market = {
					add_competitiveness_modifier_for_character = {
						character = scope:actor
						modifier = gdp_share_trade_competitiveness_modifier
						years = 10
					}
				}
			}
			house = {
				change_house_relation_effect = {
					HOUSE = scope:actor.house
					VALUE = house_relation_improve_medium_value
					REASON = share_market_competitiveness
					CHAR = scope:actor
					TARGET_CHAR = scope:recipient
					TITLE = dummy_female
				}
			}
		}
	}
}
on_decline = scope:actor = {
	send_interface_toast = {
		type = event_toast_effect_bad
		title = share_market_competitiveness_interaction_decline_toast
		right_icon = scope:recipient
		scope:actor = {
			if = {
				limit = {
					is_ai = yes
				}
				add_opinion = {
					target = scope:recipient
					modifier = insulted_opinion
					opinion = -10
				}
			}
		}
	}
}

As written in game/common/character_interactions/11_gdp_merchant_interactions.txt.

Category
Diplomatic actions
Again on the same character
after 10 years
In the menu
under More…
ID
share_market_competitiveness_interaction

Source: game/common/character_interactions/11_gdp_merchant_interactions.txt and the English localisation, Crusader Kings III 1.21.0. “You” is the character who sends it (scope:actor, or a puppet acting for you); “the character you target” is the recipient.

Spotted a mistake on this page, or have an idea for the site?