Scripted effect
gain_patron_and_hook_from_council_task_contract_effect
gain_patron_and_hook_from_council_task_contract_effect = yesgame/common/scripted_effects/00_laamp_effects.txt, line 732 (22 lines). No parameters.
gain_patron_and_hook_from_council_task_contract_effect is a scripted effect in Crusader Kings III, written at line 732 of its file. It takes no parameters: gain_patron_and_hook_from_council_task_contract_effect = yes. The game's script calls it in 5 places, among them laamp_help_fabricate_claim_contract (contract), laamp_help_faith_conversion_contract (contract) and laamp_help_find_secrets_contract (contract). Patch 1.20.1.2, from game/common/scripted_effects/00_laamp_effects.txt.
The comment above it in the file
grants hook and patronage from the councillor or liege of the employer in council task contracts, assumes you saved root as task_contract before
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (22 lines of game script)
gain_patron_and_hook_from_council_task_contract_effect = {
task_contract_taker = {
if = {
limit = {
scope:task_contract.task_contract_employer = scope:task_contract.var:task_contract_councillor
scope:task_contract.var:task_contract_councillor_liege = { is_ai = yes }
}
add_contact = scope:task_contract.var:task_contract_councillor_liege
add_hook_if_possible_default_length_effect = {
TARGET = scope:task_contract.var:task_contract_councillor_liege
TYPE = contact_list_weak_hook
}
}
else = {
add_contact = scope:task_contract.var:task_contract_councillor
add_hook_if_possible_default_length_effect = {
TARGET = scope:task_contract.var:task_contract_councillor
TYPE = contact_list_weak_hook
}
}
}
}As written in game/common/scripted_effects/00_laamp_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls gain_patron_and_hook_from_council_task_contract_effect.
Task contracts (5)
- laamp_help_fabricate_claim_contract
- laamp_help_faith_conversion_contract
- laamp_help_find_secrets_contract
- laamp_help_increase_control_contract
- laamp_help_train_commanders_contract
Source: game/common/scripted_effects/00_laamp_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.