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

Scripted trigger · Roads to Power files

ep3_transport_contract_trigger

ep3_transport_contract_trigger = yes

game/common/scripted_triggers/07_ep3_triggers.txt, line 1106 (11 lines). No parameters.

ep3_transport_contract_trigger is a scripted trigger in Crusader Kings III, in the Roads to Power files, written at line 1106 of its file. It takes no parameters: ep3_transport_contract_trigger = yes (or no). The game's script calls it in 4 places, among them Travel to Complete a Contract (interaction), You can Travel to Complete a Contract (important action) and on_travel_plan_arrival (on action). Patch 1.20.1.2, from game/common/scripted_triggers/07_ep3_triggers.txt.

The comment above it in the file

Is this contract a transport contract?
root (task contract) – The contract to be checked.

What it checks

  • One of these

    • has_task_contract_type = laamp_transport_vip
    • or

      has_task_contract_type = laamp_transport_artifact
    • or

      has_task_contract_type = laamp_transport_gold
    • or

      has_task_contract_type = laamp_transport_ward
    • or

      has_task_contract_type = laamp_transport_explorer
    • or

      has_task_contract_type = laamp_transport_animal
    • or

      has_task_contract_type = laamp_construction_contract

• 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 (11 lines of game script)
ep3_transport_contract_trigger = {
	OR = {
		has_task_contract_type = laamp_transport_vip
		has_task_contract_type = laamp_transport_artifact
		has_task_contract_type = laamp_transport_gold
		has_task_contract_type = laamp_transport_ward
		has_task_contract_type = laamp_transport_explorer
		has_task_contract_type = laamp_transport_animal
		has_task_contract_type = laamp_construction_contract
	}
}

As written in game/common/scripted_triggers/07_ep3_triggers.txt.

Where it is used

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

Character interactions (1)

Important actions (1)

  • You can Travel to Complete a Contract

On actions (the game's own hooks) (2)

  • on_travel_plan_arrival
  • on_travel_plan_movement

Source: game/common/scripted_triggers/07_ep3_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?