Scripted trigger
artifact_feature_pattern_culture_style_trigger
artifact_feature_pattern_culture_style_trigger = yesgame/common/scripted_triggers/00_artifact_triggers.txt, line 1369 (21 lines). No parameters.
artifact_feature_pattern_culture_style_trigger is a scripted trigger in Crusader Kings III, written at line 1369 of its file. It takes no parameters: artifact_feature_pattern_culture_style_trigger = yes (or no). The game's script calls it in 1 place, among them decoration_pattern_culture_style (artifact). Patch 1.20.1.2, from game/common/scripted_triggers/00_artifact_triggers.txt.
The comment above it in the file
pattern_culture_style
What it checks
If
scope:newly_created_artifact:artifact_type = book
Then
scope:newly_created_artifact:One of these
has_artifact_feature = book_subject_empireor
has_artifact_feature = book_subject_kingdomor
has_artifact_feature = book_subject_dynastyor
has_artifact_feature = book_subject_stewardship
scope:owner:- Have a Royal Court
- Court grandeur current level more than 1
• 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 (21 lines of game script)
artifact_feature_pattern_culture_style_trigger = {
trigger_if = {
limit = {
exists = scope:newly_created_artifact
scope:newly_created_artifact = { artifact_type = book }
}
scope:newly_created_artifact = {
OR = {
has_artifact_feature = book_subject_empire
has_artifact_feature = book_subject_kingdom
has_artifact_feature = book_subject_dynasty
has_artifact_feature = book_subject_stewardship
}
}
}
scope:owner = {
has_royal_court = yes
has_dlc_feature = royal_court
court_grandeur_current_level > 1
}
}As written in game/common/scripted_triggers/00_artifact_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls artifact_feature_pattern_culture_style_trigger.
Artifacts (1)
- decoration_pattern_culture_style
Source: game/common/scripted_triggers/00_artifact_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.