Scripted trigger
portrait_era3_trigger
portrait_era3_trigger = yesgame/common/scripted_triggers/00_clothing_triggers.txt, line 1591 (23 lines). No parameters.
portrait_era3_trigger is a scripted trigger in Crusader Kings III, written at line 1591 of its file. It takes no parameters: portrait_era3_trigger = yes (or no). No file of common/, events/ or history/ calls it. Patch 1.20.1.2, from game/common/scripted_triggers/00_clothing_triggers.txt.
What it checks
- Current year at least 1150
One of these
All of these
scope:year_of_birth >= 1125scope:year_of_birth < 1275scope:age >= 16
or
All of these
scope:year_of_birth >= 1160scope:year_of_birth < 1300One of these
- Current year less than 1300
or
is_alive = no
or
All of these
scope:year_of_birth >= 1160scope:year_of_birth < 1316scope:age < 16
• 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 (23 lines of game script)
portrait_era3_trigger = { # Intended to primarily cover the years 1150 to 1300
current_year >= 1150
OR = {
AND = { # People from 16 to 25 will be the first to adopt new fashion
scope:year_of_birth >= 1125
scope:year_of_birth < 1275
scope:age >= 16
}
AND = {
scope:year_of_birth >= 1160
scope:year_of_birth < 1300
OR = {
current_year < 1300
is_alive = no
}
}
AND = { # Children under 16 will not be early adopters
scope:year_of_birth >= 1160
scope:year_of_birth < 1316
scope:age < 16
}
}
}As written in game/common/scripted_triggers/00_clothing_triggers.txt.
Where it is used
No file of common/, events/ or history/ calls it.
Source: game/common/scripted_triggers/00_clothing_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.