Scripted trigger · The Royal Court files
ep1_artifact_durability_lower_equal_percent_trigger
ep1_artifact_durability_lower_equal_percent_trigger = { PERCENT = … }game/common/scripted_triggers/02_ep1_scripted_triggers.txt, line 107 (7 lines). Parameters: $PERCENT$.
ep1_artifact_durability_lower_equal_percent_trigger is a scripted trigger in Crusader Kings III, in the The Royal Court files, written at line 107 of its file. A call passes 1 parameter: PERCENT. The game's script calls it in 3 places, among them Underequipped (event court.8010), artifact_4000_cursed_creepy_trigger (local trigger) and court_8010_underequipped_trigger (local trigger). Patch 1.20.1.2, from game/common/scripted_triggers/02_ep1_scripted_triggers.txt.
What it checks
Every line of it is script with no tooltip text: the script is below.
The script as written (7 lines of game script)
ep1_artifact_durability_lower_equal_percent_trigger = {
$PERCENT$ > {
value = 0
add = artifact_durability
divide = artifact_max_durability
}
}As written in game/common/scripted_triggers/02_ep1_scripted_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls ep1_artifact_durability_lower_equal_percent_trigger.
Events (1)
- Underequipped
court.8010
Scripted triggers inside an event file (2)
- artifact_4000_cursed_creepy_trigger
- court_8010_underequipped_trigger
Source: game/common/scripted_triggers/02_ep1_scripted_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.