idk why I dont have a cursor
This commit is contained in:
parent
701d55c01f
commit
cda3acdcea
349 changed files with 78627 additions and 7804 deletions
90
common/subject_contracts/contracts/_subject_contracts.info
Normal file
90
common/subject_contracts/contracts/_subject_contracts.info
Normal file
|
|
@ -0,0 +1,90 @@
|
|||
# Obligations - how much does the subject give to their liege. The subject's government type determines which contract type is used.
|
||||
# Note that the values can be changed with the vassal_tax_contribution_add/mult, vassal_levy_contribution_add/mult and vassal_herd_contribution_add/mult modifiers. (Applies to tributaries as well)
|
||||
|
||||
subject_contract = {
|
||||
uses_opinion_of_liege = yes/no # if set to yes, scope:opinion_of_liege can be used in the levies and tax script math (it's a value that's updated daily for player contracts, for AI it uses NSubjectContract::OPINION_OF_LIEGE_UPDATE_INTERVAL. No by default for performance reasons.
|
||||
|
||||
display_mode = tree/list/radiobutton # How are the obligations displayed in the negotiate contract UI, default is radiobutton
|
||||
|
||||
# Modifiable contract with multiple levels:
|
||||
obligation_levels = {
|
||||
# Scopes available:
|
||||
# scope:liege the liege in the contract
|
||||
# scope:subject the subject in the contract
|
||||
# scope:vassal the subject in the contract. Same as scope:subject. Kept in for backwards compatability.
|
||||
# scope:opinion_of_liege set if uses_opinion_of_liege = yes
|
||||
# scope:tax_slot the slot they are in/are being considered to be placed in
|
||||
# scope:tax_collector the collector for the above/the potential new collector
|
||||
|
||||
subject_obligation_low = { # choose a key for the level, it will be used for localization
|
||||
levies = 0.5 # % of levies (0..1), default 0; can also use script math
|
||||
tax = 0.2 # % of gold income (0..1), default 0; Can also use script math
|
||||
herd = 0.2 # % of herd income (0..1), default 0; Can also use script math
|
||||
min_levies = 0.1 # Optional min floor on levies. Can also use script math
|
||||
min_tax = 0.0 # Optional min floor on tax. Can also use script math
|
||||
min_herd = 0.0 # Optional min floor on herd. Can also use script math
|
||||
|
||||
contribution_desc = { ... } # Optional dynamic description used for the breakdown of the tax, levies and herd contribution
|
||||
|
||||
tax_contribution_postfix = "..." # Optional postfix added to the tax contribution breakdown
|
||||
levies_contribution_postfix = "..." # Optional postfix added to the levies contribution breakdown
|
||||
herd_contribution_postfix = "..." # Optional postfix added to the herd contribution breakdown
|
||||
|
||||
unclamped_contribution_label = "..." # Breakdown label for the unclamped tax/levies/herd contribution
|
||||
min_contribution_label = "..." # Breakdown label for the minimum tax/levies/herd contribution the value is clamped to
|
||||
|
||||
subject_opinion = 0 # value for opinion of liege that's added to subject's opinion of the liege if they have this contract
|
||||
|
||||
flag = token # Arbitrary flag, can be checked in script to see if any obligation level in the current subject contract has a flag
|
||||
|
||||
score = int # Positive means it is better for the subject to have, 0 means neutral, negative is better for liege
|
||||
# When changing obligations the current score and new score are compared to see if it is in favour of the subject or liege
|
||||
# and by how much.
|
||||
# Defaults to order the contracts are defined
|
||||
|
||||
ai_liege_desire = <script value int> # How much does the liege in the contract want this option
|
||||
ai_subject_desire = <script value int> # How much does the subject in the contract want this option
|
||||
|
||||
liege_modifier = { <character modifiers> } # Modifiers applied to the liege in the contract
|
||||
subject_modifier = { <character modifiers> } # Modifiers applied to the subject in the contract
|
||||
|
||||
is_valid = { <trigger> } # Is this obligation level valid for a subject
|
||||
|
||||
# Multiplier against the total tax/levies in a contract, be careful you do not get weird stacking beavhour if multiple are on at once
|
||||
tax_factor = <script value fixed point>
|
||||
levies_factor = <script value fixed point>
|
||||
herd_factor = <script value fixed point>
|
||||
}
|
||||
subject_obligation_normal = {
|
||||
default = yes # mark a level as default (otherwise the first will be the default)
|
||||
parent = subject_obligation_low # What level can lead into this and that this can lead back to
|
||||
position = { x y } # Where should this obligation icon appear when modifying contracts, multiplied with the NSubjectContract::OBLIGATION_OFFSET define
|
||||
icon = "path/to/image.dds" # Icon used in UI
|
||||
...
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Whether a tributary will automatically join their suzerain's wars (Default: no)
|
||||
joins_suzerain_wars = yes/no
|
||||
|
||||
### AI Note
|
||||
The liege and subject desire are used as follows:
|
||||
When finding the most desired level to change we check if any ajdacent obligation level to the currently active ones are desired by them more. Desires less than or equal to zero are not considered and if the score is less then or equal to the desire of the current level it is also not considered.
|
||||
|
||||
The does_ai_liege_in_vassal_contract_desire_obligation_change and does_ai_vassal_in_vassal_contract_desire_obligation_change triggers check that we have any obligation level change desired at all.
|
||||
|
||||
The apply_ai_vassal_obligation_vassal_most_desired and apply_ai_vassal_obligation_liege_most_desired effects apply the desired option via a weighted random of the desire score of all valid desired levels.
|
||||
|
||||
# Text
|
||||
The following should be localised
|
||||
<contract_level>
|
||||
<obligation_level>
|
||||
<obligation_level>_short
|
||||
<obligation_level>_desc
|
||||
|
||||
|
||||
When modifying a subject contract, the following additional scopes are available:
|
||||
|
||||
- scope:changed_obligations # a list of all contract obligations that have changed in the window
|
||||
- scope:new_value # a scope value that represents how much the changes benefits the subject, based on the obligation's increase in score
|
||||
377
common/subject_contracts/contracts/administrative.txt
Normal file
377
common/subject_contracts/contracts/administrative.txt
Normal file
|
|
@ -0,0 +1,377 @@
|
|||
administrative_obligations = {
|
||||
obligation_levels = {
|
||||
default = {
|
||||
levies = {
|
||||
value = 0.3
|
||||
#multiply = governor_efficiency
|
||||
}
|
||||
|
||||
tax = {
|
||||
value = 0.1
|
||||
#multiply = governor_efficiency
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
### brief: administrative_themes
|
||||
# This is referenced in code.
|
||||
#
|
||||
administrative_themes = {
|
||||
display_mode = radiobutton
|
||||
is_shown = {
|
||||
scope:subject.primary_title.tier >= tier_county
|
||||
}
|
||||
obligation_levels = {
|
||||
admin_theme_balanced = {
|
||||
default = yes
|
||||
position = { 0 0 }
|
||||
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 }
|
||||
|
||||
subject_modifier = {
|
||||
governor_xp_gain_mult = 0.2
|
||||
}
|
||||
|
||||
flag = admin_theme_balanced
|
||||
}
|
||||
admin_theme_civilian = {
|
||||
position = { 2 0 }
|
||||
icon = "gfx/interface/icons/theme_administration_types/icon_civilian_administration.dds"
|
||||
|
||||
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_economical_boom_personality = yes
|
||||
}
|
||||
}
|
||||
add = 1
|
||||
}
|
||||
}
|
||||
ai_subject_desire = 0
|
||||
|
||||
score = 0
|
||||
color = { 0.2 0.2 0.7 1.0 }
|
||||
|
||||
tax_factor = 0.5
|
||||
|
||||
subject_modifier = {
|
||||
development_growth_factor = 0.2
|
||||
build_gold_cost = -0.1
|
||||
build_speed = -0.1
|
||||
men_at_arms_title_limit = -2
|
||||
men_at_arms_title_cap = -2
|
||||
}
|
||||
|
||||
flag = admin_stewardship_obligation_bonus
|
||||
flag = admin_influence_construction_bonus
|
||||
flag = admin_ai_is_builder
|
||||
flag = admin_theme_civilian
|
||||
flag = obligation_high_taxes
|
||||
}
|
||||
admin_theme_military = {
|
||||
position = { 1 0 }
|
||||
icon = "gfx/interface/icons/theme_administration_types/icon_military_administration.dds"
|
||||
|
||||
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 }
|
||||
|
||||
tax_factor = -0.75
|
||||
levies_factor = 0.75
|
||||
|
||||
subject_modifier = {
|
||||
development_growth_factor = -0.25
|
||||
monthly_county_control_growth_factor = 0.1
|
||||
maa_damage_mult = 0.1
|
||||
men_at_arms_title_cap = 2
|
||||
men_at_arms_maintenance = -0.2
|
||||
}
|
||||
|
||||
flag = admin_martial_obligation_bonus
|
||||
flag = admin_theme_military
|
||||
flag = obligation_high_levies
|
||||
}
|
||||
admin_theme_frontier = {
|
||||
position = { 0 1 }
|
||||
icon = "gfx/interface/icons/theme_administration_types/icon_frontier_administration.dds"
|
||||
|
||||
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 = {
|
||||
NOT = { top_liege = scope:subject.top_liege }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
tax_factor = -0.4
|
||||
|
||||
subject_modifier = {
|
||||
fort_level = 2
|
||||
defender_advantage = 6
|
||||
hostile_county_attrition = -0.3
|
||||
hostile_raid_time = 0.75
|
||||
|
||||
# Values to tweak the AI slightly in order to make them more likely to declare war
|
||||
ai_boldness = 20
|
||||
ai_rationality = -15
|
||||
}
|
||||
|
||||
flag = admin_prowess_obligation_bonus
|
||||
flag = admin_duchy_expansion_unlocked
|
||||
flag = admin_ai_is_warlike
|
||||
flag = admin_theme_frontier
|
||||
flag = admin_theme_can_raid
|
||||
}
|
||||
admin_theme_imperial = {
|
||||
position = { 1 1 }
|
||||
icon = "gfx/interface/icons/theme_administration_types/icon_imperial_administration.dds"
|
||||
|
||||
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
|
||||
faith = top_liege.primary_title.state_faith
|
||||
}
|
||||
}
|
||||
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 = 0.5
|
||||
legitimacy_gain_mult = 0.2
|
||||
}
|
||||
|
||||
subject_modifier = {
|
||||
monthly_prestige = 0.5
|
||||
monthly_influence = 0.25
|
||||
}
|
||||
|
||||
flag = admin_theme_imperial
|
||||
flag = admin_prestige_obligation_bonus
|
||||
flag = admin_cannot_revoke_titles_without_cause
|
||||
flag = obligation_high_taxes
|
||||
}
|
||||
admin_theme_naval = {
|
||||
position = { 2 1 }
|
||||
icon = "gfx/interface/icons/theme_administration_types/icon_naval_administration.dds"
|
||||
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
tax_factor = -0.2
|
||||
|
||||
liege_modifier = {
|
||||
embarkation_cost_mult = -0.1
|
||||
naval_movement_speed_mult = 0.1
|
||||
}
|
||||
|
||||
subject_modifier = {
|
||||
embarkation_cost_mult = -0.5
|
||||
naval_movement_speed_mult = 0.25
|
||||
no_disembark_penalty = yes
|
||||
coastal_advantage = 10
|
||||
development_growth_factor = 0.1
|
||||
}
|
||||
|
||||
flag = admin_naval_duchy_expansion_unlocked
|
||||
flag = admin_tradeport_obligation_bonus
|
||||
flag = admin_theme_naval
|
||||
}
|
||||
}
|
||||
}
|
||||
89
common/subject_contracts/contracts/clan.txt
Normal file
89
common/subject_contracts/contracts/clan.txt
Normal file
|
|
@ -0,0 +1,89 @@
|
|||
clan_tax_collector_obligations = {
|
||||
obligation_levels = {
|
||||
default = {
|
||||
levies = {
|
||||
value = 0
|
||||
if = {
|
||||
limit = { exists = scope:tax_collector }
|
||||
add = clan_government_levies_default
|
||||
multiply = {
|
||||
value = {
|
||||
add = scope:tax_collector.tax_collector_aptitude:clan_tax_slot
|
||||
save_temporary_value_as = tax_collector_aptitude_value
|
||||
if = {
|
||||
limit = {
|
||||
scope:tax_collector_aptitude_value = 5
|
||||
}
|
||||
add = 10
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:tax_collector_aptitude_value = 4
|
||||
}
|
||||
add = 6
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:tax_collector_aptitude_value = 3
|
||||
}
|
||||
add = 3
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:tax_collector_aptitude_value = 2
|
||||
}
|
||||
add = 1
|
||||
}
|
||||
else = {
|
||||
add = 0
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
tax = {
|
||||
value = 0
|
||||
if = {
|
||||
limit = { exists = scope:tax_collector }
|
||||
add = {
|
||||
value = clan_government_tax_default
|
||||
multiply = {
|
||||
value = {
|
||||
add = scope:tax_collector.tax_collector_aptitude:clan_tax_slot
|
||||
save_temporary_value_as = tax_collector_aptitude_value
|
||||
if = {
|
||||
limit = {
|
||||
scope:tax_collector_aptitude_value = 5
|
||||
}
|
||||
add = 10
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:tax_collector_aptitude_value = 4
|
||||
}
|
||||
add = 6
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:tax_collector_aptitude_value = 3
|
||||
}
|
||||
add = 3
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:tax_collector_aptitude_value = 2
|
||||
}
|
||||
add = 1
|
||||
}
|
||||
else = {
|
||||
add = 0
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
139
common/subject_contracts/contracts/default_tributary.txt
Normal file
139
common/subject_contracts/contracts/default_tributary.txt
Normal file
|
|
@ -0,0 +1,139 @@
|
|||
default_tributary_taxes = {
|
||||
display_mode = tree
|
||||
icon = gold_icon
|
||||
obligation_levels = {
|
||||
tributary_tax_none = {
|
||||
position = { 0 0 }
|
||||
|
||||
tax = 0
|
||||
subject_opinion = 5
|
||||
|
||||
ai_liege_desire = 1
|
||||
ai_subject_desire = 10
|
||||
score = 1
|
||||
}
|
||||
tributary_tax_low = {
|
||||
parent = tributary_tax_none
|
||||
position = { 1 0 }
|
||||
|
||||
tax = normal_tributary_tax
|
||||
subject_opinion = -5
|
||||
|
||||
ai_liege_desire = {
|
||||
value = 2
|
||||
if = {
|
||||
limit = {
|
||||
scope:liege = {
|
||||
ai_should_focus_on_building_in_their_capital = yes
|
||||
}
|
||||
}
|
||||
add = 4
|
||||
}
|
||||
}
|
||||
ai_subject_desire = 5
|
||||
score = 0
|
||||
}
|
||||
tributary_tax_high = {
|
||||
default = yes
|
||||
parent = tributary_tax_low
|
||||
position = { 2 0 }
|
||||
|
||||
tax = high_tributary_tax
|
||||
subject_opinion = -25
|
||||
|
||||
ai_liege_desire = {
|
||||
value = 3
|
||||
if = {
|
||||
limit = {
|
||||
scope:liege = {
|
||||
ai_should_focus_on_building_in_their_capital = yes
|
||||
}
|
||||
}
|
||||
add = 6
|
||||
}
|
||||
}
|
||||
ai_subject_desire = 0
|
||||
score = -1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
default_tributary_levies = {
|
||||
display_mode = tree
|
||||
icon = soldier_icon
|
||||
obligation_levels = {
|
||||
tributary_levies_exempt = {
|
||||
position = { 0 0 }
|
||||
|
||||
levies = 0
|
||||
subject_opinion = 10
|
||||
|
||||
ai_liege_desire = 1
|
||||
ai_subject_desire = 5
|
||||
score = 2
|
||||
}
|
||||
tributary_levies_low = {
|
||||
parent = tributary_levies_exempt
|
||||
default = yes
|
||||
position = { 1 0 }
|
||||
|
||||
levies = 0.25
|
||||
subject_opinion = 5
|
||||
|
||||
ai_liege_desire = 2
|
||||
ai_subject_desire = 4
|
||||
score = 1
|
||||
}
|
||||
tributary_levies_high = {
|
||||
parent = tributary_levies_low
|
||||
position = { 2 0 }
|
||||
|
||||
levies = 0.5
|
||||
subject_opinion = -15
|
||||
|
||||
ai_liege_desire = 4
|
||||
ai_subject_desire = 2
|
||||
score = -1
|
||||
flag = obligation_high_levies
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
default_tributary_prestige = {
|
||||
display_mode = tree
|
||||
icon = prestige_icon
|
||||
obligation_levels = {
|
||||
prestige_transfer_none = {
|
||||
position = { 0 0 }
|
||||
|
||||
prestige = 0
|
||||
|
||||
ai_liege_desire = 1
|
||||
ai_subject_desire = 5
|
||||
score = 2
|
||||
}
|
||||
prestige_transfer_normal = {
|
||||
default = yes
|
||||
parent = prestige_transfer_none
|
||||
position = { 1 0 }
|
||||
|
||||
prestige = normal_prestige_transfer
|
||||
subject_opinion = -10
|
||||
|
||||
ai_liege_desire = 5
|
||||
ai_subject_desire = 3
|
||||
score = 1
|
||||
}
|
||||
prestige_transfer_high = {
|
||||
parent = prestige_transfer_normal
|
||||
position = { 2 0 }
|
||||
|
||||
prestige = high_prestige_transfer
|
||||
subject_opinion = -25
|
||||
|
||||
ai_liege_desire = 7
|
||||
ai_subject_desire = 1
|
||||
score = 0
|
||||
}
|
||||
}
|
||||
}
|
||||
227
common/subject_contracts/contracts/feudal.txt
Normal file
227
common/subject_contracts/contracts/feudal.txt
Normal file
|
|
@ -0,0 +1,227 @@
|
|||
feudal_government_taxes = {
|
||||
display_mode = tree
|
||||
icon = gold_icon
|
||||
obligation_levels = {
|
||||
feudal_tax_exempt = {
|
||||
position = { 0 0 }
|
||||
|
||||
tax = exempt_feudal_tax
|
||||
subject_opinion = 10
|
||||
|
||||
ai_liege_desire = 1
|
||||
ai_subject_desire = 5
|
||||
score = 2
|
||||
}
|
||||
feudal_tax_low = {
|
||||
parent = feudal_tax_exempt
|
||||
position = { 1 0 }
|
||||
|
||||
tax = low_feudal_tax
|
||||
subject_opinion = 5
|
||||
|
||||
ai_liege_desire = {
|
||||
value = 2
|
||||
if = {
|
||||
limit = {
|
||||
scope:liege = {
|
||||
ai_should_focus_on_building_in_their_capital = yes
|
||||
}
|
||||
scope:subject = {
|
||||
AND = {
|
||||
government_has_flag = government_is_feudal
|
||||
vassal_contract_obligation_level:feudal_government_taxes <= feudal_tax_exempt_level
|
||||
}
|
||||
}
|
||||
}
|
||||
add = 8
|
||||
}
|
||||
}
|
||||
ai_subject_desire = 4
|
||||
score = 1
|
||||
}
|
||||
feudal_tax_normal = {
|
||||
default = yes
|
||||
parent = feudal_tax_low
|
||||
position = { 2 0 }
|
||||
|
||||
tax = normal_feudal_tax
|
||||
|
||||
ai_liege_desire = {
|
||||
value = 3
|
||||
if = {
|
||||
limit = {
|
||||
scope:liege = {
|
||||
ai_should_focus_on_building_in_their_capital = yes
|
||||
}
|
||||
scope:subject = {
|
||||
AND = {
|
||||
government_has_flag = government_is_feudal
|
||||
vassal_contract_obligation_level:feudal_government_taxes <= feudal_tax_low_level
|
||||
}
|
||||
}
|
||||
}
|
||||
add = 7
|
||||
}
|
||||
}
|
||||
ai_subject_desire = 3
|
||||
score = 0
|
||||
}
|
||||
feudal_tax_high = {
|
||||
parent = feudal_tax_normal
|
||||
position = { 3 0 }
|
||||
|
||||
tax = high_feudal_tax
|
||||
subject_opinion = -15
|
||||
|
||||
ai_liege_desire = {
|
||||
value = 5
|
||||
if = {
|
||||
limit = {
|
||||
scope:liege = {
|
||||
ai_should_focus_on_building_in_their_capital = yes
|
||||
}
|
||||
scope:subject = {
|
||||
AND = {
|
||||
government_has_flag = government_is_feudal
|
||||
vassal_contract_obligation_level:feudal_government_taxes <= feudal_tax_normal_level
|
||||
}
|
||||
}
|
||||
}
|
||||
add = 6
|
||||
}
|
||||
}
|
||||
ai_subject_desire = 2
|
||||
score = -2
|
||||
flag = obligation_high_taxes
|
||||
}
|
||||
feudal_tax_extortionate = {
|
||||
parent = feudal_tax_high
|
||||
position = { 4 0 }
|
||||
|
||||
tax = extortionate_feudal_tax
|
||||
subject_opinion = -25
|
||||
|
||||
ai_liege_desire = {
|
||||
value = 6
|
||||
if = {
|
||||
limit = {
|
||||
scope:liege = {
|
||||
ai_should_focus_on_building_in_their_capital = yes
|
||||
}
|
||||
scope:subject = {
|
||||
AND = {
|
||||
government_has_flag = government_is_feudal
|
||||
vassal_contract_obligation_level:feudal_government_taxes <= feudal_tax_high_level
|
||||
}
|
||||
}
|
||||
}
|
||||
add = 5
|
||||
}
|
||||
}
|
||||
ai_subject_desire = 1
|
||||
score = -3
|
||||
flag = obligation_high_taxes
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
feudal_government_levies = {
|
||||
display_mode = tree
|
||||
icon = soldier_icon
|
||||
obligation_levels = {
|
||||
feudal_levies_exempt = {
|
||||
position = { 0 0 }
|
||||
|
||||
levies = 0
|
||||
subject_opinion = 10
|
||||
|
||||
ai_liege_desire = 1
|
||||
ai_subject_desire = 5
|
||||
score = 2
|
||||
}
|
||||
feudal_levies_low = {
|
||||
parent = feudal_levies_exempt
|
||||
position = { 1 0 }
|
||||
|
||||
levies = 0.1
|
||||
subject_opinion = 5
|
||||
|
||||
ai_liege_desire = 2
|
||||
ai_subject_desire = 4
|
||||
score = 1
|
||||
}
|
||||
feudal_levies_normal = {
|
||||
default = yes
|
||||
parent = feudal_levies_low
|
||||
position = { 2 0 }
|
||||
|
||||
levies = 0.25
|
||||
|
||||
ai_liege_desire = 3
|
||||
ai_subject_desire = 3
|
||||
score = 0
|
||||
}
|
||||
feudal_levies_high = {
|
||||
parent = feudal_levies_normal
|
||||
position = { 3 0 }
|
||||
|
||||
levies = 0.35
|
||||
subject_opinion = -15
|
||||
|
||||
ai_liege_desire = 4
|
||||
ai_subject_desire = 2
|
||||
score = -1
|
||||
flag = obligation_high_levies
|
||||
}
|
||||
feudal_levies_extortionate = {
|
||||
parent = feudal_levies_high
|
||||
position = { 4 0 }
|
||||
|
||||
levies = 0.5
|
||||
subject_opinion = -25
|
||||
|
||||
ai_liege_desire = 5
|
||||
ai_subject_desire = 1
|
||||
score = -2
|
||||
flag = obligation_high_levies
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
feudal_government_prestige = {
|
||||
display_mode = tree
|
||||
icon = prestige_icon
|
||||
obligation_levels = {
|
||||
prestige_transfer_none = {
|
||||
position = { 0 0 }
|
||||
|
||||
prestige = 0
|
||||
|
||||
ai_liege_desire = 1
|
||||
ai_subject_desire = 5
|
||||
score = 2
|
||||
}
|
||||
prestige_transfer_normal = {
|
||||
parent = prestige_transfer_none
|
||||
position = { 1 0 }
|
||||
|
||||
prestige = 0.1
|
||||
subject_opinion = -10
|
||||
|
||||
ai_liege_desire = 5
|
||||
ai_subject_desire = 3
|
||||
score = 1
|
||||
}
|
||||
prestige_transfer_high = {
|
||||
parent = prestige_transfer_normal
|
||||
position = { 2 0 }
|
||||
|
||||
prestige = 0.25
|
||||
subject_opinion = -25
|
||||
|
||||
ai_liege_desire = 7
|
||||
ai_subject_desire = 1
|
||||
score = 1
|
||||
}
|
||||
}
|
||||
}
|
||||
12
common/subject_contracts/contracts/herder.txt
Normal file
12
common/subject_contracts/contracts/herder.txt
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
herder_government_obligations = {
|
||||
obligation_levels = {
|
||||
default = {
|
||||
herd = {
|
||||
value = 0
|
||||
}
|
||||
tax = {
|
||||
value = 0
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
291
common/subject_contracts/contracts/nomad.txt
Normal file
291
common/subject_contracts/contracts/nomad.txt
Normal file
|
|
@ -0,0 +1,291 @@
|
|||
nomad_government_herd = {
|
||||
display_mode = tree
|
||||
icon = herd_icon
|
||||
obligation_levels = {
|
||||
herd_tax_exempt = {
|
||||
position = { 0 0 }
|
||||
|
||||
herd = exempt_herd_tax
|
||||
subject_opinion = 10
|
||||
|
||||
ai_liege_desire = 1
|
||||
ai_subject_desire = 5
|
||||
score = 2
|
||||
}
|
||||
herd_tax_low = {
|
||||
parent = herd_tax_exempt
|
||||
position = { 1 0 }
|
||||
|
||||
herd = low_herd_tax
|
||||
subject_opinion = 5
|
||||
|
||||
ai_liege_desire = {
|
||||
value = 2
|
||||
if = {
|
||||
limit = {
|
||||
scope:liege = {
|
||||
ai_should_focus_on_building_in_their_capital = yes
|
||||
}
|
||||
scope:subject = {
|
||||
AND = {
|
||||
government_has_flag = government_is_nomadic
|
||||
vassal_contract_obligation_level:nomad_government_herd <= herd_tax_exempt_level
|
||||
}
|
||||
}
|
||||
}
|
||||
add = 8
|
||||
}
|
||||
}
|
||||
ai_subject_desire = 4
|
||||
score = 1
|
||||
}
|
||||
herd_tax_normal = {
|
||||
default = yes
|
||||
parent = herd_tax_low
|
||||
position = { 2 0 }
|
||||
|
||||
herd = normal_herd_tax
|
||||
|
||||
ai_liege_desire = {
|
||||
value = 3
|
||||
if = {
|
||||
limit = {
|
||||
scope:liege = {
|
||||
ai_should_focus_on_building_in_their_capital = yes
|
||||
}
|
||||
scope:subject = {
|
||||
AND = {
|
||||
government_has_flag = government_is_nomadic
|
||||
vassal_contract_obligation_level:nomad_government_herd <= herd_tax_low_level
|
||||
}
|
||||
}
|
||||
}
|
||||
add = 7
|
||||
}
|
||||
}
|
||||
ai_subject_desire = 3
|
||||
score = 0
|
||||
}
|
||||
herd_tax_high = {
|
||||
parent = herd_tax_normal
|
||||
position = { 3 0 }
|
||||
|
||||
herd = high_herd_tax
|
||||
subject_opinion = -15
|
||||
|
||||
ai_liege_desire = {
|
||||
value = 4
|
||||
if = {
|
||||
limit = {
|
||||
scope:liege = {
|
||||
ai_should_focus_on_building_in_their_capital = yes
|
||||
}
|
||||
scope:subject = {
|
||||
AND = {
|
||||
government_has_flag = government_is_nomadic
|
||||
vassal_contract_obligation_level:nomad_government_herd <= herd_tax_normal_level
|
||||
}
|
||||
}
|
||||
}
|
||||
add = 6
|
||||
}
|
||||
}
|
||||
ai_subject_desire = 2
|
||||
score = -1
|
||||
flag = obligation_high_taxes
|
||||
}
|
||||
herd_tax_extortionate = {
|
||||
parent = herd_tax_high
|
||||
position = { 4 0 }
|
||||
|
||||
herd = extortionate_herd_tax
|
||||
subject_opinion = -25
|
||||
|
||||
ai_liege_desire = {
|
||||
value = 5
|
||||
if = {
|
||||
limit = {
|
||||
scope:liege = {
|
||||
ai_should_focus_on_building_in_their_capital = yes
|
||||
}
|
||||
scope:subject = {
|
||||
AND = {
|
||||
government_has_flag = government_is_nomadic
|
||||
vassal_contract_obligation_level:nomad_government_herd <= herd_tax_high_level
|
||||
}
|
||||
}
|
||||
}
|
||||
add = 5
|
||||
}
|
||||
}
|
||||
ai_subject_desire = 1
|
||||
score = -2
|
||||
flag = obligation_high_taxes
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
nomad_government_taxes = {
|
||||
display_mode = tree
|
||||
icon = gold_icon
|
||||
obligation_levels = {
|
||||
nomad_tax_exempt = {
|
||||
default = yes
|
||||
position = { 0 0 }
|
||||
|
||||
tax = exempt_nomad_tax
|
||||
|
||||
ai_liege_desire = 1
|
||||
ai_subject_desire = 5
|
||||
score = 2
|
||||
}
|
||||
nomad_tax_low = {
|
||||
parent = nomad_tax_exempt
|
||||
position = { 1 0 }
|
||||
|
||||
tax = low_nomad_tax
|
||||
subject_opinion = -5
|
||||
|
||||
ai_liege_desire = {
|
||||
value = 2
|
||||
if = {
|
||||
limit = {
|
||||
scope:liege = {
|
||||
ai_should_focus_on_building_in_their_capital = yes
|
||||
}
|
||||
scope:subject = {
|
||||
AND = {
|
||||
government_has_flag = government_is_feudal
|
||||
vassal_contract_obligation_level:feudal_government_taxes <= feudal_tax_exempt_level
|
||||
}
|
||||
}
|
||||
}
|
||||
add = 8
|
||||
}
|
||||
}
|
||||
ai_subject_desire = 4
|
||||
score = 1
|
||||
}
|
||||
nomad_tax_normal = {
|
||||
parent = nomad_tax_low
|
||||
position = { 2 0 }
|
||||
|
||||
tax = normal_nomad_tax
|
||||
subject_opinion = -15
|
||||
|
||||
ai_liege_desire = {
|
||||
value = 3
|
||||
if = {
|
||||
limit = {
|
||||
scope:liege = {
|
||||
ai_should_focus_on_building_in_their_capital = yes
|
||||
}
|
||||
scope:subject = {
|
||||
AND = {
|
||||
government_has_flag = government_is_feudal
|
||||
vassal_contract_obligation_level:feudal_government_taxes <= feudal_tax_low_level
|
||||
}
|
||||
}
|
||||
}
|
||||
add = 7
|
||||
}
|
||||
}
|
||||
ai_subject_desire = 3
|
||||
score = 0
|
||||
}
|
||||
nomad_tax_high = {
|
||||
parent = nomad_tax_normal
|
||||
position = { 3 0 }
|
||||
|
||||
tax = high_nomad_tax
|
||||
subject_opinion = -25
|
||||
|
||||
ai_liege_desire = {
|
||||
value = 4
|
||||
if = {
|
||||
limit = {
|
||||
scope:liege = {
|
||||
ai_should_focus_on_building_in_their_capital = yes
|
||||
}
|
||||
scope:subject = {
|
||||
AND = {
|
||||
government_has_flag = government_is_feudal
|
||||
vassal_contract_obligation_level:feudal_government_taxes <= feudal_tax_normal_level
|
||||
}
|
||||
}
|
||||
}
|
||||
add = 6
|
||||
}
|
||||
}
|
||||
ai_subject_desire = 2
|
||||
score = -1
|
||||
flag = obligation_high_taxes
|
||||
}
|
||||
nomad_tax_extortionate = {
|
||||
parent = nomad_tax_high
|
||||
position = { 4 0 }
|
||||
|
||||
tax = extortionate_nomad_tax
|
||||
subject_opinion = -40
|
||||
|
||||
ai_liege_desire = {
|
||||
value = 5
|
||||
if = {
|
||||
limit = {
|
||||
scope:liege = {
|
||||
ai_should_focus_on_building_in_their_capital = yes
|
||||
}
|
||||
scope:subject = {
|
||||
AND = {
|
||||
government_has_flag = government_is_feudal
|
||||
vassal_contract_obligation_level:feudal_government_taxes <= feudal_tax_high_level
|
||||
}
|
||||
}
|
||||
}
|
||||
add = 5
|
||||
}
|
||||
}
|
||||
ai_subject_desire = 1
|
||||
score = -2
|
||||
flag = obligation_high_taxes
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
nomad_government_prestige = {
|
||||
display_mode = tree
|
||||
icon = prestige_icon
|
||||
obligation_levels = {
|
||||
prestige_transfer_none = {
|
||||
position = { 0 0 }
|
||||
|
||||
prestige = 0
|
||||
|
||||
ai_liege_desire = 1
|
||||
ai_subject_desire = 5
|
||||
score = 2
|
||||
}
|
||||
prestige_transfer_normal = {
|
||||
parent = prestige_transfer_none
|
||||
position = { 1 0 }
|
||||
|
||||
prestige = 0.15
|
||||
subject_opinion = -10
|
||||
|
||||
ai_liege_desire = 5
|
||||
ai_subject_desire = 3
|
||||
score = 1
|
||||
}
|
||||
prestige_transfer_high = {
|
||||
parent = prestige_transfer_normal
|
||||
position = { 2 0 }
|
||||
|
||||
prestige = 0.3
|
||||
subject_opinion = -25
|
||||
|
||||
ai_liege_desire = 7
|
||||
ai_subject_desire = 1
|
||||
score = 0
|
||||
}
|
||||
}
|
||||
}
|
||||
124
common/subject_contracts/contracts/republic.txt
Normal file
124
common/subject_contracts/contracts/republic.txt
Normal file
|
|
@ -0,0 +1,124 @@
|
|||
republic_government_obligations = {
|
||||
obligation_levels = {
|
||||
default = {
|
||||
levies = {
|
||||
if = {
|
||||
limit = {
|
||||
primary_title.tier >= tier_county
|
||||
scope:liege.culture = {
|
||||
has_cultural_parameter = republican_vassals_pay_more
|
||||
}
|
||||
}
|
||||
value = {
|
||||
add = 0.15
|
||||
# Add an extra with the right perk
|
||||
if = {
|
||||
limit = {
|
||||
exists = scope:liege.dynasty
|
||||
scope:liege.dynasty = {
|
||||
has_dynasty_perk = fp2_urbanism_legacy_3
|
||||
}
|
||||
}
|
||||
add = 0.15
|
||||
}
|
||||
}
|
||||
}
|
||||
else = {
|
||||
value = {
|
||||
add = 0.1
|
||||
# Add an extra with the right perk
|
||||
if = {
|
||||
limit = {
|
||||
exists = scope:liege.dynasty
|
||||
scope:liege.dynasty = {
|
||||
has_dynasty_perk = fp2_urbanism_legacy_3
|
||||
}
|
||||
}
|
||||
add = 0.15
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
tax = {
|
||||
if = {
|
||||
limit = { scope:liege = { government_has_flag = government_is_tribal } }
|
||||
value = {
|
||||
add = 0.05
|
||||
# Add an extra with the right perk
|
||||
|
||||
if = {
|
||||
limit = {
|
||||
exists = scope:liege.dynasty
|
||||
scope:liege.dynasty = {
|
||||
has_dynasty_perk = fp2_urbanism_legacy_3
|
||||
}
|
||||
}
|
||||
add = 0.15
|
||||
}
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:subject = {
|
||||
primary_title.tier >= tier_county
|
||||
}
|
||||
scope:liege.culture = {
|
||||
has_cultural_parameter = republican_vassals_pay_more
|
||||
}
|
||||
}
|
||||
value = {
|
||||
add = 0.3
|
||||
# Add an extra with the right perk
|
||||
|
||||
if = {
|
||||
limit = {
|
||||
exists = scope:liege.dynasty
|
||||
scope:liege.dynasty = {
|
||||
has_dynasty_perk = fp2_urbanism_legacy_3
|
||||
}
|
||||
}
|
||||
add = 0.15
|
||||
}
|
||||
}
|
||||
}
|
||||
else = {
|
||||
value = {
|
||||
add = 0.2
|
||||
# Add an extra with the right perk
|
||||
|
||||
if = {
|
||||
limit = {
|
||||
exists = scope:liege.dynasty
|
||||
scope:liege.dynasty = {
|
||||
has_dynasty_perk = fp2_urbanism_legacy_3
|
||||
}
|
||||
}
|
||||
add = 0.15
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
contribution_desc = {
|
||||
first_valid = {
|
||||
triggered_desc = {
|
||||
trigger = { scope:liege = { government_has_flag = government_is_tribal } }
|
||||
desc = "tribal_liege_inefficiency"
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
scope:subject = {
|
||||
primary_title.tier >= tier_county
|
||||
}
|
||||
scope:liege.culture = {
|
||||
has_cultural_parameter = republican_vassals_pay_more
|
||||
}
|
||||
}
|
||||
desc = "republican_vassals_pay_more_parameter"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
868
common/subject_contracts/contracts/special_contracts.txt
Normal file
868
common/subject_contracts/contracts/special_contracts.txt
Normal file
|
|
@ -0,0 +1,868 @@
|
|||
@ai_standard_liege_desire = 2
|
||||
@ai_standard_vassal_desire = 1
|
||||
# Everything below this line is 'Fine Print'
|
||||
|
||||
special_contract = {
|
||||
display_mode = radiobutton
|
||||
is_shown = {
|
||||
scope:subject.primary_title.tier >= tier_county
|
||||
}
|
||||
obligation_levels = {
|
||||
special_contract_none = {
|
||||
position = { 0 1 }
|
||||
default = yes
|
||||
score = 0
|
||||
|
||||
ai_subject_desire = {
|
||||
value = 0
|
||||
if = {
|
||||
limit = {
|
||||
scope:subject = {
|
||||
vassal_contract_has_flag = has_scutage_contract
|
||||
OR = {
|
||||
government_has_flag = government_is_clan
|
||||
AND = {
|
||||
government_has_flag = government_is_feudal
|
||||
vassal_contract_obligation_level:feudal_government_taxes >= feudal_tax_normal_level
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
add = @ai_standard_vassal_desire
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
ai_liege_desire = {
|
||||
value = 0
|
||||
if = {
|
||||
limit = {
|
||||
scope:subject = {
|
||||
vassal_contract_has_flag = has_scutage_contract
|
||||
OR = {
|
||||
government_has_flag = government_is_clan
|
||||
AND = {
|
||||
government_has_flag = government_is_feudal
|
||||
vassal_contract_obligation_level:feudal_government_taxes < feudal_tax_normal_level
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
add = @ai_standard_liege_desire
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
scope:subject = {
|
||||
vassal_contract_has_flag = has_march_contract
|
||||
OR = {
|
||||
government_has_flag = government_is_clan
|
||||
AND = {
|
||||
government_has_flag = government_is_feudal
|
||||
vassal_contract_obligation_level:feudal_government_levies < feudal_levies_normal_level
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
add = @ai_standard_liege_desire
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
scope:subject = {
|
||||
vassal_contract_has_flag = has_palatinate_contract
|
||||
|
||||
OR = {
|
||||
government_has_flag = government_is_clan
|
||||
AND = {
|
||||
government_has_flag = government_is_feudal
|
||||
OR = {
|
||||
vassal_contract_obligation_level:feudal_government_taxes >= feudal_tax_normal_level
|
||||
vassal_contract_obligation_level:feudal_government_levies >= feudal_levies_normal_level
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
add = @ai_standard_liege_desire
|
||||
}
|
||||
}
|
||||
}
|
||||
special_contract_scutage = {
|
||||
is_shown = {
|
||||
scope:subject.primary_title.tier >= tier_duchy
|
||||
scope:subject = { government_has_flag = government_is_feudal }
|
||||
}
|
||||
is_valid = {
|
||||
scope:liege.culture = {
|
||||
has_innovation = innovation_scutage
|
||||
}
|
||||
}
|
||||
parent = special_contract_none
|
||||
position = { 1 1 }
|
||||
score = 0
|
||||
|
||||
tax_factor = scutage_contract_tax
|
||||
levies_factor = -0.75
|
||||
|
||||
subject_modifier = {
|
||||
men_at_arms_maintenance = -0.2
|
||||
}
|
||||
|
||||
flag = has_scutage_contract
|
||||
flag = obligation_high_taxes
|
||||
|
||||
ai_liege_desire = {
|
||||
value = @ai_standard_liege_desire
|
||||
if = {
|
||||
limit = {
|
||||
scope:subject = {
|
||||
OR = {
|
||||
government_has_flag = government_is_clan
|
||||
AND = {
|
||||
government_has_flag = government_is_feudal
|
||||
vassal_contract_obligation_level:feudal_government_taxes >= feudal_tax_normal_level
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
add = 5
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
scope:liege = {
|
||||
ai_should_focus_on_building_in_their_capital = yes
|
||||
}
|
||||
}
|
||||
add = 10
|
||||
}
|
||||
}
|
||||
ai_subject_desire = -2
|
||||
}
|
||||
special_contract_march = {
|
||||
is_shown = {
|
||||
scope:subject.primary_title.tier >= tier_duchy
|
||||
}
|
||||
is_valid = {
|
||||
scope:liege.culture = {
|
||||
has_innovation = innovation_bannus
|
||||
}
|
||||
custom_tooltip = {
|
||||
text = special_contract_march_border_trigger
|
||||
scope:subject = {
|
||||
OR = {
|
||||
vassal_contract_has_flag = has_march_contract
|
||||
primary_title = { has_variable = historical_margrave }
|
||||
any_sub_realm_county = {
|
||||
any_neighboring_county = {
|
||||
NOT = { holder.top_liege = scope:subject.top_liege }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
parent = special_contract_none
|
||||
position = { 1 0 }
|
||||
score = 0
|
||||
|
||||
tax_factor = march_contract_taxes
|
||||
|
||||
subject_modifier = {
|
||||
levy_size = 0.2
|
||||
army_maintenance_mult = -0.2
|
||||
garrison_size = 0.2
|
||||
levy_reinforcement_rate = 0.2
|
||||
controlled_province_advantage = 5
|
||||
}
|
||||
|
||||
flag = has_march_contract
|
||||
|
||||
ai_liege_desire = {
|
||||
value = 0
|
||||
if = {
|
||||
limit = {
|
||||
scope:subject = {
|
||||
OR = {
|
||||
government_has_flag = government_is_clan
|
||||
AND = {
|
||||
government_has_flag = government_is_feudal
|
||||
OR = {
|
||||
vassal_contract_obligation_level:feudal_government_taxes < feudal_tax_normal_level
|
||||
vassal_contract_obligation_level:feudal_government_levies > feudal_levies_normal_level
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
add = @ai_standard_liege_desire
|
||||
}
|
||||
}
|
||||
ai_subject_desire = @ai_standard_vassal_desire
|
||||
}
|
||||
special_contract_castellan = {
|
||||
is_shown = {
|
||||
scope:subject.primary_title.tier = tier_county
|
||||
}
|
||||
is_valid = {
|
||||
scope:liege.culture = {
|
||||
has_innovation = innovation_bannus
|
||||
}
|
||||
}
|
||||
parent = special_contract_none
|
||||
position = { 1 0 }
|
||||
score = 0
|
||||
|
||||
tax_factor = march_contract_taxes
|
||||
levies_factor = 0.5
|
||||
|
||||
subject_modifier = {
|
||||
levy_size = 0.2
|
||||
army_maintenance_mult = -0.2
|
||||
garrison_size = 0.2
|
||||
levy_reinforcement_rate = 0.2
|
||||
controlled_province_advantage = 5
|
||||
}
|
||||
|
||||
flag = has_castellan_contract
|
||||
flag = obligation_high_levies
|
||||
|
||||
ai_liege_desire = {
|
||||
value = 0
|
||||
if = {
|
||||
limit = {
|
||||
scope:subject = {
|
||||
OR = {
|
||||
government_has_flag = government_is_clan
|
||||
AND = {
|
||||
government_has_flag = government_is_feudal
|
||||
OR = {
|
||||
vassal_contract_obligation_level:feudal_government_taxes < feudal_tax_normal_level
|
||||
vassal_contract_obligation_level:feudal_government_levies > feudal_levies_normal_level
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
add = @ai_standard_liege_desire
|
||||
}
|
||||
}
|
||||
ai_subject_desire = @ai_standard_vassal_desire
|
||||
}
|
||||
special_contract_palatinate = {
|
||||
is_shown = { scope:subject = { government_has_flag = government_is_feudal } }
|
||||
is_valid = {
|
||||
scope:liege.culture = {
|
||||
has_innovation = innovation_divine_right
|
||||
}
|
||||
}
|
||||
parent = special_contract_none
|
||||
position = { 1 2 }
|
||||
score = 0
|
||||
|
||||
tax_factor = palatinate_contract_taxes
|
||||
levies_factor = palatinate_contract_levies
|
||||
|
||||
liege_modifier = {
|
||||
monthly_prestige_gain_mult = 0.05
|
||||
}
|
||||
|
||||
subject_modifier = {
|
||||
monthly_prestige_gain_mult = 0.2
|
||||
fellow_vassal_opinion = 15
|
||||
owned_personal_scheme_success_chance_add = 10
|
||||
owned_hostile_scheme_success_chance_add = 10
|
||||
}
|
||||
|
||||
flag = has_palatinate_contract
|
||||
|
||||
ai_liege_desire = {
|
||||
value = 0
|
||||
if = {
|
||||
limit = {
|
||||
scope:subject = {
|
||||
government_has_flag = government_is_feudal
|
||||
vassal_contract_obligation_level:feudal_government_taxes < feudal_tax_low_level
|
||||
vassal_contract_obligation_level:feudal_government_levies < feudal_levies_low_level
|
||||
}
|
||||
}
|
||||
add = @ai_standard_liege_desire
|
||||
}
|
||||
}
|
||||
ai_subject_desire = @ai_standard_vassal_desire
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
religious_rights = {
|
||||
display_mode = checkbox
|
||||
is_shown = {
|
||||
NOT = {
|
||||
scope:subject.faith = scope:liege.faith
|
||||
}
|
||||
OR = {
|
||||
NOT = {
|
||||
scope:liege.faith = {
|
||||
OR = {
|
||||
has_doctrine = tenet_tax_nonbelievers
|
||||
has_doctrine = special_doctrine_jizya
|
||||
}
|
||||
}
|
||||
}
|
||||
AND = {
|
||||
scope:liege.faith = {
|
||||
OR = {
|
||||
has_doctrine = tenet_tax_nonbelievers
|
||||
has_doctrine = special_doctrine_jizya
|
||||
}
|
||||
}
|
||||
scope:subject = {
|
||||
NOT = {
|
||||
vassal_contract_has_flag = vassal_contract_cannot_revoke_titles
|
||||
}
|
||||
vassal_contract_has_flag = religiously_protected
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
obligation_levels = {
|
||||
religious_rights_none = {
|
||||
default = yes
|
||||
position = { 0 0 }
|
||||
|
||||
ai_liege_desire = @ai_standard_liege_desire
|
||||
ai_subject_desire = 0
|
||||
}
|
||||
religious_rights_protected = {
|
||||
is_valid = {
|
||||
NOT = {
|
||||
scope:subject.faith = scope:liege.faith
|
||||
}
|
||||
}
|
||||
parent = religious_rights_none
|
||||
position = { 1 0 }
|
||||
|
||||
subject_opinion = 5
|
||||
|
||||
subject_modifier = {
|
||||
county_opinion_add = 5
|
||||
}
|
||||
|
||||
flag = religiously_protected
|
||||
|
||||
ai_liege_desire = 0
|
||||
ai_subject_desire = 10
|
||||
score = 3
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fortification_rights = {
|
||||
display_mode = checkbox
|
||||
is_shown = {
|
||||
scope:liege.culture = {
|
||||
has_innovation = innovation_battlements
|
||||
}
|
||||
}
|
||||
obligation_levels = {
|
||||
fortification_rights_none = {
|
||||
default = yes
|
||||
position = { 0 0 }
|
||||
|
||||
ai_liege_desire = @ai_standard_liege_desire
|
||||
ai_subject_desire = 0
|
||||
}
|
||||
fortification_rights_granted = {
|
||||
is_valid = {
|
||||
scope:liege.culture = {
|
||||
has_innovation = innovation_battlements
|
||||
}
|
||||
}
|
||||
parent = fortification_rights_none
|
||||
position = { 1 0 }
|
||||
|
||||
liege_modifier = {
|
||||
castle_holding_build_gold_cost = 0.05
|
||||
}
|
||||
|
||||
subject_modifier = {
|
||||
castle_holding_build_gold_cost = -0.15
|
||||
castle_holding_holding_build_gold_cost = -0.5
|
||||
additional_fort_level = 1
|
||||
}
|
||||
|
||||
tax_factor = fortification_rights_contract_taxes
|
||||
|
||||
ai_liege_desire = 0
|
||||
ai_subject_desire = @ai_standard_vassal_desire
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
coinage_rights = {
|
||||
display_mode = checkbox
|
||||
is_shown = {
|
||||
scope:liege.culture = {
|
||||
has_innovation = innovation_currency_02
|
||||
}
|
||||
}
|
||||
obligation_levels = {
|
||||
coinage_rights_none = {
|
||||
default = yes
|
||||
position = { 0 0 }
|
||||
|
||||
ai_liege_desire = @ai_standard_liege_desire
|
||||
ai_subject_desire = 0
|
||||
}
|
||||
coinage_rights_granted = {
|
||||
is_valid = {
|
||||
scope:liege.culture = {
|
||||
has_innovation = innovation_currency_02
|
||||
}
|
||||
}
|
||||
parent = coinage_rights_none
|
||||
position = { 1 0 }
|
||||
|
||||
liege_modifier = {
|
||||
development_growth_factor = -0.02
|
||||
}
|
||||
subject_modifier = {
|
||||
character_capital_county_monthly_development_growth_add = 0.3
|
||||
}
|
||||
|
||||
ai_liege_desire = 0
|
||||
ai_subject_desire = @ai_standard_vassal_desire
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
succession_rights = {
|
||||
display_mode = checkbox
|
||||
is_shown = {
|
||||
scope:subject = {
|
||||
can_have_confederate_partition_succession_law_trigger = yes
|
||||
}
|
||||
}
|
||||
obligation_levels = {
|
||||
succession_rights_default = {
|
||||
default = yes
|
||||
position = { 0 0 }
|
||||
|
||||
ai_liege_desire = 0
|
||||
ai_subject_desire = @ai_standard_vassal_desire
|
||||
}
|
||||
succession_rights_forced_partition = {
|
||||
is_valid = {
|
||||
scope:subject = {
|
||||
can_have_confederate_partition_succession_law_trigger = yes
|
||||
}
|
||||
}
|
||||
score = -1
|
||||
parent = succession_rights_default
|
||||
position = { 1 0 }
|
||||
|
||||
subject_opinion = -5
|
||||
|
||||
flag = locked_to_partition
|
||||
|
||||
ai_liege_desire = @ai_standard_liege_desire
|
||||
ai_subject_desire = 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
war_declaration_rights = {
|
||||
display_mode = checkbox
|
||||
obligation_levels = {
|
||||
war_declaration_rights_default = {
|
||||
default = yes
|
||||
position = { 0 0 }
|
||||
|
||||
ai_liege_desire = @ai_standard_liege_desire
|
||||
ai_subject_desire = 0
|
||||
}
|
||||
war_declaration_rights_allowed = {
|
||||
parent = war_declaration_rights_default
|
||||
position = { 1 0 }
|
||||
|
||||
subject_opinion = 5
|
||||
|
||||
flag = vassal_contract_war_override
|
||||
|
||||
ai_liege_desire = 0
|
||||
ai_subject_desire = @ai_standard_vassal_desire
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
council_rights = {
|
||||
display_mode = checkbox
|
||||
obligation_levels = {
|
||||
council_rights_none = {
|
||||
default = yes
|
||||
position = { 0 0 }
|
||||
|
||||
ai_liege_desire = @ai_standard_liege_desire
|
||||
ai_subject_desire = 0
|
||||
}
|
||||
council_rights_guaranteed = {
|
||||
parent = council_rights_none
|
||||
position = { 1 0 }
|
||||
|
||||
subject_opinion = 5
|
||||
|
||||
flag = can_demand_council_seat
|
||||
|
||||
liege_modifier = {
|
||||
powerful_vassal_opinion = -2
|
||||
}
|
||||
|
||||
ai_liege_desire = 0
|
||||
ai_subject_desire = @ai_standard_vassal_desire
|
||||
score = 3
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
title_revocation_rights = {
|
||||
display_mode = checkbox
|
||||
is_shown = {
|
||||
OR = {
|
||||
scope:subject.faith = scope:liege.faith
|
||||
NOR = {
|
||||
scope:subject.faith = scope:liege.faith
|
||||
scope:liege.faith = {
|
||||
has_doctrine_parameter = unlock_jizya_contract
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
obligation_levels = {
|
||||
title_revocation_rights_default = {
|
||||
default = yes
|
||||
position = { 0 0 }
|
||||
|
||||
ai_liege_desire = 1
|
||||
ai_subject_desire = 0
|
||||
}
|
||||
title_revocation_rights_protected = {
|
||||
is_valid = {
|
||||
OR = {
|
||||
scope:subject.faith = scope:liege.faith
|
||||
NOR = {
|
||||
scope:subject.faith = scope:liege.faith
|
||||
scope:liege.faith = {
|
||||
has_doctrine_parameter = unlock_jizya_contract
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
parent = title_revocation_rights_default
|
||||
position = { 1 0 }
|
||||
|
||||
subject_opinion = 5
|
||||
|
||||
flag = vassal_contract_cannot_revoke_titles
|
||||
|
||||
ai_liege_desire = 0
|
||||
ai_subject_desire = @ai_standard_vassal_desire
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
jizya_special_rights = {
|
||||
display_mode = checkbox
|
||||
is_shown = {
|
||||
scope:liege.faith = {
|
||||
OR = {
|
||||
has_doctrine = tenet_tax_nonbelievers
|
||||
has_doctrine = special_doctrine_jizya
|
||||
}
|
||||
}
|
||||
NOT = { scope:subject.faith = scope:liege.faith }
|
||||
scope:subject = {
|
||||
OR = {
|
||||
NOT = {
|
||||
vassal_contract_has_flag = religiously_protected
|
||||
}
|
||||
AND = {
|
||||
vassal_contract_has_flag = religiously_protected
|
||||
vassal_contract_has_flag = vassal_contract_cannot_revoke_titles
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
obligation_levels = {
|
||||
jizya_special_rights_default = {
|
||||
default = yes
|
||||
position = { 0 0 }
|
||||
|
||||
ai_liege_desire = 1
|
||||
ai_subject_desire = 0
|
||||
}
|
||||
jizya_special_rights_granted = {
|
||||
is_valid = {
|
||||
scope:liege.faith = {
|
||||
OR = {
|
||||
has_doctrine = tenet_tax_nonbelievers
|
||||
has_doctrine = special_doctrine_jizya
|
||||
}
|
||||
}
|
||||
NOT = { scope:subject.faith = scope:liege.faith }
|
||||
}
|
||||
parent = jizya_special_rights_default
|
||||
position = { 1 0 }
|
||||
|
||||
subject_opinion = 20
|
||||
tax_factor = 0.4
|
||||
levies_factor = -0.4
|
||||
|
||||
subject_modifier = {
|
||||
monthly_prestige = -0.25
|
||||
}
|
||||
|
||||
flag = vassal_contract_cannot_revoke_titles
|
||||
flag = religiously_protected
|
||||
flag = obligation_high_taxes
|
||||
|
||||
ai_liege_desire = @ai_standard_liege_desire
|
||||
ai_subject_desire = 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
iqta_special_rights = {
|
||||
display_mode = checkbox
|
||||
|
||||
obligation_levels = {
|
||||
iqta_special_rights_default = {
|
||||
default = yes
|
||||
position = { 0 0 }
|
||||
|
||||
ai_liege_desire = 1
|
||||
ai_subject_desire = 0
|
||||
}
|
||||
iqta_special_rights_granted = {
|
||||
parent = iqta_special_rights_default
|
||||
position = { 1 0 }
|
||||
|
||||
subject_opinion = 5
|
||||
tax_factor = -0.5
|
||||
levies_factor = -0.5
|
||||
|
||||
liege_modifier = {
|
||||
men_at_arms_maintenance = -0.02
|
||||
men_at_arms_recruitment_cost = -0.02
|
||||
}
|
||||
|
||||
subject_modifier = {
|
||||
men_at_arms_maintenance = -0.1
|
||||
men_at_arms_recruitment_cost = -0.1
|
||||
}
|
||||
|
||||
ai_liege_desire = 0
|
||||
ai_subject_desire = @ai_standard_vassal_desire
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ghazi_special_rights = {
|
||||
display_mode = checkbox
|
||||
is_shown = {
|
||||
scope:subject.faith = scope:liege.faith
|
||||
}
|
||||
obligation_levels = {
|
||||
ghazi_special_rights_default = {
|
||||
default = yes
|
||||
position = { 0 0 }
|
||||
|
||||
ai_liege_desire = 1
|
||||
ai_subject_desire = 0
|
||||
}
|
||||
ghazi_special_rights_granted = {
|
||||
is_valid = {
|
||||
scope:subject.faith = scope:liege.faith
|
||||
}
|
||||
parent = ghazi_special_rights_default
|
||||
position = { 1 0 }
|
||||
|
||||
subject_opinion = 10
|
||||
levies_factor = -0.25
|
||||
|
||||
liege_modifier = {
|
||||
monthly_piety_gain_mult = 0.1
|
||||
}
|
||||
|
||||
subject_modifier = {
|
||||
monthly_piety_gain_mult = 0.1
|
||||
|
||||
}
|
||||
|
||||
flag = vassal_contract_cheaper_religious_war
|
||||
flag = vassal_contract_increase_prestige_cb_cost
|
||||
|
||||
ai_liege_desire = @ai_standard_liege_desire
|
||||
ai_subject_desire = @ai_standard_vassal_desire
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
marriage_favor_rights = {
|
||||
display_mode = checkbox
|
||||
obligation_levels = {
|
||||
marriage_favor_rights_default = {
|
||||
default = yes
|
||||
position = { 0 0 }
|
||||
|
||||
ai_liege_desire = 1
|
||||
ai_subject_desire = 0
|
||||
}
|
||||
marriage_favor_rights_granted = {
|
||||
parent = marriage_favor_rights_default
|
||||
position = { 1 0 }
|
||||
|
||||
subject_opinion = 20
|
||||
tax_factor = 0.1
|
||||
levies_factor = 0.1
|
||||
|
||||
flag = vassal_contract_marriage_favor
|
||||
flag = obligation_high_taxes
|
||||
flag = obligation_high_levies
|
||||
|
||||
ai_liege_desire = 0
|
||||
ai_subject_desire = @ai_standard_vassal_desire
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
kurultai_rights = {
|
||||
display_mode = checkbox
|
||||
obligation_levels = {
|
||||
kurultai_rights_none = {
|
||||
default = yes
|
||||
position = { 0 0 }
|
||||
|
||||
ai_liege_desire = @ai_standard_liege_desire
|
||||
ai_subject_desire = 0
|
||||
}
|
||||
kurultai_rights_guaranteed = {
|
||||
parent = kurultai_rights_none
|
||||
position = { 1 0 }
|
||||
|
||||
subject_opinion = 5
|
||||
|
||||
flag = can_demand_kurultai_seat
|
||||
|
||||
liege_modifier = {
|
||||
powerful_vassal_opinion = -2
|
||||
}
|
||||
|
||||
ai_liege_desire = 0
|
||||
ai_subject_desire = @ai_standard_vassal_desire
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
liege_war_participation_obligation = {
|
||||
display_mode = checkbox
|
||||
obligation_levels = {
|
||||
liege_war_participation_obligation_none = {
|
||||
default = yes
|
||||
position = { 0 0 }
|
||||
|
||||
ai_liege_desire = @ai_standard_liege_desire
|
||||
ai_subject_desire = 0
|
||||
}
|
||||
liege_war_participation_obligation_forced = {
|
||||
parent = liege_war_participation_obligation_none
|
||||
position = { 1 0 }
|
||||
|
||||
subject_opinion = 15
|
||||
|
||||
flag = vassal_contract_liege_forced_war_override
|
||||
|
||||
ai_liege_desire = 0
|
||||
ai_subject_desire = @ai_standard_vassal_desire
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
suzerain_war_participation_guarantee = {
|
||||
display_mode = checkbox
|
||||
obligation_levels = {
|
||||
suzerain_war_participation_guarantee_none = {
|
||||
default = yes
|
||||
position = { 0 0 }
|
||||
|
||||
ai_liege_desire = @ai_standard_liege_desire
|
||||
ai_subject_desire = 0
|
||||
score = -2
|
||||
}
|
||||
suzerain_war_participation_guarantee_available = {
|
||||
parent = suzerain_war_participation_guarantee_none
|
||||
position = { 1 0 }
|
||||
|
||||
subject_opinion = 25
|
||||
|
||||
flag = tributary_contract_suzerain_guarantee_override
|
||||
|
||||
ai_liege_desire = 0
|
||||
ai_subject_desire = @ai_standard_vassal_desire
|
||||
score = 2
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Do not add any more levels to this, code checks only for non-default to determine behavior
|
||||
tributary_war_participation_obligation = {
|
||||
display_mode = checkbox
|
||||
obligation_levels = {
|
||||
tributary_war_participation_obligation_none = {
|
||||
default = yes
|
||||
position = { 0 0 }
|
||||
|
||||
ai_liege_desire = 0
|
||||
ai_subject_desire = @ai_standard_vassal_desire
|
||||
score = 1
|
||||
}
|
||||
tributary_war_participation_obligation_forced = {
|
||||
parent = tributary_war_participation_obligation_none
|
||||
position = { 1 0 }
|
||||
|
||||
is_valid = {
|
||||
trigger_if = {
|
||||
limit = { scope:subject = { has_government = herder_government } }
|
||||
custom_tooltip = {
|
||||
text = herder_cannot_war_tt
|
||||
always = no
|
||||
}
|
||||
}
|
||||
trigger_else_if = {
|
||||
limit = { NOT = { scope:subject = { has_relation_blood_brother = overlord } } }
|
||||
custom_tooltip = {
|
||||
text = war_support_obligation_conditions_unmet_tt
|
||||
scope:subject = {
|
||||
OR = {
|
||||
is_ai = no # human players cannot be obedient, so this is always valid for them
|
||||
is_obedient = yes
|
||||
}
|
||||
vassal_contract_obligation_level:suzerain_war_participation_guarantee > 0
|
||||
}
|
||||
}
|
||||
}
|
||||
trigger_else = {
|
||||
scope:subject = { has_relation_blood_brother = overlord }
|
||||
}
|
||||
}
|
||||
|
||||
subject_opinion = -25
|
||||
|
||||
flag = tributary_contract_tributary_forced_war_override
|
||||
|
||||
ai_liege_desire = @ai_standard_liege_desire
|
||||
ai_subject_desire = 0
|
||||
score = -3
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
42
common/subject_contracts/contracts/theocratic.txt
Normal file
42
common/subject_contracts/contracts/theocratic.txt
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
theocracy_government_obligations = {
|
||||
obligation_levels = {
|
||||
default = {
|
||||
levies = {
|
||||
if = {
|
||||
limit = { NOT = { scope:liege.faith = scope:subject.faith } }
|
||||
value = 0.1
|
||||
}
|
||||
else = {
|
||||
value = 0.1
|
||||
multiply = scope:liege.piety_level
|
||||
}
|
||||
}
|
||||
tax = {
|
||||
if = {
|
||||
limit = { NOT = { scope:liege.faith = scope:subject.faith } }
|
||||
value = 0.1
|
||||
}
|
||||
else_if = {
|
||||
limit = { scope:liege.piety_level >= 1 }
|
||||
add = 0.05
|
||||
add = {
|
||||
value = 0.1
|
||||
multiply = scope:liege.piety_level
|
||||
}
|
||||
}
|
||||
#else = {
|
||||
# value = 0
|
||||
#}
|
||||
}
|
||||
contribution_desc = {
|
||||
first_valid = {
|
||||
triggered_desc = {
|
||||
trigger = { NOT = { scope:liege.faith = scope:subject.faith } }
|
||||
desc = "theocracy_government_vassal_contribution_wrong_faith"
|
||||
}
|
||||
desc = "theocracy_government_vassal_contribution_piety_level"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
26
common/subject_contracts/contracts/tribal.txt
Normal file
26
common/subject_contracts/contracts/tribal.txt
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
tribal_government_obligations = {
|
||||
obligation_levels = {
|
||||
default = {
|
||||
levies = {
|
||||
value = 0
|
||||
max = 1
|
||||
scope:liege = {
|
||||
add = {
|
||||
value = 0.15
|
||||
multiply = prestige_level
|
||||
}
|
||||
}
|
||||
}
|
||||
tax = {
|
||||
value = 0
|
||||
max = 0.5
|
||||
scope:liege = {
|
||||
add = {
|
||||
value = 0.08
|
||||
multiply = prestige_level
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,52 @@
|
|||
# Subject contract groups
|
||||
|
||||
feudal_contract_group = {
|
||||
|
||||
|
||||
contracts = { # The subject contracts within this group
|
||||
feudal_government_taxes
|
||||
feudal_government_levies
|
||||
special_contract
|
||||
...
|
||||
}
|
||||
|
||||
modify_contract_layout = clan # a string property on the contract group that can be checked with SubjectContract.HasModifyContractLayout in gui script to choose the layout to use for the Modify Contract interaction window (default value is 'default')
|
||||
|
||||
|
||||
# #########################################
|
||||
# REMAINING IS ONLY FOR TRIBUTARY CONTRACTS
|
||||
# #########################################
|
||||
|
||||
is_tributary = no # Whether or not this subject contract is specifically for tributaries or not.
|
||||
|
||||
# Whether or not the subject contract is valid.
|
||||
# Scopes available:
|
||||
# ROOT - The subject in the contract
|
||||
# scope:suzerain the suzerain in the contract
|
||||
is_valid_tributary_contract = {}
|
||||
|
||||
# Whether or not subject can break free from a contract themselves.
|
||||
# Same scopes as is_valid
|
||||
tributary_can_break_free = {}
|
||||
|
||||
# The name of the line types that will be shown when drawing the tributary relation to the suzerain on the map.
|
||||
# Skip these parameters if you don't want a line at all.
|
||||
# suzerain_line_type is used when showing a selected character's suzerain.
|
||||
# tributary_line_type is used when showing a selected character's tributaries.
|
||||
# Lines are defined in gfx/lines/lines.lines
|
||||
suzerain_line_type = line_suzerain
|
||||
tributary_line_type = line_tributary
|
||||
|
||||
# Whether or not the tributary's realm should show with the suzerain's realm name on the map (Default: no)
|
||||
should_show_as_suzerain_realm_name = yes/no
|
||||
|
||||
# Whether or not the tributary's realm should show with the suzerain's realm color on the map. (Default: no)
|
||||
# If yes, the actual color will be an interpolation between the suzerain and tributary's realm colors, with the ratio defined in TRIBUTARY_REALM_COLOR_FACTOR
|
||||
should_show_as_suzerain_realm_color = yes/no
|
||||
|
||||
# Whether the tributary's heirs should become tributaries themselves upon succession (if they can be, e.g. they are independent). (Default: yes)
|
||||
tributary_heir_succession = yes/no
|
||||
|
||||
# Whether the suzerain's primary heir should take over as suzerain upon succession (if they can be, e.g. they are independent). (Default: yes)
|
||||
suzerain_heir_succession = yes/no
|
||||
}
|
||||
118
common/subject_contracts/groups/subject_contract_groups.txt
Normal file
118
common/subject_contracts/groups/subject_contract_groups.txt
Normal file
|
|
@ -0,0 +1,118 @@
|
|||
feudal_vassal = {
|
||||
contracts = {
|
||||
feudal_government_taxes
|
||||
feudal_government_levies
|
||||
special_contract
|
||||
religious_rights
|
||||
fortification_rights
|
||||
coinage_rights
|
||||
succession_rights
|
||||
war_declaration_rights
|
||||
council_rights
|
||||
title_revocation_rights
|
||||
jizya_special_rights
|
||||
}
|
||||
}
|
||||
|
||||
republic_vassal = {
|
||||
contracts = {
|
||||
republic_government_obligations
|
||||
}
|
||||
}
|
||||
|
||||
theocracy_vassal ={
|
||||
contracts = {
|
||||
theocracy_government_obligations
|
||||
}
|
||||
}
|
||||
|
||||
clan_vassal = {
|
||||
contracts = {
|
||||
clan_tax_collector_obligations
|
||||
special_contract
|
||||
religious_rights
|
||||
war_declaration_rights
|
||||
council_rights
|
||||
title_revocation_rights
|
||||
marriage_favor_rights
|
||||
}
|
||||
modify_contract_layout = clan
|
||||
}
|
||||
|
||||
tribal_vassal = {
|
||||
contracts = {
|
||||
tribal_government_obligations
|
||||
}
|
||||
}
|
||||
|
||||
admin_vassal = {
|
||||
contracts = {
|
||||
administrative_obligations
|
||||
administrative_themes
|
||||
}
|
||||
modify_contract_layout = admin
|
||||
}
|
||||
|
||||
nomad_vassal = {
|
||||
contracts = {
|
||||
nomad_government_herd
|
||||
nomad_government_taxes
|
||||
liege_war_participation_obligation
|
||||
kurultai_rights
|
||||
war_declaration_rights
|
||||
}
|
||||
}
|
||||
|
||||
tributary_settled = {
|
||||
is_tributary = yes
|
||||
suzerain_line_type = line_suzerain
|
||||
tributary_line_type = line_tributary
|
||||
should_show_as_suzerain_realm_name = yes
|
||||
should_show_as_suzerain_realm_color = yes
|
||||
|
||||
contracts = {
|
||||
default_tributary_taxes
|
||||
default_tributary_levies
|
||||
default_tributary_prestige
|
||||
suzerain_war_participation_guarantee
|
||||
tributary_war_participation_obligation
|
||||
}
|
||||
}
|
||||
|
||||
tributary_nomadic = {
|
||||
is_tributary = yes
|
||||
suzerain_line_type = line_suzerain
|
||||
tributary_line_type = line_tributary
|
||||
should_show_as_suzerain_realm_name = yes
|
||||
should_show_as_suzerain_realm_color = yes
|
||||
|
||||
contracts = {
|
||||
nomad_government_herd
|
||||
nomad_government_prestige
|
||||
suzerain_war_participation_guarantee
|
||||
tributary_war_participation_obligation
|
||||
}
|
||||
}
|
||||
|
||||
tributary_subjugated = {
|
||||
is_tributary = yes
|
||||
tributary_can_break_free = { always = no }
|
||||
suzerain_heir_succession = no
|
||||
suzerain_line_type = line_suzerain
|
||||
tributary_line_type = line_tributary
|
||||
should_show_as_suzerain_realm_name = no
|
||||
should_show_as_suzerain_realm_color = yes
|
||||
|
||||
contracts = {
|
||||
default_tributary_taxes
|
||||
default_tributary_prestige
|
||||
suzerain_war_participation_guarantee
|
||||
tributary_war_participation_obligation
|
||||
}
|
||||
}
|
||||
|
||||
herder_vassal = {
|
||||
contracts = {
|
||||
herder_government_obligations
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue