fixing cbs
This commit is contained in:
parent
09f453493d
commit
5a396156a9
4 changed files with 139 additions and 129 deletions
|
|
@ -158,7 +158,13 @@ conquest = {
|
||||||
herders_and_tributary_constraints = yes
|
herders_and_tributary_constraints = yes
|
||||||
tgp_dynastic_cycle_offensive_wars_ban_trigger = yes
|
tgp_dynastic_cycle_offensive_wars_ban_trigger = yes
|
||||||
tgp_war_ban_all_ministers_trigger = yes
|
tgp_war_ban_all_ministers_trigger = yes
|
||||||
|
OR = {
|
||||||
NOT = { government_has_flag = government_is_theocracy }
|
NOT = { government_has_flag = government_is_theocracy }
|
||||||
|
AND = {
|
||||||
|
government_has_flag = government_is_ecclesiastical
|
||||||
|
rite = { rite_has_parameter = neow_theocrats_can_use_secular_cbs }
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
allowed_for_character_display_regardless = {
|
allowed_for_character_display_regardless = {
|
||||||
pam_personal_pacifism_offensive_war_ban_trigger = yes
|
pam_personal_pacifism_offensive_war_ban_trigger = yes
|
||||||
|
|
@ -210,14 +216,12 @@ subjugation = {
|
||||||
herders_and_tributary_constraints = yes
|
herders_and_tributary_constraints = yes
|
||||||
tgp_dynastic_cycle_offensive_wars_ban_trigger = yes
|
tgp_dynastic_cycle_offensive_wars_ban_trigger = yes
|
||||||
tgp_war_ban_all_ministers_trigger = yes
|
tgp_war_ban_all_ministers_trigger = yes
|
||||||
OR = {
|
|
||||||
OR = {
|
OR = {
|
||||||
NOT = { government_has_flag = government_is_theocracy }
|
NOT = { government_has_flag = government_is_theocracy }
|
||||||
AND = {
|
AND = {
|
||||||
government_has_flag = government_is_ecclesiastical
|
government_has_flag = government_is_ecclesiastical
|
||||||
rite = { rite_has_parameter = neow_theocrats_can_use_secular_cbs }
|
rite = { rite_has_parameter = neow_theocrats_can_use_secular_cbs }
|
||||||
}
|
}
|
||||||
}
|
|
||||||
AND = {
|
AND = {
|
||||||
government_has_flag = government_is_theocracy
|
government_has_flag = government_is_theocracy
|
||||||
has_variable = koh_subjugation_cb_allowed
|
has_variable = koh_subjugation_cb_allowed
|
||||||
|
|
@ -262,7 +266,6 @@ humiliation = {
|
||||||
allowed_for_character = {
|
allowed_for_character = {
|
||||||
gdp_merchant_cb_group_constraints_trigger = yes
|
gdp_merchant_cb_group_constraints_trigger = yes
|
||||||
herders_and_tributary_constraints = yes
|
herders_and_tributary_constraints = yes
|
||||||
pam_personal_pacifism_offensive_war_ban_trigger = yes
|
|
||||||
OR = {
|
OR = {
|
||||||
NOT = { government_has_flag = government_is_theocracy }
|
NOT = { government_has_flag = government_is_theocracy }
|
||||||
AND = {
|
AND = {
|
||||||
|
|
@ -280,7 +283,6 @@ mandala = {
|
||||||
allowed_for_character = {
|
allowed_for_character = {
|
||||||
gdp_merchant_cb_group_constraints_trigger = yes
|
gdp_merchant_cb_group_constraints_trigger = yes
|
||||||
herders_and_tributary_constraints = yes
|
herders_and_tributary_constraints = yes
|
||||||
pam_personal_pacifism_offensive_war_ban_trigger = yes
|
|
||||||
OR = {
|
OR = {
|
||||||
NOT = { government_has_flag = government_is_theocracy }
|
NOT = { government_has_flag = government_is_theocracy }
|
||||||
AND = {
|
AND = {
|
||||||
|
|
@ -307,6 +309,9 @@ celestial = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
allowed_for_character_display_regardless = {
|
||||||
|
pam_personal_pacifism_offensive_war_ban_trigger = yes
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -274,10 +274,8 @@
|
||||||
scope:claimant = {
|
scope:claimant = {
|
||||||
NOR = {
|
NOR = {
|
||||||
this = scope:attacker
|
this = scope:attacker
|
||||||
NOR = {
|
|
||||||
is_vassal_or_below_of = scope:attacker
|
is_vassal_or_below_of = scope:attacker
|
||||||
is_courtier_of = scope:attacker
|
is_courtier_of = scope:attacker
|
||||||
}
|
|
||||||
#tgp_is_any_minister = yes
|
#tgp_is_any_minister = yes
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -319,7 +317,7 @@
|
||||||
on_victory_aggressive_war_effect = yes
|
on_victory_aggressive_war_effect = yes
|
||||||
|
|
||||||
pam_notify_claim_war_instigator_effect_win = yes
|
pam_notify_claim_war_instigator_effect_win = yes
|
||||||
gg_claim_unites_pope_and_emperor_tooltip_effect = yes
|
#gg_claim_unites_pope_and_emperor_tooltip_effect = yes
|
||||||
|
|
||||||
#Grab the higher title tier
|
#Grab the higher title tier
|
||||||
ordered_in_list = {
|
ordered_in_list = {
|
||||||
|
|
@ -426,7 +424,7 @@
|
||||||
accolade_attacker_war_end_glory_gain_med_effect = yes
|
accolade_attacker_war_end_glory_gain_med_effect = yes
|
||||||
}
|
}
|
||||||
|
|
||||||
resolve_title_and_vassal_change = scope:change
|
on_victory_claim_cb_effect = yes
|
||||||
|
|
||||||
# Landless Ceremonial Liege
|
# Landless Ceremonial Liege
|
||||||
#if = {
|
#if = {
|
||||||
|
|
@ -504,23 +502,23 @@
|
||||||
# resolve_title_and_vassal_change = scope:change_two
|
# resolve_title_and_vassal_change = scope:change_two
|
||||||
#}
|
#}
|
||||||
|
|
||||||
if = {
|
#if = {
|
||||||
limit = {
|
#limit = {
|
||||||
scope:claimant != scope:attacker
|
#scope:claimant != scope:attacker
|
||||||
scope:attacker = {
|
#scope:attacker = {
|
||||||
can_add_hook = {
|
#can_add_hook = {
|
||||||
type = favor_hook
|
#type = favor_hook
|
||||||
target = scope:claimant
|
#target = scope:claimant
|
||||||
}
|
#}
|
||||||
}
|
#}
|
||||||
}
|
#}
|
||||||
scope:attacker = {
|
#scope:attacker = {
|
||||||
add_hook = {
|
#add_hook = {
|
||||||
target = scope:claimant
|
#target = scope:claimant
|
||||||
type = favor_hook
|
#type = favor_hook
|
||||||
}
|
#}
|
||||||
}
|
#}
|
||||||
}
|
#}
|
||||||
|
|
||||||
# Attacker gets Prestige Experience, Defender loses Prestige, all other participants gain Prestige based on their war contribution.
|
# Attacker gets Prestige Experience, Defender loses Prestige, all other participants gain Prestige based on their war contribution.
|
||||||
modify_all_participants_fame_values = {
|
modify_all_participants_fame_values = {
|
||||||
|
|
|
||||||
|
|
@ -378,23 +378,23 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
scope:attacker = {
|
#scope:attacker = {
|
||||||
if = {
|
#if = {
|
||||||
limit = {
|
#limit = {
|
||||||
monthly_character_income > 0
|
#monthly_character_income > 0
|
||||||
}
|
#}
|
||||||
pay_short_term_income = {
|
#pay_short_term_income = {
|
||||||
years = 2
|
#years = 2
|
||||||
target = scope:defender
|
#target = scope:defender
|
||||||
}
|
#}
|
||||||
}
|
#}
|
||||||
else = {
|
#else = {
|
||||||
pay_short_term_gold = {
|
#pay_short_term_gold = {
|
||||||
target = scope:defender
|
#target = scope:defender
|
||||||
gold = medium_gold_value
|
#gold = medium_gold_value
|
||||||
}
|
#}
|
||||||
}
|
#}
|
||||||
}
|
#}
|
||||||
}
|
}
|
||||||
|
|
||||||
# Truce
|
# Truce
|
||||||
|
|
@ -841,6 +841,7 @@ religious_war = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
scope:attacker = {
|
scope:attacker = {
|
||||||
pay_short_term_gold_reparations_effect = {
|
pay_short_term_gold_reparations_effect = {
|
||||||
GOLD_VALUE = 3
|
GOLD_VALUE = 3
|
||||||
|
|
@ -1035,7 +1036,7 @@ major_religious_war = {
|
||||||
}
|
}
|
||||||
|
|
||||||
allowed_against_character = {
|
allowed_against_character = {
|
||||||
religious_war_faith_hostility_trigger = yes
|
#religious_war_faith_hostility_trigger = yes
|
||||||
scope:attacker = {
|
scope:attacker = {
|
||||||
ALL_FALSE = {
|
ALL_FALSE = {
|
||||||
top_liege = scope:defender.top_liege
|
top_liege = scope:defender.top_liege
|
||||||
|
|
@ -1325,36 +1326,42 @@ major_religious_war = {
|
||||||
# piety change
|
# piety change
|
||||||
scope:defender = { add_piety_for_war_effect = { TYPE = piety } }
|
scope:defender = { add_piety_for_war_effect = { TYPE = piety } }
|
||||||
|
|
||||||
scope:defender = {
|
#scope:defender = {
|
||||||
add_piety = {
|
#add_piety = {
|
||||||
add = religious_cb_piety_gain_kingdom
|
#add = religious_cb_piety_gain_kingdom
|
||||||
if = {
|
#if = {
|
||||||
limit = {
|
#limit = {
|
||||||
scope:defender.faith ?= {
|
#scope:defender.faith ?= {
|
||||||
has_doctrine_parameter = bonus_holy_war_piety_active
|
#has_doctrine_parameter = bonus_holy_war_piety_active
|
||||||
}
|
#}
|
||||||
}
|
#}
|
||||||
multiply = 1.5
|
#multiply = 1.5
|
||||||
}
|
#}
|
||||||
}
|
#}
|
||||||
}
|
#}
|
||||||
|
|
||||||
|
#scope:attacker = {
|
||||||
|
#if = {
|
||||||
|
#limit = {
|
||||||
|
#monthly_character_income > 0
|
||||||
|
#}
|
||||||
|
#pay_short_term_income = {
|
||||||
|
#years = 4
|
||||||
|
#target = scope:defender
|
||||||
|
#}
|
||||||
|
#}
|
||||||
|
#else = {
|
||||||
|
#pay_short_term_gold = {
|
||||||
|
#target = scope:defender
|
||||||
|
#gold = medium_gold_value
|
||||||
|
#}
|
||||||
|
#}
|
||||||
|
#}
|
||||||
|
#}
|
||||||
|
|
||||||
scope:attacker = {
|
scope:attacker = {
|
||||||
if = {
|
pay_short_term_gold_reparations_effect = {
|
||||||
limit = {
|
GOLD_VALUE = 4
|
||||||
monthly_character_income > 0
|
|
||||||
}
|
|
||||||
pay_short_term_income = {
|
|
||||||
years = 4
|
|
||||||
target = scope:defender
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else = {
|
|
||||||
pay_short_term_gold = {
|
|
||||||
target = scope:defender
|
|
||||||
gold = medium_gold_value
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -3094,7 +3101,7 @@ undirected_great_holy_war = {
|
||||||
change_government = nomad_government
|
change_government = nomad_government
|
||||||
domicile = {
|
domicile = {
|
||||||
set_domicile_culture = prev.capital_county.culture
|
set_domicile_culture = prev.capital_county.culture
|
||||||
set_domicile_faith = prev.capital_county.faith
|
set_domicile_rite = prev.capital_county.rite
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -3252,7 +3259,7 @@ undirected_great_holy_war = {
|
||||||
change_government = nomad_government
|
change_government = nomad_government
|
||||||
domicile = {
|
domicile = {
|
||||||
set_domicile_culture = prev.capital_county.culture
|
set_domicile_culture = prev.capital_county.culture
|
||||||
set_domicile_faith = prev.capital_county.faith
|
set_domicile_rite = prev.capital_county.rite
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -3426,7 +3433,7 @@ undirected_great_holy_war = {
|
||||||
change_government = nomad_government
|
change_government = nomad_government
|
||||||
domicile = {
|
domicile = {
|
||||||
set_domicile_culture = prev.capital_county.culture
|
set_domicile_culture = prev.capital_county.culture
|
||||||
set_domicile_faith = prev.capital_county.faith
|
set_domicile_rite = prev.capital_county.rite
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -3894,7 +3901,7 @@ directed_great_holy_war = {
|
||||||
change_government = nomad_government
|
change_government = nomad_government
|
||||||
domicile = {
|
domicile = {
|
||||||
set_domicile_culture = prev.capital_county.culture
|
set_domicile_culture = prev.capital_county.culture
|
||||||
set_domicile_faith = prev.capital_county.faith
|
set_domicile_rite = prev.capital_county.rite
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -502,58 +502,58 @@ allows_declaring_war_against_target_trigger = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#You're under Peace Privilege; no wars allowed against the opposite side
|
#You're under Peace Privilege; no wars allowed against the opposite side
|
||||||
custom_tooltip = {
|
#custom_tooltip = {
|
||||||
text = not_attack_gg_during_repose_tt
|
#text = not_attack_gg_during_repose_tt
|
||||||
trigger_if = {
|
#trigger_if = {
|
||||||
limit = {
|
#limit = {
|
||||||
situation:guelph_ghibelline ?= { situation_current_phase = repose }
|
#situation:guelph_ghibelline ?= { situation_current_phase = repose }
|
||||||
OR = {
|
#OR = {
|
||||||
is_guelph_trigger = yes
|
#is_guelph_trigger = yes
|
||||||
is_ghibelline_trigger = yes
|
#is_ghibelline_trigger = yes
|
||||||
}
|
#}
|
||||||
}
|
#}
|
||||||
NOR = {
|
#NOR = {
|
||||||
AND = {
|
#AND = {
|
||||||
is_guelph_trigger = yes
|
#is_guelph_trigger = yes
|
||||||
scope:recipient = { is_ghibelline_trigger = yes }
|
#scope:recipient = { is_ghibelline_trigger = yes }
|
||||||
}
|
#}
|
||||||
AND = {
|
#AND = {
|
||||||
is_ghibelline_trigger = yes
|
#is_ghibelline_trigger = yes
|
||||||
scope:recipient = { is_guelph_trigger = yes }
|
#scope:recipient = { is_guelph_trigger = yes }
|
||||||
}
|
#}
|
||||||
}
|
#}
|
||||||
}
|
#}
|
||||||
}
|
#}
|
||||||
|
|
||||||
#The Guelphs won the GG Situation; no HRE wars against theocratic vassals
|
#The Guelphs won the GG Situation; no HRE wars against theocratic vassals
|
||||||
custom_tooltip = {
|
#custom_tooltip = {
|
||||||
text = guelph_victory_hre_no_theocracy_cb_tt
|
#text = guelph_victory_hre_no_theocracy_cb_tt
|
||||||
trigger_if = {
|
#trigger_if = {
|
||||||
limit = { exists = var:gg_ended_in_guelph_victory_no_hre_wars_on_theocratic_vassals }
|
#limit = { exists = var:gg_ended_in_guelph_victory_no_hre_wars_on_theocratic_vassals }
|
||||||
NOT = {
|
#NOT = {
|
||||||
this = title:e_hre.holder
|
#this = title:e_hre.holder
|
||||||
scope:defender_check = {
|
#scope:defender_check = {
|
||||||
is_vassal_of = title:e_hre.holder
|
#is_vassal_of = title:e_hre.holder
|
||||||
government_has_flag = government_is_ecclesiastical
|
#government_has_flag = government_is_ecclesiastical
|
||||||
}
|
#}
|
||||||
}
|
#}
|
||||||
}
|
#}
|
||||||
}
|
#}
|
||||||
#... nor against rulers in Northern Italy
|
#... nor against rulers in Northern Italy
|
||||||
custom_tooltip = {
|
#custom_tooltip = {
|
||||||
text = guelph_victory_hre_no_cb_tt
|
#text = guelph_victory_hre_no_cb_tt
|
||||||
trigger_if = {
|
#trigger_if = {
|
||||||
limit = { exists = var:gg_hre_no_cb_northern_italy }
|
#limit = { exists = var:gg_hre_no_cb_northern_italy }
|
||||||
NOT = {
|
#NOT = {
|
||||||
this = title:e_hre.holder
|
#this = title:e_hre.holder
|
||||||
scope:defender_check = {
|
#scope:defender_check = {
|
||||||
primary_title = {
|
#primary_title = {
|
||||||
title_province = { geographical_region = gdp_guelph_ghibelline_northern_italy_region }
|
#title_province = { geographical_region = gdp_guelph_ghibelline_northern_italy_region }
|
||||||
}
|
#}
|
||||||
}
|
#}
|
||||||
}
|
#}
|
||||||
}
|
#}
|
||||||
}
|
#}
|
||||||
}
|
}
|
||||||
|
|
||||||
war_declarer_needs_hook_on_liege = {
|
war_declarer_needs_hook_on_liege = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue