fix
This commit is contained in:
parent
c1587b1bf1
commit
3f3efeee4b
2 changed files with 5 additions and 404 deletions
|
|
@ -20,7 +20,7 @@
|
||||||
administrative_themes = {
|
administrative_themes = {
|
||||||
display_mode = radiobutton
|
display_mode = radiobutton
|
||||||
is_shown = {
|
is_shown = {
|
||||||
scope:subject.primary_title.tier == tier_duchy
|
scope:subject.primary_title.tier >= tier_duchy
|
||||||
}
|
}
|
||||||
obligation_levels = {
|
obligation_levels = {
|
||||||
admin_theme_balanced = {
|
admin_theme_balanced = {
|
||||||
|
|
@ -46,12 +46,10 @@ administrative_themes = {
|
||||||
color = { 0.7 0.7 0.7 1.0 }
|
color = { 0.7 0.7 0.7 1.0 }
|
||||||
|
|
||||||
liege_modifier = {
|
liege_modifier = {
|
||||||
men_at_arms_cap = 1
|
|
||||||
men_at_arms_maintenance = -0.05
|
men_at_arms_maintenance = -0.05
|
||||||
}
|
}
|
||||||
subject_modifier = {
|
subject_modifier = {
|
||||||
governor_xp_gain_mult = 0.2
|
governor_xp_gain_mult = 0.2
|
||||||
men_at_arms_cap = -1
|
|
||||||
men_at_arms_maintenance = 0.05
|
men_at_arms_maintenance = 0.05
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -306,6 +304,8 @@ administrative_themes = {
|
||||||
tax_factor = 0.1
|
tax_factor = 0.1
|
||||||
|
|
||||||
liege_modifier = {
|
liege_modifier = {
|
||||||
|
men_at_arms_cap = 1
|
||||||
|
men_at_arms_maintenance = -0.05
|
||||||
monthly_prestige_gain_per_legitimacy_level_add = 0.5
|
monthly_prestige_gain_per_legitimacy_level_add = 0.5
|
||||||
legitimacy_gain_mult = 0.2
|
legitimacy_gain_mult = 0.2
|
||||||
}
|
}
|
||||||
|
|
@ -313,6 +313,8 @@ administrative_themes = {
|
||||||
subject_modifier = {
|
subject_modifier = {
|
||||||
monthly_prestige = 0.5
|
monthly_prestige = 0.5
|
||||||
monthly_influence = 0.25
|
monthly_influence = 0.25
|
||||||
|
men_at_arms_cap = -1
|
||||||
|
men_at_arms_maintenance = 0.05
|
||||||
}
|
}
|
||||||
|
|
||||||
flag = vassal_contract_war_override
|
flag = vassal_contract_war_override
|
||||||
|
|
@ -418,406 +420,6 @@ administrative_themes = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
administrative_themes_king = {
|
|
||||||
display_mode = radiobutton
|
|
||||||
is_shown = {
|
|
||||||
scope:subject.primary_title.tier == tier_kingdom
|
|
||||||
}
|
|
||||||
obligation_levels = {
|
|
||||||
admin_theme_balanced_king = {
|
|
||||||
default = yes
|
|
||||||
position = { 0 0 }
|
|
||||||
gui_tags = { byzantine_purple }
|
|
||||||
icon = "gfx/interface/icons/theme_administration_types/icon_balanced_administration.dds"
|
|
||||||
|
|
||||||
ai_liege_desire = {
|
|
||||||
value = 0
|
|
||||||
if = {
|
|
||||||
limit = {
|
|
||||||
scope:subject = {
|
|
||||||
is_ai = yes
|
|
||||||
}
|
|
||||||
}
|
|
||||||
add = 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
ai_subject_desire = 0
|
|
||||||
|
|
||||||
score = 0
|
|
||||||
color = { 0.7 0.7 0.7 1.0 }
|
|
||||||
|
|
||||||
liege_modifier = {
|
|
||||||
men_at_arms_cap = 2
|
|
||||||
men_at_arms_maintenance = -0.1
|
|
||||||
}
|
|
||||||
subject_modifier = {
|
|
||||||
governor_xp_gain_mult = 0.4
|
|
||||||
men_at_arms_cap = -2
|
|
||||||
men_at_arms_maintenance = 0.1
|
|
||||||
}
|
|
||||||
|
|
||||||
flag = vassal_contract_war_override
|
|
||||||
flag = admin_theme_balanced
|
|
||||||
flag = province_balanced
|
|
||||||
}
|
|
||||||
admin_theme_civilian_king = {
|
|
||||||
position = { 2 0 }
|
|
||||||
icon = "gfx/interface/icons/theme_administration_types/icon_civilian_administration.dds"
|
|
||||||
gui_tags = { byzantine_purple }
|
|
||||||
|
|
||||||
ai_liege_desire = {
|
|
||||||
value = 0
|
|
||||||
if = {
|
|
||||||
limit = {
|
|
||||||
scope:subject = {
|
|
||||||
is_ai = yes
|
|
||||||
OR = {
|
|
||||||
has_trait = education_stewardship
|
|
||||||
stewardship >= very_high_skill_rating
|
|
||||||
AND = { # Large semi-coastal themes are good for an economic focus
|
|
||||||
any_sub_realm_county = { count >= 2 is_coastal_county = yes }
|
|
||||||
any_sub_realm_county = { count >= 2 is_coastal_county = no }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
add = 2
|
|
||||||
}
|
|
||||||
if = {
|
|
||||||
limit = {
|
|
||||||
scope:liege = {
|
|
||||||
ai_has_builder_or_pious_builder_personality = yes
|
|
||||||
}
|
|
||||||
}
|
|
||||||
add = 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
ai_subject_desire = 0
|
|
||||||
|
|
||||||
score = 0
|
|
||||||
color = { 0.2 0.2 0.7 1.0 }
|
|
||||||
|
|
||||||
tax_factor = 0.5
|
|
||||||
|
|
||||||
liege_modifier = {
|
|
||||||
men_at_arms_cap = 2
|
|
||||||
men_at_arms_maintenance = -0.1
|
|
||||||
}
|
|
||||||
subject_modifier = {
|
|
||||||
development_growth_factor = 0.3
|
|
||||||
build_gold_cost = -0.2
|
|
||||||
build_speed = -0.2
|
|
||||||
men_at_arms_title_limit = -3
|
|
||||||
men_at_arms_title_cap = -3
|
|
||||||
men_at_arms_cap = -2
|
|
||||||
men_at_arms_maintenance = 0.1
|
|
||||||
}
|
|
||||||
|
|
||||||
flag = vassal_contract_war_override
|
|
||||||
flag = admin_stewardship_obligation_bonus
|
|
||||||
flag = admin_influence_construction_bonus
|
|
||||||
flag = admin_ai_is_builder
|
|
||||||
flag = admin_theme_civilian
|
|
||||||
flag = province_civilian
|
|
||||||
flag = obligation_high_taxes
|
|
||||||
}
|
|
||||||
admin_theme_military_king = {
|
|
||||||
position = { 1 0 }
|
|
||||||
icon = "gfx/interface/icons/theme_administration_types/icon_military_administration.dds"
|
|
||||||
gui_tags = { byzantine_purple }
|
|
||||||
|
|
||||||
ai_liege_desire = {
|
|
||||||
value = 0
|
|
||||||
if = {
|
|
||||||
limit = {
|
|
||||||
scope:subject = {
|
|
||||||
is_ai = yes
|
|
||||||
OR = {
|
|
||||||
has_trait = education_martial
|
|
||||||
martial >= very_high_skill_rating
|
|
||||||
primary_title = { any_owned_title_maa_regiment = { count > 4 } }
|
|
||||||
AND = { # Large inland themes are good for military
|
|
||||||
any_sub_realm_county = { count >= 5 }
|
|
||||||
any_sub_realm_county = { percent >= 0.95 is_coastal_county = no }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
add = 2
|
|
||||||
}
|
|
||||||
if = {
|
|
||||||
limit = {
|
|
||||||
scope:liege = {
|
|
||||||
ai_has_warlike_personality = yes
|
|
||||||
}
|
|
||||||
}
|
|
||||||
add = 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
ai_subject_desire = 0
|
|
||||||
|
|
||||||
score = 0
|
|
||||||
color = { 0.7 0.2 0.2 1.0 }
|
|
||||||
|
|
||||||
levies_factor = 0.75
|
|
||||||
|
|
||||||
liege_modifier = {
|
|
||||||
men_at_arms_cap = -2
|
|
||||||
men_at_arms_maintenance = 0.1
|
|
||||||
}
|
|
||||||
subject_modifier = {
|
|
||||||
development_growth_factor = -0.33
|
|
||||||
monthly_county_control_growth_factor = 0.2
|
|
||||||
maa_damage_mult = 0.2
|
|
||||||
men_at_arms_title_cap = 3
|
|
||||||
men_at_arms_maintenance = -0.3
|
|
||||||
monthly_treasury_from_military_budget_base = 1.5
|
|
||||||
men_at_arms_cap = 2
|
|
||||||
}
|
|
||||||
|
|
||||||
flag = admin_martial_obligation_bonus
|
|
||||||
flag = admin_theme_military
|
|
||||||
flag = province_military
|
|
||||||
flag = obligation_high_levies
|
|
||||||
}
|
|
||||||
admin_theme_frontier_king = {
|
|
||||||
position = { 0 1 }
|
|
||||||
icon = "gfx/interface/icons/theme_administration_types/icon_frontier_administration.dds"
|
|
||||||
gui_tags = { byzantine_purple }
|
|
||||||
|
|
||||||
ai_liege_desire = {
|
|
||||||
value = 0
|
|
||||||
if = {
|
|
||||||
limit = {
|
|
||||||
scope:subject = {
|
|
||||||
is_ai = yes
|
|
||||||
}
|
|
||||||
}
|
|
||||||
add = 5
|
|
||||||
}
|
|
||||||
}
|
|
||||||
ai_subject_desire = 0
|
|
||||||
|
|
||||||
score = 0
|
|
||||||
color = { 0.2 0.7 0.2 1.0 }
|
|
||||||
|
|
||||||
is_valid = {
|
|
||||||
custom_tooltip = {
|
|
||||||
text = admin_theme_frontier_valid_desc
|
|
||||||
scope:subject = {
|
|
||||||
any_sub_realm_county = {
|
|
||||||
any_neighboring_county = {
|
|
||||||
holder = {
|
|
||||||
top_liege != scope:subject.top_liege
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
tax_factor = -0.2
|
|
||||||
|
|
||||||
liege_modifier = {
|
|
||||||
men_at_arms_cap = -2
|
|
||||||
men_at_arms_maintenance = 0.1
|
|
||||||
}
|
|
||||||
subject_modifier = {
|
|
||||||
fort_level = 3
|
|
||||||
defender_advantage = 8
|
|
||||||
hostile_county_attrition = -0.4
|
|
||||||
hostile_raid_time = 0.85
|
|
||||||
|
|
||||||
# Values to tweak the AI slightly in order to make them more likely to declare war
|
|
||||||
ai_boldness = 20
|
|
||||||
ai_rationality = -15
|
|
||||||
monthly_treasury_from_military_budget_base = 1.75
|
|
||||||
men_at_arms_cap = 2
|
|
||||||
men_at_arms_maintenance = -0.1
|
|
||||||
}
|
|
||||||
|
|
||||||
flag = admin_prowess_obligation_bonus
|
|
||||||
flag = admin_duchy_expansion_unlocked
|
|
||||||
flag = admin_ai_is_warlike
|
|
||||||
flag = admin_theme_frontier
|
|
||||||
flag = province_military
|
|
||||||
flag = admin_theme_can_raid
|
|
||||||
}
|
|
||||||
admin_theme_imperial_king = {
|
|
||||||
position = { 1 1 }
|
|
||||||
icon = "gfx/interface/icons/theme_administration_types/icon_imperial_administration.dds"
|
|
||||||
gui_tags = { byzantine_purple }
|
|
||||||
|
|
||||||
ai_liege_desire = {
|
|
||||||
value = 0
|
|
||||||
if = {
|
|
||||||
limit = {
|
|
||||||
scope:liege = {
|
|
||||||
NOT = {
|
|
||||||
any_vassal = { vassal_contract_has_flag = admin_theme_imperial }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
scope:subject = {
|
|
||||||
is_ai = yes
|
|
||||||
culture = scope:liege.culture
|
|
||||||
rite = top_liege.primary_title.state_rite
|
|
||||||
}
|
|
||||||
}
|
|
||||||
add = 5
|
|
||||||
}
|
|
||||||
if = {
|
|
||||||
limit = {
|
|
||||||
exists = scope:liege.house
|
|
||||||
exists = scope:subject.house
|
|
||||||
scope:liege.house = scope:subject.house
|
|
||||||
}
|
|
||||||
add = 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
ai_subject_desire = 0
|
|
||||||
|
|
||||||
score = 0
|
|
||||||
color = { 0.7 0.0 0.7 1.0 }
|
|
||||||
|
|
||||||
is_valid = {
|
|
||||||
scope:liege = {
|
|
||||||
highest_held_title_tier >= tier_empire
|
|
||||||
}
|
|
||||||
custom_tooltip = {
|
|
||||||
text = admin_theme_imperial_valid_desc
|
|
||||||
OR = {
|
|
||||||
scope:liege = {
|
|
||||||
NOT = {
|
|
||||||
any_vassal = { vassal_contract_has_flag = admin_theme_imperial }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
AND = {
|
|
||||||
scope:subject = { vassal_contract_has_flag = admin_theme_imperial }
|
|
||||||
scope:liege = {
|
|
||||||
any_vassal = {
|
|
||||||
count = 1
|
|
||||||
vassal_contract_has_flag = admin_theme_imperial
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
tax_factor = 0.1
|
|
||||||
|
|
||||||
liege_modifier = {
|
|
||||||
monthly_prestige_gain_per_legitimacy_level_add = 1
|
|
||||||
legitimacy_gain_mult = 0.4
|
|
||||||
}
|
|
||||||
|
|
||||||
subject_modifier = {
|
|
||||||
monthly_prestige = 1
|
|
||||||
monthly_influence = 0.5
|
|
||||||
}
|
|
||||||
|
|
||||||
flag = vassal_contract_war_override
|
|
||||||
flag = admin_theme_imperial
|
|
||||||
flag = admin_prestige_obligation_bonus
|
|
||||||
flag = admin_cannot_revoke_titles_without_cause
|
|
||||||
flag = province_civilian
|
|
||||||
flag = obligation_high_taxes
|
|
||||||
}
|
|
||||||
admin_theme_naval_king = {
|
|
||||||
position = { 2 1 }
|
|
||||||
icon = "gfx/interface/icons/theme_administration_types/icon_naval_administration.dds"
|
|
||||||
gui_tags = { byzantine_purple }
|
|
||||||
|
|
||||||
ai_liege_desire = {
|
|
||||||
value = 0
|
|
||||||
if = {
|
|
||||||
limit = {
|
|
||||||
scope:subject = { is_ai = yes }
|
|
||||||
}
|
|
||||||
if = {
|
|
||||||
limit = { # Large coastal areas qualify as good naval themes
|
|
||||||
scope:subject = {
|
|
||||||
any_sub_realm_county = {
|
|
||||||
count >= 3
|
|
||||||
is_coastal_county = yes
|
|
||||||
}
|
|
||||||
}
|
|
||||||
scope:liege = { # But don't go overboard with naval themes
|
|
||||||
any_vassal = {
|
|
||||||
percent < 0.15
|
|
||||||
vassal_contract_has_flag = admin_theme_naval
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
add = 3
|
|
||||||
}
|
|
||||||
|
|
||||||
if = {
|
|
||||||
limit = { # Islands are good naval candidates
|
|
||||||
scope:subject = {
|
|
||||||
any_sub_realm_county = {
|
|
||||||
percent >= 0.95
|
|
||||||
is_coastal_county = yes
|
|
||||||
OR = {
|
|
||||||
any_neighboring_county = {
|
|
||||||
percent >= 0.95
|
|
||||||
holder = {
|
|
||||||
OR = {
|
|
||||||
this = scope:subject
|
|
||||||
any_liege_or_above = { this = scope:subject }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
any_neighboring_county = { count < 1 }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
add = 8
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
ai_subject_desire = 0
|
|
||||||
|
|
||||||
score = 0
|
|
||||||
color = { 0.0 0.4 0.7 1.0 }
|
|
||||||
|
|
||||||
is_valid = {
|
|
||||||
custom_tooltip = {
|
|
||||||
text = admin_theme_naval_valid_desc
|
|
||||||
scope:subject = {
|
|
||||||
any_sub_realm_county = {
|
|
||||||
is_coastal_county = yes
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
liege_modifier = {
|
|
||||||
men_at_arms_cap = -2
|
|
||||||
men_at_arms_maintenance = 0.1
|
|
||||||
embarkation_cost_mult = -0.2
|
|
||||||
naval_movement_speed_mult = 0.2
|
|
||||||
}
|
|
||||||
|
|
||||||
subject_modifier = {
|
|
||||||
embarkation_cost_mult = -0.75
|
|
||||||
naval_movement_speed_mult = 0.33
|
|
||||||
no_disembark_penalty = yes
|
|
||||||
coastal_advantage = 15
|
|
||||||
development_growth_factor = 0.2
|
|
||||||
monthly_treasury_from_military_budget_base = 2
|
|
||||||
men_at_arms_cap = 2
|
|
||||||
men_at_arms_maintenance = -0.1
|
|
||||||
}
|
|
||||||
|
|
||||||
flag = admin_naval_duchy_expansion_unlocked
|
|
||||||
flag = admin_tradeport_obligation_bonus
|
|
||||||
flag = admin_theme_naval
|
|
||||||
flag = province_military
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
administrative_salary_rank = {
|
administrative_salary_rank = {
|
||||||
display_mode = hidden
|
display_mode = hidden
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -53,7 +53,6 @@ admin_vassal = {
|
||||||
contracts = {
|
contracts = {
|
||||||
administrative_obligations
|
administrative_obligations
|
||||||
administrative_themes
|
administrative_themes
|
||||||
administrative_themes_king
|
|
||||||
administrative_salary_rank
|
administrative_salary_rank
|
||||||
}
|
}
|
||||||
modify_contract_layout = admin
|
modify_contract_layout = admin
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue