Scripted trigger
artifact_feature_pattern_war_god_trigger
artifact_feature_pattern_war_god_trigger = yesgame/common/scripted_triggers/00_artifact_triggers.txt, line 1235 (25 lines). No parameters.
artifact_feature_pattern_war_god_trigger is a scripted trigger in Crusader Kings III, written at line 1235 of its file. It takes no parameters: artifact_feature_pattern_war_god_trigger = yes (or no). The game's script calls it in 1 place, among them decoration_pattern_war_god (artifact). Patch 1.20.1.2, from game/common/scripted_triggers/00_artifact_triggers.txt.
The comment above it in the file
war_god
What it checks
If
scope:newly_created_artifact:artifact_type = book
Then
scope:newly_created_artifact:NOT = { artifact_owner = { has_variable = religious_text } }One of these
has_artifact_feature = book_subject_martialor
has_artifact_feature = book_subject_blademasteror
has_artifact_feature = book_subject_hunteror
has_artifact_feature = book_subject_mystical_animal
- scope:owner › Their rite:
- The rite does not have the tenet Aniconism
- The rite does not have the tenet Pacifism
• 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 (25 lines of game script)
artifact_feature_pattern_war_god_trigger = {
trigger_if = {
limit = {
exists = scope:newly_created_artifact
scope:newly_created_artifact = { artifact_type = book }
}
scope:newly_created_artifact = {
NOT = { artifact_owner = { has_variable = religious_text } } # avoid random religious features on specific religious texts
OR = {
has_artifact_feature = book_subject_martial
has_artifact_feature = book_subject_blademaster
has_artifact_feature = book_subject_hunter
has_artifact_feature = book_subject_mystical_animal
}
}
}
scope:owner = {
rite = {
NOR = {
rite_has_tenet = tenet_aniconism
rite_has_tenet = tenet_pacifism
}
}
}
}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_war_god_trigger.
Artifacts (1)
- decoration_pattern_war_god
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.