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

@ -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')]