Scripted trigger · Tours and Tournaments files
huntsmaster_attribute_trigger
huntsmaster_attribute_trigger = yesgame/common/scripted_triggers/04_ep2_accolade_triggers.txt, line 607 (21 lines). No parameters.
huntsmaster_attribute_trigger is a scripted trigger in Crusader Kings III, in the Tours and Tournaments files, written at line 607 of its file. It takes no parameters: huntsmaster_attribute_trigger = yes (or no). The game's script calls it in 1 place, among them Huntsmaster (accolade types). Its body carries 1 text of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_triggers/04_ep2_accolade_triggers.txt.
What it checks
- Any of these: The Acclaimed Knight is a Hunter · Your and Acclaimed Knight's Cultures do not have the Vegetarians Tradition · May become available when the Acclaimed Knight attends a Hunt
• 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)
huntsmaster_attribute_trigger = {
custom_tooltip = {
text = huntsmaster_attribute.unlock_tt
scope:owner ?= {
culture = {
NOT = {
has_cultural_tradition = tradition_vegetarianism
}
}
}
culture = {
NOT = {
has_cultural_tradition = tradition_vegetarianism
}
}
OR = {
has_trait = lifestyle_hunter
var:huntsmaster_attribute_unlock ?= yes
}
}
}As written in game/common/scripted_triggers/04_ep2_accolade_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls huntsmaster_attribute_trigger.
Accolade types (1)
- Huntsmaster
Source: game/common/scripted_triggers/04_ep2_accolade_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.