Scripted trigger · Roads to Power files
ep3_transport_contract_trigger
ep3_transport_contract_trigger = yesgame/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_vipor
has_task_contract_type = laamp_transport_artifactor
has_task_contract_type = laamp_transport_goldor
has_task_contract_type = laamp_transport_wardor
has_task_contract_type = laamp_transport_exploreror
has_task_contract_type = laamp_transport_animalor
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.