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

Scripted trigger · Khans of the Steppe files

settlement_issue_valid_to_continue_default_trigger

settlement_issue_valid_to_continue_default_trigger = yes

game/common/scripted_triggers/09_mpo_settlement_issue_triggers.txt, line 1 (13 lines). No parameters.

settlement_issue_valid_to_continue_default_trigger is a scripted trigger in Crusader Kings III, in the Khans of the Steppe files, written at line 1 of its file. It takes no parameters: settlement_issue_valid_to_continue_default_trigger = yes (or no). The game's script calls it in 10 places, among them nomadic_migration_contract_1 (contract), nomadic_migration_contract_10 (contract) and nomadic_migration_contract_2 (contract). Patch 1.20.1.2, from game/common/scripted_triggers/09_mpo_settlement_issue_triggers.txt.

What it checks

  • One of these

    • task_contract_location.province_owner = task_contract_taker
    • or

      task_contract_location.province_owner.top_liege = task_contract_taker
  • task_contract_employer = { … }

• 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)
settlement_issue_valid_to_continue_default_trigger = {
	OR = {
		task_contract_location.province_owner = task_contract_taker
		task_contract_location.province_owner.top_liege = task_contract_taker
	}
	task_contract_employer = { 
		is_alive = yes 
		OR = {
			liege_or_court_owner = root.task_contract_taker
			employer = root.task_contract_taker
		}
	}
}

As written in game/common/scripted_triggers/09_mpo_settlement_issue_triggers.txt.

Where it is used

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

Task contracts (10)

  • nomadic_migration_contract_1
  • nomadic_migration_contract_10
  • nomadic_migration_contract_2
  • nomadic_migration_contract_3
  • nomadic_migration_contract_4
  • nomadic_migration_contract_5
4 more
  • nomadic_migration_contract_6
  • nomadic_migration_contract_7
  • nomadic_migration_contract_8
  • nomadic_migration_contract_9

Source: game/common/scripted_triggers/09_mpo_settlement_issue_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?