Scripted trigger
military_strength_greater_than_ratio_trigger
military_strength_greater_than_ratio_trigger = { RATIO = … TARGET = … }game/common/scripted_triggers/00_military_triggers.txt, line 4 (12 lines). Parameters: $RATIO$, $TARGET$.
military_strength_greater_than_ratio_trigger is a scripted trigger in Crusader Kings III, written at line 4 of its file. A call passes 2 parameters: RATIO and TARGET. No file of common/, events/ or history/ calls it. Patch 1.20.1.2, from game/common/scripted_triggers/00_military_triggers.txt.
The comment above it in the file
Checks whether scope character has greater military strength than the ratio specified
What it checks
Every line of it is script with no tooltip text: the script is below.
The script as written (12 lines of game script)
military_strength_greater_than_ratio_trigger = {
save_temporary_scope_value_as = {
name = ratio
value = {
value = max_military_strength
divide = $TARGET$.max_military_strength
}
}
scope:ratio > $RATIO$
}As written in game/common/scripted_triggers/00_military_triggers.txt.
Where it is used
No file of common/, events/ or history/ calls it.
Source: game/common/scripted_triggers/00_military_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.