A lot of updating, making republics work
This commit is contained in:
parent
09fb57c091
commit
4d6f569e96
99 changed files with 9792 additions and 9342 deletions
|
|
@ -13,7 +13,14 @@
|
|||
}
|
||||
|
||||
effect_desc = {
|
||||
desc = task_collect_taxes_effect_desc
|
||||
triggered_desc = {
|
||||
desc = task_collect_taxes_effect_desc
|
||||
trigger = { liege = { is_landed = yes } }
|
||||
}
|
||||
triggered_desc = {
|
||||
desc = task_collect_taxes_domicile_effect_desc
|
||||
trigger = { liege = { has_domicile = yes } }
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { liege = { has_perk = tax_man_perk } }
|
||||
desc = task_collect_taxes_tax_man_bonus_desc
|
||||
|
|
@ -69,6 +76,7 @@
|
|||
council_owner_modifier = {
|
||||
name = task_collect_taxes_modifier
|
||||
domain_tax_mult = 1
|
||||
domicile_monthly_gold_mult = 1
|
||||
scale = steward_collect_taxes_total_scale
|
||||
}
|
||||
|
||||
|
|
@ -141,14 +149,15 @@ task_develop_county = {
|
|||
task_max_value = 100
|
||||
highlight_own_realm = yes
|
||||
|
||||
asset = {
|
||||
icon = "gfx/interface/icons/council_task_types/task_develop_county.dds"
|
||||
background = "gfx/interface/buttons/button_round_bg.dds"
|
||||
frame = "gfx/interface/buttons/button_round_frame.dds"
|
||||
glow = "gfx/particles/halo.dds"
|
||||
}
|
||||
|
||||
is_shown = {
|
||||
scope:councillor_liege = {
|
||||
trigger_if = {
|
||||
limit = {
|
||||
government_has_flag = government_is_republic
|
||||
}
|
||||
is_landed = yes
|
||||
}
|
||||
}
|
||||
trigger_if = {
|
||||
limit = {
|
||||
scope:councillor_liege = { tgp_has_access_to_ministry_trigger = yes }
|
||||
|
|
@ -157,7 +166,18 @@ task_develop_county = {
|
|||
}
|
||||
}
|
||||
|
||||
asset = {
|
||||
icon = "gfx/interface/icons/council_task_types/task_increase_prosperity_county.dds"
|
||||
background = "gfx/interface/buttons/button_round_bg.dds"
|
||||
frame = "gfx/interface/buttons/button_round_frame.dds"
|
||||
glow = "gfx/particles/halo.dds"
|
||||
}
|
||||
|
||||
effect_desc = {
|
||||
triggered_desc = {
|
||||
trigger = { council_task_not_started_in_county_trigger = yes }
|
||||
desc = task_develop_county_current_status
|
||||
}
|
||||
desc = task_develop_county_complete_effect_desc
|
||||
desc = task_develop_county_effect_desc
|
||||
desc = {
|
||||
|
|
@ -182,7 +202,7 @@ task_develop_county = {
|
|||
trigger_if = {
|
||||
limit = { exists = scope:county }
|
||||
scope:county = {
|
||||
county_control < full_county_control
|
||||
county_control < county_control_baseline
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -340,10 +360,22 @@ task_develop_county = {
|
|||
desc = COUNCILLOR_IS_YOUR_NEMESIS
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
exists = scope:county
|
||||
scope:county.title_province = {
|
||||
has_building_or_higher = manor_chamber_blocks_1
|
||||
}
|
||||
}
|
||||
add = {
|
||||
value = scope:councillor.manor_chamber_blocks_steward_develop_county_bonus
|
||||
desc = MANOR_CHAMBER_BLOCKS_STEWARD_PROSPERITY_BONUS
|
||||
}
|
||||
}
|
||||
if = { #Tribal penalty
|
||||
limit = {
|
||||
scope:councillor_liege = {
|
||||
should_apply_tribal_development_penalty_trigger = yes
|
||||
should_apply_tribal_prosperity_penalty_trigger = yes
|
||||
}
|
||||
}
|
||||
add = {
|
||||
|
|
@ -351,23 +383,23 @@ task_develop_county = {
|
|||
desc = DEVELOP_COUNTY_TRIBAL_PENALTY_VALUE
|
||||
}
|
||||
}
|
||||
if = { # Development reduces the speed.
|
||||
if = { # Prosperity reduces the speed.
|
||||
limit = {
|
||||
exists = scope:county
|
||||
scope:county = {
|
||||
development_level > 0
|
||||
prosperity_level > 0
|
||||
}
|
||||
}
|
||||
add = {
|
||||
value = scope:county.current_development_penalty
|
||||
desc = STEWARD_CURRENT_DEVELOPMENT_PENALTY
|
||||
value = scope:county.current_prosperity_penalty
|
||||
desc = STEWARD_CURRENT_PROSPERITY_PENALTY
|
||||
}
|
||||
}
|
||||
|
||||
if = {
|
||||
limit = { exists = scope:county }
|
||||
multiply = {
|
||||
value = scope:county.development_rate_modifier
|
||||
value = scope:county.prosperity_rate_modifier
|
||||
desc = STEWARD_COUNTY_SPEED_MODIFIERS
|
||||
}
|
||||
}
|
||||
|
|
@ -406,7 +438,7 @@ task_develop_county = {
|
|||
potential_county = {
|
||||
scope:county = {
|
||||
is_landless_type_title = no
|
||||
development_level < max_development_level
|
||||
prosperity_level < max_prosperity_level
|
||||
trigger_if = {
|
||||
limit = {
|
||||
scope:councillor_liege = {
|
||||
|
|
@ -429,7 +461,7 @@ task_develop_county = {
|
|||
}
|
||||
OR = {
|
||||
scope:councillor_liege = {
|
||||
has_character_flag = vassal_directive_improve_development
|
||||
has_character_flag = vassal_directive_improve_prosperity
|
||||
vassal_is_valid_and_follows_directive_trigger = { VASSAL = this LIEGE = liege }
|
||||
}
|
||||
culture = scope:councillor_liege.culture
|
||||
|
|
@ -452,29 +484,37 @@ task_develop_county = {
|
|||
|
||||
county_modifier = {
|
||||
name = steward_develop_county_modifier
|
||||
development_growth = 100
|
||||
prosperity_growth = 100
|
||||
holding_build_speed = -7
|
||||
#holding_build_gold_cost = -1
|
||||
build_speed = -7
|
||||
district_build_speed = -7
|
||||
#build_gold_cost = -1
|
||||
scale = { value = steward_develop_county_total divide = 100 }
|
||||
}
|
||||
|
||||
county_modifier = {
|
||||
name = steward_develop_county_current_development_modifier
|
||||
development_growth = 100
|
||||
scale = { value = scope:councillor.current_development_penalty divide = 100 }
|
||||
name = steward_develop_county_current_prosperity_modifier
|
||||
prosperity_growth = 100
|
||||
scale = {
|
||||
value = 0
|
||||
if = {
|
||||
limit = { scope:county ?= { prosperity_level > 0 } }
|
||||
add = scope:councillor.current_prosperity_penalty
|
||||
divide = 100
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
county_modifier = {
|
||||
name = steward_develop_county_tribal_penalty_modifier
|
||||
development_growth = 100
|
||||
prosperity_growth = 100
|
||||
scale = {
|
||||
value = 0
|
||||
if = {
|
||||
limit = {
|
||||
scope:councillor_liege = {
|
||||
should_apply_tribal_development_penalty_trigger = yes
|
||||
should_apply_tribal_prosperity_penalty_trigger = yes
|
||||
}
|
||||
}
|
||||
value = scope:councillor.steward_develop_county_tribal_penalty
|
||||
|
|
@ -484,13 +524,13 @@ task_develop_county = {
|
|||
}
|
||||
|
||||
on_start_task_county = {
|
||||
# save current development_level for catalyst purpose
|
||||
# save current prosperity_level for catalyst purpose
|
||||
if = {
|
||||
limit = { exists = scope:county }
|
||||
scope:county = {
|
||||
set_variable = {
|
||||
name = current_development_level
|
||||
value = development_level
|
||||
name = current_prosperity_level
|
||||
value = prosperity_level
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -503,7 +543,7 @@ task_develop_county = {
|
|||
AND = {
|
||||
exists = scope:county
|
||||
scope:county = {
|
||||
development_level = max_development_level
|
||||
prosperity_level = max_prosperity_level
|
||||
}
|
||||
}
|
||||
scope:councillor_liege = {
|
||||
|
|
@ -519,19 +559,19 @@ task_develop_county = {
|
|||
|
||||
on_monthly_county = {
|
||||
scope:councillor_liege = {
|
||||
# Check development level progress
|
||||
# Check prosperity level progress
|
||||
if = {
|
||||
limit = {
|
||||
exists = scope:county
|
||||
exists = scope:county.var:current_development_level
|
||||
scope:county = {
|
||||
floored_development_value > floored_current_development_value
|
||||
has_variable = current_prosperity_level
|
||||
prosperity_level > var:current_prosperity_level
|
||||
}
|
||||
}
|
||||
scope:county = {
|
||||
set_variable = {
|
||||
name = current_development_level
|
||||
value = development_level
|
||||
name = current_prosperity_level
|
||||
value = prosperity_level
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -540,23 +580,23 @@ task_develop_county = {
|
|||
limit = {
|
||||
exists = primary_title
|
||||
primary_title.tier >= tier_kingdom
|
||||
NOT = {
|
||||
has_focus = stewardship_domain_focus
|
||||
}
|
||||
any_sub_realm_county = {
|
||||
culture = {
|
||||
cultural_acceptance = { target = scope:councillor_liege.culture value < 52 }
|
||||
}
|
||||
}
|
||||
NOT = {
|
||||
has_focus = stewardship_domain_focus
|
||||
}
|
||||
}
|
||||
add_character_flag = {
|
||||
flag = no_ai_increase_development
|
||||
flag = no_ai_increase_prosperity
|
||||
years = 15
|
||||
}
|
||||
}
|
||||
else = {
|
||||
add_character_flag = {
|
||||
flag = no_ai_increase_development
|
||||
flag = no_ai_increase_prosperity
|
||||
years = 5
|
||||
}
|
||||
}
|
||||
|
|
@ -614,8 +654,8 @@ task_develop_county = {
|
|||
}
|
||||
scope:county = {
|
||||
set_variable = {
|
||||
name = current_development_level
|
||||
value = development_level
|
||||
name = current_prosperity_level
|
||||
value = prosperity_level
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -635,13 +675,13 @@ task_develop_county = {
|
|||
if = {
|
||||
# Don't do this too often
|
||||
limit = {
|
||||
scope:councillor_liege = { has_character_flag = no_ai_increase_development }
|
||||
scope:councillor_liege = { has_character_flag = no_ai_increase_prosperity }
|
||||
}
|
||||
multiply = 0
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:councillor_liege.gold >= steward_increase_development_value
|
||||
scope:councillor_liege.gold >= steward_increase_prosperity_value
|
||||
}
|
||||
add = 300
|
||||
}
|
||||
|
|
@ -656,7 +696,7 @@ task_develop_county = {
|
|||
if = {
|
||||
limit = {
|
||||
scope:councillor_liege = {
|
||||
has_character_flag = vassal_directive_improve_development
|
||||
has_character_flag = vassal_directive_improve_prosperity
|
||||
vassal_is_valid_and_follows_directive_trigger = { VASSAL = this LIEGE = liege }
|
||||
}
|
||||
}
|
||||
|
|
@ -665,6 +705,334 @@ task_develop_county = {
|
|||
}
|
||||
}
|
||||
|
||||
task_republic_trade_logistics = {
|
||||
position = councillor_steward
|
||||
task_type = task_type_general
|
||||
task_progress = task_progress_infinite
|
||||
|
||||
is_shown = {
|
||||
scope:councillor_liege = {
|
||||
government_has_flag = government_is_republic
|
||||
}
|
||||
}
|
||||
|
||||
asset = {
|
||||
icon = "gfx/interface/icons/council_task_types/task_trade_logistics.dds"
|
||||
background = "gfx/interface/buttons/button_round_bg.dds"
|
||||
frame = "gfx/interface/buttons/button_round_frame.dds"
|
||||
glow = "gfx/particles/halo.dds"
|
||||
}
|
||||
|
||||
effect_desc = {
|
||||
# Trade Capacity
|
||||
desc = task_republic_trade_logistics_capacity_desc
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
scope:councillor_liege.house ?= {
|
||||
OR = {
|
||||
has_house_aspiration_parameter = ambition_improved_task_logistics_and_market_1
|
||||
has_house_aspiration_parameter = ambition_improved_task_logistics_and_market_2
|
||||
has_house_aspiration_parameter = ambition_improved_task_logistics_and_market_3
|
||||
has_house_aspiration_parameter = ambition_improved_task_logistics_and_market_4
|
||||
}
|
||||
}
|
||||
}
|
||||
desc = ambition_improved_task_logistics_capacity_bonus
|
||||
}
|
||||
# Trade Goods Expertise
|
||||
desc = task_republic_trade_logistics_expertise_desc
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
scope:councillor_liege.house ?= {
|
||||
OR = {
|
||||
has_house_aspiration_parameter = ambition_improved_task_logistics_and_market_1
|
||||
has_house_aspiration_parameter = ambition_improved_task_logistics_and_market_2
|
||||
has_house_aspiration_parameter = ambition_improved_task_logistics_and_market_3
|
||||
has_house_aspiration_parameter = ambition_improved_task_logistics_and_market_4
|
||||
}
|
||||
}
|
||||
}
|
||||
desc = ambition_improved_task_logistics_expertise_bonus
|
||||
}
|
||||
# Side effects
|
||||
desc = {
|
||||
desc = council_task_possible_side_effects
|
||||
triggered_desc = {
|
||||
trigger = { stewardship > mediocre_skill_rating }
|
||||
desc = task_republic_trade_logistics_clearer_ledgers
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
stewardship > mediocre_skill_rating
|
||||
NOT = { has_character_modifier = republic_reliable_caravans_modifier }
|
||||
}
|
||||
desc = task_republic_trade_logistics_reliable_caravans
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
stewardship < high_skill_rating
|
||||
has_variable = republic_trade_logistics_value
|
||||
var:republic_trade_logistics_value > 0
|
||||
}
|
||||
desc = task_republic_trade_logistics_bottlenecked_warehouses
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
stewardship < high_skill_rating
|
||||
short_term_gold > 0
|
||||
}
|
||||
desc = task_republic_trade_logistics_spoiled_cargo
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
is_valid_showing_failures_only = {
|
||||
tgp_natural_disaster_councillor_available_for_task_trigger = yes
|
||||
}
|
||||
|
||||
on_start_task = {
|
||||
liege = {
|
||||
set_variable = {
|
||||
name = republic_trade_logistics_value
|
||||
value = 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
on_cancel_task = {
|
||||
if = {
|
||||
limit = {
|
||||
is_alive = yes
|
||||
has_variable = republic_trade_logistics_value
|
||||
}
|
||||
remove_variable = republic_trade_logistics_value
|
||||
}
|
||||
}
|
||||
|
||||
on_monthly = {
|
||||
if = {
|
||||
limit = { liege = { is_ai = no } }
|
||||
if = {
|
||||
limit = {
|
||||
liege = {
|
||||
has_variable = republic_trade_logistics_value
|
||||
}
|
||||
}
|
||||
liege = {
|
||||
if = {
|
||||
limit = {
|
||||
var:republic_trade_logistics_value < root.republic_trade_logistics_max_value
|
||||
}
|
||||
change_variable = {
|
||||
name = republic_trade_logistics_value
|
||||
add = root.republic_trade_logistics_monthly_increase
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
var:republic_trade_logistics_value > root.republic_trade_logistics_max_value
|
||||
}
|
||||
set_variable = {
|
||||
name = republic_trade_logistics_value
|
||||
value = root.republic_trade_logistics_max_value
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else = {
|
||||
liege = {
|
||||
set_variable = {
|
||||
name = republic_trade_logistics_value
|
||||
value = 0
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
council_owner_modifier = {
|
||||
name = task_republic_trade_logistics_modifier
|
||||
trade_capacity_mult = 0.01
|
||||
scale = republic_trade_logistics_final_value
|
||||
}
|
||||
|
||||
council_owner_modifier = {
|
||||
name = task_republic_trade_logistics_modifier
|
||||
trade_expertise_growth_mult = 0.01
|
||||
scale = republic_trade_logistics_expertise_final_value
|
||||
}
|
||||
|
||||
monthly_on_action = task_republic_trade_logistics_side_effects
|
||||
|
||||
ai_will_do = {
|
||||
value = 0
|
||||
}
|
||||
}
|
||||
|
||||
task_republic_market_oversight = {
|
||||
position = councillor_steward
|
||||
task_type = task_type_general
|
||||
task_progress = task_progress_infinite
|
||||
|
||||
is_shown = {
|
||||
scope:councillor_liege = {
|
||||
government_has_flag = government_is_republic
|
||||
}
|
||||
}
|
||||
|
||||
asset = {
|
||||
icon = "gfx/interface/icons/council_task_types/task_market_oversight.dds"
|
||||
background = "gfx/interface/buttons/button_round_bg.dds"
|
||||
frame = "gfx/interface/buttons/button_round_frame.dds"
|
||||
glow = "gfx/particles/halo.dds"
|
||||
}
|
||||
|
||||
effect_desc = {
|
||||
# Competitiveness
|
||||
desc = task_republic_market_oversight_competitiveness_desc
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
scope:councillor_liege.house ?= {
|
||||
OR = {
|
||||
has_house_aspiration_parameter = ambition_improved_task_logistics_and_market_1
|
||||
has_house_aspiration_parameter = ambition_improved_task_logistics_and_market_2
|
||||
has_house_aspiration_parameter = ambition_improved_task_logistics_and_market_3
|
||||
has_house_aspiration_parameter = ambition_improved_task_logistics_and_market_4
|
||||
}
|
||||
}
|
||||
}
|
||||
desc = ambition_improved_task_market_oversight_competitiveness_bonus
|
||||
}
|
||||
# Sell price
|
||||
desc = task_republic_market_oversight_sell_price_desc
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
scope:councillor_liege.house ?= {
|
||||
OR = {
|
||||
has_house_aspiration_parameter = ambition_improved_task_logistics_and_market_1
|
||||
has_house_aspiration_parameter = ambition_improved_task_logistics_and_market_2
|
||||
has_house_aspiration_parameter = ambition_improved_task_logistics_and_market_3
|
||||
has_house_aspiration_parameter = ambition_improved_task_logistics_and_market_4
|
||||
}
|
||||
}
|
||||
}
|
||||
desc = ambition_improved_task_market_oversight_sell_price_bonus
|
||||
}
|
||||
# Side effects
|
||||
desc = {
|
||||
desc = council_task_possible_side_effects
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
stewardship > mediocre_skill_rating
|
||||
NOT = { has_character_modifier = republic_premium_contracts_modifier }
|
||||
}
|
||||
desc = task_republic_market_oversight_premium_contracts
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { stewardship > mediocre_skill_rating }
|
||||
desc = task_republic_market_oversight_merchant_cooperation
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
stewardship < high_skill_rating
|
||||
has_variable = republic_market_oversight_value
|
||||
var:republic_market_oversight_value > 0
|
||||
}
|
||||
desc = task_republic_market_oversight_market_scandal
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
stewardship < high_skill_rating
|
||||
NOT = { has_character_modifier = republic_inspector_bribery_modifier }
|
||||
}
|
||||
desc = task_republic_market_oversight_inspector_bribery
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
is_valid_showing_failures_only = {
|
||||
tgp_natural_disaster_councillor_available_for_task_trigger = yes
|
||||
}
|
||||
|
||||
on_start_task = {
|
||||
liege = {
|
||||
set_variable = {
|
||||
name = republic_market_oversight_value
|
||||
value = 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
on_cancel_task = {
|
||||
if = {
|
||||
limit = {
|
||||
is_alive = yes
|
||||
has_variable = republic_market_oversight_value
|
||||
}
|
||||
remove_variable = republic_market_oversight_value
|
||||
}
|
||||
}
|
||||
|
||||
on_monthly = {
|
||||
if = {
|
||||
limit = { liege = { is_ai = no } }
|
||||
if = {
|
||||
limit = {
|
||||
liege = {
|
||||
has_variable = republic_market_oversight_value
|
||||
}
|
||||
}
|
||||
liege = {
|
||||
if = {
|
||||
limit = {
|
||||
var:republic_market_oversight_value < root.republic_market_oversight_max_value
|
||||
}
|
||||
change_variable = {
|
||||
name = republic_market_oversight_value
|
||||
add = root.republic_market_oversight_monthly_increase
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
var:republic_market_oversight_value > root.republic_market_oversight_max_value
|
||||
}
|
||||
set_variable = {
|
||||
name = republic_market_oversight_value
|
||||
value = root.republic_market_oversight_max_value
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else = {
|
||||
liege = {
|
||||
set_variable = {
|
||||
name = republic_market_oversight_value
|
||||
value = 0
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
council_owner_modifier = {
|
||||
name = task_republic_market_oversight_modifier
|
||||
trade_competitiveness_mult = 0.01
|
||||
scale = republic_market_oversight_final_value
|
||||
}
|
||||
|
||||
council_owner_modifier = {
|
||||
name = task_republic_market_oversight_modifier
|
||||
trade_category_all_sell_price_mult = 0.01
|
||||
scale = republic_market_oversight_sell_price_final_value
|
||||
}
|
||||
|
||||
monthly_on_action = task_republic_market_oversight_side_effects
|
||||
|
||||
ai_will_do = {
|
||||
value = 0
|
||||
}
|
||||
}
|
||||
|
||||
task_promote_culture = {
|
||||
position = councillor_steward
|
||||
|
||||
|
|
@ -675,6 +1043,17 @@ task_promote_culture = {
|
|||
restart_on_finish = yes
|
||||
highlight_own_realm = yes
|
||||
|
||||
is_shown = {
|
||||
scope:councillor_liege = {
|
||||
trigger_if = {
|
||||
limit = {
|
||||
government_has_flag = government_is_republic
|
||||
}
|
||||
is_landed = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
asset = {
|
||||
icon = "gfx/interface/icons/council_task_types/task_promote_culture.dds"
|
||||
background = "gfx/interface/buttons/button_round_bg.dds"
|
||||
|
|
@ -728,7 +1107,7 @@ task_promote_culture = {
|
|||
}
|
||||
}
|
||||
}
|
||||
desc = task_promote_culture_improve_county_opinion
|
||||
desc = task_promote_culture_improve_popular_opinion
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
|
|
@ -798,16 +1177,27 @@ task_promote_culture = {
|
|||
|
||||
add = steward_promote_culture_contextual_bonuses
|
||||
|
||||
if = { # Development reduces the speed. Should be the last non-multiply modifier applied to avoid negative values
|
||||
if = { # Prosperity reduces the speed. Should be the last non-multiply modifier applied to avoid negative values
|
||||
limit = {
|
||||
exists = scope:county
|
||||
scope:county = {
|
||||
development_level > 0
|
||||
prosperity_level > 0
|
||||
}
|
||||
}
|
||||
add = {
|
||||
value = scope:county.promote_culture_development_penalty
|
||||
desc = STEWARD_PROMOTE_CULTURE_DEVELOPMENT_PENALTY
|
||||
value = scope:county.promote_culture_prosperity_penalty
|
||||
desc = STEWARD_PROMOTE_CULTURE_PROSPERITY_PENALTY
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = { exists = scope:county.title_province }
|
||||
multiply = {
|
||||
value = 1
|
||||
subtract = {
|
||||
value = scope:county.title_province.province_size_level
|
||||
multiply = promote_culture_settlement_size_penalty_step
|
||||
}
|
||||
desc = STEWARD_PROMOTE_CULTURE_SETTLEMENT_SIZE
|
||||
}
|
||||
}
|
||||
####
|
||||
|
|
@ -1523,6 +1913,17 @@ task_accept_culture = {
|
|||
highlight_own_realm = yes
|
||||
task_progress = task_progress_infinite
|
||||
|
||||
is_shown = {
|
||||
scope:councillor_liege = {
|
||||
trigger_if = {
|
||||
limit = {
|
||||
government_has_flag = government_is_republic
|
||||
}
|
||||
is_landed = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
asset = {
|
||||
icon = "gfx/interface/icons/council_task_types/task_accept_culture.dds"
|
||||
background = "gfx/interface/buttons/button_round_bg.dds"
|
||||
|
|
@ -1619,13 +2020,13 @@ task_accept_culture = {
|
|||
limit = { exists = scope:county }
|
||||
scope:county = {
|
||||
NOR = {
|
||||
has_county_modifier = steward_accept_culture_reduced_development_spread_modifier
|
||||
has_county_modifier = steward_accept_culture_increased_development_spread_modifier
|
||||
has_county_modifier = steward_accept_culture_reduced_prosperity_spread_modifier
|
||||
has_county_modifier = steward_accept_culture_increased_prosperity_spread_modifier
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
desc = task_accept_culture_reduced_development_growth
|
||||
desc = task_accept_culture_reduced_prosperity_growth
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
|
|
@ -1634,13 +2035,13 @@ task_accept_culture = {
|
|||
limit = { exists = scope:county }
|
||||
scope:county = {
|
||||
NOR = {
|
||||
has_county_modifier = steward_accept_culture_reduced_development_spread_modifier
|
||||
has_county_modifier = steward_accept_culture_increased_development_spread_modifier
|
||||
has_county_modifier = steward_accept_culture_reduced_prosperity_spread_modifier
|
||||
has_county_modifier = steward_accept_culture_increased_prosperity_spread_modifier
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
desc = task_accept_culture_increased_development_growth
|
||||
desc = task_accept_culture_increased_prosperity_growth
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
|
|
@ -1871,7 +2272,7 @@ task_accept_culture = {
|
|||
if = {
|
||||
# Prefer this over Collecting Taxes if you have some money
|
||||
limit = {
|
||||
scope:councillor_liege.gold >= steward_increase_development_value
|
||||
scope:councillor_liege.gold >= steward_increase_prosperity_value
|
||||
}
|
||||
add = 1
|
||||
}
|
||||
|
|
@ -1992,6 +2393,18 @@ task_convince_dejure = {
|
|||
ai_county_target = neighbor_land
|
||||
task_progress = task_progress_percentage
|
||||
|
||||
is_shown = {
|
||||
has_dlc_feature = royal_court
|
||||
scope:councillor_liege = {
|
||||
trigger_if = {
|
||||
limit = {
|
||||
government_has_flag = government_is_republic
|
||||
}
|
||||
is_landed = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
asset = {
|
||||
icon = "gfx/interface/icons/council_task_types/task_convince_dejure.dds"
|
||||
background = "gfx/interface/buttons/button_round_bg.dds"
|
||||
|
|
@ -2024,10 +2437,6 @@ task_convince_dejure = {
|
|||
}
|
||||
}
|
||||
|
||||
is_shown = {
|
||||
has_dlc_feature = royal_court
|
||||
}
|
||||
|
||||
progress = {
|
||||
value = 0
|
||||
add = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue