ALL THE WAY TO DECISIONS DONE

This commit is contained in:
Fishedotjpg 2026-12-03 19:01:47 +00:00
parent 359420bc6b
commit d758b987c9
112 changed files with 20676 additions and 14484 deletions

View file

@ -1015,6 +1015,15 @@ task_fabricate_claim = {
effect_desc = {
desc = task_fabricate_claim_effect_desc
triggered_desc = {
trigger = {
scope:councillor_liege = {
government_has_flag = government_is_republic
NOT = { has_realm_law = republican_despot_succession_law }
}
}
desc = task_fabricate_claim_republic_warning
}
desc = {
desc = council_task_possible_side_effects

View file

@ -124,36 +124,6 @@
scale = scope:councillor.spymaster_disrupt_schemes_family_business_modifier_scale
}
council_owner_modifier = {
name = task_disrupt_schemes_modifier
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
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?
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
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
enemy_scheme_secrecy_add = -100
scale = { value = scope:councillor.spymaster_disrupt_schemes_determination_discovery_modifier_scale divide = 200 }
}
monthly_on_action = task_disrupt_schemes_side_effects
ai_will_do = {

View file

@ -1068,7 +1068,7 @@ task_promote_culture = {
trigger = {
scope:councillor_liege = {
any_vassal = {
has_vassal_stance = minority
vassal_stance = minority
}
}
}
@ -1079,7 +1079,7 @@ task_promote_culture = {
trigger_if = {
limit = { exists = scope:county }
scope:county = {
NOT = { culture = scope:councillor_liege.culture }
culture != scope:councillor_liege.culture
}
NOT = {
scope:councillor_liege.culture = {
@ -2116,7 +2116,7 @@ task_accept_culture = {
councillor_liege_has_family_business_bonus = yes
}
add = {
value = scope:councillor.steward_promote_culture_family_business_bonus
value = scope:councillor.steward_accept_culture_family_business_bonus_yearly_increase
desc = FAMILY_BUSINESS_BONUS_VALUE
}
}

View file

@ -345,6 +345,11 @@ task_develop_county_minister_of_works = {
clone = task_develop_county
}
task_grow_settlements_minister_of_works = {
position = minister_works
clone = task_grow_settlements
}
### GRAND MARSHAL
task_lead_troops = {
default_task = yes

View file

@ -2,9 +2,11 @@
default_task = yes #Is the defualt task for the specified position (no by default, only applicable on task_type_general with task_progress_infinite)
position = councillor_chancellor #Position that can perform this task (positions can be found in common/council_positions)
task_type = task_type_general #Type of the task [task_type_general|task_type_county|task_type_court]
county_target = all|realm|etc #What can a county task target? Not relevant for other task-types. Valid: all, realm, domain, neighbor_land, neighbor_land_or_water. neighbor_land_or_water only works for the AI
county_target = all|realm|etc #What can a county task target? Not relevant for other task-types. Valid: none, all, realm, domain, neighbor_land, neighbor_land_or_water. neighbor_land_or_water only works for the AI
ai_county_target = as above #What can a county task target for the AI? Not relevant for other task-types. If not set, defaults to what you set for the county_target. You might want this more restrictive for performance reasons
ai_target_score = { ... } # Script value for county target scores. Defaults to completely random if not set. Scopes are the same as all other council task script. Score of 0 or below means "don't do this". AI picks weighted random from all targets with a score above 0
ai_will_do = { ... } # Script value for how much the AI wants to switch to this task. Root is the councillor, scope:councillor and scope:councillor_liege are set; there is no target scope
skill = diplomacy # Optional main skill of the task, shown in the council UI. Valid: diplomacy, martial, stewardship, intrigue, learning, prowess
task_progress = task_progress_infinite #Type of the progress task [task_progress_infinite|task_progress_percentage|task_progress_value]
task_current_value = script_value #When using task_progress_value, this defines the current progress
task_max_value = script_value #When using task_progress_value, this defines the max progress; the point at which the task is considered complete
@ -68,7 +70,7 @@
desc = some_loc_key
}
}
full_progres = some_script_value/math # Some tasks just affect an existing process, such as development. Use this to obtain/calculate the full progress rate of that task. For tooltips and ETAs, that value will be used as the overall progress. In the progress rate breakdown for the task, that value minus the value provided by the task itself will be listed under the entry COUNCIL_TASK_OTHER_SOURCES. If you use this MAKE SURE that you actually apply everything that affects progress to the underlying value. E.G., for county control, make sure to have county_modifier that applies the county control gain
full_progress = some_script_value/math # Some tasks just affect an existing process, such as prosperity. Use this to obtain/calculate the full progress rate of that task. For tooltips and ETAs, that value will be used as the overall progress. In the progress rate breakdown for the task, that value minus the value provided by the task itself will be listed under the entry COUNCIL_TASK_OTHER_SOURCES. If you use this MAKE SURE that you actually apply everything that affects progress to the underlying value. E.G., for county control, make sure to have county_modifier that applies the county control gain
custom_other_loc = some_loc_key # This loc key replaces the COUNCIL_TASK_OTHER_SOURCES line in the progress breakdown
effect_desc = { # Dynamic description for effect description. Scopes based on task type. To add the modifier effects, you can do stuff like this [councillor.GetModifierDescForTask('task_foreign_affairs')]