Scripted trigger · Legacy of Persia files
favour_skilled_outsiders_decision_valid_county_to_generate_trigger
favour_skilled_outsiders_decision_valid_county_to_generate_trigger = yesgame/common/scripted_triggers/06_fp3_scripted_triggers.txt, line 382 (60 lines). No parameters.
favour_skilled_outsiders_decision_valid_county_to_generate_trigger is a scripted trigger in Crusader Kings III, in the Legacy of Persia files, written at line 382 of its file. It takes no parameters: favour_skilled_outsiders_decision_valid_county_to_generate_trigger = yes (or no). The game's script calls it in 2 places, among them Favor Skilled Outsiders (decision) and fp3_misc_decisions.0032 (event). Its body carries 7 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_triggers/06_fp3_scripted_triggers.txt.
What it checks
• 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 (60 lines of game script)
favour_skilled_outsiders_decision_valid_county_to_generate_trigger = {
culture = {
# We don't technically need a custom tooltip for this, but the formatting looks much nicer.
custom_tooltip = {
text = favour_skilled_outsiders_decision.tt.not_share_your_heritage
NOT = { has_same_culture_heritage = root.culture }
}
trigger_if = {
limit = { exists = root.cp:councillor_chancellor }
custom_tooltip = {
text = favour_skilled_outsiders_decision.tt.not_share_chancellor_heritage
NOT = { has_same_culture_heritage = root.cp:councillor_chancellor.culture }
}
}
trigger_if = {
limit = { exists = root.cp:councillor_marshal }
custom_tooltip = {
text = favour_skilled_outsiders_decision.tt.not_share_marshal_heritage
NOT = { has_same_culture_heritage = root.cp:councillor_marshal.culture }
}
}
trigger_if = {
limit = { exists = root.cp:councillor_steward }
custom_tooltip = {
text = favour_skilled_outsiders_decision.tt.not_share_steward_heritage
NOT = { has_same_culture_heritage = root.cp:councillor_steward.culture }
}
}
trigger_if = {
limit = { exists = root.cp:councillor_spymaster }
custom_tooltip = {
text = favour_skilled_outsiders_decision.tt.not_share_spymaster_heritage
NOT = { has_same_culture_heritage = root.cp:councillor_spymaster.culture }
}
}
trigger_if = {
limit = { exists = root.cp:councillor_court_chaplain }
custom_tooltip = {
text = favour_skilled_outsiders_decision.tt.not_share_court_chaplain_heritage
NOT = { has_same_culture_heritage = root.cp:councillor_court_chaplain.culture }
}
}
trigger_if = {
limit = {
root = { top_liege != this }
}
custom_tooltip = {
text = favour_skilled_outsiders_decision.tt.not_share_liege_heritage
save_temporary_scope_as = culture_temp
NOT = {
root = {
any_liege_or_above = {
culture = { has_same_culture_heritage = scope:culture_temp }
}
}
}
}
}
}
}As written in game/common/scripted_triggers/06_fp3_scripted_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls favour_skilled_outsiders_decision_valid_county_to_generate_trigger.
Decisions (1)
Events (1)
Source: game/common/scripted_triggers/06_fp3_scripted_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.