Scripted trigger · Tours and Tournaments files
new_acclaimed_knight_search_trigger
new_acclaimed_knight_search_trigger = yesgame/common/scripted_triggers/04_ep2_accolade_triggers.txt, line 1087 (40 lines). No parameters.
new_acclaimed_knight_search_trigger is a scripted trigger in Crusader Kings III, in the Tours and Tournaments files, written at line 1087 of its file. It takes no parameters: new_acclaimed_knight_search_trigger = yes (or no). The game's script calls it in 1 place, among them accolade_create_squire_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_triggers/04_ep2_accolade_triggers.txt.
The comment above it in the file
requires the liege/accolade_owner to be save as scope:owner
What it checks
- Is under 40 years old
ep2_can_be_accolade_successor_base_trigger = yesis_acceptable_fit_for_accolade = scope:accolade_in_need- Is not a member of the Clergy
is_healthy = yesIf
NOT = { liege = scope:owner }
Then
- Their faith:
faith_hostility_level = { target = scope:owner.faith value <= faith_astray_level }
can_recruit_character_to_court_trigger = { RECRUITER = scope:owner RECRUITEE = scope:temp_knight }NOT = { has_any_bad_relationship_with_character_trigger = { CHARACTER = scope:owner } }
• 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 (40 lines of game script)
new_acclaimed_knight_search_trigger = {
#We don't want them old
is_alive = yes
age < 40
ep2_can_be_accolade_successor_base_trigger = yes
is_acceptable_fit_for_accolade = scope:accolade_in_need
is_clergy = no
is_healthy = yes
trigger_if = {
limit = {
NOT = {
is_knight_of = scope:owner
}
}
can_be_knight_trigger = { ARMY_OWNER = scope:owner }
}
#Additional checks for just grabbing pool characters
trigger_if = {
limit = {
NOT = {
liege = scope:owner
}
}
faith = {
faith_hostility_level = {
target = scope:owner.faith
value <= faith_astray_level
}
}
save_temporary_scope_as = temp_knight
can_recruit_character_to_court_trigger = {
RECRUITER = scope:owner
RECRUITEE = scope:temp_knight
}
NOT = {
has_any_bad_relationship_with_character_trigger = { CHARACTER = scope:owner }
}
}
}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 new_acclaimed_knight_search_trigger.
Scripted effects (1)
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.