parent
15a5108e23
commit
c4b6d9bdeb
250 changed files with 11067 additions and 16365 deletions
|
|
@ -220,30 +220,27 @@ holy_order.0200 = {
|
|||
desc = holy_order.0200.desc
|
||||
sender = scope:recipient
|
||||
|
||||
immediate = {
|
||||
set_variable = {
|
||||
name = amount_to_loan
|
||||
value = holy_order_gold_value
|
||||
days = 1
|
||||
}
|
||||
}
|
||||
|
||||
option = {
|
||||
name = holy_order.0200.a
|
||||
show_as_tooltip = {
|
||||
scope:recipient = {
|
||||
pay_treasury_or_gold = {
|
||||
target = root
|
||||
value = root.var:amount_to_loan
|
||||
value = root.holy_order_gold_value
|
||||
}
|
||||
}
|
||||
}
|
||||
add_character_flag = borrow_from_holy_order
|
||||
set_up_loan_effect = {
|
||||
LENDER = scope:recipient
|
||||
AMOUNT = holy_order_gold_value
|
||||
}
|
||||
remove_variable = amount_to_loan
|
||||
#Set up extra variable to track time
|
||||
scope:recipient = {
|
||||
set_variable = {
|
||||
name = years_since_loan
|
||||
value = 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
option = { #Your piety level is too low :( sinner!
|
||||
|
|
@ -259,16 +256,23 @@ holy_order.0200 = {
|
|||
#by Linnéa Thimrén
|
||||
holy_order.0201 = {
|
||||
hidden = yes
|
||||
orphan = yes # deprecated
|
||||
|
||||
immediate = {
|
||||
remove_variable = loan_holder
|
||||
scope:order.leader = { save_scope_as = new_leader }
|
||||
scope:order ={
|
||||
leader = {
|
||||
save_scope_as = new_leader
|
||||
}
|
||||
}
|
||||
set_variable = {
|
||||
name = loan_holder
|
||||
value = scope:new_leader
|
||||
}
|
||||
scope:new_leader = {
|
||||
set_variable = {
|
||||
name = loan_amount_owed
|
||||
value = root.var:loan_amount_owed
|
||||
}
|
||||
set_variable = {
|
||||
name = owes_me_money
|
||||
value = root
|
||||
|
|
@ -283,20 +287,14 @@ holy_order.0206 = {
|
|||
hidden = yes
|
||||
|
||||
trigger = {
|
||||
any_in_list = {
|
||||
variable = owes_me_money
|
||||
exists = var:years_since_loan
|
||||
}
|
||||
exists = var:owes_me_money
|
||||
exists = var:years_since_loan
|
||||
}
|
||||
|
||||
immediate = {
|
||||
every_in_list = {
|
||||
variable = owes_me_money
|
||||
limit = { exists = var:years_since_loan }
|
||||
change_variable = {
|
||||
name = years_since_loan
|
||||
add = 1
|
||||
}
|
||||
change_variable = {
|
||||
name = years_since_loan
|
||||
add = 1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -332,7 +330,8 @@ holy_order.0202 = {
|
|||
|
||||
trigger = {
|
||||
has_character_flag = borrow_from_holy_order
|
||||
var:loan_holder ?= {
|
||||
exists = var:loan_holder
|
||||
var:loan_holder = {
|
||||
exists = var:years_since_loan
|
||||
var:years_since_loan >= 10
|
||||
}
|
||||
|
|
|
|||
|
|
@ -104,12 +104,12 @@ local_rites.1 = {
|
|||
situation_current_phase = situation_dynastic_cycle_phase_stability_advancement
|
||||
}
|
||||
}
|
||||
title:b_qianfeng = {
|
||||
title:b_xuchang = {
|
||||
this != root.capital_barony
|
||||
holder.top_liege = root
|
||||
}
|
||||
}
|
||||
title:b_qianfeng = {
|
||||
title:b_xuchang = {
|
||||
title_province = { save_scope_as = mount_tai_location }
|
||||
}
|
||||
}
|
||||
|
|
@ -313,7 +313,7 @@ local_rites.1 = {
|
|||
option = {
|
||||
trigger = {
|
||||
exists = scope:mount_tai_location
|
||||
scope:mount_tai_location.barony = title:b_qianfeng
|
||||
scope:mount_tai_location.barony = title:b_xuchang
|
||||
}
|
||||
name = local_rites.1.mount_tai
|
||||
local_shrine_at_location_effect = { SHRINE = mount_tai }
|
||||
|
|
@ -423,7 +423,7 @@ local_rites.3 = { #Destination - Making a Sacrifice
|
|||
triggered_desc = {
|
||||
trigger = {
|
||||
has_title = title:h_china
|
||||
var:shrine_location.barony = title:b_qianfeng
|
||||
var:shrine_location.barony = title:b_xuchang
|
||||
}
|
||||
desc = local_rites.3.t.fengshan #Fang Shan
|
||||
}
|
||||
|
|
@ -458,7 +458,7 @@ local_rites.3 = { #Destination - Making a Sacrifice
|
|||
triggered_desc = {
|
||||
trigger = {
|
||||
has_title = title:h_china
|
||||
var:shrine_location.barony = title:b_qianfeng
|
||||
var:shrine_location.barony = title:b_xuchang
|
||||
}
|
||||
desc = local_rites.3.desc_mt_tai_huangdi
|
||||
}
|
||||
|
|
@ -520,7 +520,7 @@ local_rites.3 = { #Destination - Making a Sacrifice
|
|||
override_background = { #Fengshan
|
||||
trigger = {
|
||||
has_title = title:h_china
|
||||
var:shrine_location.barony = title:b_qianfeng
|
||||
var:shrine_location.barony = title:b_xuchang
|
||||
}
|
||||
reference = mpo_steppe_evening
|
||||
}
|
||||
|
|
@ -652,7 +652,7 @@ local_rites.3 = { #Destination - Making a Sacrifice
|
|||
if = {
|
||||
limit = {
|
||||
has_title = title:h_china
|
||||
var:shrine_location.barony = title:b_qianfeng
|
||||
var:shrine_location.barony = title:b_xuchang
|
||||
}
|
||||
hidden_effect = {
|
||||
dynasty = { set_variable = fengshan_performed }
|
||||
|
|
@ -664,7 +664,7 @@ local_rites.3 = { #Destination - Making a Sacrifice
|
|||
name = fengshan_option
|
||||
trigger = {
|
||||
has_title = title:h_china
|
||||
var:shrine_location.barony = title:b_qianfeng
|
||||
var:shrine_location.barony = title:b_xuchang
|
||||
}
|
||||
add_treasury = {
|
||||
value = major_treasury_value
|
||||
|
|
@ -680,7 +680,7 @@ local_rites.3 = { #Destination - Making a Sacrifice
|
|||
scope:at_home = no
|
||||
NOR = {
|
||||
has_title = title:h_china
|
||||
var:shrine_location.barony = title:b_qianfeng
|
||||
var:shrine_location.barony = title:b_xuchang
|
||||
}
|
||||
}
|
||||
#Pay Gold - Get Piety
|
||||
|
|
@ -714,7 +714,7 @@ local_rites.3 = { #Destination - Making a Sacrifice
|
|||
scope:at_home = no
|
||||
NOR = {
|
||||
has_title = title:h_china
|
||||
var:shrine_location.barony = title:b_qianfeng
|
||||
var:shrine_location.barony = title:b_xuchang
|
||||
}
|
||||
}
|
||||
#Pay Prestige - Get Piety
|
||||
|
|
|
|||
|
|
@ -1732,7 +1732,17 @@ religious_decision.0211 = {
|
|||
20 = {
|
||||
trigger = {
|
||||
scope:at_home = no
|
||||
num_sinful_traits > 0
|
||||
# Must have a negative trait to replace.
|
||||
OR = {
|
||||
has_trait = greedy
|
||||
has_trait = lustful
|
||||
has_trait = gluttonous
|
||||
has_trait = deceitful
|
||||
has_trait = ambitious
|
||||
has_trait = impatient
|
||||
has_trait = sadistic
|
||||
has_trait = wrathful
|
||||
}
|
||||
}
|
||||
|
||||
# Greater chance when meditating in one of these terrains.
|
||||
|
|
@ -1981,7 +1991,48 @@ religious_decision.0211 = {
|
|||
}
|
||||
else_if = {
|
||||
limit = { has_character_flag = meditation_reflection }
|
||||
replace_sinful_trait_effect = yes
|
||||
random_list = {
|
||||
1 = {
|
||||
trigger = { has_trait = gluttonous }
|
||||
remove_trait = gluttonous
|
||||
add_trait_force_tooltip = temperate
|
||||
}
|
||||
1 = {
|
||||
trigger = { has_trait = greedy }
|
||||
remove_trait = greedy
|
||||
add_trait_force_tooltip = generous
|
||||
}
|
||||
1 = {
|
||||
trigger = { has_trait = ambitious }
|
||||
remove_trait = ambitious
|
||||
add_trait_force_tooltip = content
|
||||
}
|
||||
1 = {
|
||||
trigger = { has_trait = lustful }
|
||||
remove_trait = lustful
|
||||
add_trait_force_tooltip = chaste
|
||||
}
|
||||
1 = {
|
||||
trigger = { has_trait = deceitful }
|
||||
remove_trait = deceitful
|
||||
add_trait_force_tooltip = honest
|
||||
}
|
||||
1 = {
|
||||
trigger = { has_trait = sadistic }
|
||||
remove_trait = sadistic
|
||||
add_trait_force_tooltip = compassionate
|
||||
}
|
||||
1 = {
|
||||
trigger = { has_trait = impatient }
|
||||
remove_trait = impatient
|
||||
add_trait_force_tooltip = patient
|
||||
}
|
||||
1 = {
|
||||
trigger = { has_trait = wrathful }
|
||||
remove_trait = wrathful
|
||||
add_trait_force_tooltip = calm
|
||||
}
|
||||
}
|
||||
improve_meditation_skill = yes
|
||||
}
|
||||
else_if = {
|
||||
|
|
@ -2852,12 +2903,6 @@ religious_decision.0602 = {
|
|||
|
||||
# Convert to scope:old_caliph's faith.
|
||||
set_character_faith_with_conversion = scope:old_caliph.faith
|
||||
if = {
|
||||
limit = {
|
||||
scope:old_caliph.faith = { has_doctrine = doctrine_monotheist }
|
||||
}
|
||||
custom_description_no_bullet = { text = mandala_monotheist_warning_tt }
|
||||
}
|
||||
# Make a note that a major character chose to convert rather than toe the line.
|
||||
scope:founder = {
|
||||
if = {
|
||||
|
|
|
|||
|
|
@ -425,13 +425,6 @@ religious_interaction.5 = {
|
|||
desc = religious_interaction.5.fallback
|
||||
}
|
||||
desc = religious_interaction.5.outro
|
||||
first_valid = {
|
||||
triggered_desc = {
|
||||
trigger = { scope:actor = scope:recipient } # If the Pope grants himself a Claim
|
||||
desc = religious_interaction.5.self
|
||||
}
|
||||
desc = religious_interaction.5.outro_different_recipient
|
||||
}
|
||||
}
|
||||
sender = {
|
||||
character = scope:recipient
|
||||
|
|
@ -808,19 +801,6 @@ religious_interaction.2002 = {
|
|||
else = {
|
||||
show_as_tooltip = { demand_conversion_vassal_ruler_interaction_effect = yes }
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
has_title = title:e_minister_of_rites
|
||||
}
|
||||
change_influence = {
|
||||
value = minor_influence_gain
|
||||
multiply = scope:recipient.primary_title.tier
|
||||
}
|
||||
add_piety = {
|
||||
value = minor_piety_gain
|
||||
multiply = scope:recipient.primary_title.tier
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
option = {
|
||||
|
|
@ -914,7 +894,7 @@ religious_interaction.2003 = {
|
|||
}
|
||||
scope:recipient = {
|
||||
add_opinion = {
|
||||
modifier = compelled_me_to_convert_opinion
|
||||
modifier = demanded_my_conversion_opinion
|
||||
target = root
|
||||
opinion = -10
|
||||
}
|
||||
|
|
@ -983,19 +963,6 @@ religious_interaction.2003 = {
|
|||
limit = {
|
||||
is_landless_adventurer = no
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
has_title = title:e_minister_of_rites
|
||||
top_liege.faith != scope:recipient.faith
|
||||
}
|
||||
top_liege = {
|
||||
add_opinion = {
|
||||
target = scope:recipient
|
||||
modifier = illegal_resisted_conversion_opinion
|
||||
years = 10
|
||||
}
|
||||
}
|
||||
}
|
||||
add_opinion = {
|
||||
target = scope:recipient
|
||||
modifier = illegal_resisted_conversion_opinion
|
||||
|
|
@ -1075,7 +1042,7 @@ religious_interaction.2011 = {
|
|||
}
|
||||
scope:recipient = {
|
||||
add_opinion = {
|
||||
modifier = compelled_me_to_convert_opinion
|
||||
modifier = demanded_my_conversion_opinion
|
||||
target = root
|
||||
opinion = -10
|
||||
}
|
||||
|
|
@ -1085,32 +1052,15 @@ religious_interaction.2011 = {
|
|||
#Accept
|
||||
option = {
|
||||
name = religious_interaction.2011.a
|
||||
|
||||
pay_treasury_or_gold = {
|
||||
pay_short_term_gold = {
|
||||
target = scope:recipient
|
||||
value = demand_conversion_bribe_size
|
||||
gold = demand_conversion_bribe_size
|
||||
}
|
||||
|
||||
demand_conversion_interaction_effect = yes
|
||||
|
||||
stress_impact = {
|
||||
greedy = medium_stress_impact_gain
|
||||
}
|
||||
|
||||
if = {
|
||||
limit = {
|
||||
has_title = title:e_minister_of_rites
|
||||
}
|
||||
change_influence = {
|
||||
value = minor_influence_gain
|
||||
multiply = scope:recipient.primary_title.tier
|
||||
}
|
||||
add_piety = {
|
||||
value = minor_piety_gain
|
||||
multiply = scope:recipient.primary_title.tier
|
||||
}
|
||||
}
|
||||
|
||||
ai_chance = {
|
||||
base = 100
|
||||
ai_value_modifier = {
|
||||
|
|
@ -1122,7 +1072,6 @@ religious_interaction.2011 = {
|
|||
OR = {
|
||||
has_trait = greedy
|
||||
short_term_gold <= major_gold_value
|
||||
short_term_treasury <= major_treasury_value
|
||||
has_variable = conqueror
|
||||
ai_should_focus_on_building_in_their_capital = yes
|
||||
}
|
||||
|
|
@ -1140,19 +1089,6 @@ religious_interaction.2011 = {
|
|||
CHARACTER = scope:recipient
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
has_title = title:e_minister_of_rites
|
||||
top_liege.faith != scope:recipient.faith
|
||||
}
|
||||
top_liege = {
|
||||
add_opinion = {
|
||||
target = scope:recipient
|
||||
modifier = illegal_resisted_conversion_opinion
|
||||
years = 15
|
||||
}
|
||||
}
|
||||
}
|
||||
add_opinion = {
|
||||
target = scope:recipient
|
||||
modifier = illegal_resisted_conversion_opinion
|
||||
|
|
@ -1173,10 +1109,7 @@ religious_interaction.2011 = {
|
|||
base = 10
|
||||
modifier = {
|
||||
add = 100
|
||||
OR = {
|
||||
treasury < demand_conversion_bribe_size
|
||||
gold < demand_conversion_bribe_size
|
||||
}
|
||||
gold < demand_conversion_bribe_size
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1224,7 +1157,7 @@ religious_interaction.2012 = {
|
|||
}
|
||||
scope:recipient = {
|
||||
add_opinion = {
|
||||
modifier = compelled_me_to_convert_opinion
|
||||
modifier = demanded_my_conversion_opinion
|
||||
target = root
|
||||
opinion = -10
|
||||
}
|
||||
|
|
@ -1255,21 +1188,6 @@ religious_interaction.2012 = {
|
|||
stress_impact = {
|
||||
greedy = medium_stress_impact_gain
|
||||
}
|
||||
|
||||
if = {
|
||||
limit = {
|
||||
has_title = title:e_minister_of_rites
|
||||
}
|
||||
change_influence = {
|
||||
value = minor_influence_gain
|
||||
multiply = scope:recipient.primary_title.tier
|
||||
}
|
||||
add_piety = {
|
||||
value = minor_piety_gain
|
||||
multiply = scope:recipient.primary_title.tier
|
||||
}
|
||||
}
|
||||
|
||||
ai_chance = {
|
||||
base = 100
|
||||
}
|
||||
|
|
@ -1285,19 +1203,6 @@ religious_interaction.2012 = {
|
|||
CHARACTER = scope:recipient
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
has_title = title:e_minister_of_rites
|
||||
top_liege.faith != scope:recipient.faith
|
||||
}
|
||||
top_liege = {
|
||||
add_opinion = {
|
||||
target = scope:recipient
|
||||
modifier = illegal_resisted_conversion_opinion
|
||||
years = 15
|
||||
}
|
||||
}
|
||||
}
|
||||
add_opinion = {
|
||||
target = scope:recipient
|
||||
modifier = illegal_resisted_conversion_opinion
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue