Scripted trigger
using_civil_war_cb_trigger
using_civil_war_cb_trigger = yesgame/common/scripted_triggers/00_war_and_peace_triggers.txt, line 777 (12 lines). No parameters.
using_civil_war_cb_trigger is a scripted trigger in Crusader Kings III, written at line 777 of its file. It takes no parameters: using_civil_war_cb_trigger = yes (or no). The game's script calls it in 10 places, among them laamp_join_war_contract (contract), Conditional Join (law) and Guaranteed Protection (law). Patch 1.20.1.2, from game/common/scripted_triggers/00_war_and_peace_triggers.txt.
The comment above it in the file
In case is_civil_war is causing issues.
What it checks
One of these
using_cb = independence_faction_waror
using_cb = liberty_faction_waror
using_cb = populist_waror
using_cb = claimant_faction_waror
using_cb = depose_waror
using_cb = refused_liege_demand_waror
using_cb = nation_fracturing_faction_waror
using_cb = peasant_war
• 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 (12 lines of game script)
using_civil_war_cb_trigger = {
OR = {
using_cb = independence_faction_war
using_cb = liberty_faction_war
using_cb = populist_war
using_cb = claimant_faction_war
using_cb = depose_war
using_cb = refused_liege_demand_war
using_cb = nation_fracturing_faction_war
using_cb = peasant_war
}
}As written in game/common/scripted_triggers/00_war_and_peace_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls using_civil_war_cb_trigger.
Task contracts (1)
- laamp_join_war_contract
On actions (the game's own hooks) (3)
- on_war_started
- on_war_won_attacker
- on_war_won_defender
Scripted effects (2)
Source: game/common/scripted_triggers/00_war_and_peace_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.