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

Scripted trigger · All Under Heaven files

silk_road_valid_market_to_visit_trigger

silk_road_valid_market_to_visit_trigger = { SUB_REGION = … }

game/common/scripted_triggers/tgp_silk_road_triggers.txt, line 3 (13 lines). Parameters: $SUB_REGION$.

silk_road_valid_market_to_visit_trigger is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 3 of its file. A call passes 1 parameter: SUB_REGION. The game's script calls it in 1 place, among them Visit a Silk Road Market (decision). Patch 1.20.1.2, from game/common/scripted_triggers/tgp_silk_road_triggers.txt.

What it checks

  • None of these

    • scope:visitor_temp.culture › Any in list:
      • this = scope:sub_region_temp.var:innovation

• 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 (13 lines of game script)
silk_road_valid_market_to_visit_trigger = {
	save_temporary_scope_as = visitor_temp
	situation:silk_road_situation.situation_sub_region:region_silk_road_proper_$SUB_REGION$ = { save_temporary_scope_as = sub_region_temp }
	exists = scope:sub_region_temp.var:innovation
	NOT = {
		scope:visitor_temp.culture = {
			any_in_list = {
				variable = silk_road_unlocked_innovations
				this = scope:sub_region_temp.var:innovation
			}
		}
	}
}

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

Where it is used

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

Source: game/common/scripted_triggers/tgp_silk_road_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.

Spotted a mistake on this page?