Scripted trigger · Roads to Power files
ep3_adventurer_mercenary_war_trigger
ep3_adventurer_mercenary_war_trigger = { EMPLOYER = … LAAMP = … }game/common/scripted_triggers/07_ep3_triggers.txt, line 1514 (10 lines). Parameters: $EMPLOYER$, $LAAMP$.
ep3_adventurer_mercenary_war_trigger is a scripted trigger in Crusader Kings III, in the Roads to Power files, written at line 1514 of its file. A call passes 2 parameters: EMPLOYER and LAAMP. The game's script calls it in 2 places, among them laamp_join_war_contract (contract) and player_adventurer_contract_generation_on_domicile_moved_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_triggers/07_ep3_triggers.txt.
What it checks
is_war_leader = $EMPLOYER$One of these
using_civil_war_cb_trigger = yesor
using_non_ghw_holy_war_cb_trigger = yesor
using_de_jure_cb_trigger = yesor
using_conquest_cb_trigger = yes
NOT = { is_participant = $LAAMP$ }
• 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 (10 lines of game script)
ep3_adventurer_mercenary_war_trigger = {
is_war_leader = $EMPLOYER$
OR = {
using_civil_war_cb_trigger = yes
using_non_ghw_holy_war_cb_trigger = yes
using_de_jure_cb_trigger = yes
using_conquest_cb_trigger = yes
}
NOT = { is_participant = $LAAMP$ }
}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_adventurer_mercenary_war_trigger.
Task contracts (1)
- laamp_join_war_contract
Scripted effects (1)
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.