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

Scripted effect · Silk and Silver files

merchant_contract_failure_reputation_effect

merchant_contract_failure_reputation_effect = yes

game/common/scripted_effects/gdp_merchant_scripted_effects.txt, line 947 (22 lines). No parameters.

merchant_contract_failure_reputation_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 947 of its file. It takes no parameters: merchant_contract_failure_reputation_effect = yes. The game's script calls it in 10 places, among them build_category_connections (contract), challenge_competitor (contract) and disrupt_charter (contract). Patch 1.21.0, from game/common/scripted_effects/gdp_merchant_scripted_effects.txt.

What it does

  • If

    • scope:task_contract.task_contract_tier >= define:NTaskContract|HIGH_TASK_CONTRACT_TIER

    Then

    Else if

    • scope:task_contract.task_contract_tier >= define:NTaskContract|MEDIUM_TASK_CONTRACT_TIER

    Then

    Otherwise

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

“They” is whatever it runs on (the scope it is called in). The scripted triggers and effects it calls link to their own pages; $PARAMETERS$ stay as written: each call fills them in.

The script as written (22 lines of game script)
merchant_contract_failure_reputation_effect = {
	if = {
		limit = { scope:task_contract.task_contract_tier >= define:NTaskContract|HIGH_TASK_CONTRACT_TIER }
		add_character_modifier = {
			modifier = gdp_merchant_contract_failure_reputation_high_modifier
			years = 5
		}
	}
	else_if = {
		limit = { scope:task_contract.task_contract_tier >= define:NTaskContract|MEDIUM_TASK_CONTRACT_TIER }
		add_character_modifier = {
			modifier = gdp_merchant_contract_failure_reputation_medium_modifier
			years = 5
		}
	}
	else = {
		add_character_modifier = {
			modifier = gdp_merchant_contract_failure_reputation_low_modifier
			years = 5
		}
	}
}

As written in game/common/scripted_effects/gdp_merchant_scripted_effects.txt.

Where it is used

Every place in common/, events/ and history/ that calls merchant_contract_failure_reputation_effect.

Task contracts (10)

  • build_category_connections
  • challenge_competitor
  • disrupt_charter
  • exploit_upheaval
  • market_investment
  • negotiate_tolls
4 more
  • sabotage_competition
  • seek_debtors
  • smuggle_goods
  • support_guilds

Source: game/common/scripted_effects/gdp_merchant_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.21.0.

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