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

Scripted trigger · Silk and Silver files

merchant_trade_opportunity_valid_to_accept_contract_limit_trigger

In the game: You must either: • Have no other taken Contract • Have only one other taken Contract that is either handled by your Partner, has no Contract Scheme underway, or has an Organized Venture

merchant_trade_opportunity_valid_to_accept_contract_limit_trigger = yes

game/common/scripted_triggers/gdp_merchant_triggers.txt, line 218 (17 lines). No parameters.

merchant_trade_opportunity_valid_to_accept_contract_limit_trigger is a scripted trigger in Crusader Kings III, in the Silk and Silver files, written at line 218 of its file. It checks, in the game's words: You must either: • Have no other taken Contract • Have only one other taken Contract that is either handled by your Partner, has no Contract Scheme underway, or has an Organized Venture. It takes no parameters: merchant_trade_opportunity_valid_to_accept_contract_limit_trigger = yes (or no). The game's script calls it in 4 places, among them find_curio (contract), menagerie_acquisition (contract) and patron_hobnob (contract). Its body carries 1 text of the game's own for the player. Patch 1.21.0, from game/common/scripted_triggers/gdp_merchant_triggers.txt.

The comment above it in the file

Trade opportunities (and matching accept gates) when the merchant already has one taken contract

What it checks

  • You must either: Have no other taken Contract · Have only one other taken Contract that is either handled by your Partner, has no Contract Scheme underway, or has an Organized Venture

• 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 (17 lines of game script)
merchant_trade_opportunity_valid_to_accept_contract_limit_trigger = {
	custom_tooltip = {
		text = merchant_trade_opportunity_valid_to_accept_contract_limit_trigger
		OR = {
			num_taken_task_contracts < 1
			AND = {
				num_taken_task_contracts = 1
				NOT = {
					any_character_active_contract = {
						merchant_organizable_contract_scheme_trigger = yes
						NOT = { exists = var:contract_partner }
					}
				}
			}
		}
	}
}

As written in game/common/scripted_triggers/gdp_merchant_triggers.txt.

Where it is used

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

Task contracts (4)

  • find_curio
  • menagerie_acquisition
  • patron_hobnob
  • unity_irregularities

Source: game/common/scripted_triggers/gdp_merchant_triggers.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?