council_tasks updated files

This commit is contained in:
Thakia 2026-10-03 12:29:37 -03:00
parent c2c4c4bd8e
commit c324ab481c
6 changed files with 516 additions and 1231 deletions

View file

@ -39,7 +39,7 @@
}
triggered_desc = {
trigger = {
scope:councillor_liege.house = { has_house_aspiration_parameter= determination_spymaster_task_disrupt_schemes_efficiency }
scope:councillor_liege.house = { has_house_aspiration_parameter = determination_spymaster_task_disrupt_schemes_efficiency }
}
desc = determination_spymaster_hostile_scheme_resistance_task_disrupt_schemes
}
@ -69,7 +69,7 @@
}
triggered_desc = {
trigger = {
scope:councillor_liege.house = { has_house_aspiration_parameter= determination_spymaster_task_disrupt_schemes_efficiency }
scope:councillor_liege.house = { has_house_aspiration_parameter = determination_spymaster_task_disrupt_schemes_efficiency }
}
desc = determination_spymaster_discovery_task_disrupt_schemes
}
@ -126,31 +126,31 @@
council_owner_modifier = {
name = task_disrupt_schemes_modifier
scheme_discovery_chance_mult = 1.0
enemy_scheme_secrecy_add = -100
scale = { value = scope:councillor.spymaster_disrupt_schemes_scheme_discovery_modifier divide = 200 }
}
council_owner_modifier = {
name = task_disrupt_schemes_court_of_shadows_modifier
scheme_discovery_chance_mult = 1.0
enemy_scheme_secrecy_add = -100
scale = { value = scope:councillor.spymaster_disrupt_schemes_court_of_shadows_scheme_discovery_modifier_scale divide = 200 }
}
council_owner_modifier = {
name = task_disrupt_schemes_erudition_legacy_5_modifier #NOT USED?
scheme_discovery_chance_mult = 1.0
enemy_scheme_secrecy_add = -100
scale = { value = scope:councillor.spymaster_disrupt_schemes_erudition_legacy_5_discovery_modifier_scale divide = 200 }
}
council_owner_modifier = {
name = task_disrupt_schemes_erudition_legacy_5_modifier #TO EDIT
scheme_discovery_chance_mult = 1.0
enemy_scheme_secrecy_add = -100
scale = { value = scope:councillor.spymaster_disrupt_schemes_family_business_discovery_modifier_scale divide = 200 }
}
council_owner_modifier = {
name = determination_spymaster_task_disrupt_schemes_modifier
scheme_discovery_chance_mult = 1.0
enemy_scheme_secrecy_add = -100
scale = { value = scope:councillor.spymaster_disrupt_schemes_determination_discovery_modifier_scale divide = 200 }
}
@ -250,7 +250,7 @@ task_support_schemes = {
# Determination House Aspiration - Hostile Scheme Phase Length
triggered_desc = {
trigger = {
scope:councillor_liege.house = { has_house_aspiration_parameter= determination_spymaster_task_support_schemes_efficiency }
scope:councillor_liege.house = { has_house_aspiration_parameter = determination_spymaster_task_support_schemes_efficiency }
}
desc = determination_spymaster_task_support_schemes_bonus
}
@ -282,7 +282,7 @@ task_support_schemes = {
# Determination House Aspiration - Hostile Scheme Success Chance
triggered_desc = {
trigger = {
scope:councillor_liege.house = { has_house_aspiration_parameter= determination_spymaster_task_support_schemes_efficiency }
scope:councillor_liege.house = { has_house_aspiration_parameter = determination_spymaster_task_support_schemes_efficiency }
}
desc = determination_spymaster_task_support_schemes_success_chance_bonus
}
@ -448,6 +448,28 @@ task_find_secrets = {
desc = ESPIONAGE_PERK_BONUS_VALUE
}
}
if = { # PAM Confession tenet
limit = {
scope:councillor_liege.cp:councillor_court_chaplain ?= {
faith = scope:councillor_liege.faith
rite = { rite_has_parameter = tenet_confession_priests_secrets }
# PAM Confession: a confessor betrays what he hears only for a ruler he approves of
OR = {
opinion = {
target = scope:councillor_liege
value > 0
}
scope:councillor_liege = {
has_strong_hook = scope:councillor_liege.cp:councillor_court_chaplain
}
}
}
}
add = {
value = scope:councillor_liege.cp:councillor_court_chaplain.chaplain_find_secrets_confession_bonus
desc = CONFESSION_TENET_BONUS_VALUE
}
}
}
if = {
limit = {
@ -529,6 +551,18 @@ task_find_secrets = {
desc = SPYMASTER_FIND_SECRETS_CHARACTER_MODIFIERS
}
}
# if = {
# limit = {
# scope:councillor_liege = {
# has_title = title:c_byzantion
# title:c_byzantion = { has_county_modifier = pandidakterion_university_modifier }
# }
# }
# multiply = {
# value = 1.3
# desc = pandidakterion_university_modifier
# }
# }
# Lady in Waiting
if = {
limit = {
@ -559,7 +593,7 @@ task_find_secrets = {
# Determination House Aspiration
if = {
limit = {
scope:councillor_liege.house ?= { has_house_aspiration_parameter= determination_spymaster_task_find_secrets_efficiency }
scope:councillor_liege.house ?= { has_house_aspiration_parameter = determination_spymaster_task_find_secrets_efficiency }
}
add = {
value = spymaster_determination_house_aspiration_find_secrets_total