parent
15a5108e23
commit
c4b6d9bdeb
250 changed files with 11067 additions and 16365 deletions
|
|
@ -4128,8 +4128,10 @@ scripted_trigger ach_coronation_0016_eligible_artifact = {
|
|||
NOR = {
|
||||
artifact_slot_type = helmet
|
||||
artifact_slot_type = regalia
|
||||
has_variable = banner_house
|
||||
has_variable = banner_dynasty
|
||||
has_variable = 1025_treasure_map
|
||||
}
|
||||
artifact_can_be_gift_to_trigger = { RECIPIENT = scope:host }
|
||||
artifact_durability > 10
|
||||
}
|
||||
|
||||
|
|
@ -4340,7 +4342,6 @@ ach_coronation.0016 = {
|
|||
}
|
||||
}
|
||||
ordered_character_artifact = { # Try and give away the worst one first
|
||||
limit = { artifact_can_be_gift_to_trigger = { RECIPIENT = scope:host } }
|
||||
order_by = {
|
||||
value = 1
|
||||
if = {
|
||||
|
|
@ -5370,7 +5371,6 @@ scripted_trigger ach_coronation_0018_eligible_family_member_trigger = {
|
|||
scripted_trigger ach_coronation_0018_grantable_title_trigger = {
|
||||
tier = tier_county
|
||||
this != scope:host.capital_county
|
||||
is_landless_type_title = no
|
||||
}
|
||||
|
||||
scripted_effect ach_coronation_0018_choose_title_effect = {
|
||||
|
|
@ -6356,13 +6356,6 @@ ach_coronation.0020 = {
|
|||
|
||||
trigger = {
|
||||
involved_activity = {
|
||||
activity_host = {
|
||||
any_held_title = {
|
||||
tier = tier_county
|
||||
this != prev.capital_county
|
||||
is_landless_type_title = no
|
||||
}
|
||||
}
|
||||
any_attending_character = {
|
||||
ach_coronation_0018_eligible_family_member_trigger = yes
|
||||
}
|
||||
|
|
@ -6715,9 +6708,11 @@ ach_coronation.0022 = {
|
|||
# Ongoing plague
|
||||
any_sub_realm_county = {
|
||||
count >= 3
|
||||
any_county_province_epidemic = {
|
||||
count >= 1
|
||||
outbreak_intensity > minor
|
||||
any_county_province = {
|
||||
any_province_epidemic = {
|
||||
count >= 1
|
||||
outbreak_intensity > minor
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -6743,9 +6738,11 @@ ach_coronation.0022 = {
|
|||
# Ongoing plague
|
||||
any_sub_realm_county = {
|
||||
count >= 10
|
||||
any_county_province_epidemic = {
|
||||
count >= 1
|
||||
outbreak_intensity > minor
|
||||
any_county_province = {
|
||||
any_province_epidemic = {
|
||||
count >= 1
|
||||
outbreak_intensity > minor
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -6758,9 +6755,11 @@ ach_coronation.0022 = {
|
|||
# Ongoing plague
|
||||
any_sub_realm_county = {
|
||||
count >= 3
|
||||
any_county_province_epidemic = {
|
||||
count >= 1
|
||||
outbreak_intensity > major
|
||||
any_county_province = {
|
||||
any_province_epidemic = {
|
||||
count >= 1
|
||||
outbreak_intensity > major
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -6789,9 +6788,11 @@ ach_coronation.0022 = {
|
|||
limit = {
|
||||
any_sub_realm_county = {
|
||||
count >= 4
|
||||
any_county_province_epidemic = {
|
||||
count >= 1
|
||||
outbreak_intensity = apocalyptic
|
||||
any_county_province = {
|
||||
any_province_epidemic = {
|
||||
count >= 1
|
||||
outbreak_intensity = apocalyptic
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -6912,6 +6913,7 @@ ach_coronation.0022 = {
|
|||
}
|
||||
}
|
||||
}
|
||||
custom_tooltip = available_because_intent_tt
|
||||
flavor = ach_coronation.0022.a.coronation_disrupt_loyalists.flavor
|
||||
reason = activity_intent
|
||||
skill = diplomacy
|
||||
|
|
@ -7020,7 +7022,7 @@ ach_coronation.0022 = {
|
|||
option = { # It's not our goodly Host's fault!
|
||||
name = ach_coronation.0022.a.offer_support
|
||||
trigger = { has_activity_intent = coronation_offer_support }
|
||||
reason = activity_intent
|
||||
custom_tooltip = available_because_intent_tt
|
||||
flavor = ach_coronation.0022.a.offer_support.flavor
|
||||
|
||||
add_piety = medium_piety_loss
|
||||
|
|
|
|||
|
|
@ -684,7 +684,7 @@ ach_maintenance_events.0105 = { #Host excommunicated, notify guests
|
|||
}
|
||||
|
||||
immediate = {
|
||||
scope:host.faith.religious_head = { save_scope_as = hof }
|
||||
faith.religious_head = { save_scope_as = hof }
|
||||
}
|
||||
|
||||
option = {
|
||||
|
|
@ -710,7 +710,7 @@ ach_maintenance_events.0106 = { #Host excommunicated, notify host
|
|||
}
|
||||
|
||||
immediate = {
|
||||
scope:hof.faith.religious_head = { save_scope_as = hof }
|
||||
faith.religious_head = { save_scope_as = hof }
|
||||
}
|
||||
|
||||
option = {
|
||||
|
|
|
|||
|
|
@ -5791,6 +5791,7 @@ bp3_journey.2200 = {
|
|||
is_available_healthy_ai_adult = yes
|
||||
bodyguard_validity_trigger = { EMPLOYER = root }
|
||||
}
|
||||
is_valid_to_hire_court_position_type = master_of_spoils_camp_officer
|
||||
}
|
||||
random_pool_character = {
|
||||
province = scope:location
|
||||
|
|
|
|||
|
|
@ -202,13 +202,16 @@ bp3_survey.0010 = {
|
|||
scope:inspection_location = {
|
||||
random_neighboring_county = {
|
||||
limit = {
|
||||
holder = {
|
||||
NOR = {
|
||||
is_vassal_or_below_of = root
|
||||
this = root
|
||||
exists = holder
|
||||
holder.top_liege = root.location.county.holder.top_liege
|
||||
NOT = {
|
||||
holder = {
|
||||
OR = {
|
||||
is_vassal_of = root
|
||||
this = root
|
||||
}
|
||||
}
|
||||
}
|
||||
holder.top_liege = root.location.county.holder.top_liege
|
||||
}
|
||||
save_scope_as = claim_location
|
||||
}
|
||||
|
|
@ -283,8 +286,7 @@ bp3_survey.0010 = {
|
|||
}
|
||||
}
|
||||
}
|
||||
else_if = { # Not focused on Claims
|
||||
limit = { exists = scope:claim_location }
|
||||
else = { # Not focused on Claims
|
||||
scope:claim_location.duchy = {
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -683,35 +685,35 @@ bp3_survey.0010 = {
|
|||
value = major_merit_gain
|
||||
house ?= {
|
||||
if = {
|
||||
limit = { has_house_aspiration_parameter = inspection_activity_merit_bonus_5 }
|
||||
limit = { has_house_power_parameter = inspection_activity_merit_bonus_5 }
|
||||
multiply = {
|
||||
value = 1
|
||||
add = inspection_activity_merit_bonus_5_value
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = { has_house_aspiration_parameter = inspection_activity_merit_bonus_4 }
|
||||
limit = { has_house_power_parameter = inspection_activity_merit_bonus_4 }
|
||||
multiply = {
|
||||
value = 1
|
||||
add = inspection_activity_merit_bonus_4_value
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = { has_house_aspiration_parameter = inspection_activity_merit_bonus_3 }
|
||||
limit = { has_house_power_parameter = inspection_activity_merit_bonus_3 }
|
||||
multiply = {
|
||||
value = 1
|
||||
add = inspection_activity_merit_bonus_3_value
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = { has_house_aspiration_parameter = inspection_activity_merit_bonus_2 }
|
||||
limit = { has_house_power_parameter = inspection_activity_merit_bonus_2 }
|
||||
multiply = {
|
||||
value = 1
|
||||
add = inspection_activity_merit_bonus_2_value
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = { has_house_aspiration_parameter = inspection_activity_merit_bonus_1 }
|
||||
limit = { has_house_power_parameter = inspection_activity_merit_bonus_1 }
|
||||
multiply = {
|
||||
value = 1
|
||||
add = inspection_activity_merit_bonus_1_value
|
||||
|
|
@ -727,7 +729,7 @@ bp3_survey.0010 = {
|
|||
# If you have the governance aspiration, you gain some gold and a higher salary
|
||||
if = {
|
||||
limit = {
|
||||
house ?= { has_house_aspiration_parameter = inspection_activity_increases_salary }
|
||||
house ?= { has_house_power_parameter = inspection_activity_increases_salary }
|
||||
}
|
||||
scope:activity = {
|
||||
add_activity_log_entry = {
|
||||
|
|
@ -850,35 +852,35 @@ bp3_survey.0010 = {
|
|||
value = minor_merit_gain
|
||||
house ?= {
|
||||
if = {
|
||||
limit = { has_house_aspiration_parameter = inspection_activity_merit_bonus_5 }
|
||||
limit = { has_house_power_parameter = inspection_activity_merit_bonus_5 }
|
||||
multiply = {
|
||||
value = 1
|
||||
add = inspection_activity_merit_bonus_5_value
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = { has_house_aspiration_parameter = inspection_activity_merit_bonus_4 }
|
||||
limit = { has_house_power_parameter = inspection_activity_merit_bonus_4 }
|
||||
multiply = {
|
||||
value = 1
|
||||
add = inspection_activity_merit_bonus_4_value
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = { has_house_aspiration_parameter = inspection_activity_merit_bonus_3 }
|
||||
limit = { has_house_power_parameter = inspection_activity_merit_bonus_3 }
|
||||
multiply = {
|
||||
value = 1
|
||||
add = inspection_activity_merit_bonus_3_value
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = { has_house_aspiration_parameter = inspection_activity_merit_bonus_2 }
|
||||
limit = { has_house_power_parameter = inspection_activity_merit_bonus_2 }
|
||||
multiply = {
|
||||
value = 1
|
||||
add = inspection_activity_merit_bonus_2_value
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = { has_house_aspiration_parameter = inspection_activity_merit_bonus_1 }
|
||||
limit = { has_house_power_parameter = inspection_activity_merit_bonus_1 }
|
||||
multiply = {
|
||||
value = 1
|
||||
add = inspection_activity_merit_bonus_1_value
|
||||
|
|
@ -894,7 +896,7 @@ bp3_survey.0010 = {
|
|||
# If you have the governance aspiration, you gain some gold and a higher salary - but less than if you were successful
|
||||
if = {
|
||||
limit = {
|
||||
house ?= { has_house_aspiration_parameter = inspection_activity_increases_salary }
|
||||
house ?= { has_house_power_parameter = inspection_activity_increases_salary }
|
||||
}
|
||||
scope:activity = {
|
||||
add_activity_log_entry = {
|
||||
|
|
|
|||
|
|
@ -90,16 +90,6 @@ epidemic_events.0100 = {
|
|||
title = epidemic_events.0100.t
|
||||
desc = epidemic_events.0100.desc
|
||||
theme = plague
|
||||
override_background = {
|
||||
trigger = {
|
||||
NOT = {
|
||||
capital_county = {
|
||||
has_province_with_epidemic = { intensity = any }
|
||||
}
|
||||
}
|
||||
}
|
||||
reference = tavern
|
||||
}
|
||||
left_portrait = {
|
||||
character = root
|
||||
animation = fear
|
||||
|
|
@ -120,16 +110,6 @@ epidemic_events.0101 = {
|
|||
title = epidemic_events.0101.t
|
||||
desc = epidemic_events.0101.desc
|
||||
theme = plague
|
||||
override_background = {
|
||||
trigger = {
|
||||
NOT = {
|
||||
capital_county = {
|
||||
has_province_with_epidemic = { intensity = any }
|
||||
}
|
||||
}
|
||||
}
|
||||
reference = courtyard
|
||||
}
|
||||
left_portrait = {
|
||||
character = root
|
||||
animation = personality_content
|
||||
|
|
@ -1853,7 +1833,7 @@ epidemic_events.1060 = {
|
|||
20 = {
|
||||
trigger = {
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = {
|
||||
TRAIT = trait:witch
|
||||
TRAIT = witch
|
||||
FAITH = root.faith
|
||||
GENDER_CHARACTER = root
|
||||
}
|
||||
|
|
@ -2534,7 +2514,7 @@ epidemic_events.1063 = {
|
|||
AND = {
|
||||
is_witch_trigger = yes
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = {
|
||||
TRAIT = trait:witch
|
||||
TRAIT = witch
|
||||
FAITH = root.faith
|
||||
GENDER_CHARACTER = root
|
||||
}
|
||||
|
|
@ -2542,7 +2522,7 @@ epidemic_events.1063 = {
|
|||
AND = {
|
||||
is_incestuous_trigger = yes
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = {
|
||||
TRAIT = trait:incestuous
|
||||
TRAIT = incestuous
|
||||
FAITH = root.faith
|
||||
GENDER_CHARACTER = root
|
||||
}
|
||||
|
|
@ -6739,7 +6719,7 @@ epidemic_events.5007 = {
|
|||
trigger = {
|
||||
is_available = yes
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = {
|
||||
TRAIT = trait:witch
|
||||
TRAIT = witch
|
||||
FAITH = root.faith
|
||||
GENDER_CHARACTER = root
|
||||
}
|
||||
|
|
@ -6780,7 +6760,7 @@ epidemic_events.5007 = {
|
|||
is_available_healthy_ai_adult = yes
|
||||
is_ai = yes
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = {
|
||||
TRAIT = trait:witch
|
||||
TRAIT = witch
|
||||
FAITH = this.faith
|
||||
GENDER_CHARACTER = this
|
||||
}
|
||||
|
|
|
|||
|
|
@ -473,95 +473,13 @@ legend_events.0010 = {
|
|||
character = root
|
||||
animation = personality_honorable
|
||||
}
|
||||
right_portrait = {
|
||||
center_portrait = {
|
||||
character = scope:chronicler
|
||||
animation = chancellor
|
||||
}
|
||||
lower_center_portrait = scope:potential_promoter
|
||||
|
||||
trigger = {
|
||||
OR = {
|
||||
scope:chronicler ?= {
|
||||
is_alive = yes
|
||||
has_court_position = chronicler_court_position
|
||||
employer = root
|
||||
}
|
||||
employs_court_position = chronicler_court_position
|
||||
}
|
||||
OR = {
|
||||
# Vassals
|
||||
any_vassal_or_below = {
|
||||
# No barons
|
||||
highest_held_title_tier >= tier_county
|
||||
# Not promoting their own legend
|
||||
promoted_legend.legend_owner != root
|
||||
promoted_legend != scope:liege.promoted_legend
|
||||
is_ai = yes
|
||||
}
|
||||
# Neighbourinos
|
||||
any_neighboring_and_across_water_top_liege_realm_owner = {
|
||||
# Not promoting their own legend
|
||||
promoted_legend.legend_owner != root
|
||||
promoted_legend != scope:liege.promoted_legend
|
||||
is_ai = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
immediate = {
|
||||
if = {
|
||||
limit = {
|
||||
NOT = {
|
||||
scope:chronicler ?= {
|
||||
is_alive = yes
|
||||
has_court_position = chronicler_court_position
|
||||
employer = root
|
||||
}
|
||||
}
|
||||
}
|
||||
court_position:chronicler_court_position ?= { save_scope_as = chronicler }
|
||||
}
|
||||
random_list = {
|
||||
# Vassals
|
||||
75 = {
|
||||
trigger = {
|
||||
any_vassal_or_below = {
|
||||
highest_held_title_tier >= tier_county
|
||||
promoted_legend.legend_owner != root
|
||||
promoted_legend != scope:liege.promoted_legend
|
||||
is_ai = yes
|
||||
}
|
||||
}
|
||||
random_vassal_or_below = {
|
||||
limit = {
|
||||
highest_held_title_tier >= tier_county
|
||||
promoted_legend.legend_owner != root
|
||||
promoted_legend != scope:liege.promoted_legend
|
||||
is_ai = yes
|
||||
}
|
||||
save_scope_as = potential_promoter
|
||||
}
|
||||
}
|
||||
# Neighbourinos
|
||||
25 = {
|
||||
trigger = {
|
||||
any_neighboring_and_across_water_top_liege_realm_owner = {
|
||||
promoted_legend.legend_owner != root
|
||||
promoted_legend != scope:liege.promoted_legend
|
||||
is_ai = yes
|
||||
}
|
||||
}
|
||||
random_neighboring_and_across_water_top_liege_realm_owner = {
|
||||
limit = {
|
||||
promoted_legend.legend_owner != root
|
||||
promoted_legend != scope:liege.promoted_legend
|
||||
is_ai = yes
|
||||
}
|
||||
save_scope_as = potential_promoter
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
right_portrait = {
|
||||
character = scope:potential_promoter
|
||||
animation = chancellor
|
||||
}
|
||||
|
||||
option = { # Diplo duel option
|
||||
|
|
@ -579,10 +497,8 @@ legend_events.0010 = {
|
|||
scope:potential_promoter = { exists = promoted_legend }
|
||||
factor = 0.5
|
||||
}
|
||||
min = 10
|
||||
send_interface_toast = {
|
||||
title = legend_events.0010.a.success
|
||||
right_icon = scope:potential_promoter
|
||||
scope:potential_promoter = {
|
||||
set_promoted_legend = root.promoted_legend
|
||||
}
|
||||
|
|
@ -598,10 +514,8 @@ legend_events.0010 = {
|
|||
scope:potential_promoter = { exists = promoted_legend }
|
||||
factor = 2
|
||||
}
|
||||
min = 10
|
||||
send_interface_toast = {
|
||||
title = legend_events.0010.a.failure
|
||||
right_icon = scope:potential_promoter
|
||||
add_prestige = minor_prestige_loss
|
||||
}
|
||||
}
|
||||
|
|
@ -630,10 +544,8 @@ legend_events.0010 = {
|
|||
scope:potential_promoter = { exists = promoted_legend }
|
||||
factor = 0.5
|
||||
}
|
||||
min = 10
|
||||
send_interface_toast = {
|
||||
title = legend_events.0010.a.success
|
||||
right_icon = scope:potential_promoter
|
||||
scope:potential_promoter = {
|
||||
set_promoted_legend = root.promoted_legend
|
||||
}
|
||||
|
|
@ -649,10 +561,8 @@ legend_events.0010 = {
|
|||
scope:potential_promoter = { exists = promoted_legend }
|
||||
factor = 2
|
||||
}
|
||||
min = 10
|
||||
send_interface_toast = {
|
||||
title = legend_events.0010.a.failure
|
||||
right_icon = scope:potential_promoter
|
||||
add_prestige = minor_prestige_loss
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4460,7 +4460,7 @@ legend_spread_events.5230 = {
|
|||
}
|
||||
# Just to ensure people are actually freaked out by this
|
||||
trait_is_shunned_or_criminal_in_my_or_lieges_faith_trigger = {
|
||||
TRAIT = trait:cannibal
|
||||
TRAIT = cannibal
|
||||
GENDER_CHARACTER = root
|
||||
}
|
||||
}
|
||||
|
|
@ -6307,8 +6307,10 @@ legend_spread_events.5320 = {
|
|||
|
||||
random_character_artifact = {
|
||||
limit = {
|
||||
artifact_can_be_gift_to_trigger = { RECIPIENT = scope:vassal }
|
||||
NOR = {
|
||||
#Ensure it's not trash
|
||||
has_variable = unwanted_artifact
|
||||
|
||||
#And doesn't have a claim on it
|
||||
any_artifact_claimant = {
|
||||
is_alive = no
|
||||
|
|
|
|||
|
|
@ -1248,8 +1248,6 @@ physician_epidemic_events.1050 = {
|
|||
character = scope:enemy
|
||||
}
|
||||
|
||||
cooldown = { years = 20 }
|
||||
|
||||
trigger = {
|
||||
is_at_war = yes
|
||||
exists = court_position:court_physician_court_position
|
||||
|
|
|
|||
|
|
@ -114,7 +114,7 @@ court_position.9001 = {
|
|||
# FOR TARGET: Food taster dies to poison
|
||||
court_position.9002 = {
|
||||
type = character_event
|
||||
window = scheme_conclusion_event_no_header
|
||||
window = scheme_target_event
|
||||
title = court_position.9001.t
|
||||
desc = {
|
||||
desc = court_position.9002.desc
|
||||
|
|
@ -291,7 +291,7 @@ court_position.9011 = {
|
|||
# FOR TARGET: Cup-bearer dies to poison
|
||||
court_position.9012 = {
|
||||
type = character_event
|
||||
window = scheme_conclusion_event_no_header
|
||||
window = scheme_target_event
|
||||
title = court_position.9011.t
|
||||
desc = {
|
||||
desc = court_position.9012.desc
|
||||
|
|
@ -472,7 +472,7 @@ court_position.9021 = {
|
|||
# FOR TARGET: Bodyguard dies to assassin
|
||||
court_position.9022 = {
|
||||
type = character_event
|
||||
window = scheme_conclusion_event_no_header
|
||||
window = scheme_target_event
|
||||
title = court_position.9021.t
|
||||
desc = {
|
||||
desc = court_position.9022.desc
|
||||
|
|
|
|||
|
|
@ -186,7 +186,7 @@ scripted_effect ep1_flavour_0001_reveal_secret_child_effect = {
|
|||
# Then, do the actual reveal.
|
||||
## First the effects of the extra-marital sex.
|
||||
### We regard this as the same as cheating actively for simplicity and the sake of the scale of the lie.
|
||||
extramarital_sex_exposure_consequences_with_had_recent_sex_var_effect = { SPOUSE_EVENT = no }
|
||||
extramaritial_sex_exposure_consequences_with_had_recent_sex_var_effect = { SPOUSE_EVENT = no }
|
||||
# Finally, deal with scope:scion_actual's transformation.
|
||||
scope:scion_actual = {
|
||||
# Then make scope:scion_actual a bastard.
|
||||
|
|
@ -253,7 +253,6 @@ ep1_flavor.0001 = {
|
|||
cooldown = { years = 100 }
|
||||
|
||||
trigger = {
|
||||
is_ai = no
|
||||
# Standard checks.
|
||||
has_royal_court = yes
|
||||
has_dlc_feature = royal_court
|
||||
|
|
|
|||
|
|
@ -1033,16 +1033,6 @@ scripted_trigger fund_inspiration_0031_title_based_option_trigger = {
|
|||
global_var:flag_created_siam_kingdom = root
|
||||
NOT = { exists = scope:book_topic_creation }
|
||||
}
|
||||
AND = {
|
||||
exists = global_var:flag_created_brunei_kingdom
|
||||
global_var:flag_created_brunei_kingdom = root
|
||||
NOT = { exists = scope:book_topic_creation }
|
||||
}
|
||||
AND = {
|
||||
exists = global_var:flag_created_brunei_empire
|
||||
global_var:flag_created_brunei_empire = root
|
||||
NOT = { exists = scope:book_topic_creation }
|
||||
}
|
||||
AND = {
|
||||
exists = global_var:flag_formed_rum_sultanate
|
||||
global_var:flag_formed_rum_sultanate = root
|
||||
|
|
@ -2392,7 +2382,7 @@ fund_inspiration.0031 = {
|
|||
if = {
|
||||
limit = {
|
||||
NOT = { is_witch_trigger = yes }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:witch FAITH = root.faith GENDER_CHARACTER = root }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = witch FAITH = root.faith GENDER_CHARACTER = root }
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -2499,19 +2489,19 @@ fund_inspiration.0031 = {
|
|||
add = -70
|
||||
exists = scope:lifestyle_option_witch
|
||||
NOT = { has_trait = witch }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:witch FAITH = root.faith GENDER_CHARACTER = root }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = witch FAITH = root.faith GENDER_CHARACTER = root }
|
||||
}
|
||||
modifier = { # If it's hidden secrets it's rare that they write about it
|
||||
add = -70
|
||||
exists = scope:lifestyle_option_deviant
|
||||
NOT = { has_trait = deviant }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:deviant FAITH = root.faith GENDER_CHARACTER = root }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = deviant FAITH = root.faith GENDER_CHARACTER = root }
|
||||
}
|
||||
modifier = { # If it's hidden secrets it's rare that they write about it
|
||||
add = -70
|
||||
exists = scope:lifestyle_option_cannibal
|
||||
NOT = { has_trait = cannibal }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:cannibal FAITH = root.faith GENDER_CHARACTER = root }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = cannibal FAITH = root.faith GENDER_CHARACTER = root }
|
||||
}
|
||||
modifier = { #However, the might if they're arrogant
|
||||
add = 50
|
||||
|
|
@ -3596,7 +3586,11 @@ fund_inspiration.0043 = {
|
|||
}
|
||||
NOR = {
|
||||
any_artifact = {
|
||||
var:banner_dynasty ?= root.dynasty
|
||||
trigger_if = {
|
||||
limit = { exists = var:banner_dynasty }
|
||||
var:banner_dynasty = root.dynasty
|
||||
}
|
||||
trigger_else = { always = no }
|
||||
OR = {
|
||||
artifact_owner = root
|
||||
artifact_owner = { in_diplomatic_range = root }
|
||||
|
|
@ -6817,15 +6811,15 @@ fund_inspiration.1031 = {
|
|||
OR = {
|
||||
AND = {
|
||||
scope:newly_created_artifact = { has_artifact_feature = book_subject_witch }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:witch FAITH = root.faith GENDER_CHARACTER = root }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = witch FAITH = root.faith GENDER_CHARACTER = root }
|
||||
}
|
||||
AND = {
|
||||
scope:newly_created_artifact = { has_artifact_feature = book_subject_cannibal }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:cannibal FAITH = root.faith GENDER_CHARACTER = root }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = cannibal FAITH = root.faith GENDER_CHARACTER = root }
|
||||
}
|
||||
AND = {
|
||||
scope:newly_created_artifact = { has_artifact_feature = book_subject_deviant }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:deviant FAITH = root.faith GENDER_CHARACTER = root }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = deviant FAITH = root.faith GENDER_CHARACTER = root }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -15008,7 +15002,7 @@ scripted_trigger fund_inspiration_3001_witch_topic_trigger = {
|
|||
exists = scope:inspiration_owner.var:book_subject
|
||||
scope:inspiration_owner.var:book_subject = flag:witch
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = {
|
||||
TRAIT = trait:witch
|
||||
TRAIT = witch
|
||||
GENDER_CHARACTER = root
|
||||
FAITH = root.faith
|
||||
}
|
||||
|
|
@ -15017,7 +15011,7 @@ scripted_trigger fund_inspiration_3001_cannibal_topic_trigger = {
|
|||
exists = scope:inspiration_owner.var:book_subject
|
||||
scope:inspiration_owner.var:book_subject = flag:cannibal
|
||||
trait_is_criminal_in_faith_trigger = {
|
||||
TRAIT = trait:cannibal
|
||||
TRAIT = cannibal
|
||||
GENDER_CHARACTER = root
|
||||
FAITH = root.faith
|
||||
}
|
||||
|
|
@ -15026,7 +15020,7 @@ scripted_trigger fund_inspiration_3001_deviant_topic_trigger = {
|
|||
exists = scope:inspiration_owner.var:book_subject
|
||||
scope:inspiration_owner.var:book_subject = flag:deviant
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = {
|
||||
TRAIT = trait:deviant
|
||||
TRAIT = deviant
|
||||
GENDER_CHARACTER = root
|
||||
FAITH = root.faith
|
||||
}
|
||||
|
|
@ -18433,8 +18427,8 @@ scripted_trigger homosexual_poet_trigger = {
|
|||
has_sexuality = bisexual
|
||||
}
|
||||
OR = {
|
||||
trait_is_shunned_in_faith_trigger = { TRAIT = trait:sodomite FAITH = root.faith GENDER_CHARACTER = scope:inspiration_owner }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:sodomite FAITH = root.faith GENDER_CHARACTER = scope:inspiration_owner }
|
||||
trait_is_shunned_in_faith_trigger = { TRAIT = sodomite FAITH = root.faith GENDER_CHARACTER = scope:inspiration_owner }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = sodomite FAITH = root.faith GENDER_CHARACTER = scope:inspiration_owner }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -18754,7 +18748,7 @@ fund_inspiration.6301 = {
|
|||
}
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:sodomite FAITH = root.faith GENDER_CHARACTER = scope:inspiration_owner }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = sodomite FAITH = root.faith GENDER_CHARACTER = scope:inspiration_owner }
|
||||
}
|
||||
desc = fund_inspiration.6301.crime_desc
|
||||
}
|
||||
|
|
@ -19904,7 +19898,7 @@ fund_inspiration.6513 = {
|
|||
if = {
|
||||
limit = {
|
||||
sex_same_as = scope:adventurer_lover
|
||||
trait_is_shunned_or_criminal_in_my_or_lieges_faith_trigger = { TRAIT = trait:sodomite GENDER_CHARACTER = scope:inspiration_owner }
|
||||
trait_is_shunned_or_criminal_in_my_or_lieges_faith_trigger = { TRAIT = sodomite GENDER_CHARACTER = scope:inspiration_owner }
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -19925,7 +19919,7 @@ fund_inspiration.6513 = {
|
|||
if = {
|
||||
limit = {
|
||||
sex_same_as = scope:inspiration_owner
|
||||
trait_is_shunned_or_criminal_in_my_or_lieges_faith_trigger = { TRAIT = trait:sodomite GENDER_CHARACTER = scope:adventurer_lover }
|
||||
trait_is_shunned_or_criminal_in_my_or_lieges_faith_trigger = { TRAIT = sodomite GENDER_CHARACTER = scope:adventurer_lover }
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@
|
|||
|
||||
scripted_trigger ep2_accolade_events_0100_hunting_knight_trigger = {
|
||||
accolade ?= {
|
||||
is_accolade_active = yes
|
||||
has_accolade_parameter = acclaimed_knight_trains_hunting
|
||||
}
|
||||
is_healthy = yes
|
||||
|
|
@ -244,6 +245,7 @@ ep2_accolade_events.0100 = {
|
|||
|
||||
scripted_trigger ep2_accolade_events_0200_blademaster_knight_trigger = {
|
||||
accolade ?= {
|
||||
is_accolade_active = yes
|
||||
has_accolade_parameter = acclaimed_knight_trains_swordfighting
|
||||
}
|
||||
is_healthy = yes
|
||||
|
|
@ -941,6 +943,7 @@ ep2_accolade_events.0200 = {
|
|||
|
||||
scripted_trigger ep2_accolade_events_0300_reveler_knight_trigger = {
|
||||
accolade ?= {
|
||||
is_accolade_active = yes
|
||||
has_accolade_parameter = acclaimed_knight_trains_reveling
|
||||
}
|
||||
is_healthy = yes
|
||||
|
|
@ -1164,7 +1167,7 @@ ep2_accolade_events.0300 = {
|
|||
culture = {
|
||||
OR = {
|
||||
has_cultural_tradition = tradition_festivities
|
||||
has_cultural_tradition = tradition_welcoming
|
||||
has_cultural_tradition = tradition_esteemed_hospitality
|
||||
}
|
||||
}
|
||||
faith = {
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -50,11 +50,7 @@ ep2_wedding.0101 = {
|
|||
text = ep2_wedding.0101.a_lowborn
|
||||
}
|
||||
custom_tooltip = ep2_wedding.0101.a.tt
|
||||
set_variable = {
|
||||
name = bloody_wedding_murder
|
||||
value = flag:family
|
||||
years = 1
|
||||
}
|
||||
set_variable = bloody_wedding_murder_family_var
|
||||
ai_chance = {
|
||||
base = 100
|
||||
modifier = {
|
||||
|
|
@ -86,12 +82,8 @@ ep2_wedding.0101 = {
|
|||
option = { #kill only the spouse
|
||||
name = ep2_wedding.0101.b
|
||||
custom_tooltip = ep2_wedding.0101.a.tt
|
||||
set_variable = {
|
||||
name = bloody_wedding_murder
|
||||
value = flag:solo
|
||||
years = 1
|
||||
}
|
||||
ai_chance = {
|
||||
set_variable = bloody_wedding_murder_solo_var
|
||||
ai_chance = {
|
||||
base = 100
|
||||
modifier = {
|
||||
OR = {
|
||||
|
|
@ -121,12 +113,8 @@ ep2_wedding.0101 = {
|
|||
}
|
||||
}
|
||||
}
|
||||
set_variable = {
|
||||
name = bloody_wedding_murder
|
||||
value = flag:spouse
|
||||
years = 1
|
||||
}
|
||||
ai_chance = {
|
||||
set_variable = bloody_wedding_murder_spouse_var
|
||||
ai_chance = {
|
||||
base = 100
|
||||
modifier = {
|
||||
OR = {
|
||||
|
|
@ -315,7 +303,7 @@ ep2_wedding.0202 = {
|
|||
|
||||
trigger = {
|
||||
exists = scope:activity
|
||||
var:bloody_wedding_murder ?= flag:family
|
||||
has_variable = bloody_wedding_murder_family_var
|
||||
}
|
||||
|
||||
immediate = {
|
||||
|
|
@ -596,7 +584,7 @@ ep2_wedding.0203 = {
|
|||
|
||||
trigger = {
|
||||
exists = scope:activity
|
||||
var:bloody_wedding_murder ?= flag:solo
|
||||
has_variable = bloody_wedding_murder_solo_var
|
||||
}
|
||||
|
||||
immediate = {
|
||||
|
|
@ -983,19 +971,19 @@ ep2_wedding.0301 = {
|
|||
first_valid = {
|
||||
triggered_desc = { #Your mercenaries killed everyone
|
||||
trigger = {
|
||||
var:bloody_wedding_murder ?= flag:family
|
||||
has_variable = bloody_wedding_murder_family_var
|
||||
}
|
||||
desc = ep2_wedding.0301.desc.family
|
||||
}
|
||||
triggered_desc = { #Agent killed the spouse
|
||||
trigger = {
|
||||
var:bloody_wedding_murder ?= flag:solo
|
||||
has_variable = bloody_wedding_murder_solo_var
|
||||
}
|
||||
desc = ep2_wedding.0301.desc.agent
|
||||
}
|
||||
triggered_desc = { #Spouse died during the wedding night
|
||||
trigger = {
|
||||
var:bloody_wedding_murder ?= flag:spouse
|
||||
has_variable = bloody_wedding_murder_spouse_var
|
||||
}
|
||||
desc = ep2_wedding.0301.desc.wedding_night
|
||||
}
|
||||
|
|
@ -1004,7 +992,7 @@ ep2_wedding.0301 = {
|
|||
triggered_desc = { #You're the spouse - wedding night kill
|
||||
trigger = {
|
||||
scope:spouse_1 = root
|
||||
var:bloody_wedding_murder ?= flag:spouse
|
||||
has_variable = bloody_wedding_murder_spouse_var
|
||||
}
|
||||
desc = ep2_wedding.0301.spouse_wnight
|
||||
}
|
||||
|
|
@ -1124,19 +1112,19 @@ ep2_wedding.0302 = {
|
|||
first_valid = {
|
||||
triggered_desc = { #Host killed everyone
|
||||
trigger = {
|
||||
scope:host = { var:bloody_wedding_murder ?= flag:family }
|
||||
scope:host = { has_variable = bloody_wedding_murder_family_var }
|
||||
}
|
||||
desc = ep2_wedding.0302.desc.family
|
||||
}
|
||||
triggered_desc = { #Agent killed the spouse
|
||||
trigger = {
|
||||
scope:host = { var:bloody_wedding_murder ?= flag:solo }
|
||||
scope:host = { has_variable = bloody_wedding_murder_solo_var }
|
||||
}
|
||||
desc = ep2_wedding.0302.desc.agent
|
||||
}
|
||||
triggered_desc = { #Spouse died during the wedding night
|
||||
trigger = {
|
||||
scope:host = { var:bloody_wedding_murder ?= flag:spouse }
|
||||
scope:host = { has_variable = bloody_wedding_murder_spouse_var }
|
||||
}
|
||||
desc = ep2_wedding.0302.desc.wedding_night
|
||||
}
|
||||
|
|
@ -1197,7 +1185,7 @@ ep2_wedding.0302 = {
|
|||
scope:activity.var:spouse_2_var = { save_scope_as = spouse_2 }
|
||||
if = {
|
||||
limit = {
|
||||
scope:host = { var:bloody_wedding_murder ?= flag:family }
|
||||
scope:host = { has_variable = bloody_wedding_murder_family_var }
|
||||
}
|
||||
show_as_tooltip = {
|
||||
scope:activity = {
|
||||
|
|
@ -1220,8 +1208,8 @@ ep2_wedding.0302 = {
|
|||
limit = {
|
||||
scope:host = {
|
||||
OR = {
|
||||
var:bloody_wedding_murder ?= flag:solo
|
||||
var:bloody_wedding_murder ?= flag:spouse
|
||||
has_variable = bloody_wedding_murder_solo_var
|
||||
has_variable = bloody_wedding_murder_spouse_var
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1500,9 +1488,9 @@ ep2_wedding.0955 = {
|
|||
ep2_wedding.0958 = { #variable clean up - done in an event so they persist for the guests
|
||||
hidden = yes
|
||||
immediate = {
|
||||
remove_variable ?= bloody_wedding_murder
|
||||
remove_variable ?= bloody_wedding_backed_down_var
|
||||
remove_variable ?= bloody_murder_fail
|
||||
remove_variable ?= bloody_wedding_murder_family_var
|
||||
remove_variable ?= bloody_wedding_murder_solo_var
|
||||
remove_variable ?= bloody_wedding_murder_spouse_var
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1606,13 +1594,13 @@ ep2_wedding.0204 = {
|
|||
#we assume you're the spouse otherwise
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
scope:host = { var:bloody_wedding_murder ?= flag:family }
|
||||
scope:host = { has_variable = bloody_wedding_murder_family_var }
|
||||
}
|
||||
desc = ep2_wedding.0204.desc.family
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
scope:host = { var:bloody_wedding_murder ?= flag:solo }
|
||||
scope:host = { has_variable = bloody_wedding_murder_solo_var }
|
||||
}
|
||||
desc = ep2_wedding.0204.desc.solo
|
||||
}
|
||||
|
|
@ -1634,7 +1622,7 @@ ep2_wedding.0204 = {
|
|||
lower_center_portrait = {
|
||||
trigger = {
|
||||
root != scope:spouse_2
|
||||
NOT = { scope:host = { var:bloody_wedding_murder ?= flag:solo } }
|
||||
NOT = { scope:host = { has_variable = bloody_wedding_murder_solo_var } }
|
||||
}
|
||||
character = scope:spouse_2
|
||||
}
|
||||
|
|
@ -1642,7 +1630,7 @@ ep2_wedding.0204 = {
|
|||
trigger = {
|
||||
exists = scope:entourage_1
|
||||
root != scope:entourage_1
|
||||
NOT = { scope:host = { var:bloody_wedding_murder ?= flag:solo } }
|
||||
NOT = { scope:host = { has_variable = bloody_wedding_murder_solo_var } }
|
||||
}
|
||||
character = scope:entourage_1
|
||||
}
|
||||
|
|
@ -1650,7 +1638,7 @@ ep2_wedding.0204 = {
|
|||
trigger = {
|
||||
exists = scope:entourage_2
|
||||
root != scope:entourage_2
|
||||
NOT = { scope:host = { var:bloody_wedding_murder ?= flag:solo } }
|
||||
NOT = { scope:host = { has_variable = bloody_wedding_murder_solo_var } }
|
||||
}
|
||||
character = scope:entourage_2
|
||||
}
|
||||
|
|
|
|||
|
|
@ -85,113 +85,43 @@ ep2_wedding.0001 = {
|
|||
lower_center_portrait = scope:spouse_2
|
||||
|
||||
trigger = {
|
||||
var:promised_grand_wedding_marriage_countdown ?= {
|
||||
is_alive = yes
|
||||
is_available_allow_travelling = yes
|
||||
age >= 19
|
||||
save_temporary_scope_as = spouse_1
|
||||
betrothed = {
|
||||
is_alive = yes
|
||||
is_available_allow_travelling = yes
|
||||
age >= 19
|
||||
can_marry_character_trigger = { CHARACTER = scope:spouse_1 }
|
||||
}
|
||||
}
|
||||
exists = var:promised_grand_wedding_marriage_countdown
|
||||
has_variable = promised_grand_wedding_marriage_countdown
|
||||
var:promised_grand_wedding_marriage_countdown = { is_alive = yes }
|
||||
exists = var:promised_grand_wedding_marriage_countdown.betrothed
|
||||
NOT = {
|
||||
involved_activity ?= {
|
||||
has_activity_type = activity_wedding
|
||||
activity_host = root
|
||||
}
|
||||
}
|
||||
var:promised_grand_wedding_marriage_countdown = { age >= 19 }
|
||||
var:promised_grand_wedding_marriage_countdown.betrothed = { age >= 19 }
|
||||
}
|
||||
|
||||
# This event shouldn't trigger unless the spouses have been adult and marriable for at least 3 years in any case, but to prevent edge cases, we check that they are adult, and if they are not or have not been for at least 3 years, we try again one year later
|
||||
on_trigger_fail = {
|
||||
if = {
|
||||
limit = {
|
||||
# you are not in this GW
|
||||
NOT = {
|
||||
involved_activity ?= {
|
||||
has_activity_type = activity_wedding
|
||||
activity_host = root
|
||||
}
|
||||
}
|
||||
}
|
||||
var:promised_grand_wedding_marriage_countdown ?= {
|
||||
save_scope_as = spouse_1
|
||||
betrothed ?= { save_scope_as = spouse_2 }
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
exists = scope:spouse_1
|
||||
exists = scope:spouse_2
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
# no longer valid marriage, e.g. devoted
|
||||
scope:spouse_1 ?= {
|
||||
NOT = {
|
||||
can_marry_character_trigger = { CHARACTER = scope:spouse_2 }
|
||||
}
|
||||
}
|
||||
}
|
||||
# TODO informing event
|
||||
clean_grand_wedding_betrothal_variables = yes
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:spouse_1 ?= {
|
||||
OR = {
|
||||
age < 19
|
||||
scope:spouse_2.age < 19
|
||||
# grace period for illness
|
||||
AND = {
|
||||
is_available_allow_travelling = no
|
||||
age < 25
|
||||
}
|
||||
scope:spouse_2 = {
|
||||
is_available_allow_travelling = no
|
||||
age < 25
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
trigger_event = {
|
||||
id = ep2_wedding.0001
|
||||
days = 365
|
||||
}
|
||||
set_variable = {
|
||||
name = promised_grand_wedding_marriage_countdown
|
||||
value = scope:spouse_1
|
||||
years = grand_wedding_timeout
|
||||
}
|
||||
}
|
||||
# both adult, but can't attend for a reallly long time
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:spouse_1 ?= {
|
||||
age >= 25
|
||||
scope:spouse_2.age >= 25
|
||||
OR = {
|
||||
is_available_allow_travelling = no
|
||||
scope:spouse_2 = {
|
||||
is_available_allow_travelling = no
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
# TODO: add an event
|
||||
clean_grand_wedding_betrothal_variables = yes
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_variable = promised_grand_wedding_marriage_countdown
|
||||
}
|
||||
clean_grand_wedding_betrothal_variables = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
has_variable = promised_grand_wedding_marriage_countdown
|
||||
}
|
||||
if = {
|
||||
limit = { exists = var:promised_grand_wedding_marriage_countdown }
|
||||
trigger_event = {
|
||||
id = ep2_wedding.0001
|
||||
days = 365
|
||||
}
|
||||
set_variable = {
|
||||
name = promised_grand_wedding_marriage_countdown
|
||||
value = var:promised_grand_wedding_marriage_countdown
|
||||
years = grand_wedding_timeout
|
||||
}
|
||||
}
|
||||
else = {
|
||||
remove_variable = promised_grand_wedding_marriage_countdown
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
immediate = {
|
||||
var:promised_grand_wedding_marriage_countdown = {
|
||||
|
|
@ -228,7 +158,7 @@ ep2_wedding.0002 = {
|
|||
|
||||
option = {
|
||||
name = ep2_wedding.0002.a
|
||||
clean_grand_wedding_betrothal_variables = yes
|
||||
remove_variable = promised_grand_wedding_marriage_countdown
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -272,10 +202,8 @@ ep2_wedding.0100 = {
|
|||
root = scope:spouse_2
|
||||
}
|
||||
}
|
||||
desc = {
|
||||
desc = ep2_wedding.0100.desc_host
|
||||
desc = ep2_wedding.0100.desc_host_outro
|
||||
}
|
||||
desc = ep2_wedding.0100.desc_host
|
||||
desc = ep2_wedding.0100.desc_host_outro
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
|
|
@ -461,8 +389,12 @@ ep2_wedding.0150 = {
|
|||
scope:activity.special_guest:spouse_2 = {
|
||||
save_scope_as = spouse_2
|
||||
}
|
||||
check_officiant_effect = yes
|
||||
scope:activity.var:officiant ?= { save_scope_as = officiant }
|
||||
if = {
|
||||
limit = {
|
||||
exists = scope:activity.special_guest:officiant
|
||||
}
|
||||
scope:activity.special_guest:officiant = { save_scope_as = officiant }
|
||||
}
|
||||
scope:spouse_1 = {
|
||||
show_as_tooltip = {
|
||||
marry = scope:spouse_2
|
||||
|
|
@ -506,7 +438,13 @@ ep2_wedding.0151 = {
|
|||
first_valid = {
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
is_bloody_wedding = yes
|
||||
scope:activity = {
|
||||
has_activity_option = {
|
||||
category = special_type
|
||||
option = wedding_type_bloody
|
||||
}
|
||||
}
|
||||
scope:host = { NOT = { has_variable = bloody_wedding_backed_down_var } }
|
||||
}
|
||||
desc = ep2_wedding.0151.desc.murder
|
||||
}
|
||||
|
|
@ -771,8 +709,10 @@ ep2_wedding.0151 = {
|
|||
}
|
||||
}
|
||||
}
|
||||
scope:spouse_1 = { remove_variable = promised_grand_wedding_by }
|
||||
scope:spouse_2 = { remove_variable = promised_grand_wedding_by }
|
||||
scope:host = {
|
||||
clean_grand_wedding_betrothal_variables = yes
|
||||
remove_variable = promised_grand_wedding_marriage_countdown
|
||||
}
|
||||
# The marriage should not be consummated before the Wedding Night!
|
||||
hidden_effect = {
|
||||
|
|
@ -889,7 +829,12 @@ ep2_wedding.0200 = {
|
|||
triggered_desc = {
|
||||
trigger = { #spouse and bloody wedding
|
||||
this = scope:host
|
||||
is_bloody_wedding = yes
|
||||
scope:activity = {
|
||||
has_activity_option = {
|
||||
category = special_type
|
||||
option = wedding_type_bloody
|
||||
}
|
||||
}
|
||||
root = scope:spouse_1
|
||||
}
|
||||
desc = ep2_wedding.0200.desc.murder_spouse
|
||||
|
|
@ -897,7 +842,12 @@ ep2_wedding.0200 = {
|
|||
triggered_desc = { #bloody wedding
|
||||
trigger = {
|
||||
this = scope:host
|
||||
is_bloody_wedding = yes
|
||||
scope:activity = {
|
||||
has_activity_option = {
|
||||
category = special_type
|
||||
option = wedding_type_bloody
|
||||
}
|
||||
}
|
||||
root != scope:spouse_1
|
||||
}
|
||||
desc = ep2_wedding.0200.desc.murder
|
||||
|
|
@ -1053,13 +1003,25 @@ ep2_wedding.0200 = {
|
|||
option = {
|
||||
name = {
|
||||
trigger = {
|
||||
is_bloody_wedding = yes
|
||||
scope:activity = {
|
||||
has_activity_option = {
|
||||
category = special_type
|
||||
option = wedding_type_bloody
|
||||
}
|
||||
}
|
||||
}
|
||||
text = ep2_wedding.0200.a.murder
|
||||
}
|
||||
name = {
|
||||
trigger = {
|
||||
is_bloody_wedding = no
|
||||
NOT = {
|
||||
scope:activity = {
|
||||
has_activity_option = {
|
||||
category = special_type
|
||||
option = wedding_type_bloody
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
text = ep2_wedding.0200.a
|
||||
}
|
||||
|
|
@ -1085,7 +1047,12 @@ ep2_wedding.0300 = {
|
|||
first_valid = {
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
is_bloody_wedding = yes
|
||||
scope:activity = {
|
||||
has_activity_option = {
|
||||
category = special_type
|
||||
option = wedding_type_bloody
|
||||
}
|
||||
}
|
||||
root = scope:spouse_1
|
||||
}
|
||||
desc = ep2_wedding.0300.desc.murder_spouse
|
||||
|
|
@ -1294,6 +1261,9 @@ ep2_wedding.0910 = {
|
|||
remove_variable = gwedding_gold_recoup_value
|
||||
}
|
||||
remove_variable = promised_grand_wedding_by
|
||||
scope:previous_host = {
|
||||
remove_variable = promised_grand_wedding_marriage_countdown
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
has_character_modifier = wedding_fertility_delay_modifier
|
||||
|
|
@ -1385,6 +1355,10 @@ ep2_wedding.0920 = {
|
|||
}
|
||||
remove_variable = gwedding_gold_recoup_value
|
||||
}
|
||||
remove_variable = promised_grand_wedding_by
|
||||
scope:previous_host = {
|
||||
remove_variable = promised_grand_wedding_marriage_countdown
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
has_character_modifier = wedding_fertility_delay_modifier
|
||||
|
|
@ -1441,6 +1415,12 @@ ep2_wedding.0921 = {
|
|||
}
|
||||
remove_variable = gwedding_gold_recoup_value
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
has_variable = promised_grand_wedding_by
|
||||
}
|
||||
remove_variable = promised_grand_wedding_by
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
has_character_modifier = wedding_fertility_delay_modifier
|
||||
|
|
@ -1624,6 +1604,23 @@ ep2_wedding.0997 = {
|
|||
animation = sadness
|
||||
}
|
||||
|
||||
immediate = {
|
||||
# we should never get this far. If it happens, just get a free pass out of the Grand Wedding Promise since something has gone wrong
|
||||
if = {
|
||||
limit = {
|
||||
this = scope:host
|
||||
}
|
||||
remove_variable = promised_grand_wedding_marriage_countdown
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
has_variable = promised_grand_wedding_by
|
||||
var:promised_grand_wedding_by = scope:host
|
||||
}
|
||||
remove_variable = promised_grand_wedding_by
|
||||
}
|
||||
}
|
||||
|
||||
option = {
|
||||
name = ep2_wedding.0998.a
|
||||
}
|
||||
|
|
@ -1643,6 +1640,19 @@ ep2_wedding.0998 = {
|
|||
|
||||
immediate = {
|
||||
# we should never get this far. If it happens, just get a free pass out of the Grand Wedding Promise since something has gone wrong
|
||||
if = {
|
||||
limit = {
|
||||
this = scope:host
|
||||
}
|
||||
remove_variable = promised_grand_wedding_marriage_countdown
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
has_variable = promised_grand_wedding_by
|
||||
var:promised_grand_wedding_by = scope:host
|
||||
}
|
||||
remove_variable = promised_grand_wedding_by
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
exists = scope:spouse_1
|
||||
|
|
@ -1988,7 +1998,7 @@ ep2_wedding.1000 = {
|
|||
trigger = {
|
||||
has_activity_intent = reduce_stress_intent
|
||||
}
|
||||
reason = activity_intent
|
||||
custom_tooltip = available_because_intent_tt
|
||||
stress_impact = {
|
||||
base = minor_stress_impact_loss
|
||||
}
|
||||
|
|
@ -3192,7 +3202,7 @@ ep2_wedding.1100 = {
|
|||
has_activity_intent = reduce_stress_intent
|
||||
this = scope:bride
|
||||
}
|
||||
reason = activity_intent
|
||||
custom_tooltip = available_because_intent_tt
|
||||
stress_impact = {
|
||||
base = minor_stress_impact_loss
|
||||
}
|
||||
|
|
@ -3807,21 +3817,12 @@ ep2_wedding.1030 = {
|
|||
# Spouse: your child from a previous partner makes a fuss
|
||||
|
||||
scripted_trigger ep2_wedding_1120_valid_child_trigger = {
|
||||
NOR = {
|
||||
has_trait = child_of_concubine_female
|
||||
has_trait = child_of_concubine_male
|
||||
NOT = {
|
||||
any_parent = { this = root.betrothed }
|
||||
this = scope:activity.special_guest:spouse_1
|
||||
this = scope:activity.special_guest:spouse_2
|
||||
}
|
||||
any_parent = {
|
||||
even_if_dead = yes
|
||||
this != root
|
||||
# polygamy case
|
||||
trigger_if = {
|
||||
limit = { is_alive = yes }
|
||||
NOT = { any_consort = { this = root.betrothed } }
|
||||
}
|
||||
save_temporary_scope_as = other_parent
|
||||
}
|
||||
age >= 6
|
||||
|
|
@ -4240,15 +4241,10 @@ scripted_trigger ep2_wedding_1121_valid_child_trigger = {
|
|||
any_parent = {
|
||||
even_if_dead = yes
|
||||
this != root.betrothed
|
||||
# polygamy case
|
||||
trigger_if = {
|
||||
limit = { is_alive = yes }
|
||||
NOT = { any_consort = { this = root.betrothed } }
|
||||
}
|
||||
save_temporary_scope_as = other_parent
|
||||
}
|
||||
age >= 6
|
||||
involved_activity ?= scope:activity
|
||||
involved_activity ?= { this = scope:activity }
|
||||
save_temporary_scope_as = trouble_child
|
||||
}
|
||||
|
||||
|
|
@ -5875,7 +5871,7 @@ ep2_wedding.1140 = {
|
|||
key = made_a_misstep_log
|
||||
tags = { bad }
|
||||
score = 50
|
||||
character = scope:fumbling_spouse
|
||||
character = scope:spouse_1
|
||||
|
||||
scope:fumbling_spouse = {
|
||||
add_opinion = {
|
||||
|
|
@ -5930,7 +5926,7 @@ ep2_wedding.1140 = {
|
|||
key = made_a_misstep_log
|
||||
tags = { bad }
|
||||
score = 50
|
||||
character = scope:fumbling_spouse
|
||||
character = scope:spouse_1
|
||||
}
|
||||
}
|
||||
ai_chance = {
|
||||
|
|
@ -5944,7 +5940,7 @@ ep2_wedding.1140 = {
|
|||
trigger = {
|
||||
has_activity_intent = reduce_stress_intent
|
||||
}
|
||||
reason = activity_intent
|
||||
custom_tooltip = available_because_intent_tt
|
||||
scope:fumbling_spouse = {
|
||||
add_opinion = {
|
||||
target = root
|
||||
|
|
@ -5961,7 +5957,7 @@ ep2_wedding.1140 = {
|
|||
tags = { good }
|
||||
score = 50
|
||||
character = root
|
||||
target = scope:fumbling_spouse
|
||||
target = scope:spouse_1
|
||||
}
|
||||
}
|
||||
ai_chance = {
|
||||
|
|
@ -6850,7 +6846,7 @@ ep2_wedding.1170 = {
|
|||
trigger = {
|
||||
has_activity_intent = reduce_stress_intent
|
||||
}
|
||||
reason = activity_intent
|
||||
custom_tooltip = available_because_intent_tt
|
||||
stress_impact = {
|
||||
base = medium_stress_impact_loss
|
||||
humble = major_stress_impact_loss
|
||||
|
|
@ -6870,7 +6866,7 @@ ep2_wedding.1170 = {
|
|||
trigger = {
|
||||
has_activity_intent = banquet_mischief_intent
|
||||
}
|
||||
reason = activity_intent
|
||||
custom_tooltip = available_because_intent_tt
|
||||
add_character_modifier = {
|
||||
modifier = wedding_parade_mayhem_modifier
|
||||
years = 5
|
||||
|
|
@ -6890,7 +6886,7 @@ ep2_wedding.1170 = {
|
|||
has_activity_intent = murder_attendee_intent
|
||||
}
|
||||
flavor = ep2_wedding.1170.e.tt
|
||||
reason = activity_intent
|
||||
custom_tooltip = available_because_intent_tt
|
||||
duel = {
|
||||
skills = { intrigue prowess }
|
||||
target = scope:murderee
|
||||
|
|
@ -7150,7 +7146,7 @@ ep2_wedding.1180 = {
|
|||
trigger = {
|
||||
has_activity_intent = reduce_stress_intent
|
||||
}
|
||||
reason = activity_intent
|
||||
custom_tooltip = available_because_intent_tt
|
||||
scope:other_spouse = {
|
||||
add_opinion = {
|
||||
target = root
|
||||
|
|
@ -7437,7 +7433,7 @@ ep2_wedding.1190 = {
|
|||
has_activity_intent = banquet_mischief_intent
|
||||
}
|
||||
}
|
||||
reason = activity_intent
|
||||
custom_tooltip = available_because_intent_tt
|
||||
scope:grumbler = {
|
||||
add_opinion = {
|
||||
target = root
|
||||
|
|
@ -7797,7 +7793,7 @@ ep2_wedding.1200 = {
|
|||
trigger = {
|
||||
has_activity_intent = woo_attendee_intent
|
||||
}
|
||||
reason = activity_intent
|
||||
custom_tooltip = available_because_intent_tt
|
||||
duel = {
|
||||
skill = intrigue
|
||||
target = scope:listener
|
||||
|
|
@ -7873,7 +7869,7 @@ ep2_wedding.1200 = {
|
|||
trigger = {
|
||||
has_activity_intent = diplomatic_intent
|
||||
}
|
||||
reason = activity_intent
|
||||
custom_tooltip = available_because_intent_tt
|
||||
duel = {
|
||||
skill = diplomacy
|
||||
target = scope:listener
|
||||
|
|
@ -7961,7 +7957,7 @@ ep2_wedding.1200 = {
|
|||
trigger = {
|
||||
has_activity_intent = matchmaking_intent
|
||||
}
|
||||
reason = activity_intent
|
||||
custom_tooltip = available_because_intent_tt
|
||||
duel = {
|
||||
skills = { diplomacy intrigue }
|
||||
target = scope:listener
|
||||
|
|
@ -8805,7 +8801,7 @@ ep2_wedding.1220 = {
|
|||
has_activity_intent = diplomatic_intent
|
||||
}
|
||||
flavor = ep2_wedding.1220.c.tt
|
||||
reason = activity_intent
|
||||
custom_tooltip = available_because_intent_tt
|
||||
duel = {
|
||||
skill = diplomacy
|
||||
target = scope:relative
|
||||
|
|
@ -8919,7 +8915,7 @@ ep2_wedding.1220 = {
|
|||
trigger = {
|
||||
has_activity_intent = banquet_mischief_intent
|
||||
}
|
||||
reason = activity_intent
|
||||
custom_tooltip = available_because_intent_tt
|
||||
if = {
|
||||
limit = {
|
||||
has_lifestyle = intrigue_lifestyle
|
||||
|
|
@ -10377,7 +10373,7 @@ ep2_wedding.1070 = {
|
|||
exists = scope:1070_target
|
||||
has_activity_intent = murder_attendee_intent
|
||||
}
|
||||
reason = activity_intent
|
||||
custom_tooltip = available_because_intent_tt
|
||||
scope:1070_target = {
|
||||
duel = {
|
||||
skill = prowess
|
||||
|
|
@ -10751,7 +10747,7 @@ ep2_wedding.1090 = {
|
|||
has_ep2_dlc_trigger = yes
|
||||
has_activity_intent = matchmaking_intent
|
||||
|
||||
intent_target.location ?= root.location
|
||||
intent_target.location = root.location
|
||||
location = scope:activity.activity_location
|
||||
|
||||
intent_target = { NOT = { has_character_flag = busy_in_banquet_event } }
|
||||
|
|
@ -12259,7 +12255,11 @@ ep2_wedding.1111 = {
|
|||
}
|
||||
trigger_if = {
|
||||
limit = {
|
||||
this = scope:host
|
||||
OR = {
|
||||
this = scope:host
|
||||
scope:host = scope:activity.special_guest:spouse_1
|
||||
scope:host = scope:activity.special_guest:spouse_2
|
||||
}
|
||||
}
|
||||
scope:activity = {
|
||||
any_attending_character = {
|
||||
|
|
@ -15038,10 +15038,14 @@ ep2_wedding.1330 = {
|
|||
option = {
|
||||
name = ep2_wedding.1330.d
|
||||
trigger = {
|
||||
is_deviant_trigger = yes
|
||||
OR = {
|
||||
has_trait = deviant
|
||||
any_secret = { type = secret_deviant }
|
||||
}
|
||||
NOR = {
|
||||
faith = { has_doctrine_parameter = deviancy_accepted }
|
||||
scope:spouse = { is_deviant_trigger = yes }
|
||||
faith = { has_doctrine = doctrine_deviancy_accepted }
|
||||
scope:spouse = { has_trait = deviant }
|
||||
scope:spouse = { any_secret = { type = secret_deviant NOT = { is_known_by = root } } }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -15731,46 +15735,47 @@ ep2_wedding.1340 = {
|
|||
}
|
||||
ai_chance = {
|
||||
base = 100
|
||||
base = 1
|
||||
modifier = {
|
||||
has_trait = lifestyle_gardener
|
||||
add = 70
|
||||
}
|
||||
modifier = {
|
||||
has_trait = lifestyle_reveler
|
||||
add = 70
|
||||
}
|
||||
modifier = {
|
||||
has_trait = lifestyle_hunter
|
||||
add = 70
|
||||
}
|
||||
modifier = {
|
||||
has_trait = lifestyle_poet
|
||||
add = 70
|
||||
}
|
||||
modifier = {
|
||||
has_trait = lifestyle_blademaster
|
||||
add = 40
|
||||
}
|
||||
modifier = {
|
||||
has_trait = lifestyle_herbalist
|
||||
add = 40
|
||||
}
|
||||
modifier = {
|
||||
has_trait = lifestyle_mystic
|
||||
add = 40
|
||||
}
|
||||
modifier = {
|
||||
has_trait = lifestyle_physician
|
||||
add = 40
|
||||
}
|
||||
modifier = {
|
||||
has_trait = athletic
|
||||
add = 40
|
||||
}
|
||||
modifier = {
|
||||
has_trait = journaller
|
||||
add = 40
|
||||
}
|
||||
has_trait = lifestyle_gardener
|
||||
add = 70
|
||||
}
|
||||
modifier = {
|
||||
has_trait = lifestyle_reveler
|
||||
add = 70
|
||||
}
|
||||
modifier = {
|
||||
has_trait = lifestyle_hunter
|
||||
add = 70
|
||||
}
|
||||
modifier = {
|
||||
has_trait = lifestyle_poet
|
||||
add = 70
|
||||
}
|
||||
modifier = {
|
||||
has_trait = lifestyle_blademaster
|
||||
add = 40
|
||||
}
|
||||
modifier = {
|
||||
has_trait = lifestyle_herbalist
|
||||
add = 40
|
||||
}
|
||||
modifier = {
|
||||
has_trait = lifestyle_mystic
|
||||
add = 40
|
||||
}
|
||||
modifier = {
|
||||
has_trait = lifestyle_physician
|
||||
add = 40
|
||||
}
|
||||
modifier = {
|
||||
has_trait = athletic
|
||||
add = 40
|
||||
}
|
||||
modifier = {
|
||||
has_trait = journaller
|
||||
add = 40
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -15808,7 +15813,10 @@ ep2_wedding.1340 = {
|
|||
add = 20
|
||||
}
|
||||
modifier = {
|
||||
is_witch_trigger = yes
|
||||
OR = {
|
||||
any_secret = { type = secret_witch }
|
||||
has_trait = witch
|
||||
}
|
||||
add = 20
|
||||
}
|
||||
send_interface_toast = {
|
||||
|
|
@ -15847,7 +15855,10 @@ ep2_wedding.1340 = {
|
|||
add = 20
|
||||
}
|
||||
modifier = {
|
||||
is_witch_trigger = yes
|
||||
OR = {
|
||||
any_secret = { type = secret_witch }
|
||||
has_trait = witch
|
||||
}
|
||||
add = 20
|
||||
}
|
||||
}
|
||||
|
|
@ -17700,14 +17711,12 @@ ep2_wedding.3030 = {
|
|||
any_character_artifact = {
|
||||
artifact_slot_type = miscellaneous
|
||||
this != scope:love_memento
|
||||
artifact_can_be_gift_to_trigger = { RECIPIENT = scope:my_spouse }
|
||||
}
|
||||
}
|
||||
random_character_artifact = {
|
||||
limit = {
|
||||
artifact_slot_type = miscellaneous
|
||||
this != scope:love_memento
|
||||
artifact_can_be_gift_to_trigger = { RECIPIENT = scope:my_spouse }
|
||||
}
|
||||
save_scope_as = my_love_memento
|
||||
}
|
||||
|
|
@ -18243,7 +18252,7 @@ ep2_wedding.3040 = {
|
|||
scope:my_spouse = { is_ai = yes }
|
||||
intent_target = scope:my_spouse
|
||||
}
|
||||
reason = activity_intent
|
||||
custom_tooltip = available_because_intent_tt
|
||||
random_list = {
|
||||
50 = { #spouse saves themselves
|
||||
desc = ep2_wedding.3040.d.success
|
||||
|
|
@ -19249,10 +19258,15 @@ ep2_wedding.3300 = {
|
|||
else = {
|
||||
scope:activity.special_guest:spouse_1 = { save_scope_as = my_spouse }
|
||||
}
|
||||
check_officiant_effect = yes
|
||||
scope:activity.var:officiant ?= { save_scope_as = officiant }
|
||||
# Save witnesses
|
||||
ep2_wedding_bedding_ceremony_witness_effect = yes
|
||||
# Save officiant
|
||||
if = {
|
||||
limit = {
|
||||
scope:host.cp:councillor_court_chaplain ?= { is_participant_in_activity = scope:activity }
|
||||
}
|
||||
scope:host.cp:councillor_court_chaplain = { save_scope_as = officiant }
|
||||
}
|
||||
# Save jester
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -19855,7 +19869,7 @@ scripted_trigger wedding_3400_suitor_trigger = {
|
|||
is_participant_in_activity = scope:activity
|
||||
is_attracted_to_gender_of = $SUITOR$
|
||||
age >= $SUITOR$.age_minus_25
|
||||
age < $SUITOR$.age_plus_25
|
||||
age < $SUITOR$.age_plus_25
|
||||
OR = {
|
||||
is_married = no
|
||||
allowed_more_spouses = yes
|
||||
|
|
@ -19864,7 +19878,7 @@ scripted_trigger wedding_3400_suitor_trigger = {
|
|||
faith = { has_doctrine = doctrine_adultery_women_accepted }
|
||||
root.faith = { has_doctrine = doctrine_adultery_women_accepted }
|
||||
$SUITOR$.faith = { has_doctrine = doctrine_adultery_women_accepted }
|
||||
|
||||
|
||||
}
|
||||
trigger_else = {
|
||||
faith = { has_doctrine = doctrine_adultery_men_accepted }
|
||||
|
|
@ -23401,7 +23415,7 @@ ep2_wedding.2020 = {
|
|||
}
|
||||
}
|
||||
}
|
||||
reason = activity_intent
|
||||
custom_tooltip = available_because_intent_tt
|
||||
duel = {
|
||||
skill = prowess
|
||||
target = scope:drunk_guest
|
||||
|
|
|
|||
|
|
@ -1081,7 +1081,7 @@ ep2_wedding_ewan.0001 = {
|
|||
name = ep2_wedding_ewan.0001.c
|
||||
flavor = ep2_wedding_ewan.0001.c.tt
|
||||
trigger = { has_activity_intent = murder_attendee_intent }
|
||||
reason = activity_intent
|
||||
custom_tooltip = available_because_intent_tt
|
||||
|
||||
scope:intent_target = {
|
||||
# They're unsettled by your staring.
|
||||
|
|
@ -1899,7 +1899,7 @@ ep2_wedding_ewan.0011 = {
|
|||
name = ep2_wedding_ewan.0011.c
|
||||
# Check for target directly, rather than just the intent, because there isn't a pre-defined intent target and we may have failed to acquire someone suitable.
|
||||
trigger = { exists = scope:intent_target }
|
||||
reason = activity_intent
|
||||
custom_tooltip = available_because_intent_tt
|
||||
|
||||
# You try to trip a server onto someone.
|
||||
duel = {
|
||||
|
|
@ -2744,7 +2744,7 @@ ep2_wedding_ewan.0021 = {
|
|||
option = {
|
||||
name = ep2_wedding_ewan.0021.c
|
||||
trigger = { has_activity_intent = woo_attendee_intent }
|
||||
reason = activity_intent
|
||||
custom_tooltip = available_because_intent_tt
|
||||
|
||||
# Sprinkle a bit of opinion in there.
|
||||
reverse_add_opinion = {
|
||||
|
|
@ -3246,7 +3246,7 @@ ep2_wedding_ewan.0031 = {
|
|||
option = {
|
||||
name = ep2_wedding_ewan.0031.g
|
||||
trigger = { has_activity_intent = reduce_stress_intent }
|
||||
reason = activity_intent
|
||||
custom_tooltip = available_because_intent_tt
|
||||
|
||||
# Decent middling prestige.
|
||||
add_prestige = medium_prestige_gain
|
||||
|
|
@ -3463,7 +3463,7 @@ ep2_wedding_ewan.0041 = {
|
|||
option = {
|
||||
name = ep2_wedding_ewan.0041.b
|
||||
trigger = { has_activity_intent = reduce_stress_intent }
|
||||
reason = activity_intent
|
||||
custom_tooltip = available_because_intent_tt
|
||||
|
||||
# If you're the host, gain prestige.
|
||||
if = {
|
||||
|
|
@ -3499,7 +3499,7 @@ ep2_wedding_ewan.0041 = {
|
|||
option = {
|
||||
name = ep2_wedding_ewan.0041.c
|
||||
trigger = { has_activity_intent = murder_attendee_intent }
|
||||
reason = activity_intent
|
||||
custom_tooltip = available_because_intent_tt
|
||||
|
||||
scope:intent_target = {
|
||||
# They're a bit freaked out.
|
||||
|
|
@ -3531,7 +3531,7 @@ ep2_wedding_ewan.0041 = {
|
|||
option = {
|
||||
name = ep2_wedding_ewan.0041.d
|
||||
trigger = { has_activity_intent = woo_attendee_intent }
|
||||
reason = activity_intent
|
||||
custom_tooltip = available_because_intent_tt
|
||||
|
||||
# You try to keep it juuuuust about down-low.
|
||||
duel = {
|
||||
|
|
@ -3624,7 +3624,7 @@ ep2_wedding_ewan.0041 = {
|
|||
option = {
|
||||
name = ep2_wedding_ewan.0041.e
|
||||
trigger = { has_activity_intent = diplomatic_intent }
|
||||
reason = activity_intent
|
||||
custom_tooltip = available_because_intent_tt
|
||||
|
||||
# Try to give a big, impressive speech.
|
||||
duel = {
|
||||
|
|
@ -3694,7 +3694,7 @@ ep2_wedding_ewan.0041 = {
|
|||
option = {
|
||||
name = ep2_wedding_ewan.0041.f
|
||||
trigger = { has_activity_intent = matchmaking_intent }
|
||||
reason = activity_intent
|
||||
custom_tooltip = available_because_intent_tt
|
||||
|
||||
# Gain opinion with scope:activity_intent.
|
||||
reverse_add_opinion = {
|
||||
|
|
@ -3729,7 +3729,7 @@ ep2_wedding_ewan.0041 = {
|
|||
option = {
|
||||
name = ep2_wedding_ewan.0041.g
|
||||
trigger = { has_activity_intent = banquet_mischief_intent }
|
||||
reason = activity_intent
|
||||
custom_tooltip = available_because_intent_tt
|
||||
|
||||
# We take your highest of diplomacy or intrigue and let you duel against it.
|
||||
if = {
|
||||
|
|
@ -3840,7 +3840,7 @@ scripted_trigger ep2_wedding_ewan_0051_legal_rake_trigger = {
|
|||
save_temporary_scope_as = char_temp
|
||||
NOT = {
|
||||
trait_is_criminal_in_faith_trigger = {
|
||||
TRAIT = trait:adulterer
|
||||
TRAIT = adulterer
|
||||
FAITH = scope:char_temp.faith
|
||||
GENDER_CHARACTER = scope:char_temp
|
||||
}
|
||||
|
|
@ -5707,7 +5707,7 @@ ep2_wedding_ewan.0061 = {
|
|||
option = {
|
||||
name = ep2_wedding_ewan.0061.d
|
||||
trigger = { has_activity_intent = banquet_mischief_intent }
|
||||
reason = activity_intent
|
||||
custom_tooltip = available_because_intent_tt
|
||||
|
||||
# Same as the .e rolls, but we remove the minor result and just roll between success & crit success.
|
||||
duel = {
|
||||
|
|
|
|||
|
|
@ -3034,7 +3034,7 @@ ep3_contract_event.0013 = {
|
|||
scope:task_contract_employer = {
|
||||
pay_treasury_or_gold = {
|
||||
target = scope:task_contract_taker
|
||||
value = scope:laamp_temp.ep3_hire_laamp_mercs_payment_value
|
||||
value = ep3_hire_laamp_mercs_payment_value
|
||||
}
|
||||
}
|
||||
scope:laamp_temp = {
|
||||
|
|
@ -7412,11 +7412,10 @@ ep3_contract_event.0095 = {
|
|||
}
|
||||
}
|
||||
|
||||
#lead an independence peasant war, become landed ruler after winning
|
||||
#lead an independence peasant war
|
||||
option = {
|
||||
name = ep3_contract_event.0095.a
|
||||
#start a freedom war!
|
||||
custom_tooltip = ep3_contract_event.0095.a_become_landed
|
||||
start_war = {
|
||||
cb = ep3_laamp_peasant_war
|
||||
target = scope:task_contract_councillor_liege.top_liege
|
||||
|
|
@ -7472,75 +7471,7 @@ ep3_contract_event.0095 = {
|
|||
}
|
||||
ai_chance = {
|
||||
base = 20
|
||||
}
|
||||
}
|
||||
|
||||
#lead an independence peasant war, but remain laamp after winning
|
||||
option = {
|
||||
name = ep3_contract_event.0095.a_2
|
||||
#start a freedom war!
|
||||
custom_tooltip = {
|
||||
text = ep3_contract_event.0095.a_remain_laamp
|
||||
set_variable = {
|
||||
name = ep3_laamp_peasant_war_remain_laamp
|
||||
value = yes
|
||||
}
|
||||
}
|
||||
start_war = {
|
||||
cb = ep3_laamp_peasant_war
|
||||
target = scope:task_contract_councillor_liege.top_liege
|
||||
}
|
||||
#try to capture the marshal, as they standing right next to you
|
||||
duel = {
|
||||
skills = { prowess intrigue }
|
||||
target = scope:task_contract_councillor
|
||||
25 = {
|
||||
desc = ep3_contract_event.0095.a_win
|
||||
compare_modifier = {
|
||||
value = scope:duel_value
|
||||
multiplier = 3.5
|
||||
}
|
||||
prisoner_of_war_capture_effect = {
|
||||
TARGET = scope:task_contract_councillor
|
||||
IMPRISONER = root
|
||||
}
|
||||
scope:task_contract_councillor_liege = {
|
||||
add_opinion = {
|
||||
modifier = fp3_wrongful_imprisonment_opinion
|
||||
opinion = -30
|
||||
target = root
|
||||
}
|
||||
}
|
||||
}
|
||||
25 = {
|
||||
desc = ep3_contract_event.0095.a_lose
|
||||
compare_modifier = {
|
||||
value = scope:duel_value
|
||||
multiplier = -3.5
|
||||
min = 5
|
||||
}
|
||||
scope:task_contract_councillor = {
|
||||
add_opinion = {
|
||||
target = root
|
||||
modifier = attempted_imprisonment_opinion
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#fail the contract, obivously
|
||||
scope:task_contract = {
|
||||
complete_task_contract = failure_standard
|
||||
}
|
||||
return_home = yes
|
||||
stress_impact = {
|
||||
craven = minor_stress_impact_gain
|
||||
lazy = minor_stress_impact_gain
|
||||
brave = minor_stress_impact_loss
|
||||
compassionate = minor_stress_impact_loss
|
||||
arrogant = minor_stress_impact_loss
|
||||
}
|
||||
ai_chance = {
|
||||
base = 0
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -2650,7 +2650,7 @@ ep3_decisions_event.2090 = {
|
|||
remove_variable = confirmation_grace
|
||||
}
|
||||
# Refund any costs
|
||||
add_prestige = standard_activity_base_cost
|
||||
add_prestige = standard_activity_cost
|
||||
}
|
||||
trigger_event = ep3_decisions_event.2080
|
||||
}
|
||||
|
|
@ -4429,12 +4429,6 @@ ep3_decisions_event.4022 = {
|
|||
participants = { missionary = scope:evangelizer sender = scope:sender }
|
||||
}
|
||||
set_character_faith_with_conversion = scope:evangelizer.faith
|
||||
if = {
|
||||
limit = {
|
||||
scope:evangelizer.faith = { has_doctrine = doctrine_monotheist }
|
||||
}
|
||||
custom_description_no_bullet = { text = mandala_monotheist_warning_tt }
|
||||
}
|
||||
custom_tooltip = ep3_decisions_event.4022.a.tt
|
||||
custom_tooltip = negotiated_alliance_delay_tt
|
||||
show_as_tooltip = {
|
||||
|
|
@ -5177,23 +5171,6 @@ ep3_decisions_event.4060 = {
|
|||
}
|
||||
add_character_modifier = { modifier = first_admin_emperor }
|
||||
}
|
||||
# NF tooltip
|
||||
if = {
|
||||
limit = { exists = scope:new_title } # some gov types don't need to create a new title
|
||||
get_title = scope:new_title
|
||||
}
|
||||
# Adopting vassal tooltip
|
||||
every_powerful_vassal = {
|
||||
limit = { has_same_government = root }
|
||||
switch = {
|
||||
trigger = has_government
|
||||
japan_administrative_government = { change_government = japan_administrative_government }
|
||||
celestial_government = { change_government = celestial_government }
|
||||
meritocratic_government = { change_government = meritocratic_government }
|
||||
steppe_admin_government = { change_government = steppe_admin_government }
|
||||
fallback = { change_government = administrative_government }
|
||||
}
|
||||
}
|
||||
}
|
||||
hidden_effect = {
|
||||
ordered_vassal = {
|
||||
|
|
@ -6161,17 +6138,6 @@ ep3_decisions_event.4090 = {
|
|||
desc = appointment_timeout_desc_retired_governor
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
government_is_japanese_trigger = yes
|
||||
}
|
||||
add_gold = major_gold_value
|
||||
change_influence = major_influence_value
|
||||
add_character_modifier = {
|
||||
modifier = renounced_governorship_japan
|
||||
years = 15
|
||||
}
|
||||
}
|
||||
else = {
|
||||
add_gold = massive_gold_value
|
||||
add_character_modifier = {
|
||||
|
|
@ -6800,14 +6766,14 @@ ep3_decisions_event.5020 = {
|
|||
ordered_in_list = {
|
||||
list = available_heresies
|
||||
order_by = num_county_followers
|
||||
position = 0
|
||||
position = 1
|
||||
save_scope_as = heresy_1
|
||||
}
|
||||
ordered_in_list = {
|
||||
list = available_heresies
|
||||
limit = { this != scope:heresy_1 }
|
||||
order_by = num_county_followers
|
||||
position = 0
|
||||
position = 1
|
||||
save_scope_as = heresy_2
|
||||
}
|
||||
ordered_in_list = {
|
||||
|
|
@ -6817,7 +6783,7 @@ ep3_decisions_event.5020 = {
|
|||
this != scope:heresy_2
|
||||
}
|
||||
order_by = num_county_followers
|
||||
position = 0
|
||||
position = 1
|
||||
save_scope_as = heresy_3
|
||||
}
|
||||
}
|
||||
|
|
@ -6825,12 +6791,6 @@ ep3_decisions_event.5020 = {
|
|||
option = {
|
||||
name = ep3_decisions_event.5020.a
|
||||
set_character_faith_with_conversion = scope:heresy_1
|
||||
if = {
|
||||
limit = {
|
||||
scope:heresy_1 = { has_doctrine = doctrine_monotheist }
|
||||
}
|
||||
custom_description_no_bullet = { text = mandala_monotheist_warning_tt }
|
||||
}
|
||||
add_heresiarch_trait_effect = yes
|
||||
# Otherwise the conversion event will remove the trait
|
||||
add_character_flag = converted_by_heresy_decision
|
||||
|
|
@ -6870,12 +6830,6 @@ ep3_decisions_event.5020 = {
|
|||
exists = scope:heresy_2
|
||||
}
|
||||
set_character_faith_with_conversion = scope:heresy_2
|
||||
if = {
|
||||
limit = {
|
||||
scope:heresy_2 = { has_doctrine = doctrine_monotheist }
|
||||
}
|
||||
custom_description_no_bullet = { text = mandala_monotheist_warning_tt }
|
||||
}
|
||||
add_heresiarch_trait_effect = yes
|
||||
# Otherwise the conversion event will remove the trait
|
||||
add_character_flag = converted_by_heresy_decision
|
||||
|
|
@ -6915,12 +6869,6 @@ ep3_decisions_event.5020 = {
|
|||
exists = scope:heresy_3
|
||||
}
|
||||
set_character_faith_with_conversion = scope:heresy_3
|
||||
if = {
|
||||
limit = {
|
||||
scope:heresy_3 = { has_doctrine = doctrine_monotheist }
|
||||
}
|
||||
custom_description_no_bullet = { text = mandala_monotheist_warning_tt }
|
||||
}
|
||||
add_heresiarch_trait_effect = yes
|
||||
# Otherwise the conversion event will remove the trait
|
||||
add_character_flag = converted_by_heresy_decision
|
||||
|
|
@ -7047,12 +6995,6 @@ ep3_decisions_event.5021 = {
|
|||
root = {
|
||||
primary_title = { set_state_faith = scope:heresy }
|
||||
set_character_faith_with_conversion = scope:heresy
|
||||
if = {
|
||||
limit = {
|
||||
scope:heresy = { has_doctrine = doctrine_monotheist }
|
||||
}
|
||||
custom_description_no_bullet = { text = mandala_monotheist_warning_tt }
|
||||
}
|
||||
add_opinion = {
|
||||
target = scope:heretic
|
||||
modifier = forced_state_heresy_opinion
|
||||
|
|
@ -7434,22 +7376,9 @@ ep3_decisions_event.6001 = {
|
|||
}
|
||||
}
|
||||
scope:liege = { save_scope_as = new_liege }
|
||||
location.duchy.holder ?= {
|
||||
if = {
|
||||
limit = {
|
||||
this != scope:new_liege
|
||||
can_set_relation_rival_trigger = { CHARACTER = root }
|
||||
}
|
||||
set_relation_rival = {
|
||||
target = root
|
||||
reason = seized_my_realm_crime
|
||||
}
|
||||
}
|
||||
}
|
||||
set_variable = separatist_uprising_decision_var
|
||||
set_variable = became_landed_through_separatist_uprising_var
|
||||
location.duchy = {
|
||||
save_scope_as = target
|
||||
add_to_list = transfer_titles
|
||||
# All De Jure Counties held by the liege will be moved over
|
||||
every_de_jure_county = {
|
||||
|
|
@ -7546,12 +7475,11 @@ ep3_decisions_event.6001 = {
|
|||
resolve_title_and_vassal_change = scope:heir_change
|
||||
}
|
||||
}
|
||||
ep3_become_landed_transfer_effect = {
|
||||
ep3_become_landed_transfer_no_ennobled_modifier_effect = {
|
||||
TITLE_RECEIVER = root
|
||||
TITLE_LIST = transfer_titles
|
||||
TYPE = granted
|
||||
REASON = flag:culture_champion
|
||||
ENNOBLED_ADVENTURER = flag:no
|
||||
}
|
||||
hidden_effect = {
|
||||
scope:old_heir ?= {
|
||||
|
|
@ -7608,14 +7536,7 @@ ep3_decisions_event.6001 = {
|
|||
|
||||
option = { # Let me think about it
|
||||
name = ep3_decisions_event.6001.d
|
||||
hidden_effect = {
|
||||
send_interface_toast = {
|
||||
title = champion_culture_costs_refunded
|
||||
left_icon = root
|
||||
add_prestige_no_experience = 2000
|
||||
add_short_term_gold = 500
|
||||
}
|
||||
}
|
||||
|
||||
ai_chance = {
|
||||
base = 0
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
##############################
|
||||
# EP3 Admin (Emperor) Events #
|
||||
# by Claudia Baldassi #
|
||||
# 2000 - 2999 #
|
||||
# by Claudia Baldassi #
|
||||
# 2000 - 2999 #
|
||||
##############################
|
||||
|
||||
# Byzantine-only: you have reconquered an important city of the long-lost Empire
|
||||
|
|
@ -161,13 +161,13 @@ ep3_emperor_yearly.2000 = {
|
|||
limit = {
|
||||
scope:county = title:c_tourraine
|
||||
}
|
||||
NOT = { exists = global_var:ep3_reconquered_tourraine }
|
||||
NOT = { exists = var:ep3_reconquered_tourraine }
|
||||
}
|
||||
trigger_else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_chandax
|
||||
}
|
||||
NOT = { exists = global_var:ep3_reconquered_chandax }
|
||||
NOT = { exists = var:ep3_reconquered_chandax }
|
||||
}
|
||||
trigger_else_if = {
|
||||
limit = {
|
||||
|
|
@ -176,91 +176,91 @@ ep3_emperor_yearly.2000 = {
|
|||
scope:county = title:c_northumberland
|
||||
}
|
||||
}
|
||||
NOT = { exists = global_var:ep3_reconquered_hadrian }
|
||||
NOT = { exists = var:ep3_reconquered_hadrian }
|
||||
}
|
||||
trigger_else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_trier
|
||||
}
|
||||
NOT = { exists = global_var:ep3_reconquered_trier }
|
||||
NOT = { exists = var:ep3_reconquered_trier }
|
||||
}
|
||||
trigger_else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_lombardia
|
||||
}
|
||||
NOT = { exists = global_var:ep3_reconquered_lombardia }
|
||||
NOT = { exists = var:ep3_reconquered_lombardia }
|
||||
}
|
||||
trigger_else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_murcia
|
||||
}
|
||||
NOT = { exists = global_var:ep3_reconquered_murcia }
|
||||
NOT = { exists = var:ep3_reconquered_murcia }
|
||||
}
|
||||
trigger_else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_tangiers
|
||||
}
|
||||
NOT = { exists = global_var:ep3_reconquered_tangiers }
|
||||
NOT = { exists = var:ep3_reconquered_tangiers }
|
||||
}
|
||||
trigger_else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_tunis
|
||||
}
|
||||
NOT = { exists = global_var:ep3_reconquered_tunis }
|
||||
NOT = { exists = var:ep3_reconquered_tunis }
|
||||
}
|
||||
trigger_else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_ravenna
|
||||
}
|
||||
NOT = { exists = global_var:ep3_reconquered_ravenna }
|
||||
NOT = { exists = var:ep3_reconquered_ravenna }
|
||||
}
|
||||
trigger_else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_roma
|
||||
}
|
||||
NOT = { exists = global_var:ep3_reconquered_roma }
|
||||
NOT = { exists = var:ep3_reconquered_roma }
|
||||
}
|
||||
trigger_else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_siracusa
|
||||
}
|
||||
NOT = { exists = global_var:ep3_reconquered_siracusa }
|
||||
NOT = { exists = var:ep3_reconquered_siracusa }
|
||||
}
|
||||
trigger_else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_bari
|
||||
}
|
||||
NOT = { exists = global_var:ep3_reconquered_bari }
|
||||
NOT = { exists = var:ep3_reconquered_bari }
|
||||
}
|
||||
trigger_else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_edessa
|
||||
}
|
||||
NOT = { exists = global_var:ep3_reconquered_edessa }
|
||||
NOT = { exists = var:ep3_reconquered_edessa }
|
||||
}
|
||||
trigger_else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_abbadan
|
||||
}
|
||||
NOT = { exists = global_var:ep3_reconquered_abbadan }
|
||||
NOT = { exists = var:ep3_reconquered_abbadan }
|
||||
}
|
||||
trigger_else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_alexandria
|
||||
}
|
||||
NOT = { exists = global_var:ep3_reconquered_alexandria }
|
||||
NOT = { exists = var:ep3_reconquered_alexandria }
|
||||
}
|
||||
trigger_else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_jerusalem
|
||||
}
|
||||
NOT = { exists = global_var:ep3_reconquered_jerusalem }
|
||||
NOT = { exists = var:ep3_reconquered_jerusalem }
|
||||
}
|
||||
trigger_else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_antiocheia
|
||||
}
|
||||
NOT = { exists = global_var:ep3_reconquered_antiocheia }
|
||||
NOT = { exists = var:ep3_reconquered_antiocheia }
|
||||
}
|
||||
trigger_else = {
|
||||
always = no
|
||||
|
|
@ -268,60 +268,6 @@ ep3_emperor_yearly.2000 = {
|
|||
}
|
||||
|
||||
immediate = {
|
||||
switch = {
|
||||
trigger = scope:county
|
||||
title:c_antiocheia = {
|
||||
set_global_variable = ep3_reconquered_antiocheia
|
||||
}
|
||||
title:c_jerusalem = {
|
||||
set_global_variable = ep3_reconquered_jerusalem
|
||||
}
|
||||
title:c_alexandria = {
|
||||
set_global_variable = ep3_reconquered_alexandria
|
||||
}
|
||||
title:c_abbadan = {
|
||||
set_global_variable = ep3_reconquered_abbadan
|
||||
}
|
||||
title:c_edessa = {
|
||||
set_global_variable = ep3_reconquered_edessa
|
||||
}
|
||||
title:c_bari = {
|
||||
set_global_variable = ep3_reconquered_bari
|
||||
}
|
||||
title:c_siracusa = {
|
||||
set_global_variable = ep3_reconquered_siracusa
|
||||
}
|
||||
title:c_roma = {
|
||||
set_global_variable = ep3_reconquered_roma
|
||||
}
|
||||
title:c_ravenna = {
|
||||
set_global_variable = ep3_reconquered_ravenna
|
||||
}
|
||||
title:c_tunis = {
|
||||
set_global_variable = ep3_reconquered_tunis
|
||||
}
|
||||
title:c_tangiers = {
|
||||
set_global_variable = ep3_reconquered_tangiers
|
||||
}
|
||||
title:c_murcia = {
|
||||
set_global_variable = ep3_reconquered_murcia
|
||||
}
|
||||
title:c_lombardia = {
|
||||
set_global_variable = ep3_reconquered_lombardia
|
||||
}
|
||||
title:c_trier = {
|
||||
set_global_variable = ep3_reconquered_trier
|
||||
}
|
||||
title:c_northumberland = {
|
||||
set_global_variable = ep3_reconquered_hadrian
|
||||
}
|
||||
title:c_chandax = {
|
||||
set_global_variable = ep3_reconquered_chandax
|
||||
}
|
||||
title:c_tourraine = {
|
||||
set_global_variable = ep3_reconquered_tourraine
|
||||
}
|
||||
}
|
||||
change_influence = massive_influence_gain
|
||||
add_prestige = major_prestige_gain
|
||||
}
|
||||
|
|
@ -462,6 +408,112 @@ ep3_emperor_yearly.2000 = {
|
|||
}
|
||||
|
||||
after = {
|
||||
if = {
|
||||
limit = {
|
||||
scope:county = title:c_antiocheia
|
||||
}
|
||||
set_global_variable = ep3_reconquered_antiocheia
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_jerusalem
|
||||
}
|
||||
set_global_variable = ep3_reconquered_jerusalem
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_alexandria
|
||||
}
|
||||
set_global_variable = ep3_reconquered_alexandria
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_abbadan
|
||||
}
|
||||
set_global_variable = ep3_reconquered_abbadan
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_edessa
|
||||
}
|
||||
set_global_variable = ep3_reconquered_edessa
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_bari
|
||||
}
|
||||
set_global_variable = ep3_reconquered_bari
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_siracusa
|
||||
}
|
||||
set_global_variable = ep3_reconquered_siracusa
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_roma
|
||||
}
|
||||
set_global_variable = ep3_reconquered_roma
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_ravenna
|
||||
}
|
||||
set_global_variable = ep3_reconquered_ravenna
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_tunis
|
||||
}
|
||||
set_global_variable = ep3_reconquered_tunis
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_tangiers
|
||||
}
|
||||
set_global_variable = ep3_reconquered_tangiers
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_murcia
|
||||
}
|
||||
set_global_variable = ep3_reconquered_murcia
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_lombardia
|
||||
}
|
||||
set_global_variable = ep3_reconquered_lombardia
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_trier
|
||||
}
|
||||
set_global_variable = ep3_reconquered_trier
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
OR = {
|
||||
scope:county = title:c_cumberland
|
||||
scope:county = title:c_northumberland
|
||||
}
|
||||
}
|
||||
set_global_variable = ep3_reconquered_hadrian
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_chandax
|
||||
}
|
||||
set_global_variable = ep3_reconquered_chandax
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_tourraine
|
||||
}
|
||||
set_global_variable = ep3_reconquered_tourraine
|
||||
}
|
||||
|
||||
if = {
|
||||
limit = {
|
||||
NOT = {
|
||||
|
|
@ -712,7 +764,7 @@ ep3_emperor_yearly.2020 = {
|
|||
random_character_trait = {
|
||||
limit = {
|
||||
save_temporary_scope_as = temp_trait
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = scope:temp_trait FAITH = root.faith GENDER_CHARACTER = root }
|
||||
scoped_trait_is_criminal_in_faith_trigger = { TRAIT = scope:temp_trait FAITH = root.faith GENDER_CHARACTER = root }
|
||||
}
|
||||
save_scope_as = target_criminal_trait
|
||||
}
|
||||
|
|
@ -1466,7 +1518,7 @@ ep3_emperor_yearly.2050 = {
|
|||
house = root.house
|
||||
this != root
|
||||
}
|
||||
position = 0
|
||||
position = 1
|
||||
save_scope_as = last_emperor
|
||||
}
|
||||
}
|
||||
|
|
@ -4312,10 +4364,7 @@ ep3_emperor_yearly.2170 = {
|
|||
years = 50
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = { government_has_flag = government_has_influence }
|
||||
change_influence = major_influence_gain
|
||||
}
|
||||
change_influence = major_influence_gain
|
||||
stress_impact = {
|
||||
greedy = major_stress_impact_gain
|
||||
paranoid = medium_stress_impact_gain
|
||||
|
|
@ -6165,12 +6214,6 @@ ep3_emperor_yearly.2300 = {
|
|||
faith != liege.primary_title.state_faith
|
||||
}
|
||||
set_character_faith = liege.primary_title.state_faith
|
||||
if = {
|
||||
limit = {
|
||||
liege.primary_title.state_faith = { has_doctrine = doctrine_monotheist }
|
||||
}
|
||||
custom_description_no_bullet = { text = mandala_monotheist_warning_tt }
|
||||
}
|
||||
stress_impact = {
|
||||
zealous = major_stress_impact_gain
|
||||
disloyal = major_stress_impact_gain
|
||||
|
|
@ -6321,12 +6364,6 @@ ep3_emperor_yearly.2310 = {
|
|||
faith != top_liege.primary_title.state_faith
|
||||
}
|
||||
set_character_faith = top_liege.primary_title.state_faith
|
||||
if = {
|
||||
limit = {
|
||||
top_liege.primary_title.state_faith = { has_doctrine = doctrine_monotheist }
|
||||
}
|
||||
custom_description_no_bullet = { text = mandala_monotheist_warning_tt }
|
||||
}
|
||||
change_influence = medium_influence_gain
|
||||
stress_impact = {
|
||||
zealous = major_stress_impact_gain
|
||||
|
|
@ -6720,12 +6757,6 @@ ep3_emperor_yearly.2340 = {
|
|||
option = {
|
||||
name = ep3_emperor_yearly.2340.a
|
||||
set_character_faith = top_liege.primary_title.state_faith
|
||||
if = {
|
||||
limit = {
|
||||
top_liege.primary_title.state_faith = { has_doctrine = doctrine_monotheist }
|
||||
}
|
||||
custom_description_no_bullet = { text = mandala_monotheist_warning_tt }
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
top_liege = this
|
||||
|
|
@ -6927,7 +6958,7 @@ ep3_emperor_yearly.2410 = {
|
|||
}
|
||||
send_interface_message = {
|
||||
title = 2410_noble_family_tt
|
||||
type = msg_new_noble_family
|
||||
type = msg_new_powerful_family
|
||||
left_icon = scope:noble_family_head
|
||||
right_icon = scope:new_title
|
||||
desc = 2410_noble_family_tt_desc
|
||||
|
|
@ -6984,7 +7015,6 @@ ep3_emperor_yearly.2420 = {
|
|||
title = 2420_noble_family_tt
|
||||
type = msg_new_powerful_family
|
||||
left_icon = scope:noble_family_head
|
||||
right_icon = scope:noble_family_head.house
|
||||
desc = 2420_noble_family_tt_desc
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1469,12 +1469,6 @@ ep3_emperor_yearly.8040 = {
|
|||
name = ep3_emperor_yearly.8040.a
|
||||
add_piety = major_piety_gain
|
||||
set_character_faith_with_conversion = faith:iconoclast
|
||||
if = {
|
||||
limit = {
|
||||
faith:iconoclast = { has_doctrine = doctrine_monotheist }
|
||||
}
|
||||
custom_description_no_bullet = { text = mandala_monotheist_warning_tt }
|
||||
}
|
||||
add_character_modifier = {
|
||||
modifier = ep3_iconoclast_modifier
|
||||
years = 15
|
||||
|
|
|
|||
|
|
@ -2236,8 +2236,8 @@ ep3_governor_yearly.3020 = {
|
|||
NOT = {
|
||||
root = { is_incestuous_trigger = yes }
|
||||
}
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:incestuous FAITH = scope:emperor_temp.faith GENDER_CHARACTER = scope:emperor_temp }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:incestuous FAITH = root.faith GENDER_CHARACTER = scope:emperor_temp }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = incestuous FAITH = scope:emperor_temp.faith GENDER_CHARACTER = scope:emperor_temp }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = incestuous FAITH = root.faith GENDER_CHARACTER = scope:emperor_temp }
|
||||
}
|
||||
AND = {
|
||||
has_trait = kinslayer
|
||||
|
|
@ -2250,8 +2250,8 @@ ep3_governor_yearly.3020 = {
|
|||
NOT = {
|
||||
root = { has_trait = adulterer }
|
||||
}
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:adulterer FAITH = scope:emperor_temp.faith GENDER_CHARACTER = scope:emperor_temp }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:adulterer FAITH = root.faith GENDER_CHARACTER = scope:emperor_temp }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = adulterer FAITH = scope:emperor_temp.faith GENDER_CHARACTER = scope:emperor_temp }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = adulterer FAITH = root.faith GENDER_CHARACTER = scope:emperor_temp }
|
||||
}
|
||||
AND = {
|
||||
has_trait = fornicator
|
||||
|
|
@ -2263,24 +2263,24 @@ ep3_governor_yearly.3020 = {
|
|||
}
|
||||
}
|
||||
}
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:fornicator FAITH = scope:emperor_temp.faith GENDER_CHARACTER = scope:emperor_temp }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:fornicator FAITH = root.faith GENDER_CHARACTER = scope:emperor_temp }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = fornicator FAITH = scope:emperor_temp.faith GENDER_CHARACTER = scope:emperor_temp }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = fornicator FAITH = root.faith GENDER_CHARACTER = scope:emperor_temp }
|
||||
}
|
||||
AND = {
|
||||
has_trait = deviant
|
||||
NOT = {
|
||||
root = { is_deviant_trigger = yes }
|
||||
}
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:deviant FAITH = scope:emperor_temp.faith GENDER_CHARACTER = scope:emperor_temp }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:deviant FAITH = root.faith GENDER_CHARACTER = scope:emperor_temp }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = deviant FAITH = scope:emperor_temp.faith GENDER_CHARACTER = scope:emperor_temp }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = deviant FAITH = root.faith GENDER_CHARACTER = scope:emperor_temp }
|
||||
}
|
||||
AND = {
|
||||
has_trait = witch
|
||||
NOT = {
|
||||
root = { is_witch_trigger = yes }
|
||||
}
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:witch FAITH = scope:emperor_temp.faith GENDER_CHARACTER = scope:emperor_temp }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:witch FAITH = root.faith GENDER_CHARACTER = scope:emperor_temp }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = witch FAITH = scope:emperor_temp.faith GENDER_CHARACTER = scope:emperor_temp }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = witch FAITH = root.faith GENDER_CHARACTER = scope:emperor_temp }
|
||||
}
|
||||
AND = {
|
||||
has_trait = sodomite
|
||||
|
|
@ -2292,16 +2292,16 @@ ep3_governor_yearly.3020 = {
|
|||
}
|
||||
}
|
||||
}
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:sodomite FAITH = scope:emperor_temp.faith GENDER_CHARACTER = scope:emperor_temp }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:sodomite FAITH = root.faith GENDER_CHARACTER = scope:emperor_temp }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = sodomite FAITH = scope:emperor_temp.faith GENDER_CHARACTER = scope:emperor_temp }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = sodomite FAITH = root.faith GENDER_CHARACTER = scope:emperor_temp }
|
||||
}
|
||||
AND = {
|
||||
has_trait = cannibal
|
||||
NOT = {
|
||||
root = { is_cannibal_trigger = yes }
|
||||
}
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:cannibal FAITH = scope:emperor_temp.faith GENDER_CHARACTER = scope:emperor_temp }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:cannibal FAITH = root.faith GENDER_CHARACTER = scope:emperor_temp }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = cannibal FAITH = scope:emperor_temp.faith GENDER_CHARACTER = scope:emperor_temp }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = cannibal FAITH = root.faith GENDER_CHARACTER = scope:emperor_temp }
|
||||
}
|
||||
AND = {
|
||||
root.culture = {
|
||||
|
|
@ -2346,8 +2346,8 @@ ep3_governor_yearly.3020 = {
|
|||
NOT = {
|
||||
root = { is_incestuous_trigger = yes }
|
||||
}
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:incestuous FAITH = scope:emperor.faith GENDER_CHARACTER = scope:emperor }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:incestuous FAITH = root.faith GENDER_CHARACTER = scope:emperor }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = incestuous FAITH = scope:emperor.faith GENDER_CHARACTER = scope:emperor }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = incestuous FAITH = root.faith GENDER_CHARACTER = scope:emperor }
|
||||
}
|
||||
random_character_trait = {
|
||||
limit = {
|
||||
|
|
@ -2380,8 +2380,8 @@ ep3_governor_yearly.3020 = {
|
|||
NOT = {
|
||||
root = { has_trait = adulterer }
|
||||
}
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:adulterer FAITH = scope:emperor.faith GENDER_CHARACTER = scope:emperor }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:adulterer FAITH = root.faith GENDER_CHARACTER = scope:emperor }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = adulterer FAITH = scope:emperor.faith GENDER_CHARACTER = scope:emperor }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = adulterer FAITH = root.faith GENDER_CHARACTER = scope:emperor }
|
||||
}
|
||||
random_character_trait = {
|
||||
limit = {
|
||||
|
|
@ -2401,8 +2401,8 @@ ep3_governor_yearly.3020 = {
|
|||
}
|
||||
}
|
||||
}
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:fornicator FAITH = scope:emperor.faith GENDER_CHARACTER = scope:emperor }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:fornicator FAITH = root.faith GENDER_CHARACTER = scope:emperor }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = fornicator FAITH = scope:emperor.faith GENDER_CHARACTER = scope:emperor }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = fornicator FAITH = root.faith GENDER_CHARACTER = scope:emperor }
|
||||
}
|
||||
random_character_trait = {
|
||||
limit = {
|
||||
|
|
@ -2417,8 +2417,8 @@ ep3_governor_yearly.3020 = {
|
|||
NOT = {
|
||||
root = { is_deviant_trigger = yes }
|
||||
}
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:deviant FAITH = scope:emperor.faith GENDER_CHARACTER = scope:emperor }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:deviant FAITH = root.faith GENDER_CHARACTER = scope:emperor }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = deviant FAITH = scope:emperor.faith GENDER_CHARACTER = scope:emperor }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = deviant FAITH = root.faith GENDER_CHARACTER = scope:emperor }
|
||||
}
|
||||
random_character_trait = {
|
||||
limit = {
|
||||
|
|
@ -2433,8 +2433,8 @@ ep3_governor_yearly.3020 = {
|
|||
NOT = {
|
||||
root = { is_witch_trigger = yes }
|
||||
}
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:witch FAITH = scope:emperor.faith GENDER_CHARACTER = scope:emperor }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:witch FAITH = root.faith GENDER_CHARACTER = scope:emperor }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = witch FAITH = scope:emperor.faith GENDER_CHARACTER = scope:emperor }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = witch FAITH = root.faith GENDER_CHARACTER = scope:emperor }
|
||||
}
|
||||
random_character_trait = {
|
||||
limit = {
|
||||
|
|
@ -2454,8 +2454,8 @@ ep3_governor_yearly.3020 = {
|
|||
}
|
||||
}
|
||||
}
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:sodomite FAITH = scope:emperor.faith GENDER_CHARACTER = scope:emperor }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:sodomite FAITH = root.faith GENDER_CHARACTER = scope:emperor }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = sodomite FAITH = scope:emperor.faith GENDER_CHARACTER = scope:emperor }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = sodomite FAITH = root.faith GENDER_CHARACTER = scope:emperor }
|
||||
}
|
||||
random_character_trait = {
|
||||
limit = {
|
||||
|
|
@ -2470,8 +2470,8 @@ ep3_governor_yearly.3020 = {
|
|||
NOT = {
|
||||
root = { is_cannibal_trigger = yes }
|
||||
}
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:cannibal FAITH = scope:emperor.faith GENDER_CHARACTER = scope:emperor }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:cannibal FAITH = root.faith GENDER_CHARACTER = scope:emperor }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = cannibal FAITH = scope:emperor.faith GENDER_CHARACTER = scope:emperor }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = cannibal FAITH = root.faith GENDER_CHARACTER = scope:emperor }
|
||||
}
|
||||
random_character_trait = {
|
||||
limit = {
|
||||
|
|
@ -5215,6 +5215,7 @@ ep3_governor_yearly.3050 = {
|
|||
# by Jason Cantalini #
|
||||
# 3060 #
|
||||
#####################################
|
||||
|
||||
#Admin Imperial Succession event
|
||||
ep3_governor_yearly.3060 = {
|
||||
type = character_event
|
||||
|
|
@ -5465,12 +5466,21 @@ ep3_governor_yearly.3060 = {
|
|||
camera = camera_event_right_forward
|
||||
}
|
||||
lower_right_portrait = scope:previous_holder
|
||||
trigger = {
|
||||
exists = scope:emperor
|
||||
scope:emperor = {
|
||||
is_alive = yes
|
||||
}
|
||||
top_liege ?= {
|
||||
this = scope:emperor
|
||||
}
|
||||
}
|
||||
immediate = {
|
||||
play_sound_effect = "event:/DLC/EP3/SFX/Stingers/Byzantine_Flavor/ep3_mx_sting_byzantineflavor_become_emperor"
|
||||
tgp_save_realm_ceremonial_liege_effect = yes
|
||||
if = {
|
||||
limit = {
|
||||
scope:ceremonial_liege ?= scope:emperor
|
||||
scope:ceremonial_liege = scope:emperor
|
||||
}
|
||||
clear_saved_scope = ceremonial_liege
|
||||
}
|
||||
|
|
@ -5484,7 +5494,7 @@ ep3_governor_yearly.3060 = {
|
|||
is_in_army = yes
|
||||
}
|
||||
#Is not at sea
|
||||
location.county = {
|
||||
location = {
|
||||
exists = holder
|
||||
}
|
||||
}
|
||||
|
|
@ -6886,6 +6896,7 @@ ep3_governor_yearly.3070 = {
|
|||
limit = {
|
||||
ep3_governor_yearly_3070_close_governor_trigger = yes
|
||||
save_temporary_scope_as = temp_vassal
|
||||
ep3_governor_yearly_3070_close_governor_trigger = yes
|
||||
"scope:liege.capital_province.squared_distance(scope:temp_vassal.capital_province)" < 25000
|
||||
}
|
||||
save_scope_as = close_governor
|
||||
|
|
@ -6948,16 +6959,10 @@ ep3_governor_yearly.3070 = {
|
|||
trigger = {
|
||||
is_landed = no
|
||||
}
|
||||
custom_tooltip = {
|
||||
text = domicile_move_to_province.tt
|
||||
}
|
||||
change_influence = medium_influence_gain
|
||||
hidden_effect = {
|
||||
domicile = {
|
||||
move_domicile = scope:liege.capital_province
|
||||
}
|
||||
domicile = {
|
||||
move_domicile = scope:liege.capital_province
|
||||
}
|
||||
|
||||
house = {
|
||||
every_house_member = {
|
||||
custom = custom.every_house_member
|
||||
|
|
|
|||
|
|
@ -767,7 +767,6 @@ ep3_interactions_events.0031 = { # By Jason Cantalini
|
|||
has_graphical_mena_culture_group_trigger = yes
|
||||
has_graphical_african_culture_group_trigger = yes
|
||||
has_building_gfx = indian_building_gfx
|
||||
has_building_gfx = tibetan_building_gfx
|
||||
}
|
||||
}
|
||||
NOT = { government_has_flag = government_is_tribal }
|
||||
|
|
@ -783,7 +782,6 @@ ep3_interactions_events.0031 = { # By Jason Cantalini
|
|||
has_graphical_mena_culture_group_trigger = yes
|
||||
has_graphical_african_culture_group_trigger = yes
|
||||
has_building_gfx = indian_building_gfx
|
||||
has_building_gfx = tibetan_building_gfx
|
||||
}
|
||||
}
|
||||
government_has_flag = government_is_tribal
|
||||
|
|
@ -1551,13 +1549,6 @@ ep3_interactions_events.0111 = {
|
|||
scope:actor.primary_title ?= this
|
||||
scope:actor.capital_county.de_jure_liege ?= this
|
||||
}
|
||||
any_de_jure_county = {
|
||||
holder.top_liege = scope:actor
|
||||
NOR = {
|
||||
scope:actor.capital_county ?= this
|
||||
scope:actor.primary_title ?= this
|
||||
}
|
||||
}
|
||||
is_noble_family_title = no
|
||||
is_landless_type_title = no
|
||||
}
|
||||
|
|
@ -1571,26 +1562,16 @@ ep3_interactions_events.0111 = {
|
|||
scope:actor.primary_title ?= this
|
||||
scope:actor.capital_county.de_jure_liege ?= this
|
||||
}
|
||||
any_de_jure_county = {
|
||||
holder.top_liege = scope:actor
|
||||
NOR = {
|
||||
scope:actor.capital_county ?= this
|
||||
scope:actor.primary_title ?= this
|
||||
}
|
||||
}
|
||||
is_noble_family_title = no
|
||||
is_landless_type_title = no
|
||||
}
|
||||
add_to_list = purchased_titles
|
||||
every_de_jure_county = {
|
||||
limit = {
|
||||
holder.top_liege = scope:actor
|
||||
NOR = {
|
||||
scope:actor.capital_county ?= this
|
||||
scope:actor.primary_title ?= this
|
||||
}
|
||||
if = {
|
||||
limit = { tier = tier_duchy }
|
||||
every_de_jure_county = {
|
||||
limit = { ep3_purchase_land_valid_county_trigger = yes }
|
||||
add_to_list = purchased_titles
|
||||
}
|
||||
add_to_list = purchased_titles
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1613,13 +1594,7 @@ ep3_interactions_events.0111 = {
|
|||
if = {
|
||||
limit = { tier = tier_duchy }
|
||||
every_de_jure_county = {
|
||||
limit = {
|
||||
holder.top_liege = scope:actor
|
||||
NOR = {
|
||||
scope:actor.capital_county ?= this
|
||||
scope:actor.primary_title ?= this
|
||||
}
|
||||
}
|
||||
limit = { ep3_purchase_land_valid_county_trigger = yes }
|
||||
add_to_list = purchased_titles
|
||||
}
|
||||
}
|
||||
|
|
@ -1633,7 +1608,6 @@ ep3_interactions_events.0111 = {
|
|||
is_landless_type_title = no
|
||||
}
|
||||
save_scope_as = new_primary_title
|
||||
save_scope_as = target
|
||||
}
|
||||
|
||||
scope:actor = {
|
||||
|
|
@ -1643,7 +1617,6 @@ ep3_interactions_events.0111 = {
|
|||
random_character_artifact = {
|
||||
limit = {
|
||||
scope:recipient = { can_equip_artifact = prev }
|
||||
artifact_can_be_gift_to_trigger = { RECIPIENT = scope:recipient }
|
||||
}
|
||||
save_scope_as = actor_artifact
|
||||
}
|
||||
|
|
@ -1698,7 +1671,6 @@ ep3_interactions_events.0111 = {
|
|||
TITLE_LIST = purchased_titles
|
||||
TYPE = granted
|
||||
REASON = flag:purchased
|
||||
ENNOBLED_ADVENTURER = flag:yes
|
||||
}
|
||||
}
|
||||
scope:actor = {
|
||||
|
|
@ -2053,34 +2025,6 @@ ep3_interactions_events.0111 = {
|
|||
}
|
||||
}
|
||||
|
||||
#Refuse all for 5 years
|
||||
option = {
|
||||
name = ep3_interactions_events.0111.refuse_5_years
|
||||
scope:actor = {
|
||||
send_interface_toast = {
|
||||
left_icon = scope:actor
|
||||
right_icon = scope:recipient
|
||||
title = ep3_interactions_events.0111.refuse
|
||||
scope:actor = {
|
||||
add_opinion = {
|
||||
target = scope:recipient
|
||||
modifier = rejected_hiring_as_mercenaries
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
custom_tooltip = ep3_interactions_events.0111.refuse_5_years.tt
|
||||
|
||||
add_character_flag = {
|
||||
flag = ai_hire_blocker
|
||||
years = 5
|
||||
}
|
||||
|
||||
ai_chance = {
|
||||
base = 0
|
||||
}
|
||||
}
|
||||
|
||||
#Refuse
|
||||
option = {
|
||||
name = ep3_interactions_events.0111.f
|
||||
|
|
@ -2166,7 +2110,6 @@ ep3_interactions_events.0112 = {
|
|||
TITLE_LIST = purchased_titles
|
||||
TYPE = granted
|
||||
REASON = flag:purchased
|
||||
ENNOBLED_ADVENTURER = flag:yes
|
||||
}
|
||||
# Extra purchase land specific
|
||||
scope:actor = {
|
||||
|
|
@ -2236,10 +2179,7 @@ ep3_interactions_events.0112 = {
|
|||
add_defender = scope:recipient
|
||||
}
|
||||
scope:recipient = {
|
||||
set_variable = {
|
||||
name = joined_as_mercenary
|
||||
value = scope:actor
|
||||
}
|
||||
add_character_flag = joined_as_mercenary
|
||||
}
|
||||
|
||||
ai_chance = {
|
||||
|
|
@ -2433,10 +2373,7 @@ ep3_interactions_events.0112 = {
|
|||
add_defender = scope:recipient
|
||||
}
|
||||
scope:recipient = {
|
||||
set_variable = {
|
||||
name = joined_as_mercenary
|
||||
value = scope:actor
|
||||
}
|
||||
add_character_flag = joined_as_mercenary
|
||||
}
|
||||
ai_chance = {
|
||||
base = 1000
|
||||
|
|
@ -2499,11 +2436,11 @@ ep3_interactions_events.0121 = {
|
|||
limit = {
|
||||
is_alive = yes
|
||||
}
|
||||
save_scope_as = laamp_temp
|
||||
save_temporary_scope_as = laamp_temp
|
||||
scope:employer = {
|
||||
pay_treasury_or_gold = {
|
||||
target = prev
|
||||
value = scope:laamp_temp.ep3_hire_laamp_mercs_payment_value
|
||||
value = ep3_hire_laamp_mercs_payment_value
|
||||
}
|
||||
}
|
||||
if = {
|
||||
|
|
@ -2538,16 +2475,16 @@ ep3_interactions_events.0121 = {
|
|||
limit = {
|
||||
is_alive = yes
|
||||
}
|
||||
save_temporary_scope_as = laamp_temp_b
|
||||
save_temporary_scope_as = laamp_temp
|
||||
save_scope_value_as = {
|
||||
name = war_contribution_value
|
||||
value = "scope:war.war_contribution(scope:laamp_temp_b)"
|
||||
value = "scope:war.war_contribution(scope:laamp_temp)"
|
||||
}
|
||||
scope:employer = {
|
||||
pay_treasury_or_gold = {
|
||||
target = prev
|
||||
value = {
|
||||
add = scope:laamp_temp_b.ep3_hire_laamp_mercs_payment_value
|
||||
add = ep3_hire_laamp_mercs_payment_value
|
||||
divide = 2
|
||||
}
|
||||
}
|
||||
|
|
@ -2688,7 +2625,7 @@ ep3_interactions_events.0122 = {
|
|||
scope:employer = {
|
||||
pay_treasury_or_gold = {
|
||||
target = prev
|
||||
value = scope:laamp_temp.ep3_hire_laamp_mercs_payment_value
|
||||
value = ep3_hire_laamp_mercs_payment_value
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -2699,7 +2636,7 @@ ep3_interactions_events.0122 = {
|
|||
pay_treasury_or_gold = {
|
||||
target = prev
|
||||
value = {
|
||||
add = scope:laamp_temp.ep3_hire_laamp_mercs_payment_value
|
||||
add = ep3_hire_laamp_mercs_payment_value
|
||||
divide = 2
|
||||
}
|
||||
}
|
||||
|
|
@ -2962,10 +2899,10 @@ ep3_interactions_events.0500 = {
|
|||
show_as_unavailable = { always = yes }
|
||||
custom_description_no_bullet = {
|
||||
text = evict_adventurer_consequences_tt
|
||||
object = scope:actor
|
||||
subject = scope:recipient
|
||||
object = scope:recipient
|
||||
subject = scope:actor
|
||||
}
|
||||
scope:actor = { custom_tooltip = evict_adventurer_casus_belli_tt }
|
||||
custom_tooltip = evict_adventurer_casus_belli_tt
|
||||
show_as_tooltip = {
|
||||
reverse_add_opinion = {
|
||||
target = scope:actor
|
||||
|
|
@ -2981,20 +2918,17 @@ ep3_interactions_events.0500 = {
|
|||
}
|
||||
custom_description_no_bullet = {
|
||||
text = evict_adventurer_consequences_tt
|
||||
object = scope:actor
|
||||
subject = scope:recipient
|
||||
object = scope:recipient
|
||||
subject = scope:actor
|
||||
}
|
||||
scope:actor = { custom_tooltip = evict_adventurer_casus_belli_tt }
|
||||
custom_tooltip = evict_adventurer_forced_tt
|
||||
custom_tooltip = evict_adventurer_forced_tt.part_2
|
||||
show_as_tooltip = {
|
||||
reverse_add_opinion = {
|
||||
target = scope:actor
|
||||
modifier = eviction_ignored_opinion
|
||||
}
|
||||
}
|
||||
scope:actor = {
|
||||
custom_tooltip = evict_adventurer_forced_tt
|
||||
custom_tooltip = evict_adventurer_forced_tt.part_2
|
||||
}
|
||||
}
|
||||
|
||||
after = { trigger_event = ep3_interactions_events.0502 }
|
||||
|
|
@ -3072,7 +3006,7 @@ ep3_interactions_events.0501 = {
|
|||
interaction = imprison_interaction
|
||||
actor = scope:expeller
|
||||
recipient = scope:adventurer
|
||||
send_threshold = decline
|
||||
execute_threshold = decline
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -4350,7 +4284,9 @@ ep3_interactions_events.0610 = {
|
|||
ordered_succession_appointment_investors = {
|
||||
candidate = root
|
||||
limit = {
|
||||
NOT = { house ?= root.house }
|
||||
NOT = {
|
||||
house ?= root.house
|
||||
}
|
||||
is_alive = yes
|
||||
is_imprisoned = no
|
||||
NOR = {
|
||||
|
|
@ -4363,18 +4299,34 @@ ep3_interactions_events.0610 = {
|
|||
}
|
||||
if = {
|
||||
limit = {
|
||||
NOT = { exists = scope:new_landed_admin }
|
||||
NOT = {
|
||||
exists = scope:new_landed_admin
|
||||
}
|
||||
}
|
||||
save_scope_as = new_landed_admin
|
||||
}
|
||||
if = {
|
||||
limit = { scope:recipient.top_liege != this }
|
||||
scope:recipient.top_liege = { save_scope_as = emperor }
|
||||
limit = {
|
||||
scope:recipient = {
|
||||
top_liege != this
|
||||
|
||||
}
|
||||
}
|
||||
scope:recipient.top_liege = {
|
||||
save_scope_as = emperor
|
||||
}
|
||||
}
|
||||
else = {
|
||||
scope:recipient = { save_scope_as = emperor }
|
||||
scope:recipient = {
|
||||
save_scope_as = emperor
|
||||
}
|
||||
}
|
||||
show_as_tooltip = {
|
||||
get_title = primary_title
|
||||
domicile = {
|
||||
add_domicile_building = estate_main_01
|
||||
}
|
||||
}
|
||||
show_as_tooltip = { get_title = primary_title }
|
||||
}
|
||||
|
||||
#I'm a new kinda landless now
|
||||
|
|
|
|||
|
|
@ -5356,20 +5356,6 @@ scripted_effect 1025_set_contract_location_effect = {
|
|||
}
|
||||
1025_save_random_county_province_effect = { REGION = world_africa_east }
|
||||
}
|
||||
#Sahara
|
||||
10 = {
|
||||
trigger = {
|
||||
scope:visiting_location = { geographical_region = world_africa_sahara }
|
||||
}
|
||||
1025_save_random_county_province_effect = { REGION = world_africa_sahara }
|
||||
}
|
||||
#Siberia
|
||||
10 = {
|
||||
trigger = {
|
||||
scope:visiting_location = { geographical_region = world_siberia }
|
||||
}
|
||||
1025_save_random_county_province_effect = { REGION = world_siberia }
|
||||
}
|
||||
#West Steppe
|
||||
10 = {
|
||||
trigger = {
|
||||
|
|
@ -5377,13 +5363,6 @@ scripted_effect 1025_set_contract_location_effect = {
|
|||
}
|
||||
1025_save_random_county_province_effect = { REGION = world_steppe_west }
|
||||
}
|
||||
#Central Steppe
|
||||
10 = {
|
||||
trigger = {
|
||||
scope:visiting_location = { geographical_region = world_steppe_central }
|
||||
}
|
||||
1025_save_random_county_province_effect = { REGION = world_steppe_central }
|
||||
}
|
||||
#East Steppe
|
||||
10 = {
|
||||
trigger = {
|
||||
|
|
@ -5391,76 +5370,6 @@ scripted_effect 1025_set_contract_location_effect = {
|
|||
}
|
||||
1025_save_random_county_province_effect = { REGION = world_steppe_east }
|
||||
}
|
||||
#Tarim
|
||||
10 = {
|
||||
trigger = {
|
||||
scope:visiting_location = { geographical_region = world_steppe_tarim }
|
||||
}
|
||||
1025_save_random_county_province_effect = { REGION = world_steppe_tarim }
|
||||
}
|
||||
#Tibet
|
||||
10 = {
|
||||
trigger = {
|
||||
scope:visiting_location = { geographical_region = world_tibet }
|
||||
}
|
||||
1025_save_random_county_province_effect = { REGION = world_tibet }
|
||||
}
|
||||
# Burma
|
||||
10 = {
|
||||
trigger = {
|
||||
scope:visiting_location = { geographical_region = world_burma }
|
||||
}
|
||||
1025_save_random_county_province_effect = { REGION = world_burma }
|
||||
}
|
||||
# Mainland SE Asia
|
||||
10 = {
|
||||
trigger = {
|
||||
scope:visiting_location = { geographical_region = world_asia_southeast_mainland }
|
||||
}
|
||||
1025_save_random_county_province_effect = { REGION = world_asia_southeast_mainland }
|
||||
}
|
||||
# Maritime SE Asia
|
||||
10 = {
|
||||
trigger = {
|
||||
scope:visiting_location = { geographical_region = world_asia_southeast_islands }
|
||||
}
|
||||
1025_save_random_county_province_effect = { REGION = world_asia_southeast_islands }
|
||||
}
|
||||
#China
|
||||
10 = {
|
||||
trigger = {
|
||||
scope:visiting_location = { geographical_region = world_asia_china }
|
||||
}
|
||||
1025_save_random_county_province_effect = { REGION = world_asia_china }
|
||||
}
|
||||
#Japan
|
||||
10 = {
|
||||
trigger = {
|
||||
scope:visiting_location = { geographical_region = world_asia_japan }
|
||||
}
|
||||
1025_save_random_county_province_effect = { REGION = world_asia_japan }
|
||||
}
|
||||
#Korea
|
||||
10 = {
|
||||
trigger = {
|
||||
scope:visiting_location = { geographical_region = world_asia_korea }
|
||||
}
|
||||
1025_save_random_county_province_effect = { REGION = world_asia_korea }
|
||||
}
|
||||
#Sakhalin-Hokkaido
|
||||
10 = {
|
||||
trigger = {
|
||||
scope:visiting_location = { geographical_region = world_asia_sakhalin_hokkaido }
|
||||
}
|
||||
1025_save_random_county_province_effect = { REGION = world_asia_sakhalin_hokkaido }
|
||||
}
|
||||
#North East Asia
|
||||
10 = {
|
||||
trigger = {
|
||||
scope:visiting_location = { geographical_region = world_asia_north_east }
|
||||
}
|
||||
1025_save_random_county_province_effect = { REGION = world_asia_north_east }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -15202,12 +15111,6 @@ ep3_laamp_decision_event.1045 = {
|
|||
faith != scope:visiting_location.faith
|
||||
}
|
||||
set_character_faith = scope:visiting_location.faith
|
||||
if = {
|
||||
limit = {
|
||||
scope:visiting_location.faith = { has_doctrine = doctrine_monotheist }
|
||||
}
|
||||
custom_description_no_bullet = { text = mandala_monotheist_warning_tt }
|
||||
}
|
||||
stress_impact = {
|
||||
base = minor_stress_impact_loss
|
||||
zealous = major_stress_impact_gain
|
||||
|
|
@ -20909,7 +20812,7 @@ ep3_laamp_decision_event.1120 = {
|
|||
ep3_laamp_decision_event.1130 = { #begin city construction
|
||||
type = character_event
|
||||
title = ep3_laamp_decision_event.1130.t
|
||||
window = big_event_window
|
||||
window = visit_settlement_window
|
||||
desc = ep3_laamp_decision_event.1130.desc
|
||||
|
||||
theme = stewardship
|
||||
|
|
@ -20923,7 +20826,6 @@ ep3_laamp_decision_event.1130 = { #begin city construction
|
|||
|
||||
immediate = {
|
||||
location = {
|
||||
set_variable = laamp_city_construction
|
||||
save_scope_as = city_location
|
||||
}
|
||||
}
|
||||
|
|
@ -20933,15 +20835,10 @@ ep3_laamp_decision_event.1130 = { #begin city construction
|
|||
custom_tooltip = ep3_laamp_decision_event.1130.a.desc
|
||||
add_character_flag = laamp_city_builder
|
||||
scope:city_location = {
|
||||
if = {
|
||||
limit = {
|
||||
root = { has_variable = city_construction_is_temple_citadel }
|
||||
}
|
||||
begin_create_holding = { type = temple_citadel_holding }
|
||||
}
|
||||
else = {
|
||||
begin_create_holding = { type = castle_holding }
|
||||
begin_create_holding = {
|
||||
type = castle_holding
|
||||
}
|
||||
set_variable = laamp_city_construction
|
||||
}
|
||||
|
||||
trigger_event = {
|
||||
|
|
@ -20971,19 +20868,10 @@ ep3_laamp_decision_event.1130 = { #begin city construction
|
|||
ep3_laamp_decision_event.1131 = { #city is finished, wat do
|
||||
type = character_event
|
||||
title = ep3_laamp_decision_event.1131.t
|
||||
window = big_event_window
|
||||
desc = ep3_laamp_decision_event.1131.desc
|
||||
|
||||
theme = stewardship
|
||||
|
||||
override_background = {
|
||||
trigger = {
|
||||
location = {
|
||||
culture = { has_building_gfx = southeast_asian_building_gfx }
|
||||
}
|
||||
}
|
||||
reference = mpo_rural_village_asian
|
||||
}
|
||||
override_background = { reference = alley_day }
|
||||
|
||||
left_portrait = {
|
||||
|
|
@ -20993,10 +20881,7 @@ ep3_laamp_decision_event.1131 = { #city is finished, wat do
|
|||
|
||||
trigger = {
|
||||
scope:city_location = {
|
||||
OR = {
|
||||
has_holding_type = temple_citadel_holding
|
||||
has_holding_type = castle_holding
|
||||
}
|
||||
has_holding_type = castle_holding
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -21006,54 +20891,30 @@ ep3_laamp_decision_event.1131 = { #city is finished, wat do
|
|||
value = current_year
|
||||
}
|
||||
|
||||
if = {
|
||||
limit = {
|
||||
scope:city_location = { has_holding_type = temple_citadel_holding }
|
||||
}
|
||||
laamp_city_builder_construction_effect = {
|
||||
FLAG = mill
|
||||
BUILDING = watermills
|
||||
}
|
||||
laamp_city_builder_construction_effect = {
|
||||
FLAG = temple_citadel
|
||||
BUILDING = temple_citadel
|
||||
}
|
||||
laamp_city_builder_construction_effect = {
|
||||
FLAG = manor
|
||||
BUILDING = farm_estates
|
||||
}
|
||||
laamp_city_builder_construction_effect = {
|
||||
FLAG = spice_plantation
|
||||
BUILDING = spice_plantation
|
||||
}
|
||||
laamp_city_builder_construction_effect = {
|
||||
FLAG = vihara_halls
|
||||
BUILDING = vihara_halls
|
||||
}
|
||||
laamp_city_builder_construction_effect = {
|
||||
FLAG = mill
|
||||
BUILDING = watermills
|
||||
}
|
||||
else = {
|
||||
laamp_city_builder_construction_effect = {
|
||||
FLAG = mill
|
||||
BUILDING = watermills
|
||||
}
|
||||
laamp_city_builder_construction_effect = {
|
||||
FLAG = castle
|
||||
BUILDING = castle
|
||||
}
|
||||
laamp_city_builder_construction_effect = {
|
||||
FLAG = manor
|
||||
BUILDING = farm_estates
|
||||
}
|
||||
laamp_city_builder_construction_effect = {
|
||||
FLAG = workshops
|
||||
BUILDING = workshops
|
||||
}
|
||||
laamp_city_builder_construction_effect = {
|
||||
FLAG = prayer_hall
|
||||
BUILDING = monastic_schools
|
||||
}
|
||||
|
||||
laamp_city_builder_construction_effect = {
|
||||
FLAG = castle
|
||||
BUILDING = castle
|
||||
}
|
||||
|
||||
laamp_city_builder_construction_effect = {
|
||||
FLAG = manor
|
||||
BUILDING = farm_estates
|
||||
}
|
||||
|
||||
laamp_city_builder_construction_effect = {
|
||||
FLAG = guilds
|
||||
BUILDING = guild_halls
|
||||
}
|
||||
|
||||
laamp_city_builder_construction_effect = {
|
||||
FLAG = prayer_hall
|
||||
BUILDING = monastic_schools
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
on_trigger_fail = {
|
||||
|
|
@ -21061,7 +20922,9 @@ ep3_laamp_decision_event.1131 = { #city is finished, wat do
|
|||
limit = {
|
||||
scope:city_location = { #somehow, the city is still being built
|
||||
has_ongoing_construction = yes
|
||||
has_holding = no
|
||||
NOT = {
|
||||
has_holding = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
trigger_event = {
|
||||
|
|
@ -21074,13 +20937,8 @@ ep3_laamp_decision_event.1131 = { #city is finished, wat do
|
|||
option = { #well, actually imma get the whole county
|
||||
name = ep3_laamp_decision_event.1131.a
|
||||
|
||||
set_variable = {
|
||||
name = holding_barony
|
||||
value = scope:city_location.barony
|
||||
}
|
||||
add_pressed_claim = scope:city_location.county
|
||||
add_pressed_claim = scope:city_location.barony
|
||||
add_character_flag = temp_no_claim_war_cost
|
||||
start_war = {
|
||||
cb = claim_cb
|
||||
target = scope:city_location.county.holder
|
||||
|
|
@ -21088,7 +20946,6 @@ ep3_laamp_decision_event.1131 = { #city is finished, wat do
|
|||
target_title = scope:city_location.county
|
||||
target_title = scope:city_location.barony
|
||||
}
|
||||
remove_character_flag = temp_no_claim_war_cost
|
||||
|
||||
ai_chance = {
|
||||
base = 0
|
||||
|
|
@ -21105,8 +20962,6 @@ ep3_laamp_decision_event.1131 = { #city is finished, wat do
|
|||
months = { 1 1 }
|
||||
}
|
||||
remove_character_flag = laamp_city_builder
|
||||
remove_variable = city_construction_is_temple_citadel
|
||||
remove_variable = city_construction_is_castle
|
||||
|
||||
ai_chance = {
|
||||
base = 10
|
||||
|
|
@ -21114,36 +20969,20 @@ ep3_laamp_decision_event.1131 = { #city is finished, wat do
|
|||
}
|
||||
|
||||
after = {
|
||||
remove_character_flag = laamp_city_builder_mill
|
||||
remove_character_flag = laamp_city_builder_mill_upgrade
|
||||
remove_character_flag = laamp_city_builder_temple_citadel
|
||||
remove_character_flag = laamp_city_builder_temple_citadel_upgrade
|
||||
remove_character_flag = laamp_city_builder_guilds
|
||||
remove_character_flag = laamp_city_builder_guilds_upgrade
|
||||
remove_character_flag = laamp_city_builder_castle
|
||||
remove_character_flag = laamp_city_builder_castle_upgrade
|
||||
remove_character_flag = laamp_city_builder_manor
|
||||
remove_character_flag = laamp_city_builder_manor_upgrade
|
||||
remove_character_flag = laamp_city_builder_spice_plantation
|
||||
remove_character_flag = laamp_city_builder_spice_plantation_upgrade
|
||||
remove_character_flag = laamp_city_builder_workshops
|
||||
remove_character_flag = laamp_city_builder_workshops_upgrade
|
||||
remove_character_flag = laamp_city_builder_vihara_halls
|
||||
remove_character_flag = laamp_city_builder_vihara_halls_upgrade
|
||||
remove_character_flag = laamp_city_builder_prayer_hall
|
||||
remove_character_flag = laamp_city_builder_prayer_hall_upgrade
|
||||
remove_character_flag = laamp_city_builder_mill
|
||||
remove_character_flag = laamp_city_builder_mill_upgrade
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
scripted_trigger 1133_holding_still_under_construction_trigger = {
|
||||
scope:city_location = {
|
||||
has_ongoing_construction = yes
|
||||
NOR = {
|
||||
has_holding_type = temple_citadel_holding
|
||||
has_holding_type = castle_holding
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ep3_laamp_decision_event.1133 = { #get a mill
|
||||
type = character_event
|
||||
title = ep3_laamp_decision_event.1133.t
|
||||
|
|
@ -21160,7 +20999,12 @@ ep3_laamp_decision_event.1133 = { #get a mill
|
|||
}
|
||||
|
||||
trigger = {
|
||||
1133_holding_still_under_construction_trigger = yes
|
||||
scope:city_location = {
|
||||
has_ongoing_construction = yes
|
||||
NOT = {
|
||||
has_holding_type = castle_holding
|
||||
}
|
||||
}
|
||||
OR = {
|
||||
stewardship >= 18
|
||||
has_trait = architect
|
||||
|
|
@ -21238,7 +21082,12 @@ ep3_laamp_decision_event.1134 = { #get more settlers, main building upgrade
|
|||
}
|
||||
|
||||
trigger = {
|
||||
1133_holding_still_under_construction_trigger = yes
|
||||
scope:city_location = {
|
||||
has_ongoing_construction = yes
|
||||
NOT = {
|
||||
has_holding_type = castle_holding
|
||||
}
|
||||
}
|
||||
OR = {
|
||||
piety_level >= 3
|
||||
prestige_level >= 3
|
||||
|
|
@ -21254,25 +21103,11 @@ ep3_laamp_decision_event.1134 = { #get more settlers, main building upgrade
|
|||
|
||||
option = { #cool
|
||||
name = ep3_laamp_decision_event.1134.a
|
||||
if = {
|
||||
limit = { has_variable = city_construction_is_temple_citadel }
|
||||
add_character_flag = laamp_city_builder_temple_citadel
|
||||
scope:city_location = {
|
||||
show_as_tooltip = { add_building = temple_citadel_02 }
|
||||
}
|
||||
add_character_flag = laamp_city_builder_castle
|
||||
scope:city_location = {
|
||||
show_as_tooltip = { add_building = castle_02 }
|
||||
}
|
||||
else = {
|
||||
add_character_flag = laamp_city_builder_castle
|
||||
scope:city_location = {
|
||||
show_as_tooltip = { add_building = castle_02 }
|
||||
}
|
||||
}
|
||||
remove_short_term_gold = {
|
||||
value = {
|
||||
add = medium_gold_value
|
||||
multiply = 2
|
||||
}
|
||||
}
|
||||
remove_short_term_gold = 20
|
||||
if = {
|
||||
limit = {
|
||||
piety_level >= 3
|
||||
|
|
@ -21291,25 +21126,11 @@ ep3_laamp_decision_event.1134 = { #get more settlers, main building upgrade
|
|||
|
||||
option = { #go for it!
|
||||
name = ep3_laamp_decision_event.1134.b
|
||||
if = {
|
||||
limit = { has_variable = city_construction_is_temple_citadel }
|
||||
add_character_flag = laamp_city_builder_temple_citadel_upgrade
|
||||
scope:city_location = {
|
||||
show_as_tooltip = { add_building = temple_citadel_03 }
|
||||
}
|
||||
}
|
||||
else = {
|
||||
add_character_flag = laamp_city_builder_castle_upgrade
|
||||
scope:city_location = {
|
||||
show_as_tooltip = { add_building = castle_03 }
|
||||
}
|
||||
}
|
||||
remove_short_term_gold = {
|
||||
value = {
|
||||
add = major_gold_value
|
||||
multiply = 2
|
||||
}
|
||||
add_character_flag = laamp_city_builder_castle_upgrade
|
||||
scope:city_location = {
|
||||
show_as_tooltip = { add_building = castle_03 }
|
||||
}
|
||||
remove_short_term_gold = 40
|
||||
if = {
|
||||
limit = {
|
||||
piety_level >= 3
|
||||
|
|
@ -21363,12 +21184,17 @@ ep3_laamp_decision_event.1135 = { #argue for more favorable land assigment from
|
|||
}
|
||||
|
||||
trigger = {
|
||||
1133_holding_still_under_construction_trigger = yes
|
||||
scope:city_location = {
|
||||
has_ongoing_construction = yes
|
||||
NOT = {
|
||||
has_holding_type = castle_holding
|
||||
}
|
||||
}
|
||||
scope:city_location.county.holder = {
|
||||
reverse_opinion = {
|
||||
target = root
|
||||
value >= 40
|
||||
}
|
||||
target = root
|
||||
value >= 40
|
||||
}
|
||||
}
|
||||
NOR = {
|
||||
scope:city_location = {
|
||||
|
|
@ -21426,7 +21252,7 @@ ep3_laamp_decision_event.1135 = { #argue for more favorable land assigment from
|
|||
|
||||
}
|
||||
|
||||
ep3_laamp_decision_event.1136 = { #utilize connections, get merchant building
|
||||
ep3_laamp_decision_event.1136 = { #utilize connections, get guildhall
|
||||
type = character_event
|
||||
title = ep3_laamp_decision_event.1136.t
|
||||
window = visit_settlement_window
|
||||
|
|
@ -21444,7 +21270,12 @@ ep3_laamp_decision_event.1136 = { #utilize connections, get merchant building
|
|||
}
|
||||
|
||||
trigger = {
|
||||
1133_holding_still_under_construction_trigger = yes
|
||||
scope:city_location = {
|
||||
has_ongoing_construction = yes
|
||||
NOT = {
|
||||
has_holding_type = castle_holding
|
||||
}
|
||||
}
|
||||
prestige_level >= 3
|
||||
}
|
||||
|
||||
|
|
@ -21457,17 +21288,10 @@ ep3_laamp_decision_event.1136 = { #utilize connections, get merchant building
|
|||
|
||||
option = { #cool
|
||||
name = ep3_laamp_decision_event.1136.a
|
||||
if = {
|
||||
limit = { has_variable = city_construction_is_temple_citadel }
|
||||
add_character_flag = laamp_city_builder_spice_plantation
|
||||
add_character_flag = laamp_city_builder_guilds
|
||||
show_as_tooltip = {
|
||||
scope:city_location = {
|
||||
show_as_tooltip = { add_building = spice_plantation_01 }
|
||||
}
|
||||
}
|
||||
else = {
|
||||
add_character_flag = laamp_city_builder_workshops
|
||||
scope:city_location = {
|
||||
show_as_tooltip = { add_building = workshops_01 }
|
||||
add_building = guild_halls_01
|
||||
}
|
||||
}
|
||||
add_prestige = -400
|
||||
|
|
@ -21481,17 +21305,10 @@ ep3_laamp_decision_event.1136 = { #utilize connections, get merchant building
|
|||
|
||||
option = { #go for it!
|
||||
name = ep3_laamp_decision_event.1136.b
|
||||
if = {
|
||||
limit = { has_variable = city_construction_is_temple_citadel }
|
||||
add_character_flag = laamp_city_builder_spice_plantation_upgrade
|
||||
add_character_flag = laamp_city_builder_guilds_upgrade
|
||||
show_as_tooltip = {
|
||||
scope:city_location = {
|
||||
show_as_tooltip = { add_building = spice_plantation_03 }
|
||||
}
|
||||
}
|
||||
else = {
|
||||
add_character_flag = laamp_city_builder_workshops_upgrade
|
||||
scope:city_location = {
|
||||
show_as_tooltip = { add_building = workshops_03 }
|
||||
add_building = guild_halls_03
|
||||
}
|
||||
}
|
||||
add_prestige = -600
|
||||
|
|
@ -21535,23 +21352,21 @@ ep3_laamp_decision_event.1137 = { #utilize connections, get prayer hall
|
|||
}
|
||||
|
||||
trigger = {
|
||||
1133_holding_still_under_construction_trigger = yes
|
||||
scope:city_location = {
|
||||
has_ongoing_construction = yes
|
||||
NOT = {
|
||||
has_holding_type = castle_holding
|
||||
}
|
||||
}
|
||||
piety_level >= 3
|
||||
}
|
||||
|
||||
option = { #cool
|
||||
name = ep3_laamp_decision_event.1137.a
|
||||
if = {
|
||||
limit = { has_variable = city_construction_is_temple_citadel }
|
||||
add_character_flag = laamp_city_builder_vihara_halls
|
||||
add_character_flag = laamp_city_builder_prayer_hall
|
||||
show_as_tooltip = {
|
||||
scope:city_location = {
|
||||
show_as_tooltip = { add_building = vihara_halls_01 }
|
||||
}
|
||||
}
|
||||
else = {
|
||||
add_character_flag = laamp_city_builder_prayer_hall
|
||||
scope:city_location = {
|
||||
show_as_tooltip = { add_building = monastic_schools_01 }
|
||||
add_building = monastic_schools_01
|
||||
}
|
||||
}
|
||||
add_piety = -400
|
||||
|
|
@ -21565,17 +21380,10 @@ ep3_laamp_decision_event.1137 = { #utilize connections, get prayer hall
|
|||
|
||||
option = { #go for it!
|
||||
name = ep3_laamp_decision_event.1137.b
|
||||
if = {
|
||||
limit = { has_variable = city_construction_is_temple_citadel }
|
||||
add_character_flag = laamp_city_builder_vihara_halls_upgrade
|
||||
add_character_flag = laamp_city_builder_prayer_hall_upgrade
|
||||
show_as_tooltip = {
|
||||
scope:city_location = {
|
||||
show_as_tooltip = { add_building = vihara_halls_03 }
|
||||
}
|
||||
}
|
||||
else = {
|
||||
add_character_flag = laamp_city_builder_prayer_hall_upgrade
|
||||
scope:city_location = {
|
||||
show_as_tooltip = { add_building = monastic_schools_03 }
|
||||
add_building = monastic_schools_03
|
||||
}
|
||||
}
|
||||
add_piety = -600
|
||||
|
|
|
|||
|
|
@ -107,12 +107,10 @@ ep3_laamps.0001 = {
|
|||
}
|
||||
|
||||
immediate = {
|
||||
play_music_cue = adventure_begin_cue
|
||||
add_character_flag = {
|
||||
flag = become_laamp_event_cooldown
|
||||
days = 5
|
||||
}
|
||||
clear_saved_scope = lost_primary_title
|
||||
# Save highest lost title for loc
|
||||
ordered_in_list = {
|
||||
list = target_titles
|
||||
|
|
@ -126,7 +124,6 @@ ep3_laamps.0001 = {
|
|||
NOT = { exists = scope:lost_primary_title }
|
||||
exists = scope:conquered
|
||||
}
|
||||
clear_saved_scope = lost_primary_title
|
||||
scope:conquered = { save_scope_as = lost_primary_title }
|
||||
}
|
||||
# Find alternative rulers to play as
|
||||
|
|
@ -224,7 +221,6 @@ ep3_laamps.0002 = {
|
|||
random = {
|
||||
chance = scope:ai_laamp_chance
|
||||
# Plus for our memory variable.
|
||||
clear_saved_scope = lost_primary_title
|
||||
ordered_in_list = {
|
||||
list = target_titles
|
||||
order_by = tier
|
||||
|
|
@ -282,9 +278,11 @@ ep3_laamps.0003 = {
|
|||
limit = {
|
||||
NOT = { has_relation_rival = scope:adventurer }
|
||||
}
|
||||
set_relation_rival = {
|
||||
target = scope:adventurer
|
||||
reason = rival_conquered_me
|
||||
scope:adventurer = {
|
||||
set_relation_rival = {
|
||||
target = root
|
||||
reason = rival_conquered_me
|
||||
}
|
||||
}
|
||||
}
|
||||
scope:adventurer = { create_landless_adventurer_title_tooltip_effect = yes }
|
||||
|
|
@ -328,12 +326,10 @@ ep3_laamps.0004 = {
|
|||
}
|
||||
|
||||
immediate = {
|
||||
play_music_cue = adventure_begin_cue
|
||||
add_character_flag = {
|
||||
flag = become_laamp_event_cooldown
|
||||
days = 5
|
||||
}
|
||||
clear_saved_scope = lost_primary_title
|
||||
var:deposed_primary_title ?= {
|
||||
# Save highest lost title for loc
|
||||
save_scope_as = conquered
|
||||
|
|
@ -434,12 +430,10 @@ ep3_laamps.0005 = {
|
|||
}
|
||||
|
||||
immediate = {
|
||||
play_music_cue = adventure_begin_cue
|
||||
add_character_flag = {
|
||||
flag = become_laamp_event_cooldown
|
||||
days = 5
|
||||
}
|
||||
clear_saved_scope = lost_primary_title
|
||||
var:deposed_primary_title ?= {
|
||||
# Save highest lost title for loc
|
||||
save_scope_as = conquered
|
||||
|
|
@ -606,7 +600,6 @@ ep3_laamps.0010 = {
|
|||
}
|
||||
|
||||
immediate = {
|
||||
play_music_cue = adventure_begin_cue
|
||||
add_character_flag = {
|
||||
flag = become_laamp_event_cooldown
|
||||
days = 5
|
||||
|
|
@ -792,7 +785,6 @@ ep3_laamps.0020 = {
|
|||
}
|
||||
|
||||
immediate = {
|
||||
play_music_cue = adventure_begin_cue
|
||||
add_character_flag = {
|
||||
flag = become_laamp_event_cooldown
|
||||
days = 5
|
||||
|
|
@ -800,7 +792,6 @@ ep3_laamps.0020 = {
|
|||
save_scope_as = adventurer
|
||||
liege = { save_scope_as = liege }
|
||||
# Save highest lost title for loc
|
||||
clear_saved_scope = lost_primary_title
|
||||
ordered_held_title = {
|
||||
order_by = tier
|
||||
position = 0
|
||||
|
|
@ -954,7 +945,6 @@ ep3_laamps.0021 = {
|
|||
immediate = {
|
||||
save_scope_as = adventurer
|
||||
liege = { save_scope_as = liege }
|
||||
clear_saved_scope = lost_primary_title
|
||||
# Save highest lost title for loc
|
||||
ordered_held_title = {
|
||||
order_by = tier
|
||||
|
|
@ -1096,7 +1086,6 @@ ep3_laamps.0030 = {
|
|||
trigger = { exists = scope:laamp_inheritor }
|
||||
|
||||
immediate = {
|
||||
play_music_cue = adventure_begin_cue
|
||||
# Save scopes for loc
|
||||
primary_title = { save_scope_as = old_primary_title }
|
||||
capital_province = { save_scope_as = old_capital_province }
|
||||
|
|
@ -1351,7 +1340,6 @@ ep3_laamps.0040 = {
|
|||
}
|
||||
|
||||
immediate = {
|
||||
play_music_cue = adventure_begin_cue
|
||||
add_character_flag = {
|
||||
flag = become_laamp_event_cooldown
|
||||
days = 5
|
||||
|
|
@ -1748,13 +1736,7 @@ ep3_laamps.0100 = {
|
|||
type = character_event
|
||||
title = ep3_laamps.0100.t
|
||||
desc = {
|
||||
first_valid = {
|
||||
triggered_desc = {
|
||||
trigger = { government_has_flag = government_is_nomadic }
|
||||
desc = ep3_laamps.0100.desc_nomadic
|
||||
}
|
||||
desc = ep3_laamps.0100.desc
|
||||
}
|
||||
desc = ep3_laamps.0100.desc
|
||||
first_valid = {
|
||||
triggered_desc = {
|
||||
trigger = { scope:new_liege ?= scope:recipient }
|
||||
|
|
@ -1768,21 +1750,13 @@ ep3_laamps.0100 = {
|
|||
}
|
||||
first_valid = {
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
NOT = { government_has_flag = government_is_nomadic }
|
||||
exists = scope:new_liege
|
||||
}
|
||||
trigger = { exists = scope:new_liege }
|
||||
desc = ep3_laamps.0100.unpopular
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
NOT = { government_has_flag = government_is_nomadic }
|
||||
}
|
||||
desc = ep3_laamps.0100.fallback
|
||||
}
|
||||
desc = ep3_laamps.0100.fallback
|
||||
}
|
||||
}
|
||||
theme = crown
|
||||
theme = realm
|
||||
left_portrait = {
|
||||
character = root
|
||||
animation = war_over_tie
|
||||
|
|
@ -2920,7 +2894,6 @@ ep3_laamps.0800 = { # Player adventurer has gained a landed title
|
|||
TITLE_LIST = landed_titles
|
||||
TYPE = granted
|
||||
REASON = flag:granted
|
||||
ENNOBLED_ADVENTURER = flag:yes
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -6438,7 +6411,6 @@ ep3_laamps.5035 = {
|
|||
NOT = {
|
||||
has_artifact_modifier = artifact_guide_map_modifier
|
||||
}
|
||||
artifact_can_be_gift_to_trigger = { RECIPIENT = scope:guide }
|
||||
}
|
||||
}
|
||||
random_character_artifact = {
|
||||
|
|
@ -6446,7 +6418,6 @@ ep3_laamps.5035 = {
|
|||
NOT = {
|
||||
has_artifact_modifier = artifact_guide_map_modifier
|
||||
}
|
||||
artifact_can_be_gift_to_trigger = { RECIPIENT = scope:guide }
|
||||
}
|
||||
weight = {
|
||||
base = 1
|
||||
|
|
@ -8853,7 +8824,6 @@ ep3_laamps.7004 = {
|
|||
TITLE_LIST = landed_titles
|
||||
TYPE = granted
|
||||
REASON = flag:granted
|
||||
ENNOBLED_ADVENTURER = flag:yes
|
||||
}
|
||||
every_in_list = {
|
||||
list = zichia_names
|
||||
|
|
|
|||
|
|
@ -822,7 +822,6 @@ ep3_laamps.8040 = {
|
|||
name = ep3_laamps.8040.c
|
||||
trigger = {
|
||||
domicile = {
|
||||
free_external_domicile_building_slots >= 1
|
||||
NOT = {
|
||||
has_domicile_building = baggage_train_kennel
|
||||
}
|
||||
|
|
@ -2128,9 +2127,7 @@ ep3_laamps.8101 = {
|
|||
trigger = {
|
||||
any_claim = {
|
||||
count > 1
|
||||
exists = holder
|
||||
tier >= tier_kingdom
|
||||
holder != scope:petitioned_ruler
|
||||
}
|
||||
NOT = {
|
||||
has_variable = legitimist_claimed_title
|
||||
|
|
@ -2140,9 +2137,7 @@ ep3_laamps.8101 = {
|
|||
immediate = {
|
||||
ordered_claim = {
|
||||
limit = {
|
||||
exists = holder
|
||||
tier >= tier_kingdom
|
||||
holder != scope:petitioned_ruler
|
||||
}
|
||||
order_by = tier
|
||||
max = 4
|
||||
|
|
@ -2278,9 +2273,7 @@ ep3_laamps.8102 = {
|
|||
}
|
||||
random_claim = {
|
||||
limit = {
|
||||
exists = holder
|
||||
tier >= tier_kingdom
|
||||
holder != scope:petitioned_ruler
|
||||
}
|
||||
save_scope_as = claimed_title
|
||||
}
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@ scripted_trigger suitable_follower_marriage_character_trigger = {
|
|||
is_concubine = no
|
||||
age <= 50
|
||||
health >= fine_health
|
||||
is_faith_dominant_gender = no
|
||||
NOR = {
|
||||
house = root.house
|
||||
is_close_family_of = root
|
||||
|
|
|
|||
|
|
@ -954,7 +954,7 @@ ep3_laamp_flavour_ewan.0011 = {
|
|||
title = ep3_laamp_flavour_ewan.0011.a.tt.failure
|
||||
left_icon = scope:mockee
|
||||
scope:mockee = {
|
||||
add_opinion = {
|
||||
reverse_add_opinion = {
|
||||
target = root
|
||||
modifier = humiliated_opinion
|
||||
opinion = -30
|
||||
|
|
@ -1021,7 +1021,7 @@ ep3_laamp_flavour_ewan.0011 = {
|
|||
title = ep3_laamp_flavour_ewan.0011.b.tt.failure
|
||||
left_icon = scope:mocker
|
||||
scope:mocker = {
|
||||
add_opinion = {
|
||||
reverse_add_opinion = {
|
||||
target = root
|
||||
modifier = humiliated_opinion
|
||||
opinion = -30
|
||||
|
|
@ -8980,29 +8980,48 @@ ep3_laamp_flavour_ewan.2002 = {
|
|||
}
|
||||
|
||||
immediate = {
|
||||
# Sort our courtiers.
|
||||
## First, get our scope:follower_1 candidate.
|
||||
random_courtier = {
|
||||
while = {
|
||||
count = 10
|
||||
limit = {
|
||||
ep3_laamp_flavour_ewan_2001_courtier_1_trigger = yes
|
||||
save_temporary_scope_as = char_temp
|
||||
root = {
|
||||
any_courtier = {
|
||||
ep3_laamp_flavour_ewan_2001_courtier_2_trigger = { TARGET = scope:char_temp }
|
||||
NOT = { exists = scope:follower_2 }
|
||||
}
|
||||
# Sort our courtiers.
|
||||
## First, get our scope:follower_1 candidate.
|
||||
random_courtier = {
|
||||
limit = {
|
||||
ep3_laamp_flavour_ewan_2001_courtier_1_trigger = yes
|
||||
NOT = { is_in_list = checked_courtier_1_candidates_list }
|
||||
}
|
||||
save_scope_as = follower_1
|
||||
add_to_list = checked_courtier_1_candidates_list
|
||||
}
|
||||
## Now, find a scope:follower_2 from their opinion of the scope:follower_1 candidates.
|
||||
if = {
|
||||
limit = { exists = scope:follower_1 }
|
||||
ordered_courtier = {
|
||||
limit = {
|
||||
ep3_laamp_flavour_ewan_2001_courtier_2_trigger = { TARGET = scope:follower_1 }
|
||||
}
|
||||
order_by = "opinion(scope:follower_1)"
|
||||
save_scope_as = follower_2
|
||||
}
|
||||
# And, wipe our checks so we can iterate the loop if required.
|
||||
if = {
|
||||
limit = {
|
||||
NOT = { exists = scope:follower_2 }
|
||||
}
|
||||
clear_saved_scope = follower_1
|
||||
}
|
||||
}
|
||||
save_scope_as = follower_1
|
||||
}
|
||||
## Now, find a scope:follower_2 from their opinion of the scope:follower_1 candidates.
|
||||
ordered_courtier = {
|
||||
# If we've actually got our dudes, proceed to the event.
|
||||
if = {
|
||||
limit = {
|
||||
ep3_laamp_flavour_ewan_2001_courtier_2_trigger = { TARGET = scope:follower_1 }
|
||||
exists = scope:follower_1
|
||||
exists = scope:follower_2
|
||||
}
|
||||
order_by = "opinion(scope:follower_1)"
|
||||
save_scope_as = follower_2
|
||||
trigger_event = ep3_laamp_flavour_ewan.2001
|
||||
}
|
||||
trigger_event = ep3_laamp_flavour_ewan.2001
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -9029,7 +9048,7 @@ scripted_trigger ep3_laamp_flavour_ewan_2011_secret_lover_would_be_affair_trigge
|
|||
NOT = {
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = {
|
||||
FAITH = faith
|
||||
TRAIT = trait:adulterer
|
||||
TRAIT = adulterer
|
||||
GENDER_CHARACTER = root
|
||||
}
|
||||
}
|
||||
|
|
@ -10477,7 +10496,9 @@ scripted_trigger ep3_laamp_flavour_ewan_2021_valid_courtier_for_own_marriage_pre
|
|||
# Must have matching sexualities & the right legalities in place.
|
||||
is_attracted_to_gender_of = $TARGET$
|
||||
$TARGET$ = { is_attracted_to_gender_of = prev }
|
||||
could_marry_character_trigger = { CHARACTER = $TARGET$ }
|
||||
allowed_to_marry_character_gender_trigger = { CHARACTER = $TARGET$ }
|
||||
# Avoid pairing up people that are already somehow related to each other
|
||||
NOT = { is_close_or_extended_family_of = $TARGET$ }
|
||||
# Ensure our ages aren't too far apart — not that this couldn't happen, but huge age gaps are a big verisimilitude problem for many players.
|
||||
age >= {
|
||||
value = $TARGET$.age
|
||||
|
|
@ -10828,39 +10849,58 @@ ep3_laamp_flavour_ewan.2022 = {
|
|||
}
|
||||
|
||||
immediate = {
|
||||
# Alright, let's select our lovebirds.
|
||||
## First, pick a scope:follower_1 candidate.
|
||||
random_courtier = {
|
||||
while = {
|
||||
count = 10
|
||||
limit = {
|
||||
ep3_laamp_flavour_ewan_2021_valid_courtier_for_own_marriage_general_trigger = yes
|
||||
save_temporary_scope_as = char_temp
|
||||
root = {
|
||||
any_courtier = {
|
||||
ep3_laamp_flavour_ewan_2021_valid_courtier_for_own_marriage_precise_trigger = { TARGET = scope:char_temp }
|
||||
NOT = { exists = scope:follower_2 }
|
||||
}
|
||||
# Alright, let's select our lovebirds.
|
||||
## First, pick a scope:follower_1 candidate.
|
||||
random_courtier = {
|
||||
limit = {
|
||||
ep3_laamp_flavour_ewan_2021_valid_courtier_for_own_marriage_general_trigger = yes
|
||||
NOT = { is_in_list = checked_courtier_1_candidates_list }
|
||||
}
|
||||
save_scope_as = follower_1
|
||||
add_to_list = checked_courtier_1_candidates_list
|
||||
}
|
||||
## Now, nab a suitable pair.
|
||||
if = {
|
||||
limit = { exists = scope:follower_1 }
|
||||
random_courtier = {
|
||||
limit = {
|
||||
ep3_laamp_flavour_ewan_2021_valid_courtier_for_own_marriage_precise_trigger = { TARGET = scope:follower_1 }
|
||||
}
|
||||
weight = {
|
||||
opinion_modifier = {
|
||||
opinion_target = scope:follower_1
|
||||
multiplier = 0.5
|
||||
}
|
||||
opinion_modifier = {
|
||||
who = scope:follower_1
|
||||
opinion_target = this
|
||||
multiplier = 0.5
|
||||
}
|
||||
}
|
||||
save_scope_as = follower_2
|
||||
}
|
||||
# And, wipe our checks so we can iterate the loop if required.
|
||||
if = {
|
||||
limit = {
|
||||
NOT = { exists = scope:follower_2 }
|
||||
}
|
||||
clear_saved_scope = follower_1
|
||||
}
|
||||
}
|
||||
save_scope_as = follower_1
|
||||
}
|
||||
## Now, nab a suitable pair.
|
||||
random_courtier = {
|
||||
# If we've actually got our dudes, proceed to the event.
|
||||
if = {
|
||||
limit = {
|
||||
ep3_laamp_flavour_ewan_2021_valid_courtier_for_own_marriage_precise_trigger = { TARGET = scope:follower_1 }
|
||||
exists = scope:follower_1
|
||||
exists = scope:follower_2
|
||||
}
|
||||
weight = {
|
||||
opinion_modifier = {
|
||||
opinion_target = scope:follower_1
|
||||
multiplier = 0.5
|
||||
}
|
||||
opinion_modifier = {
|
||||
who = scope:follower_1
|
||||
opinion_target = this
|
||||
multiplier = 0.5
|
||||
}
|
||||
}
|
||||
save_scope_as = follower_2
|
||||
trigger_event = ep3_laamp_flavour_ewan.2021
|
||||
}
|
||||
trigger_event = ep3_laamp_flavour_ewan.2021
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -11216,7 +11256,7 @@ scripted_trigger ep3_laamp_flavour_ewan_2041_valid_courtier_to_gain_lover_genera
|
|||
OR = {
|
||||
trait_is_criminal_in_faith_trigger = {
|
||||
FAITH = faith
|
||||
TRAIT = trait:adulterer
|
||||
TRAIT = adulterer
|
||||
GENDER_CHARACTER = this
|
||||
}
|
||||
AND = {
|
||||
|
|
@ -11506,49 +11546,68 @@ ep3_laamp_flavour_ewan.2042 = {
|
|||
save_temporary_scope_as = char_temp
|
||||
root = {
|
||||
any_courtier = {
|
||||
ep3_laamp_flavour_ewan_2021_valid_courtier_for_own_marriage_precise_trigger = { TARGET = scope:char_temp }
|
||||
ep3_laamp_flavour_ewan_2041_valid_courtier_to_gain_lover_precise_trigger = { TARGET = scope:char_temp }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
immediate = {
|
||||
# Alright, let's select our lovebirds.
|
||||
## First up, pick an appropriate character.
|
||||
random_courtier = {
|
||||
while = {
|
||||
count = 10
|
||||
limit = {
|
||||
ep3_laamp_flavour_ewan_2041_valid_courtier_to_gain_lover_general_trigger = yes
|
||||
save_temporary_scope_as = char_temp
|
||||
root = {
|
||||
any_courtier = {
|
||||
ep3_laamp_flavour_ewan_2041_valid_courtier_to_gain_lover_precise_trigger = { TARGET = scope:char_temp }
|
||||
NOT = { exists = scope:follower_2 }
|
||||
}
|
||||
# Alright, let's select our lovebirds.
|
||||
## First up, pick an appropriate character.
|
||||
random_courtier = {
|
||||
limit = {
|
||||
ep3_laamp_flavour_ewan_2041_valid_courtier_to_gain_lover_general_trigger = yes
|
||||
NOT = { is_in_list = checked_courtier_1_candidates_list }
|
||||
}
|
||||
save_scope_as = follower_1
|
||||
add_to_list = checked_courtier_1_candidates_list
|
||||
}
|
||||
## Now, nab a suitable pair.
|
||||
if = {
|
||||
limit = { exists = scope:follower_1 }
|
||||
random_courtier = {
|
||||
limit = {
|
||||
ep3_laamp_flavour_ewan_2021_valid_courtier_for_own_marriage_precise_trigger = { TARGET = scope:follower_1 }
|
||||
}
|
||||
weight = {
|
||||
modifier = {
|
||||
add = attraction
|
||||
always = yes
|
||||
}
|
||||
modifier = {
|
||||
add = 50
|
||||
has_trait = lustful
|
||||
}
|
||||
modifier = {
|
||||
add = -50
|
||||
has_trait = chaste
|
||||
}
|
||||
}
|
||||
save_scope_as = follower_2
|
||||
}
|
||||
# And, wipe our checks so we can iterate the loop if required.
|
||||
if = {
|
||||
limit = {
|
||||
NOT = { exists = scope:follower_2 }
|
||||
}
|
||||
clear_saved_scope = follower_1
|
||||
}
|
||||
}
|
||||
save_scope_as = follower_1
|
||||
}
|
||||
random_courtier = {
|
||||
limit = {
|
||||
ep3_laamp_flavour_ewan_2021_valid_courtier_for_own_marriage_precise_trigger = { TARGET = scope:follower_1 }
|
||||
}
|
||||
weight = {
|
||||
modifier = {
|
||||
add = attraction
|
||||
always = yes
|
||||
}
|
||||
modifier = {
|
||||
add = 50
|
||||
has_trait = lustful
|
||||
}
|
||||
modifier = {
|
||||
add = -50
|
||||
has_trait = chaste
|
||||
}
|
||||
}
|
||||
save_scope_as = follower_2
|
||||
}
|
||||
# If we've actually got our dudes, proceed to the event.
|
||||
trigger_event = ep3_laamp_flavour_ewan.2041
|
||||
if = {
|
||||
limit = {
|
||||
exists = scope:follower_1
|
||||
exists = scope:follower_2
|
||||
}
|
||||
trigger_event = ep3_laamp_flavour_ewan.2041
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -11994,66 +12053,85 @@ ep3_laamp_flavour_ewan.2062 = {
|
|||
}
|
||||
|
||||
immediate = {
|
||||
# Find our best courtiers.
|
||||
## First, grabbing a valid annoyed char.
|
||||
random_courtier = {
|
||||
while = {
|
||||
count = 10
|
||||
limit = {
|
||||
ep3_laamp_flavour_ewan_2061_valid_angry_courtier_general_trigger = yes
|
||||
save_temporary_scope_as = char_temp
|
||||
root = {
|
||||
any_courtier = {
|
||||
ep3_laamp_flavour_ewan_2061_valid_angry_courtier_precise_trigger = { TARGET = scope:char_temp }
|
||||
NOT = { exists = scope:thief }
|
||||
}
|
||||
# Find our best courtiers.
|
||||
## First, grabbing a valid annoyed char.
|
||||
random_courtier = {
|
||||
limit = {
|
||||
ep3_laamp_flavour_ewan_2061_valid_angry_courtier_general_trigger = yes
|
||||
NOT = { is_in_list = checked_courtier_1_candidates_list }
|
||||
}
|
||||
save_scope_as = victim
|
||||
add_to_list = checked_courtier_1_candidates_list
|
||||
}
|
||||
## Then processing out a good thief.
|
||||
if = {
|
||||
limit = { exists = scope:victim }
|
||||
random_courtier = {
|
||||
limit = {
|
||||
ep3_laamp_flavour_ewan_2061_valid_angry_courtier_precise_trigger = { TARGET = scope:victim }
|
||||
}
|
||||
weight = {
|
||||
modifier = {
|
||||
add = 20
|
||||
has_trait = wrathful
|
||||
}
|
||||
modifier = {
|
||||
add = 15
|
||||
has_trait = deceitful
|
||||
}
|
||||
modifier = {
|
||||
add = 5
|
||||
has_trait = arrogant
|
||||
}
|
||||
modifier = {
|
||||
add = 10
|
||||
has_trait = arbitrary
|
||||
}
|
||||
modifier = {
|
||||
add = -20
|
||||
has_trait = just
|
||||
}
|
||||
modifier = {
|
||||
add = 5
|
||||
has_trait = fickle
|
||||
}
|
||||
modifier = {
|
||||
add = 15
|
||||
has_trait = vengeful
|
||||
}
|
||||
modifier = {
|
||||
add = -15
|
||||
has_trait = forgiving
|
||||
}
|
||||
modifier = {
|
||||
add = -15
|
||||
has_trait = honest
|
||||
}
|
||||
}
|
||||
save_scope_as = thief
|
||||
}
|
||||
# And, wipe our checks so we can iterate the loop if required.
|
||||
if = {
|
||||
limit = {
|
||||
NOT = { exists = scope:thief }
|
||||
}
|
||||
clear_saved_scope = victim
|
||||
}
|
||||
}
|
||||
save_scope_as = victim
|
||||
}
|
||||
## Then processing out a good thief.
|
||||
random_courtier = {
|
||||
# If we've actually got our dudes, proceed to the event.
|
||||
if = {
|
||||
limit = {
|
||||
ep3_laamp_flavour_ewan_2061_valid_angry_courtier_precise_trigger = { TARGET = scope:victim }
|
||||
exists = scope:victim
|
||||
exists = scope:thief
|
||||
}
|
||||
weight = {
|
||||
modifier = {
|
||||
add = 20
|
||||
has_trait = wrathful
|
||||
}
|
||||
modifier = {
|
||||
add = 15
|
||||
has_trait = deceitful
|
||||
}
|
||||
modifier = {
|
||||
add = 5
|
||||
has_trait = arrogant
|
||||
}
|
||||
modifier = {
|
||||
add = 10
|
||||
has_trait = arbitrary
|
||||
}
|
||||
modifier = {
|
||||
add = -20
|
||||
has_trait = just
|
||||
}
|
||||
modifier = {
|
||||
add = 5
|
||||
has_trait = fickle
|
||||
}
|
||||
modifier = {
|
||||
add = 15
|
||||
has_trait = vengeful
|
||||
}
|
||||
modifier = {
|
||||
add = -15
|
||||
has_trait = forgiving
|
||||
}
|
||||
modifier = {
|
||||
add = -15
|
||||
has_trait = honest
|
||||
}
|
||||
}
|
||||
save_scope_as = thief
|
||||
trigger_event = ep3_laamp_flavour_ewan.2061
|
||||
}
|
||||
trigger_event = ep3_laamp_flavour_ewan.2061
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -12631,7 +12709,6 @@ ep3_laamp_flavour_ewan.2081 = {
|
|||
|
||||
scripted_trigger ep3_laamp_flavour_ewan_2091_valid_angry_courtier_general_trigger = {
|
||||
ep3_laamp_flavour_ewan_available_courtier_trigger = yes
|
||||
is_of_major_or_minor_interest_trigger = { CHARACTER = root }
|
||||
# Mustn't have a deescalatory personality.
|
||||
NOR = {
|
||||
has_trait = patient
|
||||
|
|
@ -12683,14 +12760,12 @@ ep3_laamp_flavour_ewan.2091 = {
|
|||
left_portrait = {
|
||||
character = scope:attacker
|
||||
animation = random_weapon_aggressive
|
||||
camera = camera_event_very_left
|
||||
}
|
||||
right_portrait = {
|
||||
character = scope:defender
|
||||
animation = shock
|
||||
}
|
||||
override_background = { reference = ep3_campfire }
|
||||
override_effect_2d = { reference = smoke }
|
||||
|
||||
immediate = {
|
||||
if = {
|
||||
|
|
@ -12964,70 +13039,90 @@ ep3_laamp_flavour_ewan.2093 = {
|
|||
}
|
||||
|
||||
immediate = {
|
||||
# Find our best courtiers.
|
||||
## First, grab a suitable candidate.
|
||||
random_courtier = {
|
||||
while = {
|
||||
count = 10
|
||||
limit = {
|
||||
ep3_laamp_flavour_ewan_2091_valid_angry_courtier_general_trigger = yes
|
||||
save_temporary_scope_as = char_temp
|
||||
root = {
|
||||
any_courtier = {
|
||||
ep3_laamp_flavour_ewan_2091_valid_angry_courtier_precise_trigger = { TARGET = scope:char_temp }
|
||||
NOT = { exists = scope:attacker }
|
||||
}
|
||||
# Find our best courtiers.
|
||||
## First, grab a suitable candidate.
|
||||
random_courtier = {
|
||||
limit = {
|
||||
ep3_laamp_flavour_ewan_2091_valid_angry_courtier_general_trigger = yes
|
||||
NOT = { is_in_list = checked_courtier_1_candidates_list }
|
||||
}
|
||||
save_scope_as = defender
|
||||
add_to_list = checked_courtier_1_candidates_list
|
||||
}
|
||||
## Then processing out a good one.
|
||||
if = {
|
||||
limit = { exists = scope:defender }
|
||||
random_courtier = {
|
||||
limit = {
|
||||
ep3_laamp_flavour_ewan_2091_valid_angry_courtier_precise_trigger = { TARGET = scope:defender }
|
||||
}
|
||||
weight = {
|
||||
modifier = {
|
||||
add = 20
|
||||
has_trait = wrathful
|
||||
}
|
||||
modifier = {
|
||||
add = 15
|
||||
has_trait = deceitful
|
||||
}
|
||||
modifier = {
|
||||
add = 5
|
||||
has_trait = arrogant
|
||||
}
|
||||
modifier = {
|
||||
add = 10
|
||||
has_trait = arbitrary
|
||||
}
|
||||
modifier = {
|
||||
add = -20
|
||||
has_trait = just
|
||||
}
|
||||
modifier = {
|
||||
add = 5
|
||||
has_trait = fickle
|
||||
}
|
||||
modifier = {
|
||||
add = 15
|
||||
has_trait = vengeful
|
||||
}
|
||||
modifier = {
|
||||
add = -15
|
||||
has_trait = forgiving
|
||||
}
|
||||
modifier = {
|
||||
add = -15
|
||||
has_trait = honest
|
||||
}
|
||||
opinion_modifier = {
|
||||
who = this
|
||||
opinion_target = scope:defender
|
||||
multiplier = -0.5
|
||||
}
|
||||
}
|
||||
save_scope_as = attacker
|
||||
}
|
||||
# And, wipe our checks so we can iterate the loop if required.
|
||||
if = {
|
||||
limit = {
|
||||
NOT = { exists = scope:attacker }
|
||||
}
|
||||
clear_saved_scope = defender
|
||||
}
|
||||
}
|
||||
save_scope_as = defender
|
||||
}
|
||||
random_courtier = {
|
||||
# If we've actually got our dudes, proceed to the event.
|
||||
if = {
|
||||
limit = {
|
||||
ep3_laamp_flavour_ewan_2091_valid_angry_courtier_precise_trigger = { TARGET = scope:defender }
|
||||
exists = scope:defender
|
||||
exists = scope:attacker
|
||||
}
|
||||
weight = {
|
||||
modifier = {
|
||||
add = 20
|
||||
has_trait = wrathful
|
||||
}
|
||||
modifier = {
|
||||
add = 15
|
||||
has_trait = deceitful
|
||||
}
|
||||
modifier = {
|
||||
add = 5
|
||||
has_trait = arrogant
|
||||
}
|
||||
modifier = {
|
||||
add = 10
|
||||
has_trait = arbitrary
|
||||
}
|
||||
modifier = {
|
||||
add = -20
|
||||
has_trait = just
|
||||
}
|
||||
modifier = {
|
||||
add = 5
|
||||
has_trait = fickle
|
||||
}
|
||||
modifier = {
|
||||
add = 15
|
||||
has_trait = vengeful
|
||||
}
|
||||
modifier = {
|
||||
add = -15
|
||||
has_trait = forgiving
|
||||
}
|
||||
modifier = {
|
||||
add = -15
|
||||
has_trait = honest
|
||||
}
|
||||
opinion_modifier = {
|
||||
who = this
|
||||
opinion_target = scope:defender
|
||||
multiplier = -0.5
|
||||
}
|
||||
}
|
||||
save_scope_as = attacker
|
||||
trigger_event = ep3_laamp_flavour_ewan.2091
|
||||
}
|
||||
trigger_event = ep3_laamp_flavour_ewan.2091
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -17746,41 +17841,39 @@ ep3_laamp_flavour_ewan.4041 = {
|
|||
value = flag:earthquake
|
||||
}
|
||||
# If this isn't the direct holding of a player, cause some serious damage.
|
||||
location.county = {
|
||||
holder = {
|
||||
if = {
|
||||
limit = {
|
||||
is_ai = yes
|
||||
}
|
||||
random_courtier = {
|
||||
limit = { location = prev.location }
|
||||
death = { death_reason = death_consumed_by_earthquake }
|
||||
}
|
||||
random_courtier = {
|
||||
limit = { location = prev.location }
|
||||
death = { death_reason = death_consumed_by_earthquake }
|
||||
}
|
||||
random_courtier = {
|
||||
limit = { location = prev.location }
|
||||
death = { death_reason = death_consumed_by_earthquake }
|
||||
}
|
||||
random_courtier = {
|
||||
limit = { location = prev.location }
|
||||
death = { death_reason = death_consumed_by_earthquake }
|
||||
}
|
||||
prev = {
|
||||
change_development_level = {
|
||||
integer_range = {
|
||||
min = -35
|
||||
max = -10
|
||||
}
|
||||
location.county.holder = {
|
||||
if = {
|
||||
limit = {
|
||||
NOT = { is_ai = yes }
|
||||
}
|
||||
random_courtier = {
|
||||
limit = { location = prev.location }
|
||||
death = { death_reason = death_consumed_by_earthquake }
|
||||
}
|
||||
random_courtier = {
|
||||
limit = { location = prev.location }
|
||||
death = { death_reason = death_consumed_by_earthquake }
|
||||
}
|
||||
random_courtier = {
|
||||
limit = { location = prev.location }
|
||||
death = { death_reason = death_consumed_by_earthquake }
|
||||
}
|
||||
random_courtier = {
|
||||
limit = { location = prev.location }
|
||||
death = { death_reason = death_consumed_by_earthquake }
|
||||
}
|
||||
prev = {
|
||||
change_development_level = {
|
||||
integer_range = {
|
||||
min = -35
|
||||
max = -10
|
||||
}
|
||||
change_county_control = -100
|
||||
}
|
||||
random = {
|
||||
chance = 20
|
||||
death = { death_reason = death_consumed_by_earthquake }
|
||||
}
|
||||
change_county_control = -100
|
||||
}
|
||||
random = {
|
||||
chance = 20
|
||||
death = { death_reason = death_consumed_by_earthquake }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -72,12 +72,6 @@ ep3_roman_restoration.0100 = {
|
|||
}
|
||||
}
|
||||
set_character_faith = faith:hellenic_pagan
|
||||
if = {
|
||||
limit = {
|
||||
faith:hellenic_pagan = { has_doctrine = doctrine_monotheist }
|
||||
}
|
||||
custom_description_no_bullet = { text = mandala_monotheist_warning_tt }
|
||||
}
|
||||
primary_title = { set_state_faith = faith:hellenic_pagan }
|
||||
every_held_title = {
|
||||
custom = custom.every_held_county
|
||||
|
|
@ -134,12 +128,6 @@ ep3_roman_restoration.0100 = {
|
|||
}
|
||||
}
|
||||
set_character_faith = faith:hellenic_pagan
|
||||
if = {
|
||||
limit = {
|
||||
faith:hellenic_pagan = { has_doctrine = doctrine_monotheist }
|
||||
}
|
||||
custom_description_no_bullet = { text = mandala_monotheist_warning_tt }
|
||||
}
|
||||
primary_title = { set_state_faith = faith:hellenic_pagan }
|
||||
every_held_title = {
|
||||
custom = custom.every_held_county
|
||||
|
|
|
|||
|
|
@ -3405,7 +3405,6 @@ ep3_story_cycle_admin_eunuch.2060 = {
|
|||
court_position_generator_effect = {
|
||||
VAR = target
|
||||
EMPLOYER = root
|
||||
ONLY_EMPTY = no
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -3521,7 +3520,6 @@ ep3_story_cycle_admin_eunuch.2061 = {
|
|||
court_position_generator_effect = {
|
||||
VAR = target
|
||||
EMPLOYER = root
|
||||
ONLY_EMPTY = no
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -526,7 +526,6 @@ grand_ambitions.0003 = {
|
|||
immediate = {
|
||||
# Create Adventurer
|
||||
save_scope_as = adventurer
|
||||
clear_saved_scope = lost_primary_title
|
||||
hidden_effect = {
|
||||
# Plus for our memory variable.
|
||||
scope:story.var:target_title = { save_scope_as = lost_primary_title }
|
||||
|
|
|
|||
|
|
@ -944,24 +944,31 @@ ep3_story_cycle_harrying.1011 = {
|
|||
if = { #Ugly if/else block starts here!
|
||||
limit = {
|
||||
scope:captured = {
|
||||
can_marry_common_trigger = yes
|
||||
is_married = no
|
||||
is_betrothed = no
|
||||
}
|
||||
}
|
||||
if = { #Grab a courtier
|
||||
limit = {
|
||||
any_courtier = {
|
||||
can_marry_character_trigger = { CHARACTER = scope:captured }
|
||||
sex_opposite_of = scope:captured
|
||||
culture = culture:norman
|
||||
age > scope:captured.age_plus_10
|
||||
age < scope:captured.age_minus_10
|
||||
AND = {
|
||||
scope:captured = { is_female = yes }
|
||||
any_courtier = {
|
||||
is_female = no
|
||||
is_married = no
|
||||
is_betrothed = no
|
||||
is_adult = yes
|
||||
culture = culture:norman
|
||||
age > scope:captured.age_plus_10
|
||||
age < scope:captured.age_minus_10
|
||||
}
|
||||
}
|
||||
}
|
||||
random_courtier = {
|
||||
limit = {
|
||||
sex_opposite_of = scope:captured
|
||||
can_marry_character_trigger = { CHARACTER = scope:captured }
|
||||
is_female = no
|
||||
is_married = no
|
||||
is_betrothed = no
|
||||
is_adult = yes
|
||||
culture = culture:norman
|
||||
age > scope:captured.age_plus_10
|
||||
age < scope:captured.age_minus_10
|
||||
|
|
@ -980,6 +987,45 @@ ep3_story_cycle_harrying.1011 = {
|
|||
save_scope_as = spouse_courtier
|
||||
}
|
||||
}
|
||||
else_if = { #Gender reverse
|
||||
limit = {
|
||||
AND = {
|
||||
scope:captured = { is_female = no }
|
||||
any_courtier = {
|
||||
is_female = yes
|
||||
is_married = no
|
||||
is_betrothed = no
|
||||
is_adult = yes
|
||||
culture = culture:norman
|
||||
age > scope:captured.age_plus_10
|
||||
age < scope:captured.age_minus_10
|
||||
}
|
||||
}
|
||||
}
|
||||
random_courtier = {
|
||||
limit = {
|
||||
is_female = yes
|
||||
is_married = no
|
||||
is_betrothed = no
|
||||
is_adult = yes
|
||||
culture = culture:norman
|
||||
age > scope:captured.age_plus_10
|
||||
age < scope:captured.age_minus_10
|
||||
}
|
||||
weight = {
|
||||
base = 1
|
||||
modifier = {
|
||||
factor = 10
|
||||
is_lowborn = no
|
||||
}
|
||||
modifier = {
|
||||
factor = 5
|
||||
is_close_or_extended_family_of = root
|
||||
}
|
||||
}
|
||||
save_scope_as = spouse_courtier
|
||||
}
|
||||
}
|
||||
else = { #Just in case
|
||||
hidden_effect = {
|
||||
create_character = {
|
||||
|
|
@ -1141,19 +1187,6 @@ ep3_story_cycle_harrying.1011 = {
|
|||
}
|
||||
}
|
||||
|
||||
scripted_trigger harrying_1015_trigger = {
|
||||
culture = culture:anglo_saxon
|
||||
highest_held_title_tier > tier_county
|
||||
any_held_title = {
|
||||
tier = tier_county
|
||||
is_landless_type_title = no
|
||||
any_county_province = {
|
||||
has_holding = yes
|
||||
num_buildings > 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Punish a village
|
||||
ep3_story_cycle_harrying.1015 = {
|
||||
type = character_event
|
||||
|
|
@ -1174,34 +1207,29 @@ ep3_story_cycle_harrying.1015 = {
|
|||
|
||||
trigger = {
|
||||
any_vassal = {
|
||||
harrying_1015_trigger = yes
|
||||
culture = culture:anglo_saxon
|
||||
highest_held_title_tier > tier_county
|
||||
any_county = {
|
||||
any_province = {
|
||||
has_holding = yes
|
||||
num_buildings > 0
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
immediate = {
|
||||
random_vassal = {
|
||||
limit = {
|
||||
harrying_1015_trigger = yes
|
||||
}
|
||||
limit = { culture = culture:anglo_saxon }
|
||||
save_scope_as = vassal
|
||||
random_held_title = {
|
||||
random_realm_province = {
|
||||
limit = {
|
||||
tier = tier_county
|
||||
is_landless_type_title = no
|
||||
any_county_province = {
|
||||
has_holding = yes
|
||||
num_buildings > 0
|
||||
}
|
||||
}
|
||||
random_county_province = {
|
||||
limit = {
|
||||
has_holding = yes
|
||||
num_buildings > 0
|
||||
}
|
||||
save_scope_as = offending_village
|
||||
every_neighboring_province = { add_to_list = resettlement_villages }
|
||||
hidden_effect = { destroy_random_building_variable_effect = yes }
|
||||
has_holding = yes
|
||||
num_buildings >= 1
|
||||
}
|
||||
save_scope_as = offending_village
|
||||
every_neighboring_province = { add_to_list = resettlement_villages }
|
||||
hidden_effect = { destroy_random_building_variable_effect = yes }
|
||||
}
|
||||
}
|
||||
save_scope_as = root_scope #for tooltip
|
||||
|
|
@ -1240,12 +1268,6 @@ ep3_story_cycle_harrying.1015 = {
|
|||
|
||||
option = { #Resettle the residents
|
||||
name = ep3_story_cycle_harrying.1015.b
|
||||
trigger = {
|
||||
any_in_list = {
|
||||
list = resettlement_villages
|
||||
count >= 1
|
||||
}
|
||||
}
|
||||
|
||||
scope:offending_village = {
|
||||
add_province_modifier = {
|
||||
|
|
|
|||
|
|
@ -47,10 +47,6 @@ ep3_story_cycle_violet_poet.0001 = {
|
|||
modifier = double_moon_modifier
|
||||
save_scope_as = double_moon_book
|
||||
}
|
||||
random_owned_story = {
|
||||
type = story_cycle_violet_poet
|
||||
set_variable = { name = artifact value = scope:double_moon_book }
|
||||
}
|
||||
hidden_effect = {
|
||||
scope:double_moon_book = {
|
||||
set_artifact_rarity = illustrious
|
||||
|
|
|
|||
|
|
@ -1385,7 +1385,7 @@ ep3_wedding.0002 = {
|
|||
has_trait = lifestyle_reveler
|
||||
}
|
||||
add_trait_xp = {
|
||||
trait = trait:lifestyle_reveler
|
||||
trait = lifestyle_reveler
|
||||
value = 20
|
||||
}
|
||||
}
|
||||
|
|
@ -1664,7 +1664,7 @@ ep3_wedding.0003 = {
|
|||
is_incestuous_trigger = yes
|
||||
is_deviant_trigger = yes
|
||||
NOT = {
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = { TRAIT = trait:incestuous FAITH = scope:other_family_spouse.faith GENDER_CHARACTER = scope:other_family_spouse }
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = { TRAIT = incestuous FAITH = scope:other_family_spouse.faith GENDER_CHARACTER = scope:other_family_spouse }
|
||||
}
|
||||
has_trait = lustful
|
||||
has_trait = drunkard
|
||||
|
|
@ -1690,7 +1690,7 @@ ep3_wedding.0003 = {
|
|||
is_incestuous_trigger = yes
|
||||
is_deviant_trigger = yes
|
||||
NOT = {
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = { TRAIT = trait:incestuous FAITH = scope:flirting_in_law.faith GENDER_CHARACTER = scope:flirting_in_law }
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = { TRAIT = incestuous FAITH = scope:flirting_in_law.faith GENDER_CHARACTER = scope:flirting_in_law }
|
||||
}
|
||||
has_trait = lustful
|
||||
has_trait = drunkard
|
||||
|
|
@ -2041,7 +2041,7 @@ ep3_wedding.0003 = {
|
|||
has_trait = lifestyle_mystic
|
||||
}
|
||||
add_trait_xp = {
|
||||
trait = trait:lifestyle_mystic
|
||||
trait = lifestyle_mystic
|
||||
value = 25
|
||||
}
|
||||
}
|
||||
|
|
@ -2295,7 +2295,7 @@ ep3_wedding.0003 = {
|
|||
is_male = yes
|
||||
}
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = {
|
||||
TRAIT = trait:sodomite
|
||||
TRAIT = sodomite
|
||||
GENDER_CHARACTER = root
|
||||
FAITH = root.faith
|
||||
}
|
||||
|
|
@ -2314,7 +2314,7 @@ ep3_wedding.0003 = {
|
|||
limit = {
|
||||
is_married = yes
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = {
|
||||
TRAIT = trait:adulterer
|
||||
TRAIT = adulterer
|
||||
GENDER_CHARACTER = root
|
||||
FAITH = root.faith
|
||||
}
|
||||
|
|
@ -2326,7 +2326,7 @@ ep3_wedding.0003 = {
|
|||
limit = {
|
||||
is_married = no
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = {
|
||||
TRAIT = trait:fornicator
|
||||
TRAIT = fornicator
|
||||
GENDER_CHARACTER = root
|
||||
FAITH = root.faith
|
||||
}
|
||||
|
|
@ -2340,7 +2340,7 @@ ep3_wedding.0003 = {
|
|||
is_married = yes
|
||||
}
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = {
|
||||
TRAIT = trait:adulterer
|
||||
TRAIT = adulterer
|
||||
GENDER_CHARACTER = scope:flirting_in_law
|
||||
FAITH = scope:flirting_in_law.faith
|
||||
}
|
||||
|
|
@ -2356,7 +2356,7 @@ ep3_wedding.0003 = {
|
|||
is_married = no
|
||||
}
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = {
|
||||
TRAIT = trait:fornicator
|
||||
TRAIT = fornicator
|
||||
GENDER_CHARACTER = scope:flirting_in_law
|
||||
FAITH = scope:flirting_in_law.faith
|
||||
}
|
||||
|
|
@ -2373,7 +2373,7 @@ ep3_wedding.0003 = {
|
|||
is_male = yes
|
||||
}
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = {
|
||||
TRAIT = trait:sodomite
|
||||
TRAIT = sodomite
|
||||
GENDER_CHARACTER = scope:flirting_in_law
|
||||
FAITH = scope:flirting_in_law.faith
|
||||
}
|
||||
|
|
|
|||
|
|
@ -644,7 +644,7 @@ scripted_trigger fp1_jomsviking_raid_source_one_wales_trigger = {
|
|||
this.leader.capital_province = {
|
||||
squared_distance = {
|
||||
target = scope:target_county.title_province
|
||||
value <= squared_distance_small
|
||||
value = squared_distance_small
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -653,7 +653,7 @@ scripted_trigger fp1_jomsviking_raid_source_one_ireland_trigger = {
|
|||
this.leader.capital_province = {
|
||||
squared_distance = {
|
||||
target = scope:target_county.title_province
|
||||
value <= squared_distance_medium
|
||||
value = squared_distance_medium
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -662,7 +662,7 @@ scripted_trigger fp1_jomsviking_raid_source_one_france_trigger = {
|
|||
this.leader.capital_province = {
|
||||
squared_distance = {
|
||||
target = scope:target_county.title_province
|
||||
value <= squared_distance_large
|
||||
value = squared_distance_large
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -671,7 +671,7 @@ scripted_trigger fp1_jomsviking_raid_source_one_hre_trigger = {
|
|||
this.leader.capital_province = {
|
||||
squared_distance = {
|
||||
target = scope:target_county.title_province
|
||||
value <= squared_distance_huge
|
||||
value = squared_distance_huge
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -834,7 +834,7 @@ fp1_jomsvikings.0011 = {
|
|||
}
|
||||
}
|
||||
## About an Ireland away.
|
||||
else_if = {
|
||||
if = {
|
||||
limit = { fp1_jomsviking_raid_source_one_ireland_trigger = yes }
|
||||
random_leased_title = {
|
||||
limit = { fp1_jomsviking_raid_source_one_ireland_trigger = yes }
|
||||
|
|
@ -842,7 +842,7 @@ fp1_jomsvikings.0011 = {
|
|||
}
|
||||
}
|
||||
## About a France away.
|
||||
else_if = {
|
||||
if = {
|
||||
limit = { fp1_jomsviking_raid_source_one_france_trigger = yes }
|
||||
random_leased_title = {
|
||||
limit = { fp1_jomsviking_raid_source_one_france_trigger = yes }
|
||||
|
|
@ -850,7 +850,7 @@ fp1_jomsvikings.0011 = {
|
|||
}
|
||||
}
|
||||
## About an HRE away.
|
||||
else_if = {
|
||||
if = {
|
||||
limit = { fp1_jomsviking_raid_source_one_hre_trigger = yes }
|
||||
random_leased_title = {
|
||||
limit = { fp1_jomsviking_raid_source_one_hre_trigger = yes }
|
||||
|
|
@ -1509,7 +1509,7 @@ fp1_jomsvikings.0041 = {
|
|||
}
|
||||
trait_is_criminal_in_faith_trigger = {
|
||||
FAITH = faith
|
||||
TRAIT = trait:adulterer
|
||||
TRAIT = adulterer
|
||||
GENDER_CHARACTER = this
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1252,7 +1252,6 @@ scripted_effect fp1_1011_gib_pretty_hair_effect = {
|
|||
# Tanglehair becomes Fairhair.
|
||||
fp1_major_decisions.1011 = {
|
||||
type = character_event
|
||||
window = big_event_window
|
||||
title = fp1_major_decisions.1011.t
|
||||
desc = {
|
||||
desc = fp1_major_decisions.1011.desc.intro
|
||||
|
|
@ -1276,65 +1275,46 @@ fp1_major_decisions.1011 = {
|
|||
}
|
||||
override_background = { reference = fp1_ocean_norse }
|
||||
|
||||
trigger = {
|
||||
# This character is Harald Fairhair.
|
||||
exists = character:144000
|
||||
this = character:144000
|
||||
# The title they've acquired is Norway.
|
||||
scope:title = title:k_norway
|
||||
# Norway has been created by them.
|
||||
scope:transfer_type = flag:created
|
||||
# Norway has not been created previously.
|
||||
NOT = { exists = global_var:norway_created }
|
||||
}
|
||||
|
||||
immediate = {
|
||||
play_music_cue = "mx_cue_succession"
|
||||
# Check to see if Gyda is still around and kicking, and if so, treat this as a romance.
|
||||
character:166044 = {
|
||||
hidden_effect = {
|
||||
if = {
|
||||
limit = {
|
||||
betrothed ?= {
|
||||
NOR = {
|
||||
this = character:144000
|
||||
is_ai = no
|
||||
}
|
||||
}
|
||||
}
|
||||
break_betrothal = betrothed
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
is_adult = yes
|
||||
is_married = yes
|
||||
any_spouse = {
|
||||
NOR = {
|
||||
this = character:144000
|
||||
is_ai = no
|
||||
}
|
||||
}
|
||||
}
|
||||
every_spouse = {
|
||||
prev = {
|
||||
divorce = prev
|
||||
}
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
exists = concubinist
|
||||
concubinist = {
|
||||
NOR = {
|
||||
this = character:144000
|
||||
is_ai = no
|
||||
}
|
||||
}
|
||||
}
|
||||
concubinist = {
|
||||
remove_concubine = prev
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
is_alive = yes
|
||||
could_marry_character_trigger = { CHARACTER = root }
|
||||
has_any_bad_relationship_with_root_trigger = no
|
||||
is_ai = yes
|
||||
}
|
||||
save_scope_as = gyda
|
||||
if = {
|
||||
limit = {
|
||||
is_alive = yes
|
||||
can_marry_character_trigger = { CHARACTER = root }
|
||||
has_any_bad_relationship_with_root_trigger = no
|
||||
is_ai = yes
|
||||
}
|
||||
save_scope_as = gyda
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# My vow fulfilled!
|
||||
option = {
|
||||
name = fp1_major_decisions.1011.a
|
||||
|
||||
# Apply standard haircut effects.
|
||||
fp1_1011_gib_pretty_hair_effect = yes
|
||||
|
||||
ai_chance = {
|
||||
# AI should only default to this if Gyda is unavailable.
|
||||
base = 0
|
||||
}
|
||||
}
|
||||
|
||||
# Gyda, my love!
|
||||
option = {
|
||||
|
|
@ -1343,41 +1323,13 @@ fp1_major_decisions.1011 = {
|
|||
# Gyda must have been valid.
|
||||
exists = scope:gyda
|
||||
# And, for MP, remain valid.
|
||||
could_marry_character_trigger = { CHARACTER = scope:gyda }
|
||||
}
|
||||
|
||||
if = {
|
||||
limit = {
|
||||
is_married = yes
|
||||
primary_spouse ?= {
|
||||
NOT = {
|
||||
this = character:144000
|
||||
}
|
||||
}
|
||||
}
|
||||
divorce = primary_spouse
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
betrothed ?= {
|
||||
NOT = {
|
||||
this = character:144000
|
||||
}
|
||||
}
|
||||
}
|
||||
break_betrothal = betrothed
|
||||
can_marry_character_trigger = { CHARACTER = scope:gyda }
|
||||
}
|
||||
|
||||
# Apply standard haircut effects.
|
||||
fp1_1011_gib_pretty_hair_effect = yes
|
||||
# Harald & Gyda are wed.
|
||||
if = {
|
||||
limit = {
|
||||
scope:gyda = { is_adult = no }
|
||||
}
|
||||
create_betrothal = scope:gyda
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_ep2_dlc_trigger = yes
|
||||
}
|
||||
|
|
@ -1393,34 +1345,19 @@ fp1_major_decisions.1011 = {
|
|||
add_opinion = {
|
||||
target = scope:gyda
|
||||
modifier = love_opinion
|
||||
opinion = 150
|
||||
opinion = 50
|
||||
}
|
||||
reverse_add_opinion = {
|
||||
target = scope:gyda
|
||||
modifier = love_opinion
|
||||
opinion = 150
|
||||
opinion = 50
|
||||
}
|
||||
|
||||
add_stress = -200
|
||||
|
||||
ai_chance = {
|
||||
# AI should always select this option if it's present.
|
||||
base = 100
|
||||
}
|
||||
}
|
||||
|
||||
# My vow fulfilled!
|
||||
option = {
|
||||
name = fp1_major_decisions.1011.a
|
||||
|
||||
# Apply standard haircut effects.
|
||||
fp1_1011_gib_pretty_hair_effect = yes
|
||||
|
||||
ai_chance = {
|
||||
# AI should only default to this if Gyda is unavailable.
|
||||
base = 0
|
||||
}
|
||||
}
|
||||
|
||||
# Leave it; it is a mark of the struggles I have been through.
|
||||
option = {
|
||||
|
|
@ -1448,6 +1385,13 @@ fp1_major_decisions.1011 = {
|
|||
fp1_major_decisions.1012 = {
|
||||
hidden = yes
|
||||
|
||||
# If Norway has just been created for the first time...
|
||||
trigger = {
|
||||
scope:title = title:k_norway
|
||||
scope:transfer_type = flag:created
|
||||
NOT = { exists = global_var:norway_created }
|
||||
}
|
||||
|
||||
# ... flag that.
|
||||
immediate = {
|
||||
set_global_variable = {
|
||||
|
|
|
|||
|
|
@ -907,12 +907,6 @@ fp1_other_decisions.0003 = {
|
|||
faith = { save_scope_as = old_faith }
|
||||
# Next, we convert your faith.
|
||||
set_character_faith_with_conversion = scope:gf_faith
|
||||
if = {
|
||||
limit = {
|
||||
scope:gf_faith = { has_doctrine = doctrine_monotheist }
|
||||
}
|
||||
custom_description_no_bullet = { text = mandala_monotheist_warning_tt }
|
||||
}
|
||||
|
||||
scope:activity = {
|
||||
add_activity_log_entry = {
|
||||
|
|
@ -2236,15 +2230,7 @@ fp1_other_decisions.0101 = {
|
|||
name = fp1_other_decisions.0101.d
|
||||
|
||||
# Give 'em their deposit back.
|
||||
if = {
|
||||
limit = {
|
||||
has_treasury = yes
|
||||
}
|
||||
add_treasury = var:raise_stele_refund
|
||||
}
|
||||
else = {
|
||||
add_gold = var:raise_stele_refund
|
||||
}
|
||||
add_gold = var:raise_stele_refund
|
||||
# Clear the cooldown.
|
||||
remove_decision_cooldown = raise_stele_decision
|
||||
|
||||
|
|
|
|||
|
|
@ -890,7 +890,7 @@ fp1_shieldmaiden.0021 = {
|
|||
# Shieldmaiden saves you from murder
|
||||
fp1_shieldmaiden.0022 = {
|
||||
type = character_event
|
||||
window = scheme_conclusion_event_no_header
|
||||
window = scheme_target_event
|
||||
title = fp1_shieldmaiden.0022.t
|
||||
desc = {
|
||||
# This block is only for the setup of child_pushed.
|
||||
|
|
|
|||
|
|
@ -1684,9 +1684,7 @@ fp1_trade_events.0051 = {
|
|||
|
||||
# And again for every one that has _also_ been raided recently, since that's a good indicator of raid-density.
|
||||
if = {
|
||||
limit = {
|
||||
any_county_province = { has_province_modifier = recently_looted_modifier }
|
||||
}
|
||||
limit = { has_county_modifier = recently_looted_modifier }
|
||||
add = 1
|
||||
}
|
||||
}
|
||||
|
|
@ -2100,10 +2098,7 @@ fp1_trade_events.1131 = {
|
|||
custom_tooltip = fp1_trade_events.1131.c.tt
|
||||
remove_treasury_or_gold = monumental_treasury_or_gold_value
|
||||
# ... thereby winning the war.
|
||||
scope:sa_war = {
|
||||
set_variable = no_gold_reparations
|
||||
end_war = defender
|
||||
}
|
||||
scope:sa_war = { end_war = defender }
|
||||
reverse_add_opinion = {
|
||||
target = scope:attacker
|
||||
modifier = humiliated_opinion
|
||||
|
|
@ -2247,12 +2242,6 @@ scripted_effect fp1_trade_events_1171_marry_partner_child_effect = {
|
|||
}
|
||||
# Convert to scope:partner's faith.
|
||||
set_character_faith_with_conversion = scope:partner.faith
|
||||
if = {
|
||||
limit = {
|
||||
scope:partner.faith = { has_doctrine = doctrine_monotheist }
|
||||
}
|
||||
custom_description_no_bullet = { text = mandala_monotheist_warning_tt }
|
||||
}
|
||||
# Do so in a very public and celebrated manner, gaining piety.
|
||||
add_piety = massive_piety_gain
|
||||
# Paid a dowry by scope:partner.
|
||||
|
|
|
|||
|
|
@ -416,7 +416,7 @@ fp1_yearly.0001 = {
|
|||
scripted_trigger offensive_courtier_candidate_trigger = {
|
||||
#Filter out the basic miscs.
|
||||
is_available_ai_adult = yes
|
||||
#Have committed some genuine malfeasance, or just be irritating to at least some people.
|
||||
#Have some commited some genuine malfeasance, or just be irritating to at least some people.
|
||||
OR = {
|
||||
#Having committed murder by poison is a solid way to become a nithing; this might be a secret, but we assume local rumours about a shady buyer of poisons abound...
|
||||
has_character_flag = murdered_by_poison
|
||||
|
|
@ -2124,12 +2124,6 @@ fp1_yearly.0041 = {
|
|||
add_courtier = scope:explorer
|
||||
#Sort conversion.
|
||||
set_character_faith_with_conversion = scope:explorer.faith
|
||||
if = {
|
||||
limit = {
|
||||
scope:explorer.faith = { has_doctrine = doctrine_monotheist }
|
||||
}
|
||||
custom_description_no_bullet = { text = mandala_monotheist_warning_tt }
|
||||
}
|
||||
#Get scope:sponsoring_liege as a friend, if possible.
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -14227,12 +14221,6 @@ fp1_yearly.1012 = {
|
|||
|
||||
#Perform the conversion.
|
||||
set_character_faith_with_conversion = scope:ms_faith
|
||||
if = {
|
||||
limit = {
|
||||
scope:ms_faith = { has_doctrine = doctrine_monotheist }
|
||||
}
|
||||
custom_description_no_bullet = { text = mandala_monotheist_warning_tt }
|
||||
}
|
||||
|
||||
#Recoup lost piety, and get paid a little extra.
|
||||
custom_tooltip = fp1_yearly.1012.a.recoup_lost_piety.tt
|
||||
|
|
@ -15004,9 +14992,8 @@ fp1_yearly.1061 = {
|
|||
# Germanic faith.
|
||||
religion = religion:germanic_religion
|
||||
# Shouldn't ever happen, but just in case, exempt sky burials so that the character is never buried twice.
|
||||
NOR = {
|
||||
NOT = {
|
||||
faith = { has_doctrine_parameter = sky_burials_active }
|
||||
has_dead_character_variable = body_has_been_disposed
|
||||
}
|
||||
# And we shouldn't really be erecting glorious mounds to long lives that were actually cut short too early.
|
||||
age >= 30
|
||||
|
|
@ -15209,10 +15196,6 @@ fp1_yearly.1062 = {
|
|||
is_available_even_at_war_adult = yes
|
||||
# Must still be the same faith as scope:ship_funeral_candidate, for ease of loc and such.
|
||||
faith = scope:ship_funeral_candidate.faith
|
||||
# Check that they haven't been buried already (e.g. via funeral activity)
|
||||
scope:ship_funeral_candidate = {
|
||||
NOT = { has_dead_character_variable = body_has_been_disposed }
|
||||
}
|
||||
}
|
||||
|
||||
# A small stone ship.
|
||||
|
|
@ -16089,11 +16072,6 @@ fp1_yearly.1063 = {
|
|||
is_available_even_at_war_adult = yes
|
||||
# Must still be the same faith as scope:ship_funeral_candidate, for ease of loc and such.
|
||||
faith = scope:ship_funeral_candidate.faith
|
||||
|
||||
# Check that they haven't been buried already (e.g. via funeral activity)
|
||||
scope:ship_funeral_candidate = {
|
||||
NOT = { has_dead_character_variable = body_has_been_disposed }
|
||||
}
|
||||
}
|
||||
|
||||
on_trigger_fail = {
|
||||
|
|
@ -16347,14 +16325,6 @@ fp1_yearly.1063 = {
|
|||
}
|
||||
|
||||
after = {
|
||||
scope:ship_funeral_candidate = {
|
||||
set_dead_character_variable = {
|
||||
name = body_has_been_disposed
|
||||
value = yes
|
||||
years = 5
|
||||
}
|
||||
}
|
||||
|
||||
# Clear up remaining values on the character.
|
||||
fp1_funeral_longship_clear_variables_effect = yes
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1912,7 +1912,7 @@ scripted_trigger fp1_yearly_2500_guest_trigger = {
|
|||
}
|
||||
}
|
||||
save_temporary_scope_as = deviant_guest
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:deviant FAITH = scope:deviant_guest.faith GENDER_CHARACTER = scope:deviant_guest }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = deviant FAITH = scope:deviant_guest.faith GENDER_CHARACTER = scope:deviant_guest }
|
||||
}
|
||||
|
||||
scripted_trigger fp1_yearly_2500_court_target_trigger = {
|
||||
|
|
@ -1956,7 +1956,7 @@ fp1_yearly.2500 = {
|
|||
fp1_yearly_2500_guest_trigger = yes
|
||||
}
|
||||
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:deviant FAITH = root.faith GENDER_CHARACTER = scope:deviant_guest }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = deviant FAITH = root.faith GENDER_CHARACTER = scope:deviant_guest }
|
||||
|
||||
any_held_title = {
|
||||
title_tier = county
|
||||
|
|
|
|||
|
|
@ -3087,12 +3087,6 @@ fp2_lyonese_monk.0641 = {
|
|||
days = 1
|
||||
}
|
||||
set_character_faith_with_conversion = faith:adoptionist
|
||||
if = {
|
||||
limit = {
|
||||
faith:adoptionist = { has_doctrine = doctrine_monotheist }
|
||||
}
|
||||
custom_description_no_bullet = { text = mandala_monotheist_warning_tt }
|
||||
}
|
||||
add_heresiarch_trait_effect = yes
|
||||
## The hidden character's list gets used.
|
||||
every_in_list = {
|
||||
|
|
|
|||
|
|
@ -321,7 +321,10 @@ fp2_other_decisions.0001 = {
|
|||
trigger = {
|
||||
# can replace the court chaplain
|
||||
faith = {
|
||||
has_doctrine_parameter = clerical_appointment_fixed
|
||||
OR = {
|
||||
has_doctrine = doctrine_clerical_succession_temporal_fixed_appointment
|
||||
has_doctrine = doctrine_clerical_succession_spiritual_fixed_appointment
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -554,7 +554,7 @@ fp2_struggle.0900 = { # Hostility
|
|||
immediate = {
|
||||
# Add all involved rulers to a list, for ping event
|
||||
play_music_cue = "mx_Struggle_ending_hostility"
|
||||
fp2_struggle_ending_involved_list_effect = yes
|
||||
fp2_stuggle_ending_involved_list_effect = yes
|
||||
give_nickname = nick_the_conquistador
|
||||
dynasty = { add_dynasty_prestige = 10000 }
|
||||
}
|
||||
|
|
@ -838,7 +838,7 @@ fp2_struggle.0901 = { # Compromise
|
|||
value = yes
|
||||
}
|
||||
# Add all involved rulers to a list, for ping event
|
||||
fp2_struggle_ending_involved_list_effect = yes
|
||||
fp2_stuggle_ending_involved_list_effect = yes
|
||||
}
|
||||
|
||||
# Ok
|
||||
|
|
@ -993,7 +993,7 @@ fp2_struggle.0902 = { # Conciliation
|
|||
value = yes
|
||||
}
|
||||
# Add all involved rulers to a list, for ping event
|
||||
fp2_struggle_ending_involved_list_effect = yes
|
||||
fp2_stuggle_ending_involved_list_effect = yes
|
||||
|
||||
# Add all involved cultures with counties to a list, for marriage and holy war checks
|
||||
fp2_struggle_ending_culture_list_effect = yes
|
||||
|
|
@ -1763,7 +1763,7 @@ fp2_struggle.1001 = {
|
|||
fp2_struggle.1001_weird_option_traits = no
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = {
|
||||
FAITH = faith
|
||||
TRAIT = trait:adulterer
|
||||
TRAIT = adulterer
|
||||
GENDER_CHARACTER = dummy_female
|
||||
}
|
||||
}
|
||||
|
|
@ -2054,7 +2054,6 @@ scripted_trigger neighboring_ruler_proper_culture_trigger = {
|
|||
culture = culture:baranis
|
||||
culture = culture:butr
|
||||
culture = culture:levantine
|
||||
culture = culture:sephardi
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -4094,10 +4093,7 @@ fp2_struggle.1020 = {
|
|||
every_close_or_extended_family_member = {
|
||||
custom = all_family_members
|
||||
if = {
|
||||
limit = {
|
||||
is_ai = yes
|
||||
this != root
|
||||
}
|
||||
limit = { is_ai = yes }
|
||||
add_opinion = {
|
||||
target = root
|
||||
opinion = -20
|
||||
|
|
@ -6182,8 +6178,8 @@ fp2_struggle.2003 = {
|
|||
|
||||
add_prestige = medium_prestige_loss
|
||||
|
||||
scope:fp2_2003_county_town.title_province = {
|
||||
add_province_modifier = {
|
||||
scope:fp2_2003_county_town = {
|
||||
add_county_modifier = {
|
||||
modifier = recently_looted_modifier
|
||||
years = 5
|
||||
}
|
||||
|
|
@ -6316,11 +6312,9 @@ fp2_struggle.2003 = {
|
|||
modifier = fp2_local_garrison_slaughtered_modifier
|
||||
years = 5
|
||||
}
|
||||
title_province = {
|
||||
add_province_modifier = {
|
||||
modifier = recently_looted_modifier
|
||||
years = 5
|
||||
}
|
||||
add_county_modifier = {
|
||||
modifier = recently_looted_modifier
|
||||
years = 5
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -6337,11 +6331,9 @@ fp2_struggle.2003 = {
|
|||
years = 5
|
||||
}
|
||||
hidden_effect = {
|
||||
title_province = {
|
||||
add_province_modifier = {
|
||||
modifier = recently_looted_modifier
|
||||
years = 5
|
||||
}
|
||||
add_county_modifier = {
|
||||
modifier = recently_looted_modifier
|
||||
years = 5
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -6476,11 +6468,9 @@ fp2_struggle.2003 = {
|
|||
title = fp2_struggle.2003.e.notif.a
|
||||
|
||||
scope:fp2_2003_county_town = {
|
||||
title_province = {
|
||||
add_province_modifier = {
|
||||
modifier = recently_looted_modifier
|
||||
years = 5
|
||||
}
|
||||
add_county_modifier = {
|
||||
modifier = recently_looted_modifier
|
||||
years = 5
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -7370,13 +7360,13 @@ fp2_struggle.2006 = {
|
|||
if = {
|
||||
limit = {
|
||||
trait_is_criminal_in_faith_trigger = {
|
||||
TRAIT = trait:witch
|
||||
TRAIT = witch
|
||||
GENDER_CHARACTER = scope:fp2_2006_vassal_in_crisis
|
||||
FAITH = scope:fp2_2006_vassal_in_crisis.faith
|
||||
}
|
||||
NOT = {
|
||||
trait_is_criminal_in_faith_trigger = {
|
||||
TRAIT = trait:witch
|
||||
TRAIT = witch
|
||||
GENDER_CHARACTER = scope:fp2_2006_vassal_in_crisis
|
||||
FAITH = scope:fp2_2006_foreign_faith
|
||||
}
|
||||
|
|
@ -10138,14 +10128,12 @@ fp2_struggle.2014 = {
|
|||
any_character_artifact = {
|
||||
NOT = { has_variable = historical_unique_artifact }
|
||||
artifact_high_rarity_trigger = yes
|
||||
artifact_can_be_gift_to_trigger = { RECIPIENT = root }
|
||||
}
|
||||
}
|
||||
random_character_artifact = {
|
||||
limit = {
|
||||
NOT = { has_variable = historical_unique_artifact }
|
||||
artifact_high_rarity_trigger = yes
|
||||
artifact_can_be_gift_to_trigger = { RECIPIENT = root }
|
||||
}
|
||||
set_owner = root # If it breaks, use set_artifact_owner
|
||||
}
|
||||
|
|
@ -10210,14 +10198,12 @@ fp2_struggle.2014 = {
|
|||
any_character_artifact = {
|
||||
NOT = { has_variable = historical_unique_artifact }
|
||||
artifact_low_rarity_trigger = yes
|
||||
artifact_can_be_gift_to_trigger = { RECIPIENT = root }
|
||||
}
|
||||
}
|
||||
random_character_artifact = {
|
||||
limit = {
|
||||
NOT = { has_variable = historical_unique_artifact }
|
||||
artifact_low_rarity_trigger = yes
|
||||
artifact_can_be_gift_to_trigger = { RECIPIENT = root }
|
||||
}
|
||||
set_owner = root
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
## 1001 - 1001 Chess Two by Daniel Moore
|
||||
## 1002 - 1002 Compromising Position by Daniel Moore
|
||||
## 1003 - 1003 Tilting at Giants by Daniel Moore
|
||||
## 1004 - 1004 The Hawk of Quraysh by Daniel Moore
|
||||
## 1004 - 1004 The Hawk of Quarysh by Daniel Moore
|
||||
## 1005 - 1005 Lost Viking by Daniel Moore
|
||||
## 1006 - 1007 Viking Cheese by Daniel Moore
|
||||
## 1008 - 1008 Consuming the Cheese by Daniel Moore
|
||||
|
|
@ -364,7 +364,7 @@ fp2_yearly.1003 = {
|
|||
}
|
||||
|
||||
###################################
|
||||
# The Hawk of Quraysh
|
||||
# The Hawk of Quarysh
|
||||
# By Daniel Moore
|
||||
###################################
|
||||
fp2_yearly.1004 = {
|
||||
|
|
@ -429,7 +429,7 @@ fp2_yearly.1004 = {
|
|||
option = { #How he inspired soldiers
|
||||
name = fp2_yearly.1004.a
|
||||
add_character_modifier = {
|
||||
modifier = fp2_hawk_of_quraysh_martial_modifier
|
||||
modifier = fp2_hawk_of_quarysh_martial_modifier
|
||||
years = 10
|
||||
}
|
||||
|
||||
|
|
@ -445,7 +445,7 @@ fp2_yearly.1004 = {
|
|||
option = { #How diplomatic he was
|
||||
name = fp2_yearly.1004.b
|
||||
add_character_modifier = {
|
||||
modifier = fp2_hawk_of_quraysh_diplomacy_modifier
|
||||
modifier = fp2_hawk_of_quarysh_diplomacy_modifier
|
||||
years = 10
|
||||
}
|
||||
|
||||
|
|
@ -5915,709 +5915,6 @@ fp2_yearly.8006 = {
|
|||
# Conversos and Jewish events
|
||||
# By James Beaumont
|
||||
###################################
|
||||
scripted_trigger valid_grantable_county_barony = {
|
||||
title_province = {
|
||||
geographical_region = world_europe_west_iberia
|
||||
}
|
||||
title_province = { has_building_or_higher = common_tradeport_01 }
|
||||
is_holy_site = no
|
||||
county.holder = {
|
||||
any_held_title = { # Make sure it isn't revoking their last title
|
||||
title_tier = county
|
||||
count >= 2
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fp2_yearly.9000 = {
|
||||
type = character_event
|
||||
title = fp2_james.0001.t
|
||||
desc = fp2_james.0001.desc
|
||||
theme = secret
|
||||
override_background = {
|
||||
reference = docks
|
||||
}
|
||||
left_portrait = {
|
||||
character = root
|
||||
animation = personality_rational
|
||||
}
|
||||
right_portrait = {
|
||||
character = scope:fp2_james_0001_jewish_trader
|
||||
animation = personality_bold
|
||||
}
|
||||
|
||||
trigger = {
|
||||
NOT = { root.religion = religion:judaism_religion }
|
||||
highest_held_title_tier >= tier_county
|
||||
any_sub_realm_barony = {
|
||||
valid_grantable_county_barony = yes
|
||||
}
|
||||
}
|
||||
|
||||
immediate = {
|
||||
random_sub_realm_barony = {
|
||||
limit = {
|
||||
valid_grantable_county_barony = yes
|
||||
}
|
||||
save_scope_as = fp2_james_0001_thriving_community
|
||||
}
|
||||
create_character = {
|
||||
template = spanish_jewish_merchant_character
|
||||
location = root.capital_province
|
||||
save_scope_as = fp2_james_0001_jewish_trader
|
||||
}
|
||||
}
|
||||
|
||||
option = {
|
||||
name = fp2_james.0001.a
|
||||
scope:fp2_james_0001_thriving_community.county = {
|
||||
add_county_modifier = {
|
||||
modifier = fp2_jewish_community_denied_modifier
|
||||
years = 10
|
||||
}
|
||||
}
|
||||
scope:fp2_james_0001_jewish_trader.culture = {
|
||||
change_cultural_acceptance = {
|
||||
target = root.culture
|
||||
value = low_negative_culture_acceptance
|
||||
desc = cultural_acceptance_gain_conversos_tolerance
|
||||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
callous = minor_stress_impact_loss
|
||||
greedy = minor_stress_impact_gain
|
||||
compassionate = medium_stress_impact_gain
|
||||
}
|
||||
ai_chance = {
|
||||
base = 10
|
||||
ai_value_modifier = {
|
||||
ai_honor = -0.5
|
||||
ai_greed = -0.5
|
||||
ai_zeal = 1.5
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
option = {
|
||||
name = fp2_james.0001.b
|
||||
trigger = {
|
||||
NOT = { # Prevent all of Iberia from converting
|
||||
any_county_in_region = {
|
||||
region = world_europe_west_iberia
|
||||
culture = culture:sephardi
|
||||
}
|
||||
}
|
||||
}
|
||||
create_title_and_vassal_change = {
|
||||
type = granted
|
||||
save_scope_as = change
|
||||
add_claim_on_loss = no
|
||||
}
|
||||
scope:fp2_james_0001_thriving_community.county = {
|
||||
change_title_holder = {
|
||||
holder = scope:fp2_james_0001_jewish_trader
|
||||
change = scope:change
|
||||
}
|
||||
}
|
||||
resolve_title_and_vassal_change = scope:change
|
||||
hidden_effect = {
|
||||
add_opinion = {
|
||||
target = scope:fp2_james_0001_jewish_trader
|
||||
modifier = received_title_county
|
||||
}
|
||||
}
|
||||
scope:fp2_james_0001_thriving_community.county = {
|
||||
add_county_modifier = {
|
||||
modifier = fp2_thriving_jewish_community_modifier
|
||||
years = 10
|
||||
}
|
||||
set_county_culture = scope:fp2_james_0001_jewish_trader.culture
|
||||
set_county_faith = scope:fp2_james_0001_jewish_trader.faith
|
||||
}
|
||||
scope:fp2_james_0001_jewish_trader.culture = {
|
||||
change_cultural_acceptance = {
|
||||
target = root.culture
|
||||
value = medium_positive_culture_acceptance
|
||||
desc = cultural_acceptance_gain_conversos_tolerance
|
||||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
compassionate = minor_stress_impact_loss
|
||||
greedy = minor_stress_impact_loss
|
||||
}
|
||||
ai_chance = {
|
||||
base = 10
|
||||
ai_value_modifier = {
|
||||
ai_honor = 1.5
|
||||
ai_greed = 1.5
|
||||
ai_zeal = -0.5
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
option = {
|
||||
name = fp2_james.0001.c
|
||||
scope:fp2_james_0001_thriving_community.county = {
|
||||
add_county_modifier = {
|
||||
modifier = fp2_thriving_jewish_community_modifier
|
||||
years = 10
|
||||
}
|
||||
}
|
||||
scope:fp2_james_0001_jewish_trader.culture = {
|
||||
change_cultural_acceptance = {
|
||||
target = root.culture
|
||||
value = low_positive_culture_acceptance
|
||||
desc = cultural_acceptance_gain_conversos_tolerance
|
||||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
compassionate = minor_stress_impact_loss
|
||||
greedy = minor_stress_impact_loss
|
||||
}
|
||||
ai_chance = {
|
||||
base = 10
|
||||
ai_value_modifier = {
|
||||
ai_honor = 1.5
|
||||
ai_greed = 1.5
|
||||
ai_zeal = -0.5
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
scripted_effect fp2_polish_should_heritage_israelite_get_upset_effect = {
|
||||
if = {
|
||||
limit = {
|
||||
scope:fp2_james_0002_conversos_character = { culture = { has_cultural_pillar = heritage_israelite } }
|
||||
}
|
||||
scope:fp2_james_0002_conversos_character.culture = {
|
||||
change_cultural_acceptance = {
|
||||
target = root.culture
|
||||
value = low_negative_culture_acceptance
|
||||
desc = cultural_acceptance_loss_conversos_tolerance
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Suspect Conversos of secretly praciticing Judaism
|
||||
fp2_yearly.9001 = {
|
||||
type = character_event
|
||||
title = fp2_james.0002.t
|
||||
desc = fp2_james.0002.desc
|
||||
theme = secret
|
||||
override_background = {
|
||||
reference = temple
|
||||
}
|
||||
left_portrait = {
|
||||
character = root
|
||||
animation = paranoia
|
||||
}
|
||||
right_portrait = {
|
||||
character = scope:fp2_james_0002_conversos_character
|
||||
animation = personality_cynical
|
||||
}
|
||||
|
||||
trigger = {
|
||||
root.religion = religion:christianity_religion
|
||||
is_landed = yes
|
||||
NOT = { faith = faith:conversos }
|
||||
}
|
||||
|
||||
weight_multiplier = {
|
||||
base = 1
|
||||
modifier = {
|
||||
add = 1
|
||||
any_character_struggle = {
|
||||
is_struggle_type = iberian_struggle
|
||||
is_struggle_phase = struggle_iberia_phase_hostility
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
immediate = {
|
||||
every_sub_realm_county = {
|
||||
limit = {
|
||||
faith = faith:conversos
|
||||
holder = {
|
||||
liege = { # Don't convert player-Conversos territory
|
||||
OR = {
|
||||
is_ai = yes
|
||||
NOT = { faith = faith:conversos }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
add_to_list = fp2_james_0002_conversos_county
|
||||
}
|
||||
# Try to find a Conversos vassal if one exists
|
||||
if = {
|
||||
limit = {
|
||||
any_vassal = {
|
||||
faith = faith:conversos
|
||||
is_available_ai = yes
|
||||
}
|
||||
}
|
||||
random_vassal = {
|
||||
limit = {
|
||||
faith = faith:conversos
|
||||
is_available_ai = yes
|
||||
}
|
||||
save_scope_as = fp2_james_0002_conversos_character
|
||||
}
|
||||
}
|
||||
# Otherwise find a pool character
|
||||
else_if = {
|
||||
limit = {
|
||||
any_pool_character = {
|
||||
province = root.capital_province
|
||||
faith = faith:conversos
|
||||
}
|
||||
}
|
||||
random_pool_character = {
|
||||
province = root.capital_province
|
||||
limit = {
|
||||
faith = faith:conversos
|
||||
}
|
||||
save_scope_as = fp2_james_0002_conversos_character
|
||||
}
|
||||
}
|
||||
# Otherwise create one
|
||||
else = {
|
||||
create_character = {
|
||||
template = spanish_conversos_character
|
||||
location = root.capital_province
|
||||
save_scope_as = fp2_james_0002_conversos_character
|
||||
}
|
||||
}
|
||||
scope:fp2_james_0002_conversos_character = {
|
||||
random_list = {
|
||||
50 = {
|
||||
add_character_flag = is_secretly_jewish_flag
|
||||
}
|
||||
50 = {
|
||||
}
|
||||
}
|
||||
}
|
||||
# Get a religion for them to potentially be secretly praciticing
|
||||
religion:judaism_religion = {
|
||||
random_faith = {
|
||||
limit = { is_mainstream_jewish_faith = yes }
|
||||
save_scope_as = fp2_james_0002_jewish_faith
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
option = {
|
||||
name = fp2_james.0002.a
|
||||
custom_tooltip = fp2_james.0002.a.tt
|
||||
hidden_effect = {
|
||||
if = {
|
||||
limit = {
|
||||
scope:fp2_james_0002_conversos_character = { has_character_flag = is_secretly_jewish_flag }
|
||||
}
|
||||
send_interface_toast = {
|
||||
type = event_toast_effect_good
|
||||
title = fp2_james.0002.a.jewish_communities_thrive
|
||||
every_in_list = {
|
||||
list = fp2_james_0002_conversos_county
|
||||
set_county_faith = scope:fp2_james_0002_jewish_faith
|
||||
}
|
||||
scope:fp2_james_0002_conversos_character = {
|
||||
set_character_faith = scope:fp2_james_0002_jewish_faith
|
||||
every_vassal = {
|
||||
limit = {
|
||||
faith = faith:conversos
|
||||
is_available_ai = yes
|
||||
}
|
||||
set_character_faith = scope:fp2_james_0002_jewish_faith
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else = {
|
||||
send_interface_toast = {
|
||||
type = event_toast_effect_good
|
||||
title = fp2_james.0002.a.nothing_happened_toast
|
||||
}
|
||||
}
|
||||
fp2_polish_should_heritage_israelite_get_upset_effect = yes
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
zealous = medium_stress_impact_gain
|
||||
}
|
||||
ai_chance = {
|
||||
base = 10
|
||||
ai_value_modifier = {
|
||||
ai_honor = -0.5
|
||||
ai_zeal = 1.5
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
option = {
|
||||
name = fp2_james.0002.b
|
||||
duel = {
|
||||
skill = intrigue
|
||||
target = scope:fp2_james_0002_conversos_character
|
||||
|
||||
50 = {
|
||||
compare_modifier = {
|
||||
value = scope:duel_value
|
||||
multiplier = 3.5
|
||||
}
|
||||
desc = fp2_james.0002.b.succesful_interrogation
|
||||
|
||||
if = {
|
||||
limit = { scope:fp2_james_0002_conversos_character = { has_character_flag = is_secretly_jewish_flag } }
|
||||
|
||||
send_interface_message = { # Begrudgingly added "unecessary" polish
|
||||
type = event_prison_good
|
||||
title = fp2_james.0002.t
|
||||
right_icon = scope:fp2_james_0002_conversos_character
|
||||
|
||||
rightfully_imprison_character_effect = {
|
||||
TARGET = scope:fp2_james_0002_conversos_character
|
||||
IMPRISONER = root
|
||||
}
|
||||
fp2_polish_should_heritage_israelite_get_upset_effect = yes
|
||||
}
|
||||
}
|
||||
else = {
|
||||
send_interface_message = {
|
||||
type = event_intrigue_bad
|
||||
title = fp2_james.0002.a.offended_conversos
|
||||
right_icon = scope:fp2_james_0002_conversos_character
|
||||
|
||||
reverse_add_opinion = {
|
||||
target = scope:fp2_james_0002_conversos_character
|
||||
modifier = hate_opinion
|
||||
opinion = -30
|
||||
}
|
||||
fp2_polish_should_heritage_israelite_get_upset_effect = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
50 = {
|
||||
compare_modifier = {
|
||||
value = scope:duel_value
|
||||
multiplier = -3.5
|
||||
}
|
||||
desc = fp2_james.0002.b.failed_interrogation
|
||||
send_interface_message = {
|
||||
type = event_intrigue_bad
|
||||
title = fp2_james.0002.a.offended_conversos
|
||||
right_icon = scope:fp2_james_0002_conversos_character
|
||||
|
||||
every_sub_realm_county = {
|
||||
custom = fp2_james_0002.b.failed_interrogation.tt
|
||||
limit = {
|
||||
faith = {
|
||||
religion = {
|
||||
OR = {
|
||||
this = religion:christianity_religion
|
||||
this = religion:judaism_religion
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
add_county_modifier = {
|
||||
modifier = fp2_conversos_persecution_modifier
|
||||
years = 10
|
||||
}
|
||||
}
|
||||
reverse_add_opinion = {
|
||||
target = scope:fp2_james_0002_conversos_character
|
||||
modifier = hate_opinion
|
||||
opinion = -30
|
||||
}
|
||||
fp2_polish_should_heritage_israelite_get_upset_effect = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stress_impact = { compassionate = medium_stress_impact_gain }
|
||||
ai_chance = {
|
||||
base = 10
|
||||
ai_value_modifier = {
|
||||
ai_zeal = 0.5
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
option = { # Imprison the suspect without trial
|
||||
name = fp2_james.0002.c
|
||||
|
||||
send_interface_message = {
|
||||
type = event_prison_neutral
|
||||
title = fp2_james.0002.t
|
||||
right_icon = scope:fp2_james_0002_conversos_character
|
||||
|
||||
imprison_character_effect = {
|
||||
TARGET = scope:fp2_james_0002_conversos_character
|
||||
IMPRISONER = root
|
||||
}
|
||||
fp2_polish_should_heritage_israelite_get_upset_effect = yes
|
||||
|
||||
stress_impact = {
|
||||
compassionate = medium_stress_impact_gain
|
||||
diligent = medium_stress_impact_gain
|
||||
just = medium_stress_impact_gain
|
||||
callous = minor_stress_impact_loss
|
||||
sadistic = minor_stress_impact_loss
|
||||
zealous = minor_stress_impact_loss
|
||||
}
|
||||
}
|
||||
|
||||
ai_chance = {
|
||||
base = 10
|
||||
modifier = {
|
||||
factor = 0
|
||||
OR = {
|
||||
has_trait = compassionate
|
||||
has_trait = diligent
|
||||
has_trait = just
|
||||
}
|
||||
}
|
||||
modifier = {
|
||||
factor = 2
|
||||
OR = {
|
||||
has_trait = callous
|
||||
has_trait = sadistic
|
||||
}
|
||||
has_trait = zealous
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Jewish people come fleeing persecution from a nearby realm
|
||||
fp2_yearly.9002 = {
|
||||
type = character_event
|
||||
title = fp2_james.0003.t
|
||||
desc = fp2_james.0003.desc
|
||||
theme = secret
|
||||
override_background = {
|
||||
reference = throne_room
|
||||
}
|
||||
left_portrait = {
|
||||
character = root
|
||||
animation = paranoia
|
||||
}
|
||||
right_portrait = {
|
||||
character = scope:fp2_james_003_jewish_refugee_leader
|
||||
animation = beg
|
||||
}
|
||||
|
||||
trigger = {
|
||||
NOT = { root.religion = religion:judaism_religion }
|
||||
NOT = { faith = faith:conversos }
|
||||
any_neighboring_and_across_water_top_liege_realm = { # There is someone to do persecuting
|
||||
holder = {
|
||||
is_ai = yes
|
||||
NOT = { root.religion = religion:judaism_religion }
|
||||
NOT = { faith = faith:conversos }
|
||||
}
|
||||
}
|
||||
highest_held_title_tier >= tier_county
|
||||
any_held_county = {
|
||||
is_landless_type_title = no
|
||||
title_province = {
|
||||
geographical_region = world_europe_west_iberia
|
||||
}
|
||||
NOT = { # Don't give away the capital
|
||||
this = this.holder.top_liege.capital_county
|
||||
}
|
||||
holder = {
|
||||
any_held_title = {
|
||||
title_tier = county
|
||||
count >= 2
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
weight_multiplier = {
|
||||
base = 1
|
||||
modifier = {
|
||||
add = 1
|
||||
any_character_struggle = {
|
||||
is_struggle_type = iberian_struggle
|
||||
is_struggle_phase = struggle_iberia_phase_hostility
|
||||
}
|
||||
}
|
||||
modifier = {
|
||||
factor = 0.1
|
||||
any_county_in_region = {
|
||||
region = world_europe_west_iberia
|
||||
culture = culture:sephardi
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
immediate = {
|
||||
# Grab the neighbour for loc purposes
|
||||
random_neighboring_and_across_water_top_liege_realm = {
|
||||
limit = {
|
||||
holder = {
|
||||
is_ai = yes
|
||||
NOT = { root.religion = religion:judaism_religion }
|
||||
NOT = { faith = faith:conversos }
|
||||
}
|
||||
}
|
||||
holder = { save_scope_as = fp2_james_003_intolerant_ruler }
|
||||
}
|
||||
# find a pool character
|
||||
if = {
|
||||
limit = {
|
||||
any_pool_character = {
|
||||
province = root.capital_province
|
||||
religion = religion:judaism_religion
|
||||
}
|
||||
}
|
||||
random_pool_character = {
|
||||
province = root.capital_province
|
||||
limit = {
|
||||
religion = religion:judaism_religion
|
||||
}
|
||||
save_scope_as = fp2_james_003_jewish_refugee_leader
|
||||
}
|
||||
}
|
||||
# Otherwise create one
|
||||
else = {
|
||||
create_character = {
|
||||
template = spanish_jewish_merchant_character # May as well reuse the template
|
||||
location = root.capital_province
|
||||
save_scope_as = fp2_james_003_jewish_refugee_leader
|
||||
}
|
||||
}
|
||||
# Get a religion for them to potentially be secretly praciticing
|
||||
religion:judaism_religion = {
|
||||
random_faith = {
|
||||
limit = { is_mainstream_jewish_faith = yes }
|
||||
save_scope_as = fp2_james_0003_jewish_faith
|
||||
}
|
||||
}
|
||||
random_held_county = {
|
||||
limit = {
|
||||
is_landless_type_title = no
|
||||
title_province = {
|
||||
geographical_region = world_europe_west_iberia
|
||||
}
|
||||
NOT = { # Don't give away the capital
|
||||
this = this.holder.top_liege.capital_county
|
||||
}
|
||||
holder = {
|
||||
any_held_title = {
|
||||
title_tier = county
|
||||
count >= 2
|
||||
}
|
||||
}
|
||||
}
|
||||
weight = {
|
||||
modifier = { # Low-dev counties should be more highly considered
|
||||
add = 50
|
||||
development_level <= medium_development_level
|
||||
}
|
||||
}
|
||||
save_scope_as = fp2_james_0003_province_to_convert
|
||||
}
|
||||
}
|
||||
|
||||
option = { # Offer the community protection in your realm
|
||||
name = fp2_james.0003.a
|
||||
create_title_and_vassal_change = {
|
||||
type = granted
|
||||
save_scope_as = change
|
||||
add_claim_on_loss = no
|
||||
}
|
||||
scope:fp2_james_0003_province_to_convert.county = {
|
||||
change_title_holder = {
|
||||
holder = scope:fp2_james_003_jewish_refugee_leader
|
||||
change = scope:change
|
||||
}
|
||||
}
|
||||
resolve_title_and_vassal_change = scope:change
|
||||
hidden_effect = {
|
||||
add_opinion = {
|
||||
target = scope:fp2_james_003_jewish_refugee_leader
|
||||
modifier = received_title_county
|
||||
}
|
||||
}
|
||||
scope:fp2_james_0003_province_to_convert.county = {
|
||||
change_development_level = 1
|
||||
if = {
|
||||
limit = {
|
||||
root = {
|
||||
is_ai = no
|
||||
}
|
||||
NOT = {
|
||||
any_county_in_region = {
|
||||
region = world_europe_west_iberia
|
||||
culture = culture:sephardi
|
||||
}
|
||||
}
|
||||
}
|
||||
set_county_culture = scope:fp2_james_003_jewish_refugee_leader.culture
|
||||
set_county_faith = scope:fp2_james_003_jewish_refugee_leader.faith
|
||||
add_county_modifier = {
|
||||
modifier = fp2_thriving_jewish_community_modifier
|
||||
years = 10
|
||||
}
|
||||
}
|
||||
else = {
|
||||
add_county_modifier = {
|
||||
modifier = fp2_thriving_jewish_community_modifier
|
||||
years = 10
|
||||
}
|
||||
}
|
||||
}
|
||||
scope:fp2_james_003_jewish_refugee_leader.culture = {
|
||||
change_cultural_acceptance = {
|
||||
target = root.culture
|
||||
value = medium_positive_culture_acceptance
|
||||
desc = cultural_acceptance_gain_conversos_tolerance
|
||||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
callous = minor_stress_impact_gain
|
||||
greedy = minor_stress_impact_gain
|
||||
compassionate = medium_stress_impact_loss
|
||||
zealous = medium_stress_impact_gain
|
||||
paranoid = medium_stress_impact_gain
|
||||
}
|
||||
ai_chance = {
|
||||
base = 10
|
||||
ai_value_modifier = {
|
||||
ai_honor = 1.5
|
||||
ai_zeal = -0.5
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
option = {
|
||||
name = fp2_james.0003.b
|
||||
scope:fp2_james_003_jewish_refugee_leader = { silent_disappearance_effect = yes }
|
||||
|
||||
stress_impact = {
|
||||
paranoid = minor_stress_impact_loss
|
||||
zealous = minor_stress_impact_loss
|
||||
}
|
||||
ai_chance = {
|
||||
base = 10
|
||||
ai_value_modifier = {
|
||||
ai_honor = -0.5
|
||||
ai_zeal = 1.5
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
###################################
|
||||
# Toledan Nights
|
||||
# By James Beaumont
|
||||
|
|
|
|||
|
|
@ -187,7 +187,7 @@ fp3_dynasty_decision.0004 = {
|
|||
send_interface_toast = {
|
||||
title = splurge_above_expectations_toast
|
||||
left_icon = scope:chosen_architect
|
||||
dynasty ?= { add_dynasty_prestige = major_dynasty_prestige_value }
|
||||
dynasty = { add_dynasty_prestige = major_dynasty_prestige_value }
|
||||
house = {
|
||||
every_house_member = {
|
||||
custom = every_house_member
|
||||
|
|
|
|||
|
|
@ -2455,7 +2455,7 @@ fp3_yearly.8032 = {
|
|||
option = { #think of my dynasty
|
||||
name = fp3_yearly.8032.c
|
||||
|
||||
dynasty ?= { add_dynasty_prestige = minor_dynasty_prestige_value }
|
||||
dynasty = { add_dynasty_prestige = minor_dynasty_prestige_value }
|
||||
|
||||
stress_impact = {
|
||||
arrogant = minor_stress_impact_loss
|
||||
|
|
|
|||
|
|
@ -204,7 +204,7 @@ fp3_misc_decisions.0015 = {
|
|||
ordered_in_list = {
|
||||
list = realm_zoroastrian_faiths
|
||||
order_by = fervor
|
||||
position = 0
|
||||
position = 1
|
||||
save_scope_as = zoroastrian_faith_2
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ fp3_decision.0001 = {
|
|||
|
||||
add_piety = massive_piety_loss
|
||||
|
||||
dynasty ?= { add_dynasty_prestige = medium_dynasty_prestige_value }
|
||||
dynasty = { add_dynasty_prestige = medium_dynasty_prestige_value }
|
||||
|
||||
add_character_modifier = {
|
||||
modifier = fp3_royal_fire_modifier
|
||||
|
|
|
|||
|
|
@ -136,18 +136,15 @@ fp3_clan.1000 = {
|
|||
option = { # take this artifact
|
||||
name = fp3_clan.1000.b
|
||||
trigger = {
|
||||
any_character_artifact = {
|
||||
artifact_can_be_gift_to_trigger = { RECIPIENT = scope:target_tax_collector }
|
||||
}
|
||||
any_character_artifact = { }
|
||||
}
|
||||
show_as_unavailable = {
|
||||
always = yes
|
||||
any_character_artifact = {
|
||||
count < 1
|
||||
}
|
||||
}
|
||||
|
||||
random_character_artifact = {
|
||||
limit = {
|
||||
artifact_can_be_gift_to_trigger = { RECIPIENT = scope:target_tax_collector }
|
||||
}
|
||||
save_scope_as = target_artifact
|
||||
set_owner = scope:target_tax_collector
|
||||
add_artifact_history = {
|
||||
|
|
|
|||
|
|
@ -336,7 +336,6 @@ fp3_yearly.2001 = {
|
|||
scripted_effect fp3_yearly_2010_create_baker_effect = {
|
||||
create_character = {
|
||||
age = { 35 50 }
|
||||
dynasty = none
|
||||
location = root.capital_province
|
||||
gender_female_chance = root_faith_dominant_gender_female_chance
|
||||
faith = root.capital_province.faith
|
||||
|
|
@ -818,7 +817,6 @@ fp3_yearly.2020 = {
|
|||
has_religion = religion:islam_religion
|
||||
employs_tax_collector = yes
|
||||
any_tax_collector = {
|
||||
this != root
|
||||
any_tax_collector_vassal = { this = root }
|
||||
fp3_yearly_2020_is_valid_tax_collector = yes
|
||||
}
|
||||
|
|
@ -844,7 +842,6 @@ fp3_yearly.2020 = {
|
|||
}
|
||||
random_tax_collector = {
|
||||
limit = {
|
||||
this != root
|
||||
any_tax_collector_vassal = { this = root }
|
||||
fp3_yearly_2020_is_valid_tax_collector = yes
|
||||
}
|
||||
|
|
|
|||
|
|
@ -949,12 +949,6 @@ fp3_yearly.8002 = { #Faith at the Frontier
|
|||
|
||||
add_piety = medium_piety_loss
|
||||
set_character_faith_with_conversion = scope:regional_heresy
|
||||
if = {
|
||||
limit = {
|
||||
scope:regional_heresy = { has_doctrine = doctrine_monotheist }
|
||||
}
|
||||
custom_description_no_bullet = { text = mandala_monotheist_warning_tt }
|
||||
}
|
||||
|
||||
scope:frontier_fort_county = {
|
||||
add_county_modifier = {
|
||||
|
|
@ -2218,7 +2212,7 @@ fp3_yearly.8007 = {
|
|||
}
|
||||
}
|
||||
|
||||
dynasty ?= { add_dynasty_prestige = minor_dynasty_prestige_value }
|
||||
root.dynasty = { add_dynasty_prestige = minor_dynasty_prestige_value }
|
||||
|
||||
scope:fp3_child_to_leave = {
|
||||
add_character_modifier = {
|
||||
|
|
@ -3904,8 +3898,7 @@ fp3_yearly.8018 = {
|
|||
}
|
||||
}
|
||||
|
||||
NOR = {
|
||||
title:h_china.holder ?= root
|
||||
NOT = {
|
||||
culture = culture:han
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -400,26 +400,14 @@ mpo_decisions_events.0005 = {
|
|||
desc = mpo_decisions_events.0005.desc
|
||||
theme = crown
|
||||
override_background = { reference = courtyard }
|
||||
left_portrait = {
|
||||
character = scope:new_king_ruler
|
||||
animation = standing_horse
|
||||
camera = camera_event_standing_with_horse_left
|
||||
}
|
||||
right_portrait = {
|
||||
character = scope:vassal
|
||||
animation = throne_room_kneel_1
|
||||
camera = camera_event_right_to_the_right
|
||||
character = scope:new_king_ruler
|
||||
animation = jockey_wave
|
||||
camera = camera_event_horse_left
|
||||
}
|
||||
|
||||
immediate = {
|
||||
ordered_vassal = {
|
||||
order_by = "opinion(root)"
|
||||
limit = {
|
||||
age > 5
|
||||
basic_is_available_ai = yes
|
||||
}
|
||||
save_scope_as = vassal
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
option = {
|
||||
|
|
@ -3099,6 +3087,7 @@ mpo_decisions_events.0023 = {
|
|||
}
|
||||
}
|
||||
theme = nomads
|
||||
#TODO_CD_MPO how about a new positive music sting?
|
||||
override_background = {
|
||||
reference = relaxing_room
|
||||
}
|
||||
|
|
@ -4187,228 +4176,13 @@ mpo_decisions_events.0101 = { #the merchant is back
|
|||
|
||||
immediate = {
|
||||
mpo_paiza_deal_grade_effect = yes
|
||||
if = {
|
||||
limit = {
|
||||
domicile ?= {
|
||||
OR = {
|
||||
has_domicile_building_or_higher = fertility_trade_yurt_01
|
||||
has_domicile_building_or_higher = herd_trade_yurt_01
|
||||
has_domicile_building_or_higher = knight_trade_yurt_01
|
||||
has_domicile_building_or_higher = merchant_yurt_01
|
||||
has_domicile_building_or_higher = char_trade_yurt_01
|
||||
}
|
||||
}
|
||||
}
|
||||
domicile ?= {
|
||||
if = {
|
||||
limit = {
|
||||
has_domicile_building_or_higher = fertility_trade_yurt_01
|
||||
}
|
||||
switch = {
|
||||
trigger = has_domicile_parameter
|
||||
nomad_yurt_paiza_fertility_gain_lvl_1 = {
|
||||
root = {
|
||||
every_held_county = {
|
||||
limit = {
|
||||
uses_county_fertility = yes
|
||||
}
|
||||
add_county_modifier = {
|
||||
modifier = paiza_fertility_modifier_1
|
||||
years = 2
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
nomad_yurt_paiza_fertility_gain_lvl_2 = {
|
||||
root = {
|
||||
every_held_county = {
|
||||
limit = {
|
||||
uses_county_fertility = yes
|
||||
}
|
||||
add_county_modifier = {
|
||||
modifier = paiza_fertility_modifier_2
|
||||
years = 4
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
nomad_yurt_paiza_fertility_gain_lvl_3 = {
|
||||
root = {
|
||||
every_held_county = {
|
||||
limit = {
|
||||
uses_county_fertility = yes
|
||||
}
|
||||
add_county_modifier = {
|
||||
modifier = paiza_fertility_modifier_3
|
||||
years = 6
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
has_domicile_building_or_higher = herd_trade_yurt_01
|
||||
}
|
||||
switch = {
|
||||
trigger = has_domicile_parameter
|
||||
nomad_yurt_paiza_herd_gain_lvl_1= {
|
||||
change_herd = {
|
||||
value = root.var:trade_gold_value
|
||||
multiply = 0.05
|
||||
}
|
||||
}
|
||||
nomad_yurt_paiza_herd_gain_lvl_2 = {
|
||||
change_herd = {
|
||||
value = root.var:trade_gold_value
|
||||
multiply = 0.05
|
||||
}
|
||||
}
|
||||
nomad_yurt_paiza_herd_gain_lvl_3 = {
|
||||
change_herd = {
|
||||
value = root.var:trade_gold_value
|
||||
multiply = 0.2
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
has_domicile_building_or_higher = knight_trade_yurt_01
|
||||
}
|
||||
switch = {
|
||||
trigger = has_domicile_parameter
|
||||
nomad_yurt_paiza_maa_gain_lvl_1 = {
|
||||
root = {
|
||||
spawn_army = {
|
||||
name = paiza_troops
|
||||
men_at_arms = {
|
||||
type = accolade_maa_archers
|
||||
stacks = 1
|
||||
}
|
||||
location = root.location
|
||||
origin = scope:merchant_origin
|
||||
inheritable = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
nomad_yurt_paiza_maa_gain_lvl_2 = {
|
||||
root = {
|
||||
spawn_army = {
|
||||
name = paiza_troops
|
||||
men_at_arms = {
|
||||
type = accolade_maa_archers
|
||||
stacks = 4
|
||||
}
|
||||
location = root.location
|
||||
origin = scope:merchant_origin
|
||||
inheritable = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
nomad_yurt_paiza_maa_gain_lvl_3 = {
|
||||
root = {
|
||||
spawn_army = {
|
||||
name = paiza_troops
|
||||
men_at_arms = {
|
||||
type = accolade_maa_archers
|
||||
stacks = 4
|
||||
}
|
||||
men_at_arms = {
|
||||
type = accolade_maa_vanguards
|
||||
stacks = 4
|
||||
}
|
||||
location = root.location
|
||||
origin = scope:merchant_origin
|
||||
inheritable = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
has_domicile_building_or_higher = char_trade_yurt_01
|
||||
}
|
||||
|
||||
switch = {
|
||||
trigger = has_domicile_parameter
|
||||
nomad_yurt_paiza_char_gain_lvl_1 = {
|
||||
root = {
|
||||
hidden_effect = {
|
||||
create_character = {
|
||||
location = root.location
|
||||
culture = scope:merchant_origin.county.culture
|
||||
faith = scope:merchant_origin.county.faith
|
||||
gender_female_chance = 50
|
||||
template = peasant_character
|
||||
save_scope_as = yurt_merchant_char
|
||||
}
|
||||
scope:yurt_merchant_char = {
|
||||
add_trait = lifestyle_traveler
|
||||
}
|
||||
add_courtier = scope:yurt_merchant_char
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
nomad_yurt_paiza_char_gain_lvl_2 = {
|
||||
root = {
|
||||
hidden_effect = {
|
||||
create_character = {
|
||||
location = root.location
|
||||
culture = scope:merchant_origin.county.culture
|
||||
faith = scope:merchant_origin.county.faith
|
||||
gender_female_chance = 50
|
||||
template = merchant_template
|
||||
save_scope_as = yurt_merchant_char
|
||||
}
|
||||
scope:yurt_merchant_char = {
|
||||
add_trait = lifestyle_traveler
|
||||
}
|
||||
add_courtier = scope:yurt_merchant_char
|
||||
}
|
||||
}
|
||||
}
|
||||
nomad_yurt_paiza_char_gain_lvl_3 = {
|
||||
root = {
|
||||
hidden_effect = {
|
||||
create_character = {
|
||||
location = root.location
|
||||
culture = scope:merchant_origin.county.culture
|
||||
faith = scope:merchant_origin.county.faith
|
||||
gender_female_chance = 50
|
||||
template = merchant_template
|
||||
save_scope_as = yurt_merchant_char
|
||||
}
|
||||
scope:yurt_merchant_char = {
|
||||
add_random_skill_point_effect = yes
|
||||
add_random_skill_point_effect = yes
|
||||
add_random_skill_point_effect = yes
|
||||
add_random_skill_point_effect = yes
|
||||
add_random_skill_point_effect = yes
|
||||
add_random_skill_point_effect = yes
|
||||
random_list = {
|
||||
1 = { add_trait = avaricious }
|
||||
1 = { add_trait = diplomat }
|
||||
1 = { add_trait = overseer }
|
||||
}
|
||||
add_trait = lifestyle_traveler
|
||||
}
|
||||
add_courtier = scope:yurt_merchant_char
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
mpo_yurts_paiza_bonuses_effect = yes
|
||||
}
|
||||
|
||||
|
||||
option = { #rejoice!
|
||||
name = mpo_decisions_events.0101.a
|
||||
|
||||
ai_chance = {
|
||||
base = 10
|
||||
}
|
||||
|
|
@ -4425,12 +4199,6 @@ mpo_decisions_events.0101 = { #the merchant is back
|
|||
}
|
||||
|
||||
after = {
|
||||
if = {
|
||||
limit = {
|
||||
domicile = { has_domicile_building_or_higher = char_trade_yurt_01 }
|
||||
}
|
||||
show_as_tooltip = { add_courtier = scope:yurt_merchant_char }
|
||||
}
|
||||
switch = {
|
||||
trigger = scope:merchant_goods
|
||||
flag:artifact_material = {
|
||||
|
|
@ -8189,6 +7957,7 @@ mpo_decisions_events.0300 = {
|
|||
has_domicile_parameter = nomad_yurt_improved_fertility_dance
|
||||
}
|
||||
}
|
||||
custom_tooltip = mpo_decisions_events.0300.a.tt.yurt
|
||||
scope:fertility_county = {
|
||||
every_neighboring_county = {
|
||||
limit = {
|
||||
|
|
|
|||
|
|
@ -62,11 +62,10 @@ mpo_events_ariana.0001 = {
|
|||
has_eagle_trigger = yes
|
||||
var:eagle_personality_trait_2 ?= flag:observant
|
||||
}
|
||||
hunt_activity_deer_game_effect = { PROVINCE = root.location }
|
||||
location.county = {
|
||||
hunt_create_sighting_effect = {
|
||||
TYPE = legendary
|
||||
ANIMAL = root.var:animal_type
|
||||
ANIMAL = flag:deer
|
||||
OWNER = root
|
||||
}
|
||||
}
|
||||
|
|
@ -124,7 +123,7 @@ mpo_events_ariana.0001 = {
|
|||
show_as_tooltip = {
|
||||
add_prestige = medium_prestige_gain
|
||||
add_trait_xp = {
|
||||
trait = trait:lifestyle_hunter
|
||||
trait = lifestyle_hunter
|
||||
track = falconer
|
||||
value = 10
|
||||
}
|
||||
|
|
@ -1248,12 +1247,6 @@ mpo_events_ariana.0010 = {
|
|||
}
|
||||
|
||||
set_character_faith = scope:new_faith
|
||||
if = {
|
||||
limit = {
|
||||
scope:new_faith = { has_doctrine = doctrine_monotheist }
|
||||
}
|
||||
custom_description_no_bullet = { text = mandala_monotheist_warning_tt }
|
||||
}
|
||||
stress_impact = {
|
||||
zealous = major_stress_impact_gain
|
||||
eccentric = minor_stress_impact_loss
|
||||
|
|
@ -1334,12 +1327,6 @@ mpo_events_ariana.0010 = {
|
|||
hidden_effect = {
|
||||
set_character_faith = scope:new_faith
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
scope:new_faith = { has_doctrine = doctrine_monotheist }
|
||||
}
|
||||
custom_description_no_bullet = { text = mandala_monotheist_warning_tt }
|
||||
}
|
||||
show_as_tooltip = {
|
||||
add_secret = {
|
||||
type = secret_crypto_religionist
|
||||
|
|
@ -2699,13 +2686,13 @@ mpo_events_ariana.0041 = {
|
|||
}
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = {
|
||||
FAITH = faith
|
||||
TRAIT = trait:adulterer
|
||||
TRAIT = adulterer
|
||||
GENDER_CHARACTER = root
|
||||
}
|
||||
}
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = {
|
||||
FAITH = faith
|
||||
TRAIT = trait:fornicator
|
||||
TRAIT = fornicator
|
||||
GENDER_CHARACTER = root
|
||||
}
|
||||
}
|
||||
|
|
@ -2778,13 +2765,13 @@ mpo_events_ariana.0041 = {
|
|||
}
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = {
|
||||
FAITH = faith
|
||||
TRAIT = trait:adulterer
|
||||
TRAIT = adulterer
|
||||
GENDER_CHARACTER = root
|
||||
}
|
||||
}
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = {
|
||||
FAITH = faith
|
||||
TRAIT = trait:fornicator
|
||||
TRAIT = fornicator
|
||||
GENDER_CHARACTER = root
|
||||
}
|
||||
}
|
||||
|
|
@ -2916,7 +2903,7 @@ scripted_effect mpo_events_ariana_0050_win_effect = {
|
|||
target = scope:criminal_family
|
||||
type = loyalty_hook
|
||||
}
|
||||
dynasty ?= { add_dynasty_prestige = medium_dynasty_prestige_value }
|
||||
dynasty = { add_dynasty_prestige = medium_dynasty_prestige_value }
|
||||
scope:criminal_family = {
|
||||
add_opinion = {
|
||||
target = root
|
||||
|
|
@ -4822,4 +4809,4 @@ mpo_events_ariana.0111 = {
|
|||
add_learning_skill = 1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -267,10 +267,7 @@ mpo_flavor_events_settled.0010 = {
|
|||
|
||||
trigger = {
|
||||
has_mpo_dlc_trigger = yes
|
||||
NOR = {
|
||||
government_has_flag = government_is_nomadic
|
||||
any_primary_war_enemy = { government_has_flag = government_is_nomadic }
|
||||
}
|
||||
NOT = { government_has_flag = government_is_nomadic }
|
||||
any_neighboring_top_liege_realm_owner = {
|
||||
mpo_flavor_events_settled_0010_valid_nomad_lord_trigger = yes
|
||||
}
|
||||
|
|
|
|||
|
|
@ -369,7 +369,7 @@ mpo_jamukha_flavor.0020 = {
|
|||
outfit_tags = { nightgown }
|
||||
camera = camera_event_very_right
|
||||
}
|
||||
window = scheme_conclusion_event_no_header
|
||||
window = scheme_successful_event_no_text
|
||||
|
||||
immediate = {
|
||||
play_music_cue = "mx_cue_murder"
|
||||
|
|
|
|||
|
|
@ -1611,6 +1611,7 @@ migration_events.1020 = {
|
|||
}
|
||||
is_available_allow_travelling = yes
|
||||
is_acclaimed = no
|
||||
is_accolade_successor = no
|
||||
}
|
||||
save_scope_as = knight_1
|
||||
}
|
||||
|
|
@ -1627,6 +1628,7 @@ migration_events.1020 = {
|
|||
}
|
||||
is_available_allow_travelling = yes
|
||||
is_acclaimed = no
|
||||
is_accolade_successor = no
|
||||
}
|
||||
save_scope_as = knight_2
|
||||
}
|
||||
|
|
|
|||
|
|
@ -916,14 +916,6 @@ mpo_migration_travel_events.0050 = {
|
|||
random_courtier = {
|
||||
limit = {
|
||||
is_eligible_courtier_0050 = yes
|
||||
save_temporary_scope_as = courtier_temp_im
|
||||
location = {
|
||||
any_character_in_location = {
|
||||
is_eligible_local_0050 = yes
|
||||
can_set_relation_lover_trigger = { CHARACTER = scope:courtier_temp_im }
|
||||
is_similar_age_trigger = { CHARACTER = scope:courtier_temp_im }
|
||||
}
|
||||
}
|
||||
}
|
||||
weight = {
|
||||
base = 10
|
||||
|
|
|
|||
|
|
@ -389,33 +389,62 @@ mpo_nomad_events.1000 = {
|
|||
name = mpo_nomad_events.1000.c
|
||||
trigger = {
|
||||
has_variable = beheaded_warrior_accolade
|
||||
var:beheaded_warrior_accolade = {
|
||||
exists = acclaimed_knight
|
||||
}
|
||||
}
|
||||
var:beheaded_warrior_accolade = {
|
||||
add_glory = medium_glory_gain
|
||||
acclaimed_knight = {
|
||||
save_scope_as = beheaded_accolade_knight
|
||||
#Give artifact to accolade knight
|
||||
scope:head_artifact = {
|
||||
set_owner = {
|
||||
target = scope:book_recipient
|
||||
history = {
|
||||
location = root.capital_province
|
||||
actor = root
|
||||
recipient = scope:beheaded_accolade_knight
|
||||
type = given
|
||||
#Accolade gains glory if it is active
|
||||
if = {
|
||||
limit = {
|
||||
var:beheaded_warrior_accolade = {
|
||||
is_accolade_active = yes
|
||||
exists = acclaimed_knight
|
||||
}
|
||||
}
|
||||
var:beheaded_warrior_accolade = {
|
||||
add_glory = medium_glory_gain
|
||||
acclaimed_knight = {
|
||||
save_scope_as = beheaded_accolade_knight
|
||||
#Give artifact to accolade knight
|
||||
scope:head_artifact = {
|
||||
set_owner = {
|
||||
target = scope:book_recipient
|
||||
history = {
|
||||
location = root.capital_province
|
||||
actor = root
|
||||
recipient = scope:beheaded_accolade_knight
|
||||
type = given
|
||||
}
|
||||
}
|
||||
}
|
||||
#gain opinion with accolade knight
|
||||
add_opinion = {
|
||||
target = root
|
||||
modifier = respect_opinion
|
||||
opinion = 25
|
||||
}
|
||||
}
|
||||
#gain opinion with accolade knight
|
||||
}
|
||||
}
|
||||
#Accolade successors appear if it isn't active
|
||||
else = {
|
||||
save_scope_as = accolade_owner
|
||||
scope:beheaded_warrior = {
|
||||
save_scope_as = knight_in_need
|
||||
}
|
||||
var:beheaded_warrior_accolade = {
|
||||
save_scope_as = accolade_in_need
|
||||
}
|
||||
every_knight = {
|
||||
custom = custom.every_knight
|
||||
add_opinion = {
|
||||
target = root
|
||||
modifier = respect_opinion
|
||||
opinion = 25
|
||||
opinion = 10
|
||||
}
|
||||
}
|
||||
custom_tooltip = beheaded_accolade_successor_tt
|
||||
trigger_event = {
|
||||
id = accolade.0006
|
||||
}
|
||||
destroy_artifact = scope:head_artifact
|
||||
}
|
||||
stress_impact = {
|
||||
content = minor_stress_impact_gain
|
||||
|
|
@ -2667,7 +2696,6 @@ mpo_nomad_events.1020 = {
|
|||
if = {
|
||||
limit = {
|
||||
has_relation_soulmate = scope:rowdy_boy
|
||||
is_alive = yes
|
||||
}
|
||||
add_stress = major_stress_impact_gain
|
||||
remove_relation_soulmate = scope:rowdy_boy
|
||||
|
|
@ -2784,12 +2812,12 @@ mpo_nomad_events.1020 = {
|
|||
add = -100
|
||||
}
|
||||
modifier = {
|
||||
trait_is_criminal_in_faith_trigger = { FAITH = root.faith TRAIT = trait:kinslayer_3 GENDER_CHARACTER = root }
|
||||
trait_is_criminal_in_faith_trigger = { FAITH = root.faith TRAIT = kinslayer_3 GENDER_CHARACTER = root }
|
||||
add = -25
|
||||
}
|
||||
modifier = {
|
||||
NOT = {
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = root.faith TRAIT = trait:kinslayer_3 GENDER_CHARACTER = root }
|
||||
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = root.faith TRAIT = kinslayer_3 GENDER_CHARACTER = root }
|
||||
}
|
||||
add = 50
|
||||
}
|
||||
|
|
@ -4582,13 +4610,6 @@ mpo_nomad_events.1040 = {
|
|||
type = character_event
|
||||
title = mpo_nomad_events.1040.t
|
||||
desc = {
|
||||
#Duchy overrunning wars need different desc
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
exists = scope:duchy_war
|
||||
}
|
||||
desc = mpo_nomad_events.1040.desc_duchy
|
||||
}
|
||||
desc = mpo_nomad_events.1040.desc
|
||||
#TRIGGERED DESC FOR GOVERNMENT TYPE GAINED
|
||||
first_valid = {
|
||||
|
|
@ -6171,7 +6192,7 @@ mpo_nomad_events.1080 = {
|
|||
random_list = {
|
||||
1 = {
|
||||
trigger = {
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:witch FAITH = scope:neighbor_ruler.faith GENDER_CHARACTER = scope:escaped_warrior }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = witch FAITH = scope:neighbor_ruler.faith GENDER_CHARACTER = scope:escaped_warrior }
|
||||
}
|
||||
add_trait = witch
|
||||
}
|
||||
|
|
@ -6180,49 +6201,49 @@ mpo_nomad_events.1080 = {
|
|||
}
|
||||
1 = {
|
||||
trigger = {
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:incestuous FAITH = scope:neighbor_ruler.faith GENDER_CHARACTER = scope:escaped_warrior }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = incestuous FAITH = scope:neighbor_ruler.faith GENDER_CHARACTER = scope:escaped_warrior }
|
||||
}
|
||||
add_trait = incestuous
|
||||
}
|
||||
1 = {
|
||||
trigger = {
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:kinslayer_1 FAITH = scope:neighbor_ruler.faith GENDER_CHARACTER = scope:escaped_warrior }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = kinslayer_1 FAITH = scope:neighbor_ruler.faith GENDER_CHARACTER = scope:escaped_warrior }
|
||||
}
|
||||
add_trait = kinslayer_1
|
||||
}
|
||||
1 = {
|
||||
trigger = {
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:kinslayer_2 FAITH = scope:neighbor_ruler.faith GENDER_CHARACTER = scope:escaped_warrior }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = kinslayer_2 FAITH = scope:neighbor_ruler.faith GENDER_CHARACTER = scope:escaped_warrior }
|
||||
}
|
||||
add_trait = kinslayer_2
|
||||
}
|
||||
1 = {
|
||||
trigger = {
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:kinslayer_3 FAITH = scope:neighbor_ruler.faith GENDER_CHARACTER = scope:escaped_warrior }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = kinslayer_3 FAITH = scope:neighbor_ruler.faith GENDER_CHARACTER = scope:escaped_warrior }
|
||||
}
|
||||
add_trait = kinslayer_3
|
||||
}
|
||||
3 = {
|
||||
trigger = {
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:deviant FAITH = scope:neighbor_ruler.faith GENDER_CHARACTER = scope:escaped_warrior }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = deviant FAITH = scope:neighbor_ruler.faith GENDER_CHARACTER = scope:escaped_warrior }
|
||||
}
|
||||
add_trait = deviant
|
||||
}
|
||||
3 = {
|
||||
trigger = {
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:fornicator FAITH = scope:neighbor_ruler.faith GENDER_CHARACTER = scope:escaped_warrior }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = fornicator FAITH = scope:neighbor_ruler.faith GENDER_CHARACTER = scope:escaped_warrior }
|
||||
}
|
||||
add_trait = fornicator
|
||||
}
|
||||
3 = {
|
||||
trigger = {
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:adulterer FAITH = scope:neighbor_ruler.faith GENDER_CHARACTER = scope:escaped_warrior }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = adulterer FAITH = scope:neighbor_ruler.faith GENDER_CHARACTER = scope:escaped_warrior }
|
||||
}
|
||||
add_trait = adulterer
|
||||
}
|
||||
3 = {
|
||||
trigger = {
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:sodomite FAITH = scope:neighbor_ruler.faith GENDER_CHARACTER = scope:escaped_warrior }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = sodomite FAITH = scope:neighbor_ruler.faith GENDER_CHARACTER = scope:escaped_warrior }
|
||||
}
|
||||
add_trait = sodomite
|
||||
}
|
||||
|
|
|
|||
|
|
@ -44,6 +44,15 @@ scripted_trigger is_valid_nomad_events_0001_councillor = {
|
|||
is_spouse_of = root
|
||||
is_child_of = root
|
||||
}
|
||||
NAND = { # Not your Shaman unless they can be fired
|
||||
has_council_position = councillor_court_chaplain
|
||||
faith = {
|
||||
OR = {
|
||||
has_doctrine = doctrine_clerical_succession_temporal_fixed_appointment
|
||||
has_doctrine = doctrine_clerical_succession_spiritual_fixed_appointment
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
scripted_trigger is_valid_nomad_events_0001_courtier = {
|
||||
|
|
@ -1601,12 +1610,6 @@ nomad_events.0008 = {
|
|||
NOT = { faith = scope:achmach_scope.faith }
|
||||
}
|
||||
set_character_faith_with_conversion = scope:achmach_scope.faith
|
||||
if = {
|
||||
limit = {
|
||||
scope:achmach_scope.faith = { has_doctrine = doctrine_monotheist }
|
||||
}
|
||||
custom_description_no_bullet = { text = mandala_monotheist_warning_tt }
|
||||
}
|
||||
add_piety = medium_piety_gain
|
||||
ai_chance = {
|
||||
base = 0 #AI should never choose this
|
||||
|
|
|
|||
|
|
@ -485,7 +485,7 @@ mpo_temujin_flavor.0020 = {
|
|||
animation = horse_conversing_left
|
||||
camera = camera_event_horse_right
|
||||
}
|
||||
window = scheme_conclusion_event_no_header
|
||||
window = scheme_successful_event_no_text
|
||||
|
||||
trigger = {
|
||||
NOT = { has_variable = had_mpo_temujin_flavor_0020 }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue