fixes big evebts abd on actions plus mroe
This commit is contained in:
parent
c9d520e5a1
commit
bce2aa31a1
207 changed files with 100377 additions and 9296 deletions
|
|
@ -709,6 +709,7 @@ ep3_decisions_event.0004 = {
|
|||
immediate = {
|
||||
# needed in the blinding effects
|
||||
save_scope_as = actor
|
||||
save_scope_as = puppet_or_actor
|
||||
scope:valid_prisoner = { save_scope_as = recipient }
|
||||
}
|
||||
|
||||
|
|
@ -2286,7 +2287,7 @@ ep3_decisions_event.2011 = {
|
|||
learning < average_skill_rating
|
||||
}
|
||||
capital_county = {
|
||||
county_control < 90
|
||||
county_control < county_control_baseline
|
||||
}
|
||||
legitimacy_level < 2
|
||||
}
|
||||
|
|
@ -4029,6 +4030,7 @@ scripted_effect ask_help_crusade_setup_effect = {
|
|||
faith = scope:the_faith
|
||||
highest_held_title_tier >= tier_county
|
||||
this != scope:ghw_sponsor
|
||||
NOT = { government_has_flag = government_is_merchant }
|
||||
}
|
||||
trigger_event = great_holy_war.0003 #Send event immediately for player, then delay it for all the AIs.
|
||||
}
|
||||
|
|
@ -4911,9 +4913,9 @@ ep3_decisions_event.4026 = {
|
|||
limit = {
|
||||
can_set_relation_rival_trigger = { CHARACTER = scope:pagan }
|
||||
}
|
||||
set_relation_rival = {
|
||||
reason = rival_killed_religious_emissary
|
||||
target = scope:pagan
|
||||
set_relation_rival_effect = {
|
||||
TARGET = scope:pagan
|
||||
REASON = rival_killed_religious_emissary
|
||||
}
|
||||
}
|
||||
if = {
|
||||
|
|
@ -5207,6 +5209,7 @@ ep3_decisions_event.4060 = {
|
|||
government_has_flag = government_is_landless_adventurer
|
||||
government_has_flag = government_is_tribal
|
||||
government_has_mechanic = administrative
|
||||
government_has_flag = government_is_merchant
|
||||
}
|
||||
primary_title = {
|
||||
target_is_de_jure_liege_or_above = scope:administrative_liege.primary_title #We only auto convert de jure vassals
|
||||
|
|
@ -5223,6 +5226,7 @@ ep3_decisions_event.4060 = {
|
|||
government_has_flag = government_is_landless_adventurer
|
||||
government_has_flag = government_is_tribal
|
||||
government_has_mechanic = administrative
|
||||
government_has_flag = government_is_merchant
|
||||
primary_title = {
|
||||
target_is_de_jure_liege_or_above = scope:administrative_liege.primary_title #We only auto convert de jure vassals
|
||||
}
|
||||
|
|
@ -5241,6 +5245,7 @@ ep3_decisions_event.4060 = {
|
|||
government_has_flag = government_is_landless_adventurer
|
||||
government_has_flag = government_is_tribal
|
||||
government_has_mechanic = administrative
|
||||
government_has_flag = government_is_merchant
|
||||
primary_title = {
|
||||
target_is_de_jure_liege_or_above = scope:administrative_liege.primary_title #We only auto convert de jure vassals
|
||||
}
|
||||
|
|
@ -6490,9 +6495,9 @@ ep3_decisions_event.5002 = {
|
|||
limit = {
|
||||
can_set_relation_rival_trigger = { CHARACTER = scope:my_rival }
|
||||
}
|
||||
set_relation_rival = {
|
||||
target = scope:my_rival
|
||||
reason = rival_called_me_a_disgrace
|
||||
set_relation_rival_effect = {
|
||||
TARGET = scope:my_rival
|
||||
REASON = rival_called_me_a_disgrace
|
||||
}
|
||||
}
|
||||
add_character_modifier = {
|
||||
|
|
@ -7474,9 +7479,9 @@ ep3_decisions_event.6001 = {
|
|||
this != scope:new_liege
|
||||
can_set_relation_rival_trigger = { CHARACTER = root }
|
||||
}
|
||||
set_relation_rival = {
|
||||
target = root
|
||||
reason = seized_my_realm_crime
|
||||
set_relation_rival_effect = {
|
||||
TARGET = root
|
||||
REASON = seized_my_realm_crime
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -7585,7 +7590,7 @@ ep3_decisions_event.6001 = {
|
|||
TITLE_LIST = transfer_titles
|
||||
TYPE = granted
|
||||
REASON = flag:culture_champion
|
||||
ENNOBLED_ADVENTURER = flag:no
|
||||
NEVER_ENNOBLED = flag:yes
|
||||
}
|
||||
hidden_effect = {
|
||||
scope:old_heir ?= {
|
||||
|
|
@ -7902,7 +7907,7 @@ ep3_decisions_event.9010 = { # Fish Alone
|
|||
base = miniscule_stress_impact_loss
|
||||
ambitious = medium_stress_impact_loss
|
||||
}
|
||||
domicile = {
|
||||
domicile ?= {
|
||||
change_provisions = miniscule_provisions_value
|
||||
}
|
||||
}
|
||||
|
|
@ -8008,7 +8013,7 @@ ep3_decisions_event.9020 = { # Fish With Your potential_friend
|
|||
base = miniscule_stress_impact_loss
|
||||
ambitious = major_stress_impact_loss
|
||||
}
|
||||
domicile = {
|
||||
domicile ?= {
|
||||
change_provisions = miniscule_provisions_value
|
||||
}
|
||||
}
|
||||
|
|
@ -8055,7 +8060,7 @@ ep3_decisions_event.9020 = { # Fish With Your potential_friend
|
|||
base = miniscule_stress_impact_loss
|
||||
ambitious = major_stress_impact_loss
|
||||
}
|
||||
domicile = {
|
||||
domicile ?= {
|
||||
change_provisions = miniscule_provisions_value
|
||||
}
|
||||
}
|
||||
|
|
@ -8138,7 +8143,7 @@ ep3_decisions_event.9030 = { # Fish On A Boat, your potential friend will join y
|
|||
base = minor_stress_impact_loss
|
||||
ambitious = major_stress_impact_loss
|
||||
}
|
||||
domicile = {
|
||||
domicile ?= {
|
||||
change_provisions = minor_provisions_value
|
||||
}
|
||||
}
|
||||
|
|
@ -8178,7 +8183,7 @@ ep3_decisions_event.9030 = { # Fish On A Boat, your potential friend will join y
|
|||
title = ep3_decisions_event.9030.a.fishfriend
|
||||
left_icon = scope:potential_friend
|
||||
add_stress = minor_stress_impact_loss
|
||||
domicile = {
|
||||
domicile ?= {
|
||||
change_provisions = minor_provisions_value
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@ ep3_emperor_yearly.2000 = {
|
|||
}
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
scope:county = title:c_roma
|
||||
scope:county = title:c_roma_urbs # Roma + Vaticano
|
||||
}
|
||||
desc = ep3_emperor_yearly.2000.desc_rome
|
||||
}
|
||||
|
|
@ -215,10 +215,15 @@ ep3_emperor_yearly.2000 = {
|
|||
}
|
||||
NOT = { exists = global_var:ep3_reconquered_ravenna }
|
||||
}
|
||||
trigger_else_if = {
|
||||
trigger_else_if = { # Must have both Roma + Vaticano
|
||||
limit = {
|
||||
scope:county = title:c_roma
|
||||
OR = {
|
||||
scope:county = title:c_roma # Vaticano
|
||||
scope:county = title:c_roma_urbs # Roma
|
||||
}
|
||||
}
|
||||
title:c_roma.holder.top_liege = root.top_liege # Vaticano
|
||||
title:c_roma_urbs.holder.top_liege = root.top_liege # Roma
|
||||
NOT = { exists = global_var:ep3_reconquered_roma }
|
||||
}
|
||||
trigger_else_if = {
|
||||
|
|
@ -269,6 +274,10 @@ ep3_emperor_yearly.2000 = {
|
|||
}
|
||||
|
||||
immediate = {
|
||||
if = { # Must have both Roma + Vaticano, use Roma for loc
|
||||
limit = { scope:county = title:c_roma } # Vaticano
|
||||
title:c_roma_urbs = { save_scope_as = county } # Roma
|
||||
}
|
||||
switch = {
|
||||
trigger = scope:county
|
||||
title:c_antiocheia = {
|
||||
|
|
@ -292,7 +301,7 @@ ep3_emperor_yearly.2000 = {
|
|||
title:c_siracusa = {
|
||||
set_global_variable = ep3_reconquered_siracusa
|
||||
}
|
||||
title:c_roma = {
|
||||
title:c_roma_urbs = { # Roma + Vaticano
|
||||
set_global_variable = ep3_reconquered_roma
|
||||
}
|
||||
title:c_ravenna = {
|
||||
|
|
@ -330,13 +339,25 @@ ep3_emperor_yearly.2000 = {
|
|||
#Option A
|
||||
option = {
|
||||
name = ep3_emperor_yearly.2000.a
|
||||
if = {
|
||||
if = { # Roma + Vaticano
|
||||
limit = { scope:county = title:c_roma_urbs } # Roma
|
||||
title:c_roma = { # Vaticano
|
||||
add_county_modifier = {
|
||||
modifier = ep3_restored_pentarchy_seat_county_modifier
|
||||
years = 10
|
||||
}
|
||||
}
|
||||
add_character_modifier = {
|
||||
modifier = ep3_restored_pentarchy_seat_modifier
|
||||
years = 10
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
OR = {
|
||||
scope:county = title:c_antiocheia
|
||||
scope:county = title:c_jerusalem
|
||||
scope:county = title:c_alexandria
|
||||
scope:county = title:c_roma
|
||||
}
|
||||
}
|
||||
scope:county = {
|
||||
|
|
@ -2097,7 +2118,7 @@ ep3_emperor_yearly.2080 = {
|
|||
#Ongoing building construction in the capital
|
||||
capital_county = {
|
||||
any_county_province = {
|
||||
has_ongoing_construction = yes
|
||||
has_ongoing_holding_construction = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -3792,11 +3813,10 @@ ep3_emperor_yearly.2150 = {
|
|||
change_influence = major_influence_gain
|
||||
}
|
||||
else = {
|
||||
add_character_flag = {
|
||||
flag = ep3_2150_found_truth
|
||||
add_character_modifier = {
|
||||
modifier = ep3_emperor_yearly_2150_found_truth_modifier
|
||||
years = 25
|
||||
}
|
||||
custom_tooltip = ep3_emperor_yearly.2150.b.tt
|
||||
change_influence = minor_influence_gain
|
||||
}
|
||||
random_list = {
|
||||
|
|
@ -3834,11 +3854,10 @@ ep3_emperor_yearly.2150 = {
|
|||
change_influence = major_influence_gain
|
||||
}
|
||||
else = {
|
||||
add_character_flag = {
|
||||
flag = ep3_2150_found_truth
|
||||
add_character_modifier = {
|
||||
modifier = ep3_emperor_yearly_2150_found_truth_modifier
|
||||
years = 25
|
||||
}
|
||||
custom_tooltip = ep3_emperor_yearly.2150.b.tt
|
||||
change_influence = minor_influence_gain
|
||||
}
|
||||
if = {
|
||||
|
|
@ -4189,11 +4208,10 @@ ep3_emperor_yearly.2160 = {
|
|||
left_icon = scope:nomad_neighbor
|
||||
type = event_generic_neutral
|
||||
add_pressed_claim = scope:nomad_county
|
||||
add_character_flag = {
|
||||
flag = ep3_2160_success
|
||||
add_character_modifier = {
|
||||
modifier = ep3_emperor_yearly_2160_frontier_success_modifier
|
||||
years = 25
|
||||
}
|
||||
custom_tooltip = ep3_emperor_yearly.2160.b.tt
|
||||
}
|
||||
}
|
||||
50 = {
|
||||
|
|
@ -4208,11 +4226,10 @@ ep3_emperor_yearly.2160 = {
|
|||
left_icon = scope:nomad_neighbor
|
||||
type = event_generic_neutral
|
||||
scope:nomad_neighbor = { add_pressed_claim = scope:our_county }
|
||||
add_character_flag = {
|
||||
flag = ep3_2160_failure
|
||||
add_character_modifier = {
|
||||
modifier = ep3_emperor_yearly_2160_frontier_failure_modifier
|
||||
years = 25
|
||||
}
|
||||
custom_tooltip = ep3_emperor_yearly.2160.b.tt2
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -4357,11 +4374,10 @@ ep3_emperor_yearly.2170 = {
|
|||
years = 50
|
||||
}
|
||||
}
|
||||
add_character_flag = {
|
||||
flag = ep3_2170_success
|
||||
add_character_modifier = {
|
||||
modifier = ep3_emperor_yearly_2170_tunnels_closed_modifier
|
||||
years = 25
|
||||
}
|
||||
custom_tooltip = ep3_emperor_yearly.2160.b.tt
|
||||
stress_and_fulfillment_impact = {
|
||||
generous = medium_stress_impact_gain
|
||||
deceitful = medium_stress_impact_gain
|
||||
|
|
@ -4802,9 +4818,8 @@ ep3_emperor_yearly.2190 = {
|
|||
}
|
||||
}
|
||||
else = {
|
||||
custom_tooltip = ep3_emperor_yearly.2150.b.tt
|
||||
add_character_flag = {
|
||||
flag = ep3_2190_honest
|
||||
add_character_modifier = {
|
||||
modifier = ep3_emperor_yearly_2190_honest_modifier
|
||||
years = 25
|
||||
}
|
||||
liege = {
|
||||
|
|
@ -5004,7 +5019,7 @@ ep3_emperor_yearly.2200 = {
|
|||
limit = {
|
||||
tgp_realm_has_ceremonial_liege_trigger = yes
|
||||
}
|
||||
top_liege.primary_title.var:administrative_ui_special_title.holder = {
|
||||
ceremonial_liege = {
|
||||
save_scope_as = ceremonial_monarch
|
||||
}
|
||||
}
|
||||
|
|
@ -5014,11 +5029,10 @@ ep3_emperor_yearly.2200 = {
|
|||
option = {
|
||||
name = ep3_emperor_yearly.2200.a
|
||||
add_gold = major_gold_value
|
||||
add_character_flag = {
|
||||
flag = ep3_embezzling_governor
|
||||
add_character_modifier = {
|
||||
modifier = ep3_emperor_yearly_2200_embezzling_modifier
|
||||
years = 10
|
||||
}
|
||||
custom_tooltip = ep3_emperor_yearly.2160.b.tt2
|
||||
increase_governance_effect = { VALUE = -4 }
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -5493,11 +5507,7 @@ scripted_trigger ep3_2220_valid_county_trigger = {
|
|||
has_holding_type = church_holding
|
||||
ep3_2220_famous_monastery_trigger = yes
|
||||
}
|
||||
OR = {
|
||||
has_building_or_higher = hill_farms_01
|
||||
has_building_or_higher = pastures_01
|
||||
has_building_or_higher = farm_estates_01
|
||||
}
|
||||
province_has_district = villages_district
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -5568,10 +5578,7 @@ ep3_emperor_yearly.2220 = {
|
|||
}
|
||||
alternative_limit = {
|
||||
has_holding_type = church_holding
|
||||
OR = {
|
||||
has_building_or_higher = scriptorium_01
|
||||
has_building_or_higher = monastic_schools_01
|
||||
}
|
||||
has_building_or_higher = scriptorium_1
|
||||
}
|
||||
alternative_limit = {
|
||||
has_holding_type = church_holding
|
||||
|
|
@ -5584,11 +5591,7 @@ ep3_emperor_yearly.2220 = {
|
|||
has_holding_type = church_holding
|
||||
ep3_2220_famous_monastery_trigger = yes
|
||||
}
|
||||
OR = {
|
||||
has_building_or_higher = hill_farms_01
|
||||
has_building_or_higher = pastures_01
|
||||
has_building_or_higher = farm_estates_01
|
||||
}
|
||||
province_has_district = villages_district
|
||||
}
|
||||
save_scope_as = shepherd_province
|
||||
}
|
||||
|
|
@ -5679,14 +5682,14 @@ ep3_emperor_yearly.2230 = {
|
|||
valid_for_byz_governor_content_trigger = yes
|
||||
valid_for_byz_emperor_content_trigger = yes
|
||||
}
|
||||
capital_county = { county_control <= 75 }
|
||||
capital_county = { county_control <= county_control_relative_75 }
|
||||
}
|
||||
|
||||
weight_multiplier = {
|
||||
base = 1
|
||||
modifier = {
|
||||
capital_county = {
|
||||
county_control <= 50
|
||||
county_control < county_control_baseline
|
||||
}
|
||||
add = 1
|
||||
}
|
||||
|
|
@ -5941,7 +5944,7 @@ ep3_emperor_yearly.2240 = {
|
|||
desc = ep3_emperor_yearly.2240.desc_outro
|
||||
}
|
||||
theme = learning
|
||||
override_background = { reference = ep3_medi_market }
|
||||
override_background = { reference = market }
|
||||
left_portrait = {
|
||||
character = root
|
||||
animation = rage
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
# Capital depopulated: move from somewhere else?
|
||||
|
||||
scripted_trigger ep3_emperor_yearly_8000_county_holder_trigger = {
|
||||
NOT = { has_county_modifier = ep3_development_sacrifice_modifier }
|
||||
NOT = { has_county_modifier = ep3_prosperity_sacrifice_modifier }
|
||||
holder = {
|
||||
NOR = {
|
||||
this = root
|
||||
|
|
@ -45,18 +45,18 @@ scripted_effect ep3_emperor_yearly_8000_county_effect = {
|
|||
}
|
||||
}
|
||||
save_scope_value_as = {
|
||||
name = development_loss
|
||||
name = prosperity_loss
|
||||
value = {
|
||||
value = scope:county_$COUNT$.development_level
|
||||
value = scope:county_$COUNT$.prosperity_level
|
||||
multiply = 0.1
|
||||
ceiling = yes
|
||||
multiply = -1
|
||||
}
|
||||
}
|
||||
scope:county_$COUNT$ = {
|
||||
change_development_level = scope:development_loss
|
||||
change_prosperity_level = scope:prosperity_loss
|
||||
add_county_modifier = {
|
||||
modifier = ep3_development_sacrifice_modifier
|
||||
modifier = ep3_prosperity_sacrifice_modifier
|
||||
years = 10
|
||||
}
|
||||
}
|
||||
|
|
@ -106,7 +106,7 @@ ep3_emperor_yearly.8000 = {
|
|||
}
|
||||
# Ensure this has not happened already
|
||||
NOT = {
|
||||
capital_county = { has_county_modifier = ep3_development_waning_modifier }
|
||||
capital_county = { has_county_modifier = ep3_prosperity_waning_modifier }
|
||||
}
|
||||
# Recent conflict
|
||||
OR = {
|
||||
|
|
@ -164,20 +164,20 @@ ep3_emperor_yearly.8000 = {
|
|||
save_scope_as = suggestor
|
||||
}
|
||||
}
|
||||
# Find development target
|
||||
# Find prosperity target
|
||||
ordered_sub_realm_county = {
|
||||
limit = { ep3_emperor_yearly_8000_county_holder_trigger = yes }
|
||||
order_by = development_level
|
||||
order_by = prosperity_level
|
||||
position = 2
|
||||
save_scope_value_as = {
|
||||
name = minimum_development
|
||||
value = development_level
|
||||
name = minimum_prosperity
|
||||
value = prosperity_level
|
||||
}
|
||||
}
|
||||
# Find matching counties
|
||||
every_sub_realm_county = {
|
||||
limit = {
|
||||
development_level >= scope:minimum_development
|
||||
prosperity_level >= scope:minimum_prosperity
|
||||
ep3_emperor_yearly_8000_county_holder_trigger = yes
|
||||
}
|
||||
add_to_list = developed_counties
|
||||
|
|
@ -312,9 +312,9 @@ ep3_emperor_yearly.8000 = {
|
|||
option = {
|
||||
name = ep3_emperor_yearly.8000.d
|
||||
capital_county = {
|
||||
change_development_level = -2
|
||||
change_prosperity_level = -2
|
||||
add_county_modifier = {
|
||||
modifier = ep3_development_waning_modifier
|
||||
modifier = ep3_prosperity_waning_modifier
|
||||
years = 10
|
||||
}
|
||||
}
|
||||
|
|
@ -1549,7 +1549,7 @@ scripted_trigger ep3_emperor_yearly_8050_culture_trigger = {
|
|||
|
||||
scripted_effect ep3_emperor_yearly_8050_unchecked_county_effect = {
|
||||
change_county_control = -10
|
||||
change_development_level = -1
|
||||
change_prosperity_level = -1
|
||||
add_county_modifier = {
|
||||
modifier = ep3_raider_unchecked_modifier
|
||||
years = 10
|
||||
|
|
@ -1586,7 +1586,7 @@ ep3_emperor_yearly.8050 = {
|
|||
cp:councillor_marshal ?= { is_ai = yes }
|
||||
# Sea capital
|
||||
any_held_county = {
|
||||
development_level >= terrible_development_level
|
||||
prosperity_level >= terrible_prosperity_level
|
||||
title_province = {
|
||||
OR = {
|
||||
is_coastal = yes
|
||||
|
|
@ -1633,14 +1633,14 @@ ep3_emperor_yearly.8050 = {
|
|||
else = {
|
||||
random_held_county = {
|
||||
limit = {
|
||||
development_level >= terrible_development_level
|
||||
prosperity_level >= terrible_prosperity_level
|
||||
title_province = { is_coastal = yes }
|
||||
}
|
||||
weight = {
|
||||
base = 1
|
||||
modifier = { add = development_level }
|
||||
modifier = { add = prosperity_level }
|
||||
modifier = {
|
||||
title_province = { has_building_or_higher = common_tradeport_01 }
|
||||
title_province = { has_port_district = yes }
|
||||
factor = 2
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -383,7 +383,7 @@ ep3_eparch_event.0005 = {
|
|||
has_court_position = eparch_court_position
|
||||
liege = {
|
||||
capital_province.county ?= {
|
||||
county_control < 90
|
||||
county_control < county_control_baseline
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -392,7 +392,7 @@ ep3_eparch_event.0005 = {
|
|||
base = 1
|
||||
modifier = {
|
||||
capital_province.county ?= {
|
||||
county_control < 60
|
||||
county_control < county_control_relative_60
|
||||
}
|
||||
factor = 1.1
|
||||
}
|
||||
|
|
|
|||
|
|
@ -948,11 +948,10 @@ ep3_governor_yearly.3002 = {
|
|||
has_character_flag = vast_lands_stolen
|
||||
}
|
||||
}
|
||||
add_character_flag = {
|
||||
flag = ep3_governor_yearly_3002_landlord_wins
|
||||
add_character_modifier = {
|
||||
modifier = ep3_governor_yearly_3002_landlord_wins_modifier
|
||||
years = 10
|
||||
}
|
||||
custom_tooltip = ep3_governor_yearly.3000_governance_loss
|
||||
show_as_tooltip = {
|
||||
scope:landlord.house = {
|
||||
add_house_modifier = {
|
||||
|
|
@ -963,11 +962,10 @@ ep3_governor_yearly.3002 = {
|
|||
}
|
||||
}
|
||||
else = {
|
||||
add_character_flag = {
|
||||
flag = ep3_governor_yearly_3002_landlord_fight
|
||||
add_character_modifier = {
|
||||
modifier = ep3_governor_yearly_3002_landlord_fight_modifier
|
||||
years = 10
|
||||
}
|
||||
custom_tooltip = ep3_governor_yearly.3000_miniscule_governance_loss
|
||||
show_as_tooltip = {
|
||||
scope:landlord.house = {
|
||||
add_house_modifier = {
|
||||
|
|
@ -1025,11 +1023,10 @@ ep3_governor_yearly.3002 = {
|
|||
has_character_flag = vast_lands_stolen
|
||||
}
|
||||
}
|
||||
add_character_flag = {
|
||||
flag = ep3_governor_yearly_3002_landlord_dominates
|
||||
add_character_modifier = {
|
||||
modifier = ep3_governor_yearly_3002_landlord_dominates_modifier
|
||||
years = 10
|
||||
}
|
||||
custom_tooltip = ep3_governor_yearly.3000_major_governance_loss
|
||||
show_as_tooltip = {
|
||||
scope:landlord.house = {
|
||||
add_house_modifier = {
|
||||
|
|
@ -1040,11 +1037,10 @@ ep3_governor_yearly.3002 = {
|
|||
}
|
||||
}
|
||||
else = {
|
||||
add_character_flag = {
|
||||
flag = ep3_governor_yearly_3002_landlord_wins
|
||||
add_character_modifier = {
|
||||
modifier = ep3_governor_yearly_3002_landlord_wins_modifier
|
||||
years = 10
|
||||
}
|
||||
custom_tooltip = ep3_governor_yearly.3000_governance_loss
|
||||
show_as_tooltip = {
|
||||
scope:landlord.house = {
|
||||
add_house_modifier = {
|
||||
|
|
@ -1204,9 +1200,9 @@ ep3_governor_yearly.3003 = {
|
|||
scope:governor = { has_character_flag = governor_becomes_rival }
|
||||
}
|
||||
scope:governor = {
|
||||
set_relation_rival = {
|
||||
target = root
|
||||
reason = rival_accused_of_stealing_land
|
||||
set_relation_rival_effect = {
|
||||
TARGET = root
|
||||
REASON = rival_accused_of_stealing_land
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -2985,7 +2981,7 @@ ep3_governor_yearly.3030 = {
|
|||
is_at_war = no
|
||||
age >= 12
|
||||
capital_county = {
|
||||
county_control >= 100
|
||||
county_control >= county_control_baseline
|
||||
}
|
||||
primary_title = {
|
||||
NOT = {
|
||||
|
|
@ -3000,7 +2996,7 @@ ep3_governor_yearly.3030 = {
|
|||
}
|
||||
}
|
||||
capital_county = {
|
||||
county_control >= 100
|
||||
county_control >= county_control_baseline
|
||||
}
|
||||
}
|
||||
OR = {
|
||||
|
|
@ -3016,7 +3012,7 @@ ep3_governor_yearly.3030 = {
|
|||
}
|
||||
NOT = {
|
||||
any_sub_realm_county = {
|
||||
any_province = {
|
||||
any_county_province = {
|
||||
any_province_epidemic = { }
|
||||
}
|
||||
}
|
||||
|
|
@ -5176,13 +5172,12 @@ ep3_governor_yearly.3050 = {
|
|||
if = {
|
||||
limit = {
|
||||
is_governor = yes
|
||||
NOT = { has_character_flag = ep3_governor_yearly_3050_neglect_duties }
|
||||
NOT = { has_character_modifier = ep3_governor_yearly_3050_neglect_duties_modifier }
|
||||
}
|
||||
change_influence = medium_influence_gain
|
||||
#Lose governor efficiency
|
||||
custom_tooltip = ep3_governor_yearly_3050_neglect_duties_tooltip
|
||||
add_character_flag = {
|
||||
flag = ep3_governor_yearly_3050_neglect_duties
|
||||
add_character_modifier = {
|
||||
modifier = ep3_governor_yearly_3050_neglect_duties_modifier
|
||||
years = 10
|
||||
}
|
||||
}
|
||||
|
|
@ -5583,7 +5578,6 @@ ep3_governor_yearly.3060 = {
|
|||
has_relation_friend = scope:emperor
|
||||
has_relation_potential_friend = scope:emperor
|
||||
has_relation_lover = scope:emperor
|
||||
has_relation_soulmate = scope:emperor
|
||||
is_allied_to = scope:emperor
|
||||
is_close_family_of = scope:emperor
|
||||
house = scope:emperor.house
|
||||
|
|
@ -7141,7 +7135,7 @@ ep3_governor_yearly.3070 = {
|
|||
change_influence = minor_influence_gain
|
||||
every_sub_realm_county = {
|
||||
custom = custom.every_sub_realm_county
|
||||
change_development_progress = medium_development_progress_gain
|
||||
change_prosperity_progress = medium_prosperity_progress_gain
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -7238,7 +7232,6 @@ ep3_governor_yearly.3070 = {
|
|||
add_character_modifier = {
|
||||
modifier = contented_governing_countrymen_modifier
|
||||
years = 10
|
||||
desc = contented_governing_countrymen_modifier_tooltip
|
||||
}
|
||||
}
|
||||
change_influence = minor_influence_loss
|
||||
|
|
@ -7578,11 +7571,10 @@ ep3_governor_yearly.3080 = {
|
|||
}
|
||||
}
|
||||
else = {
|
||||
add_character_flag = {
|
||||
flag = ep3_governor_ignored_isolation
|
||||
add_character_modifier = {
|
||||
modifier = ep3_governor_yearly_3080_ignored_isolation_modifier
|
||||
years = 5
|
||||
}
|
||||
custom_tooltip = ep3_governor_ignored_isolation_tooltip
|
||||
}
|
||||
}
|
||||
#Long-term improvements are needed or this will only happen again
|
||||
|
|
@ -7606,7 +7598,7 @@ ep3_governor_yearly.3080 = {
|
|||
}
|
||||
else = {
|
||||
capital_county = {
|
||||
change_development_progress = medium_development_progress_gain
|
||||
change_prosperity_progress = medium_prosperity_progress_gain
|
||||
}
|
||||
}
|
||||
increase_governance_effect = { VALUE = 5 }
|
||||
|
|
@ -7638,9 +7630,7 @@ ep3_governor_yearly.3080 = {
|
|||
add_character_modifier = {
|
||||
modifier = ep3_anxious_for_new_assignment_modifier
|
||||
years = 5
|
||||
desc = ep3_anxious_for_new_assignment_desc
|
||||
}
|
||||
custom_tooltip = ep3_anxious_for_new_assignment_tooltip
|
||||
stress_and_fulfillment_impact = {
|
||||
diligent = medium_stress_impact_gain
|
||||
just = medium_stress_impact_gain
|
||||
|
|
@ -7817,8 +7807,10 @@ ep3_governor_yearly.3080 = {
|
|||
type = event_toast_effect_good
|
||||
title = ep3_governor_yearly.3080.d.success
|
||||
increase_governance_effect = { VALUE = 10 }
|
||||
remove_character_flag = ep3_governor_ignored_isolation
|
||||
custom_tooltip = ep3_governor_ignored_isolation_removal_tooltip
|
||||
if = {
|
||||
limit = { has_character_modifier = ep3_governor_yearly_3080_ignored_isolation_modifier }
|
||||
remove_character_modifier = ep3_governor_yearly_3080_ignored_isolation_modifier
|
||||
}
|
||||
}
|
||||
}
|
||||
35 = { #You find nothing
|
||||
|
|
@ -7845,7 +7837,7 @@ ep3_governor_yearly.3080 = {
|
|||
title = ep3_governor_yearly.3080.d.crit_fail
|
||||
|
||||
capital_county = {
|
||||
change_development_progress = medium_development_progress_loss
|
||||
change_prosperity_progress = medium_prosperity_progress_loss
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -8254,7 +8246,7 @@ ep3_governor_yearly.3090 = {
|
|||
}
|
||||
increase_governance_effect = { VALUE = 10 }
|
||||
capital_county = {
|
||||
change_development_progress = minor_development_progress_gain
|
||||
change_prosperity_progress = minor_prosperity_progress_gain
|
||||
}
|
||||
}
|
||||
else = {
|
||||
|
|
@ -9071,7 +9063,7 @@ ep3_governor_yearly.3100 = {
|
|||
}
|
||||
add_gold = medium_gold_value
|
||||
capital_county = {
|
||||
change_development_progress = medium_development_progress_loss
|
||||
change_prosperity_progress = medium_prosperity_progress_loss
|
||||
}
|
||||
add_prestige = medium_prestige_loss
|
||||
}
|
||||
|
|
@ -9115,9 +9107,7 @@ ep3_governor_yearly.3100 = {
|
|||
add_character_modifier = {
|
||||
modifier = ep3_ignoring_realm_decline_modifier
|
||||
years = 10
|
||||
desc = ep3_ignoring_realm_decline_tooltip
|
||||
}
|
||||
custom_tooltip = ep3_ignoring_realm_decline_years_tooltip
|
||||
random_list = {
|
||||
45 = {
|
||||
add_stress = minor_stress_impact_loss
|
||||
|
|
|
|||
|
|
@ -993,7 +993,11 @@ ep3_governor_yearly.8040 = {
|
|||
base = 1
|
||||
modifier = {
|
||||
add = 1
|
||||
government_has_flag = government_is_republic
|
||||
OR = {
|
||||
government_has_flag = government_is_republic
|
||||
government_has_flag = government_is_merchant
|
||||
}
|
||||
|
||||
}
|
||||
modifier = {
|
||||
add = -1
|
||||
|
|
@ -1019,7 +1023,7 @@ ep3_governor_yearly.8040 = {
|
|||
name = ep3_governor_yearly.8040.a
|
||||
increase_governance_effect = { VALUE = 5 }
|
||||
add_character_modifier = {
|
||||
modifier = ep3_governor_yearly_8040_province_development_modifier
|
||||
modifier = ep3_governor_yearly_8040_province_prosperity_modifier
|
||||
years = 10
|
||||
}
|
||||
reverse_add_opinion = {
|
||||
|
|
@ -1043,7 +1047,7 @@ ep3_governor_yearly.8040 = {
|
|||
option = { # Focus on estate
|
||||
name = ep3_governor_yearly.8040.b
|
||||
add_character_modifier = {
|
||||
modifier = ep3_governor_yearly_8040_domicile_development_modifier
|
||||
modifier = ep3_governor_yearly_8040_domicile_prosperity_modifier
|
||||
years = 10
|
||||
}
|
||||
reverse_add_opinion = {
|
||||
|
|
@ -1325,12 +1329,9 @@ scripted_trigger ep3_governor_yearly_8060_complainant_trigger = {
|
|||
|
||||
scripted_effect ep3_governor_yearly_8060_success_effect = {
|
||||
add_short_term_gold = scope:gold
|
||||
custom_tooltip = {
|
||||
text = ep3_governor_yearly.8060.efficiency_tt
|
||||
add_character_flag = {
|
||||
flag = ep3_8060_efficiency_drop
|
||||
years = 10
|
||||
}
|
||||
add_character_modifier = {
|
||||
modifier = ep3_governor_yearly_8060_efficiency_drop_modifier
|
||||
years = 10
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -2132,9 +2133,9 @@ ep3_governor_yearly.8090 = {
|
|||
|
||||
option = { # Antagonize
|
||||
name = ep3_governor_yearly.8090.a
|
||||
set_relation_rival = {
|
||||
target = scope:old_holder
|
||||
reason = rival_ep3_province_claim
|
||||
set_relation_rival_effect = {
|
||||
TARGET = scope:old_holder
|
||||
REASON = rival_ep3_province_claim
|
||||
}
|
||||
duel = {
|
||||
skills = { stewardship intrigue }
|
||||
|
|
@ -2784,7 +2785,7 @@ ep3_governor_yearly.8110 = {
|
|||
#####################################
|
||||
|
||||
scripted_trigger ep3_governor_yearly_8120_county_trigger = {
|
||||
county_control >= 75
|
||||
county_control >= county_control_relative_75
|
||||
OR = {
|
||||
ep3_governor_yearly_8120_earthquake_trigger = yes
|
||||
ep3_governor_yearly_8120_storm_trigger = yes
|
||||
|
|
@ -2870,7 +2871,7 @@ ep3_governor_yearly.8120 = {
|
|||
}
|
||||
save_scope_as = disaster_county
|
||||
change_county_control = -30
|
||||
change_development_progress_with_overflow = -50
|
||||
change_prosperity_progress_with_overflow = -50
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -2894,7 +2895,7 @@ ep3_governor_yearly.8120 = {
|
|||
increase_governance_effect = { VALUE = 5 }
|
||||
scope:disaster_county = {
|
||||
change_county_control = 20
|
||||
change_development_progress_with_overflow = 40
|
||||
change_prosperity_progress_with_overflow = 40
|
||||
}
|
||||
add_character_modifier = {
|
||||
modifier = ep3_governor_yearly_8120_relief_leader_modifier
|
||||
|
|
@ -3186,7 +3187,7 @@ ep3_governor_yearly.8140 = {
|
|||
}
|
||||
save_scope_as = peasant
|
||||
}
|
||||
scope:estate_county = { change_development_progress_with_overflow = -50 }
|
||||
scope:estate_county = { change_prosperity_progress_with_overflow = -50 }
|
||||
}
|
||||
|
||||
option = { # Fine family
|
||||
|
|
@ -3341,7 +3342,11 @@ scripted_trigger ep3_governor_yearly_8150_county_trigger = {
|
|||
}
|
||||
|
||||
scripted_trigger ep3_governor_yearly_8150_create_faction_chance_trigger = {
|
||||
county_opinion < -25
|
||||
popular_opinion < -25
|
||||
can_title_create_faction = {
|
||||
type = $TYPE$_faction
|
||||
target = root
|
||||
}
|
||||
title_create_faction_type_chance = {
|
||||
type = $TYPE$_faction
|
||||
target = root
|
||||
|
|
@ -3491,7 +3496,7 @@ ep3_governor_yearly.8150 = {
|
|||
base = 1
|
||||
modifier = {
|
||||
add = {
|
||||
value = county_opinion
|
||||
value = popular_opinion
|
||||
multiply = -1
|
||||
}
|
||||
}
|
||||
|
|
@ -3507,7 +3512,7 @@ ep3_governor_yearly.8150 = {
|
|||
list = rebel_counties
|
||||
order_by = {
|
||||
value = 0
|
||||
subtract = county_opinion
|
||||
subtract = popular_opinion
|
||||
}
|
||||
save_scope_as = rebel_county
|
||||
}
|
||||
|
|
@ -3691,7 +3696,7 @@ ep3_governor_yearly.8150 = {
|
|||
check_range_bounds = no
|
||||
order_by = {
|
||||
value = 0
|
||||
subtract = county_opinion
|
||||
subtract = popular_opinion
|
||||
}
|
||||
title_join_faction = scope:targeting_faction
|
||||
}
|
||||
|
|
@ -3820,7 +3825,7 @@ ep3_governor_yearly.8160 = {
|
|||
alternative_limit = { ep3_governor_yearly_8160_faith_trigger = yes }
|
||||
weight = {
|
||||
base = 1
|
||||
modifier = { add = development_level }
|
||||
modifier = { add = prosperity_level }
|
||||
modifier = {
|
||||
holder = root
|
||||
factor = 2
|
||||
|
|
|
|||
|
|
@ -521,7 +521,6 @@ scripted_trigger ep3_interactions_events_0030_callous_trigger = {
|
|||
has_trait = callous
|
||||
has_trait = zealous
|
||||
has_relation_rival = scope:recipient
|
||||
has_relation_nemesis = scope:recipient
|
||||
has_relation_victim = scope:recipient
|
||||
has_relation_bully = scope:recipient
|
||||
}
|
||||
|
|
@ -837,9 +836,9 @@ ep3_interactions_events.0031 = { # By Jason Cantalini
|
|||
remove_courtier_or_guest = scope:recipient
|
||||
}
|
||||
scope:recipient = {
|
||||
set_relation_rival = {
|
||||
target = scope:actor
|
||||
reason = rival_attempted_castration
|
||||
set_relation_rival_effect = {
|
||||
TARGET = scope:actor
|
||||
REASON = rival_attempted_castration
|
||||
}
|
||||
add_stress = medium_stress_gain
|
||||
}
|
||||
|
|
@ -1478,7 +1477,10 @@ ep3_interactions_events.0102 = {
|
|||
}
|
||||
}
|
||||
hidden_effect = {
|
||||
add_courtier = scope:rented_knight
|
||||
if = {
|
||||
limit = { scope:rented_knight = { NOT = { is_courtier_of = scope:og_liege } } }
|
||||
add_courtier = scope:rented_knight
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1700,7 +1702,7 @@ ep3_interactions_events.0111 = {
|
|||
TITLE_LIST = purchased_titles
|
||||
TYPE = granted
|
||||
REASON = flag:purchased
|
||||
ENNOBLED_ADVENTURER = flag:yes
|
||||
NEVER_ENNOBLED = flag:no
|
||||
}
|
||||
}
|
||||
scope:puppet_or_actor = {
|
||||
|
|
@ -1715,7 +1717,7 @@ ep3_interactions_events.0111 = {
|
|||
value = 0
|
||||
if = {
|
||||
limit = { scope:new_primary_title.tier = tier_county }
|
||||
add = scope:new_primary_title.development_level
|
||||
add = scope:new_primary_title.prosperity_level
|
||||
scope:new_primary_title = {
|
||||
every_county_province = { add = num_buildings }
|
||||
}
|
||||
|
|
@ -1724,7 +1726,7 @@ ep3_interactions_events.0111 = {
|
|||
scope:new_primary_title = {
|
||||
every_de_jure_county = {
|
||||
limit = { ep3_purchase_land_valid_county_trigger = yes }
|
||||
add = development_level
|
||||
add = prosperity_level
|
||||
every_county_province = { add = num_buildings }
|
||||
}
|
||||
}
|
||||
|
|
@ -2194,7 +2196,7 @@ ep3_interactions_events.0112 = {
|
|||
TITLE_LIST = purchased_titles
|
||||
TYPE = granted
|
||||
REASON = flag:purchased
|
||||
ENNOBLED_ADVENTURER = flag:yes
|
||||
NEVER_ENNOBLED = flag:no
|
||||
}
|
||||
# Extra purchase land specific
|
||||
scope:puppet_or_actor = {
|
||||
|
|
@ -2841,10 +2843,6 @@ ep3_interactions_events.0210 = {
|
|||
immediate = {
|
||||
show_as_tooltip = {
|
||||
scope:recipient = {
|
||||
change_influence = {
|
||||
value = massive_influence_gain
|
||||
multiply = 2
|
||||
}
|
||||
start_war = {
|
||||
cb = influence_war_cb
|
||||
target = scope:secondary_recipient
|
||||
|
|
@ -2873,12 +2871,8 @@ ep3_interactions_events.0211 = {
|
|||
|
||||
immediate = {
|
||||
show_as_tooltip = {
|
||||
change_influence = {
|
||||
value = massive_influence_gain
|
||||
}
|
||||
reverse_add_opinion = {
|
||||
modifier = refused_summons_to_war_opinion
|
||||
target = scope:actor
|
||||
scope:recipient = {
|
||||
change_influence = major_influence_loss
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -3190,12 +3184,28 @@ ep3_interactions_events.0502 = {
|
|||
save_scope_as = destination_realm_owner
|
||||
}
|
||||
random_character_to_title_neighboring_and_across_water_county = {
|
||||
limit = { holder.top_liege = scope:destination_realm_owner }
|
||||
limit = {
|
||||
exists = scope:destination_realm_owner
|
||||
holder.top_liege = scope:destination_realm_owner
|
||||
}
|
||||
save_scope_as = expel_destination
|
||||
}
|
||||
if = {
|
||||
limit = { NOT = { exists = scope:expel_destination } }
|
||||
scope:destination_realm_owner = {
|
||||
scope:destination_realm_owner ?= {
|
||||
random_realm_county = {
|
||||
limit = { is_landless_type_title = no }
|
||||
save_scope_as = expel_destination
|
||||
}
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = { NOT = { exists = scope:expel_destination } }
|
||||
random_independent_ruler = {
|
||||
limit = {
|
||||
this != scope:expeller.top_liege
|
||||
any_realm_county = { is_landless_type_title = no }
|
||||
}
|
||||
random_realm_county = {
|
||||
limit = { is_landless_type_title = no }
|
||||
save_scope_as = expel_destination
|
||||
|
|
@ -3222,7 +3232,6 @@ scripted_trigger ep3_interactions_events_0600_nice_option_trigger = {
|
|||
OR = {
|
||||
has_relation_friend = scope:supporter
|
||||
has_relation_lover = scope:supporter
|
||||
has_relation_soulmate = scope:supporter
|
||||
has_trait = loyal
|
||||
has_trait = schemer
|
||||
has_trait = diplomat
|
||||
|
|
@ -3244,13 +3253,11 @@ scripted_trigger ep3_interactions_events_0600_hate_option_trigger = {
|
|||
is_allied_to = scope:supporter
|
||||
has_relation_friend = scope:supporter
|
||||
has_relation_potential_friend = scope:supporter
|
||||
has_relation_best_friend = scope:supporter
|
||||
has_trait = loyal
|
||||
}
|
||||
OR = {
|
||||
has_relation_potential_rival = scope:supporter
|
||||
has_relation_rival = scope:supporter
|
||||
has_relation_nemesis = scope:supporter
|
||||
has_trait = disloyal
|
||||
has_trait = arrogant
|
||||
has_trait = arbitrary
|
||||
|
|
@ -3321,9 +3328,9 @@ scripted_effect ep3_interactions_events_0601_insult = {
|
|||
can_set_relation_rival_trigger = { CHARACTER = scope:new_landed_admin }
|
||||
}
|
||||
}
|
||||
set_relation_rival = {
|
||||
target = scope:supporter
|
||||
reason = rival_ignored_candidacy_support
|
||||
set_relation_rival_effect = {
|
||||
TARGET = scope:supporter
|
||||
REASON = rival_ignored_candidacy_support
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
|
|
@ -3332,9 +3339,9 @@ scripted_effect ep3_interactions_events_0601_insult = {
|
|||
can_set_relation_nemesis_trigger = { CHARACTER = scope:new_landed_admin }
|
||||
}
|
||||
}
|
||||
set_relation_nemesis = {
|
||||
target = scope:supporter
|
||||
reason = rival_ignored_candidacy_support
|
||||
set_relation_nemesis_effect = {
|
||||
TARGET = scope:supporter
|
||||
REASON = rival_ignored_candidacy_support
|
||||
}
|
||||
}
|
||||
else = {
|
||||
|
|
@ -3455,6 +3462,24 @@ ep3_interactions_events.0600 = {
|
|||
animation = happiness
|
||||
}
|
||||
|
||||
trigger = {
|
||||
primary_title = {
|
||||
any_succession_appointment_investors = {
|
||||
candidate = root
|
||||
value >= 20
|
||||
NOT = {
|
||||
house ?= root.house
|
||||
}
|
||||
is_alive = yes
|
||||
is_imprisoned = no
|
||||
NOR = {
|
||||
has_relation_rival = root
|
||||
is_at_war_with = root
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
immediate = {
|
||||
primary_title = {
|
||||
ordered_succession_appointment_investors = {
|
||||
|
|
|
|||
|
|
@ -3540,7 +3540,7 @@ ep3_laamp_decision_event.1010 = {
|
|||
value = domicile.max_provisions
|
||||
subtract = domicile.provisions
|
||||
#Now we have the missing provisions value
|
||||
multiply = 0.05
|
||||
multiply = 0.02
|
||||
round = yes
|
||||
}
|
||||
}
|
||||
|
|
@ -5565,7 +5565,7 @@ scripted_effect 1025_randomize_and_remember_contract_type_effect = {
|
|||
add = 10
|
||||
}
|
||||
modifier = {
|
||||
scope:visiting_location.county = { county_control <= 50 }
|
||||
scope:visiting_location.county = { county_control < county_control_baseline }
|
||||
add = 10
|
||||
}
|
||||
#Are you actually looking for criminal contracts?
|
||||
|
|
@ -5617,7 +5617,7 @@ scripted_effect 1025_randomize_and_remember_contract_type_effect = {
|
|||
add = 10
|
||||
}
|
||||
modifier = {
|
||||
scope:visiting_location.county = { county_control <= 50 }
|
||||
scope:visiting_location.county = { county_control < county_control_baseline }
|
||||
add = 10
|
||||
}
|
||||
#You're pretty law-abiding?
|
||||
|
|
@ -5738,11 +5738,11 @@ scripted_effect 1025_randomize_and_remember_contract_type_effect = {
|
|||
}
|
||||
#More organization in highly developed areas
|
||||
modifier = {
|
||||
scope:visiting_location.county = { development_level > bad_development_level }
|
||||
scope:visiting_location.county = { prosperity_level > bad_prosperity_level }
|
||||
add = 10
|
||||
}
|
||||
modifier = {
|
||||
scope:visiting_location.county = { development_level > medium_development_level }
|
||||
scope:visiting_location.county = { prosperity_level > medium_prosperity_level }
|
||||
add = 10
|
||||
}
|
||||
#You're shrewd?
|
||||
|
|
@ -5789,7 +5789,7 @@ scripted_effect 1025_randomize_and_remember_contract_type_effect = {
|
|||
}
|
||||
}
|
||||
modifier = {
|
||||
scope:visiting_location.county = { development_level > medium_development_level }
|
||||
scope:visiting_location.county = { prosperity_level > medium_prosperity_level }
|
||||
add = 10
|
||||
}
|
||||
modifier = {
|
||||
|
|
@ -20019,37 +20019,41 @@ scripted_effect 1100_book_creation_effect = {
|
|||
hidden_effect = {
|
||||
if = {
|
||||
limit = {
|
||||
var:poi_visited >= 60
|
||||
var:poi_visited >= 90
|
||||
}
|
||||
scope:newly_created_artifact = {
|
||||
add_artifact_modifier = artifact_monthly_lifestyle_xp_4_modifier
|
||||
add_artifact_modifier = artifact_monthly_lifestyle_xp_2_modifier
|
||||
add_artifact_modifier = artifact_marco_polo_travel_illustrious_modifier
|
||||
set_artifact_rarity = illustrious
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
var:poi_visited >= 48
|
||||
var:poi_visited >= 72
|
||||
}
|
||||
scope:newly_created_artifact = {
|
||||
add_artifact_modifier = artifact_monthly_lifestyle_xp_3_modifier
|
||||
add_artifact_modifier = artifact_monthly_lifestyle_xp_1_5_modifier
|
||||
add_artifact_modifier = artifact_marco_polo_travel_famed_modifier
|
||||
set_artifact_rarity = famed
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
var:poi_visited >= 54
|
||||
}
|
||||
scope:newly_created_artifact = {
|
||||
add_artifact_modifier = artifact_monthly_lifestyle_xp_1_modifier
|
||||
add_artifact_modifier = artifact_marco_polo_travel_masterwork_modifier
|
||||
set_artifact_rarity = masterwork
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
var:poi_visited >= 36
|
||||
}
|
||||
scope:newly_created_artifact = {
|
||||
add_artifact_modifier = artifact_monthly_lifestyle_xp_2_modifier
|
||||
set_artifact_rarity = masterwork
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
var:poi_visited >= 24
|
||||
}
|
||||
scope:newly_created_artifact = {
|
||||
add_artifact_modifier = artifact_monthly_lifestyle_xp_1_modifier
|
||||
add_artifact_modifier = artifact_monthly_lifestyle_xp_minor_modifier
|
||||
add_artifact_modifier = artifact_marco_polo_travel_common_modifier
|
||||
set_artifact_rarity = common
|
||||
}
|
||||
}
|
||||
|
|
@ -20068,31 +20072,31 @@ scripted_effect 1100_lifestyle_perk_effect = {
|
|||
}
|
||||
if = {
|
||||
limit = {
|
||||
var:poi_visited >= 56
|
||||
var:poi_visited >= 90
|
||||
}
|
||||
add_relevant_lifestyle_perk_point_effect = { NUMBER = 5 }
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
var:poi_visited >= 48
|
||||
var:poi_visited >= 72
|
||||
}
|
||||
add_relevant_lifestyle_perk_point_effect = { NUMBER = 4 }
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
var:poi_visited >= 40
|
||||
var:poi_visited >= 54
|
||||
}
|
||||
add_relevant_lifestyle_perk_point_effect = { NUMBER = 3 }
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
var:poi_visited >= 32
|
||||
var:poi_visited >= 36
|
||||
}
|
||||
add_relevant_lifestyle_perk_point_effect = { NUMBER = 2 }
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
var:poi_visited >= 24
|
||||
var:poi_visited >= 18
|
||||
}
|
||||
add_relevant_lifestyle_perk_point_effect = { NUMBER = 1 }
|
||||
}
|
||||
|
|
@ -20342,7 +20346,7 @@ ep3_laamp_decision_event.1103 = {
|
|||
}
|
||||
modifier = {
|
||||
add = {
|
||||
subtract = location.county.county_opinion
|
||||
subtract = location.county.popular_opinion
|
||||
}
|
||||
}
|
||||
send_interface_toast = {
|
||||
|
|
@ -20363,7 +20367,7 @@ ep3_laamp_decision_event.1103 = {
|
|||
min = -49
|
||||
}
|
||||
modifier = {
|
||||
add = location.county.development_level
|
||||
add = location.county.prosperity_level
|
||||
}
|
||||
modifier = {
|
||||
factor = 0.75
|
||||
|
|
@ -20385,7 +20389,7 @@ ep3_laamp_decision_event.1103 = {
|
|||
add_stress = miniscule_stress_gain
|
||||
add_piety = {
|
||||
value = 10
|
||||
multiply = location.county.development_level
|
||||
multiply = location.county.prosperity_level
|
||||
min = 20
|
||||
}
|
||||
|
||||
|
|
@ -20472,7 +20476,7 @@ ep3_laamp_decision_event.1103 = {
|
|||
min = -49
|
||||
}
|
||||
modifier = {
|
||||
add = location.county.development_level
|
||||
add = location.county.prosperity_level
|
||||
}
|
||||
modifier = {
|
||||
add = location.barony.building_max_garrison
|
||||
|
|
@ -21521,7 +21525,7 @@ ep3_laamp_decision_event.1140 = { #city pays dividend
|
|||
}
|
||||
add = {
|
||||
value = 3
|
||||
multiply = scope:city_location.county.development_level
|
||||
multiply = scope:city_location.county.prosperity_level
|
||||
}
|
||||
multiply = { # Slowly decrease over time, by 1% every year
|
||||
value = {
|
||||
|
|
|
|||
|
|
@ -23,29 +23,6 @@
|
|||
# BRÖTHER
|
||||
# I CRAVE THE LAAMP
|
||||
|
||||
scripted_effect adventurer_prestige_reset_effect = {
|
||||
hidden_effect = {
|
||||
#Save Prestige
|
||||
save_scope_value_as = {
|
||||
name = prestige_amount
|
||||
value = {
|
||||
value = prestige
|
||||
add = -100
|
||||
}
|
||||
}
|
||||
#Invert it, then take it away
|
||||
add_prestige = {
|
||||
value = scope:prestige_amount
|
||||
multiply = -1
|
||||
}
|
||||
#Take away 3 prestige levels
|
||||
add_prestige_level = -3
|
||||
}
|
||||
# Tooltips
|
||||
custom_tooltip = lose_all_prestige_tt
|
||||
custom_tooltip = lose_all_prestige_level_tt
|
||||
}
|
||||
|
||||
##################################################
|
||||
# Become Adventurer - Conquest
|
||||
# by Joe Parkin
|
||||
|
|
@ -159,9 +136,9 @@ ep3_laamps.0001 = {
|
|||
limit = {
|
||||
NOT = { has_relation_rival = scope:winner }
|
||||
}
|
||||
set_relation_rival = {
|
||||
target = scope:winner
|
||||
reason = rival_conquered_me
|
||||
set_relation_rival_effect = {
|
||||
TARGET = scope:winner
|
||||
REASON = rival_conquered_me
|
||||
}
|
||||
}
|
||||
scope:winner = { trigger_event = ep3_laamps.0003 }
|
||||
|
|
@ -195,7 +172,7 @@ ep3_laamps.0002 = {
|
|||
hidden = yes
|
||||
|
||||
trigger = {
|
||||
has_ep3_dlc_trigger = yes
|
||||
has_playable_adventurer_dlc_trigger = yes
|
||||
is_valid_for_laampdom = yes
|
||||
}
|
||||
|
||||
|
|
@ -294,9 +271,9 @@ ep3_laamps.0003 = {
|
|||
limit = {
|
||||
NOT = { has_relation_rival = scope:adventurer }
|
||||
}
|
||||
set_relation_rival = {
|
||||
target = scope:adventurer
|
||||
reason = rival_conquered_me
|
||||
set_relation_rival_effect = {
|
||||
TARGET = scope:adventurer
|
||||
REASON = rival_conquered_me
|
||||
}
|
||||
}
|
||||
scope:adventurer = { create_landless_adventurer_title_tooltip_effect = yes }
|
||||
|
|
@ -756,7 +733,7 @@ ep3_laamps.0012 = {
|
|||
type = character_event
|
||||
|
||||
trigger = {
|
||||
has_ep3_dlc_trigger = yes
|
||||
has_playable_adventurer_dlc_trigger = yes
|
||||
is_landed = yes
|
||||
player_heir ?= {
|
||||
save_temporary_scope_as = heir_temp
|
||||
|
|
@ -953,7 +930,7 @@ ep3_laamps.0021 = {
|
|||
hidden = yes
|
||||
|
||||
trigger = {
|
||||
has_ep3_dlc_trigger = yes
|
||||
has_playable_adventurer_dlc_trigger = yes
|
||||
is_valid_for_laampdom = yes
|
||||
}
|
||||
|
||||
|
|
@ -1086,10 +1063,22 @@ ep3_laamps.0030 = {
|
|||
type = character_event
|
||||
window = fullscreen_event
|
||||
queue_icon = "gfx/interface/icons/splash_icons/splash_laamp.dds"
|
||||
title = ep3_laamps.0030.t
|
||||
title = {
|
||||
first_valid = {
|
||||
triggered_desc = {
|
||||
trigger = { exists = scope:former_merchant }
|
||||
desc = ep3_laamps.0030.t.merchant
|
||||
}
|
||||
desc = ep3_laamps.0030.t
|
||||
}
|
||||
}
|
||||
desc = {
|
||||
desc = ep3_laamps.0030.desc
|
||||
first_valid = {
|
||||
triggered_desc = {
|
||||
trigger = { exists = scope:former_merchant }
|
||||
desc = ep3_laamps.0030.merchant
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { exists = scope:laamp_heir }
|
||||
desc = ep3_laamps.0030.heir
|
||||
|
|
@ -1121,6 +1110,10 @@ ep3_laamps.0030 = {
|
|||
limit = { top_liege != this }
|
||||
liege = { save_scope_as = old_liege }
|
||||
}
|
||||
else_if = {
|
||||
limit = { exists = suzerain }
|
||||
suzerain = { save_scope_as = old_suzerain }
|
||||
}
|
||||
# Transfer landed titles
|
||||
every_held_title = {
|
||||
title_tier > barony
|
||||
|
|
@ -1133,26 +1126,38 @@ ep3_laamps.0030 = {
|
|||
}
|
||||
add_to_list = target_titles
|
||||
}
|
||||
create_title_and_vassal_change = {
|
||||
type = conquest
|
||||
save_scope_as = change
|
||||
add_claim_on_loss = no
|
||||
}
|
||||
hidden_effect = {
|
||||
every_in_list = {
|
||||
list = target_titles
|
||||
change_title_holder_include_vassals = {
|
||||
holder = scope:laamp_inheritor
|
||||
change = scope:change
|
||||
if = {
|
||||
limit = { list_size:target_titles >= 1 }
|
||||
create_title_and_vassal_change = {
|
||||
type = conquest
|
||||
save_scope_as = change
|
||||
add_claim_on_loss = no
|
||||
}
|
||||
every_in_list = {
|
||||
list = target_titles
|
||||
change_title_holder_include_vassals = {
|
||||
holder = scope:laamp_inheritor
|
||||
change = scope:change
|
||||
}
|
||||
}
|
||||
resolve_title_and_vassal_change = scope:change
|
||||
}
|
||||
resolve_title_and_vassal_change = scope:change
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
NOT = { government_has_flag = government_is_merchant }
|
||||
}
|
||||
adventurer_prestige_reset_effect = yes
|
||||
}
|
||||
gdp_merchant_handover_company_for_voluntary_laamp_effect = yes
|
||||
# Create Adventurer
|
||||
create_landless_adventurer_title_effect = {
|
||||
REASON = flag:voluntary
|
||||
FLAVOR_CHAR = scope:laamp_inheritor
|
||||
}
|
||||
gdp_merchant_restore_voluntary_laamp_associates_from_list_effect = yes
|
||||
laamp_add_indebted_hook_holders_to_patrons_effect = yes
|
||||
scope:laamp_inheritor = {
|
||||
# Tooltip for player
|
||||
custom_tooltip = become_landless_adventurer_decision_title_scope_tt
|
||||
|
|
@ -1162,23 +1167,89 @@ ep3_laamps.0030 = {
|
|||
trigger_event = game_rule.1001
|
||||
remove_character_flag = new_laamp_inheritor
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
is_landless_merchant = yes
|
||||
exists = scope:old_suzerain
|
||||
}
|
||||
# Create tributary
|
||||
start_tributary = {
|
||||
contract_group = tributary_merchant
|
||||
suzerain = scope:old_suzerain
|
||||
}
|
||||
}
|
||||
}
|
||||
scope:old_liege ?= { trigger_event = ep3_laamps.0032 }
|
||||
adventurer_prestige_reset_effect = yes
|
||||
hidden_effect = {
|
||||
every_held_title = {
|
||||
limit = {
|
||||
is_noble_family_title = yes
|
||||
}
|
||||
limit = { is_noble_family_title = yes }
|
||||
root = { destroy_title = prev }
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
any_in_list = { variable = owes_me_money }
|
||||
}
|
||||
custom_tooltip = {
|
||||
text = gdp_become_adventurer_debtors_to_contracts_tt
|
||||
every_in_list = {
|
||||
variable = owes_me_money
|
||||
root = { add_contact = prev }
|
||||
every_owned_story = {
|
||||
limit = {
|
||||
story_type = story_cycle_loan
|
||||
var:lender = root
|
||||
}
|
||||
save_temporary_scope_as = loan_temp
|
||||
story_owner = {
|
||||
send_interface_toast = {
|
||||
type = event_toast_effect_good
|
||||
title = ho_debt_wiped_title
|
||||
left_icon = scope:dead_debtor
|
||||
right_icon = scope:lender
|
||||
scope:loan_temp = { end_loan_story_effect = yes }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
any_owned_story = { story_type = story_cycle_loan }
|
||||
}
|
||||
custom_tooltip = {
|
||||
text = gdp_become_adventurer_debts_transferred_tt
|
||||
every_owned_story = {
|
||||
limit = { story_type = story_cycle_loan }
|
||||
save_temporary_scope_as = loan_temp
|
||||
var:lender = {
|
||||
send_interface_toast = {
|
||||
type = event_toast_effect_good
|
||||
title = ho_debt_wiped_title
|
||||
left_icon = root
|
||||
right_icon = scope:laamp_inheritor
|
||||
transfer_loan_effect = {
|
||||
OLD_LOAN = scope:loan_temp
|
||||
NEW_LENDER = scope:loan_temp.var:lender
|
||||
NEW_DEBTOR = scope:laamp_inheritor
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
option = {
|
||||
name = ep3_laamps.0030.a
|
||||
create_landless_adventurer_title_tooltip_effect = yes
|
||||
add_prestige = medium_prestige_gain
|
||||
if = {
|
||||
limit = {
|
||||
NOT = { government_has_flag = government_is_merchant }
|
||||
}
|
||||
add_prestige = medium_prestige_gain
|
||||
}
|
||||
add_character_modifier = {
|
||||
modifier = ep3_voluntary_laamp_character_modifier
|
||||
years = 5
|
||||
|
|
@ -1317,7 +1388,7 @@ ep3_laamps.0041 = {
|
|||
hidden = yes
|
||||
|
||||
trigger = {
|
||||
has_ep3_dlc_trigger = yes
|
||||
has_playable_adventurer_dlc_trigger = yes
|
||||
is_landed = no
|
||||
is_valid_for_laampdom = yes
|
||||
}
|
||||
|
|
@ -1432,7 +1503,7 @@ ep3_laamps.0050 = {
|
|||
cooldown = { years = 10 }
|
||||
|
||||
trigger = {
|
||||
has_ep3_dlc_trigger = yes
|
||||
has_playable_adventurer_dlc_trigger = yes
|
||||
is_landed_or_landless_administrative_or_theocratic = yes
|
||||
any_close_family_member = { ep3_laamp_runaway_child_trigger = yes }
|
||||
OR = {
|
||||
|
|
@ -1612,7 +1683,7 @@ ep3_laamps.0051 = {
|
|||
lower_right_portrait = scope:potential_laamp
|
||||
|
||||
trigger = {
|
||||
has_ep3_dlc_trigger = yes
|
||||
has_playable_adventurer_dlc_trigger = yes
|
||||
scope:potential_laamp = { ep3_laamp_runaway_child_trigger = yes }
|
||||
}
|
||||
|
||||
|
|
@ -1658,6 +1729,10 @@ ep3_laamps.0100 = {
|
|||
trigger = { government_has_flag = government_is_nomadic }
|
||||
desc = ep3_laamps.0100.desc_nomadic
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { government_has_flag = government_is_merchant }
|
||||
desc = ep3_laamps.0100.desc_merchant
|
||||
}
|
||||
desc = ep3_laamps.0100.desc
|
||||
}
|
||||
first_valid = {
|
||||
|
|
@ -1674,14 +1749,20 @@ ep3_laamps.0100 = {
|
|||
first_valid = {
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
NOT = { government_has_flag = government_is_nomadic }
|
||||
NOR = {
|
||||
government_has_flag = government_is_nomadic
|
||||
government_has_flag = government_is_merchant
|
||||
}
|
||||
exists = scope:new_liege
|
||||
}
|
||||
desc = ep3_laamps.0100.unpopular
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
NOT = { government_has_flag = government_is_nomadic }
|
||||
NOR = {
|
||||
government_has_flag = government_is_nomadic
|
||||
government_has_flag = government_is_merchant
|
||||
}
|
||||
}
|
||||
desc = ep3_laamps.0100.fallback
|
||||
}
|
||||
|
|
@ -1697,23 +1778,20 @@ ep3_laamps.0100 = {
|
|||
animation = steward
|
||||
}
|
||||
lower_left_portrait = {
|
||||
trigger = {
|
||||
scope:recipient != scope:new_liege
|
||||
}
|
||||
trigger = { scope:recipient != scope:new_liege }
|
||||
character = scope:new_liege
|
||||
}
|
||||
|
||||
trigger = {
|
||||
has_ep3_dlc_trigger = yes
|
||||
}
|
||||
|
||||
immediate = {
|
||||
purchase_land_interaction_effect = yes
|
||||
scope:recipient = { trigger_event = ep3_laamps.0101 }
|
||||
}
|
||||
|
||||
option = {
|
||||
name = ep3_laamps.0100.a
|
||||
purchase_land_interaction_effect = {
|
||||
TITLE_RECEIVER = scope:actor
|
||||
TITLE_GIVER = scope:recipient
|
||||
}
|
||||
if = { # Vassal obligations
|
||||
limit = { scope:vassal_obligation = yes }
|
||||
vassal_contract_set_obligation_level = { type = feudal_government_taxes level = 4 }
|
||||
|
|
@ -1724,7 +1802,7 @@ ep3_laamps.0100 = {
|
|||
after = {
|
||||
hidden_effect = {
|
||||
every_courtier = {
|
||||
limit = { is_in_army = no }
|
||||
limit = { should_in_default_location_trigger = yes }
|
||||
set_location_to_default = yes
|
||||
}
|
||||
every_prisoner = { set_location_to_default = yes }
|
||||
|
|
@ -1752,11 +1830,16 @@ ep3_laamps.0101 = {
|
|||
sender = scope:actor
|
||||
|
||||
trigger = {
|
||||
has_ep3_dlc_trigger = yes
|
||||
has_playable_adventurer_dlc_trigger = yes
|
||||
}
|
||||
|
||||
immediate = {
|
||||
show_as_tooltip = { purchase_land_interaction_effect = yes }
|
||||
show_as_tooltip = {
|
||||
purchase_land_interaction_effect = {
|
||||
TITLE_RECEIVER = scope:actor
|
||||
TITLE_GIVER = scope:recipient
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
top_liege != this
|
||||
|
|
@ -1769,7 +1852,12 @@ ep3_laamps.0101 = {
|
|||
title = ep3_laamps.0101.liege_message.title
|
||||
left_icon = scope:actor
|
||||
right_icon = scope:recipient
|
||||
show_as_tooltip = { purchase_land_interaction_effect = yes }
|
||||
show_as_tooltip = {
|
||||
purchase_land_interaction_effect = {
|
||||
TITLE_RECEIVER = scope:actor
|
||||
TITLE_GIVER = scope:recipient
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1804,7 +1892,7 @@ ep3_laamps.0102 = {
|
|||
sender = scope:actor
|
||||
|
||||
trigger = {
|
||||
has_ep3_dlc_trigger = yes
|
||||
has_playable_adventurer_dlc_trigger = yes
|
||||
}
|
||||
|
||||
option = {
|
||||
|
|
@ -1841,7 +1929,7 @@ ep3_laamps.0200 = {
|
|||
sender = scope:recipient
|
||||
|
||||
trigger = {
|
||||
has_ep3_dlc_trigger = yes
|
||||
has_playable_adventurer_dlc_trigger = yes
|
||||
}
|
||||
|
||||
immediate = {
|
||||
|
|
@ -1886,7 +1974,7 @@ ep3_laamps.0201 = {
|
|||
sender = scope:recipient
|
||||
|
||||
trigger = {
|
||||
has_ep3_dlc_trigger = yes
|
||||
has_playable_adventurer_dlc_trigger = yes
|
||||
}
|
||||
|
||||
option = {
|
||||
|
|
@ -1938,7 +2026,7 @@ ep3_laamps.0300 = {
|
|||
}
|
||||
|
||||
trigger = {
|
||||
has_ep3_dlc_trigger = yes
|
||||
has_playable_adventurer_dlc_trigger = yes
|
||||
}
|
||||
|
||||
immediate = {
|
||||
|
|
@ -1971,7 +2059,7 @@ ep3_laamps.0301 = {
|
|||
sender = scope:actor
|
||||
|
||||
trigger = {
|
||||
has_ep3_dlc_trigger = yes
|
||||
has_playable_adventurer_dlc_trigger = yes
|
||||
}
|
||||
|
||||
immediate = {
|
||||
|
|
@ -2023,7 +2111,7 @@ ep3_laamps.0302 = {
|
|||
sender = scope:actor
|
||||
|
||||
trigger = {
|
||||
has_ep3_dlc_trigger = yes
|
||||
has_playable_adventurer_dlc_trigger = yes
|
||||
}
|
||||
|
||||
option = {
|
||||
|
|
@ -2646,7 +2734,7 @@ ep3_laamps.0800 = { # Player adventurer has gained a landed title
|
|||
orphan = yes
|
||||
|
||||
trigger = {
|
||||
has_ep3_dlc_trigger = yes
|
||||
has_playable_adventurer_dlc_trigger = yes
|
||||
is_landed = yes
|
||||
government_has_flag = government_is_landless_adventurer
|
||||
NOT = { has_variable = became_landed_through_separatist_uprising_var } # It feels repetitive to get this event after choosing to become landed
|
||||
|
|
@ -2849,7 +2937,7 @@ ep3_laamps.0800 = { # Player adventurer has gained a landed title
|
|||
TITLE_LIST = landed_titles
|
||||
TYPE = granted
|
||||
REASON = flag:granted
|
||||
ENNOBLED_ADVENTURER = flag:yes
|
||||
NEVER_ENNOBLED = flag:no
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -4081,6 +4169,7 @@ ep3_laamps.1011 = {
|
|||
# Destroy any inappropriate buildings and upgrades.
|
||||
ep3_laamps.1021 = {
|
||||
hidden = yes
|
||||
trigger = { exists = domicile } # Fired with a delay, by which the camp can be gone
|
||||
|
||||
immediate = {
|
||||
if = {
|
||||
|
|
@ -4403,7 +4492,7 @@ ep3_laamps.5000 = {
|
|||
|
||||
trigger = {
|
||||
#Standard checks
|
||||
has_ep3_dlc_trigger = yes
|
||||
has_playable_adventurer_dlc_trigger = yes
|
||||
has_government = landless_adventurer_government
|
||||
is_available = yes
|
||||
|
||||
|
|
@ -4721,7 +4810,7 @@ ep3_laamps.5005 = {
|
|||
|
||||
trigger = {
|
||||
#Standard checks
|
||||
has_ep3_dlc_trigger = yes
|
||||
has_playable_adventurer_dlc_trigger = yes
|
||||
has_government = landless_adventurer_government
|
||||
is_available_allow_travelling = yes
|
||||
is_location_valid_for_travel_event_on_land = yes
|
||||
|
|
@ -4975,7 +5064,7 @@ ep3_laamps.5010 = {
|
|||
|
||||
trigger = {
|
||||
#Standard checks
|
||||
has_ep3_dlc_trigger = yes
|
||||
has_playable_adventurer_dlc_trigger = yes
|
||||
has_government = landless_adventurer_government
|
||||
age < 65 #Just for loc tonality
|
||||
is_available_allow_travelling = yes
|
||||
|
|
@ -5086,6 +5175,7 @@ ep3_laamps.5010 = {
|
|||
NOT = {
|
||||
domicile = { has_domicile_building = camp_main_04 }
|
||||
}
|
||||
domicile = { has_ongoing_domicile_construction = no }
|
||||
gold >= scope:gold_cost
|
||||
}
|
||||
show_as_unavailable = {
|
||||
|
|
@ -5215,7 +5305,7 @@ ep3_laamps.5015 = {
|
|||
|
||||
trigger = {
|
||||
#Standard checks
|
||||
has_ep3_dlc_trigger = yes
|
||||
has_playable_adventurer_dlc_trigger = yes
|
||||
has_government = landless_adventurer_government
|
||||
is_available_allow_travelling = yes
|
||||
is_location_valid_for_travel_event_on_land = yes
|
||||
|
|
@ -5225,14 +5315,14 @@ ep3_laamps.5015 = {
|
|||
base = 1
|
||||
modifier = {
|
||||
factor = 2
|
||||
domicile = {
|
||||
domicile ?= {
|
||||
provisions > provisions_threshold_good_value
|
||||
}
|
||||
}
|
||||
modifier = {
|
||||
factor = 2
|
||||
location.county = {
|
||||
county_control < full_county_control
|
||||
county_control < county_control_baseline
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -5498,7 +5588,7 @@ ep3_laamps.5020 = {
|
|||
|
||||
trigger = {
|
||||
#Standard checks
|
||||
has_ep3_dlc_trigger = yes
|
||||
has_playable_adventurer_dlc_trigger = yes
|
||||
has_government = landless_adventurer_government
|
||||
is_available_allow_travelling = yes
|
||||
is_location_valid_for_travel_event_on_land = yes
|
||||
|
|
@ -5785,7 +5875,7 @@ ep3_laamps.5025 = {
|
|||
|
||||
trigger = {
|
||||
#Standard checks
|
||||
has_ep3_dlc_trigger = yes
|
||||
has_playable_adventurer_dlc_trigger = yes
|
||||
has_government = landless_adventurer_government
|
||||
is_available_allow_travelling = yes
|
||||
}
|
||||
|
|
@ -5977,7 +6067,7 @@ ep3_laamps.5030 = {
|
|||
|
||||
trigger = {
|
||||
#Standard checks
|
||||
has_ep3_dlc_trigger = yes
|
||||
has_playable_adventurer_dlc_trigger = yes
|
||||
has_government = landless_adventurer_government
|
||||
is_available_allow_travelling = yes
|
||||
is_location_valid_for_travel_event_on_land = yes
|
||||
|
|
@ -5987,7 +6077,7 @@ ep3_laamps.5030 = {
|
|||
base = 1
|
||||
modifier = {
|
||||
factor = 2
|
||||
domicile = {
|
||||
domicile ?= {
|
||||
provisions < provisions_threshold_good_value
|
||||
}
|
||||
}
|
||||
|
|
@ -6361,7 +6451,7 @@ ep3_laamps.5035 = {
|
|||
match = 0.75
|
||||
}
|
||||
#Standard checks
|
||||
has_ep3_dlc_trigger = yes
|
||||
has_playable_adventurer_dlc_trigger = yes
|
||||
has_government = landless_adventurer_government
|
||||
is_available_allow_travelling = yes
|
||||
is_location_valid_for_travel_event_on_land = yes
|
||||
|
|
@ -6643,7 +6733,7 @@ ep3_laamps.5040 = {
|
|||
|
||||
trigger = {
|
||||
#Standard checks
|
||||
has_ep3_dlc_trigger = yes
|
||||
has_playable_adventurer_dlc_trigger = yes
|
||||
has_government = landless_adventurer_government
|
||||
is_available_allow_travelling = yes
|
||||
is_location_valid_for_travel_event_on_land = yes
|
||||
|
|
@ -6806,7 +6896,7 @@ ep3_laamps.5045 = {
|
|||
|
||||
trigger = {
|
||||
#Standard checks
|
||||
has_ep3_dlc_trigger = yes
|
||||
has_playable_adventurer_dlc_trigger = yes
|
||||
has_government = landless_adventurer_government
|
||||
is_available_allow_travelling = yes
|
||||
is_location_valid_for_travel_event_on_land = yes
|
||||
|
|
@ -6878,7 +6968,7 @@ ep3_laamps.5045 = {
|
|||
}
|
||||
#Least developed county as a rough approximation of backwaters
|
||||
order_by = {
|
||||
value = development_level
|
||||
value = prosperity_level
|
||||
multiply = -1
|
||||
}
|
||||
|
||||
|
|
@ -8278,7 +8368,7 @@ ep3_laamps.7001 = {
|
|||
cooldown = { years = 200 } #Should never happen again
|
||||
|
||||
trigger = {
|
||||
has_ep3_dlc_trigger = yes
|
||||
has_playable_adventurer_dlc_trigger = yes
|
||||
has_government = landless_adventurer_government
|
||||
character:90028 ?= {
|
||||
is_alive = yes
|
||||
|
|
@ -8812,7 +8902,7 @@ ep3_laamps.7004 = {
|
|||
TITLE_LIST = landed_titles
|
||||
TYPE = granted
|
||||
REASON = flag:granted
|
||||
ENNOBLED_ADVENTURER = flag:yes
|
||||
NEVER_ENNOBLED = flag:no
|
||||
}
|
||||
every_in_list = {
|
||||
list = zichia_names
|
||||
|
|
|
|||
|
|
@ -1948,6 +1948,7 @@ ep3_laamps.8090 = {
|
|||
|
||||
trigger = {
|
||||
has_government = landless_adventurer_government
|
||||
exists = domicile # Everything below reads the camp's location
|
||||
is_adult = yes
|
||||
is_available_allow_travelling = yes
|
||||
is_location_valid_for_travel_event_on_land = yes
|
||||
|
|
@ -3318,9 +3319,9 @@ ep3_laamps.8107 = {
|
|||
has_relation_rival = scope:petitioned_ruler
|
||||
}
|
||||
}
|
||||
set_relation_rival = {
|
||||
target = scope:petitioned_ruler
|
||||
reason = rival_nithing
|
||||
set_relation_rival_effect = {
|
||||
TARGET = scope:petitioned_ruler
|
||||
REASON = rival_nithing
|
||||
}
|
||||
}
|
||||
scope:petitioned_ruler = {
|
||||
|
|
|
|||
|
|
@ -296,7 +296,7 @@ ep3_roman_restoration.0300 = {
|
|||
every_sub_realm_county = {
|
||||
custom = ep3_roman_restoration.0300.every_sub_realm_county
|
||||
add_county_modifier = {
|
||||
modifier = restore_rome_recuperated_county_opinion_modifier
|
||||
modifier = restore_rome_recuperated_popular_opinion_modifier
|
||||
years = 10
|
||||
}
|
||||
}
|
||||
|
|
@ -319,7 +319,7 @@ ep3_roman_restoration.0300 = {
|
|||
every_sub_realm_county = {
|
||||
custom = ep3_roman_restoration.0300.every_sub_realm_county
|
||||
add_county_modifier = {
|
||||
modifier = restore_rome_devastated_county_opinion_modifier
|
||||
modifier = restore_rome_devastated_popular_opinion_modifier
|
||||
years = 10
|
||||
}
|
||||
}
|
||||
|
|
@ -345,7 +345,7 @@ ep3_roman_restoration.0300 = {
|
|||
every_sub_realm_county = {
|
||||
custom = ep3_roman_restoration.0300.every_sub_realm_county
|
||||
add_county_modifier = {
|
||||
modifier = restore_rome_recuperated_county_opinion_modifier
|
||||
modifier = restore_rome_recuperated_popular_opinion_modifier
|
||||
years = 10
|
||||
}
|
||||
}
|
||||
|
|
@ -360,7 +360,7 @@ ep3_roman_restoration.0300 = {
|
|||
every_sub_realm_county = {
|
||||
custom = ep3_roman_restoration.0300.every_sub_realm_county
|
||||
add_county_modifier = {
|
||||
modifier = restore_rome_lowered_county_opinion_modifier
|
||||
modifier = restore_rome_lowered_popular_opinion_modifier
|
||||
years = 10
|
||||
}
|
||||
}
|
||||
|
|
@ -509,37 +509,38 @@ ep3_roman_restoration.0500 = {
|
|||
#}
|
||||
|
||||
# Mongol Invasion Spawns
|
||||
ep3_roman_restoration.0520 = {
|
||||
scope = none
|
||||
hidden = yes
|
||||
# NEOW 2555: no historical Temujin/Mongol invasion spawns.
|
||||
#ep3_roman_restoration.0520 = {
|
||||
# scope = none
|
||||
# hidden = yes
|
||||
|
||||
trigger = {
|
||||
NOR = {
|
||||
has_global_variable = mongols_have_appeared
|
||||
any_player = {
|
||||
THIS = culture:mongol.culture_head
|
||||
realm_size >= 100
|
||||
}
|
||||
#Greatest of khans hasn't come along
|
||||
has_global_variable = greatest_of_khans_title
|
||||
#Someone's not currently trying to be greatest of khans
|
||||
has_global_variable = mpo_gok_war_ongoing
|
||||
#Temujin dying prevents Mongol invasion for at least 50 years
|
||||
has_global_variable = temujin_failed
|
||||
}
|
||||
}
|
||||
# trigger = {
|
||||
# NOR = {
|
||||
# has_global_variable = mongols_have_appeared
|
||||
# any_player = {
|
||||
# THIS = culture:mongol.culture_head
|
||||
# realm_size >= 100
|
||||
# }
|
||||
# #Greatest of khans hasn't come along
|
||||
# has_global_variable = greatest_of_khans_title
|
||||
# #Someone's not currently trying to be greatest of khans
|
||||
# has_global_variable = mpo_gok_war_ongoing
|
||||
# #Temujin dying prevents Mongol invasion for at least 50 years
|
||||
# has_global_variable = temujin_failed
|
||||
# }
|
||||
# }
|
||||
|
||||
immediate = {
|
||||
set_global_variable = {
|
||||
name = mongols_have_appeared
|
||||
value = yes
|
||||
}
|
||||
debug_log = "Mongols appeared!"
|
||||
debug_log_date = yes
|
||||
spawn_temujin_character_effect = yes
|
||||
scope:temujin = {
|
||||
save_scope_as = story_owner
|
||||
create_story = story_mongol_invasion
|
||||
}
|
||||
}
|
||||
}
|
||||
# immediate = {
|
||||
# set_global_variable = {
|
||||
# name = mongols_have_appeared
|
||||
# value = yes
|
||||
# }
|
||||
# debug_log = "Mongols appeared!"
|
||||
# debug_log_date = yes
|
||||
# spawn_temujin_character_effect = yes
|
||||
# scope:temujin = {
|
||||
# save_scope_as = story_owner
|
||||
# create_story = story_mongol_invasion
|
||||
# }
|
||||
# }
|
||||
#}
|
||||
|
|
|
|||
|
|
@ -4139,9 +4139,9 @@ ep3_story_cycle_admin_eunuch.3010 = {
|
|||
limit = { employer != root }
|
||||
root = { add_courtier = scope:rival }
|
||||
}
|
||||
set_relation_rival = {
|
||||
target = scope:eunuch
|
||||
reason = rival_admin_eunuch
|
||||
set_relation_rival_effect = {
|
||||
TARGET = scope:eunuch
|
||||
REASON = rival_admin_eunuch
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -4150,9 +4150,9 @@ ep3_story_cycle_admin_eunuch.3010 = {
|
|||
name = ep3_story_cycle_admin_eunuch.3010.a
|
||||
show_as_tooltip = {
|
||||
scope:rival ?= {
|
||||
set_relation_rival = {
|
||||
target = scope:eunuch
|
||||
reason = rival_admin_eunuch
|
||||
set_relation_rival_effect = {
|
||||
TARGET = scope:eunuch
|
||||
REASON = rival_admin_eunuch
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -5042,7 +5042,10 @@ ep3_story_cycle_admin_eunuch.5010 = {
|
|||
}
|
||||
}
|
||||
save_scope_as = rival
|
||||
set_relation_rival = { reason = rival_admin_eunuch_family target = scope:eunuch }
|
||||
set_relation_rival_effect = {
|
||||
TARGET = scope:eunuch
|
||||
REASON = rival_admin_eunuch_family
|
||||
}
|
||||
add_character_flag = {
|
||||
flag = admin_rival_whinger_cooldown
|
||||
years = 6
|
||||
|
|
|
|||
|
|
@ -288,6 +288,7 @@ grand_ambitions.0002 = {
|
|||
immediate = {
|
||||
# Saving these scopes for the follow-up (grand_ambitions.0003) for the old emp which references the lost title
|
||||
save_scope_as = actor
|
||||
save_scope_as = puppet_or_actor
|
||||
save_scope_as = root_scope # for loc
|
||||
primary_title = { save_scope_as = revoked }
|
||||
scope:defender = {
|
||||
|
|
@ -901,9 +902,7 @@ scripted_trigger foreign_ruler_has_any_interest_in_coup_trigger = {
|
|||
}
|
||||
NOR = {
|
||||
has_relation_friend = scope:target_char
|
||||
has_relation_best_friend = scope:target_char
|
||||
has_relation_lover = scope:target_char
|
||||
has_relation_soulmate = scope:target_char
|
||||
}
|
||||
OR = {
|
||||
# They have a claim on something within the empire that you could help them with
|
||||
|
|
@ -1570,6 +1569,7 @@ grand_ambitions.0130 = {
|
|||
modifier = ep3_grand_ambitions_rioting_county_modifier
|
||||
years = 10
|
||||
}
|
||||
change_county_control = -10
|
||||
}
|
||||
}
|
||||
random = {
|
||||
|
|
@ -1608,6 +1608,7 @@ grand_ambitions.0130 = {
|
|||
modifier = ep3_grand_ambitions_rioting_county_modifier
|
||||
years = 10
|
||||
}
|
||||
change_county_control = -10
|
||||
}
|
||||
}
|
||||
random = {
|
||||
|
|
@ -1660,6 +1661,7 @@ grand_ambitions.0130 = {
|
|||
modifier = ep3_grand_ambitions_rioting_county_modifier
|
||||
years = 10
|
||||
}
|
||||
change_county_control = -10
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -3665,6 +3667,7 @@ grand_ambitions.0202 = {
|
|||
immediate = {
|
||||
# Saving these scopes for the follow-up (grand_ambitions.0003) for the old emp which references the lost title
|
||||
save_scope_as = actor
|
||||
save_scope_as = puppet_or_actor
|
||||
save_scope_as = new_emp
|
||||
save_scope_as = root_scope # for loc
|
||||
primary_title = { save_scope_as = revoked }
|
||||
|
|
|
|||
|
|
@ -379,7 +379,7 @@ ep3_travel_events.3001 = {
|
|||
}
|
||||
left_portrait = {
|
||||
character = root
|
||||
animation = jockey_walk
|
||||
scripted_animation = horse_camel_animation
|
||||
camera = camera_event_horse_left
|
||||
}
|
||||
trigger = {
|
||||
|
|
@ -1146,7 +1146,7 @@ ep3_travel_events.3010 = {
|
|||
culture = {
|
||||
ep3_travel_events_3010_anatolian_native_trigger = yes
|
||||
}
|
||||
county_control <= 90
|
||||
county_control < county_control_baseline
|
||||
duchy = {
|
||||
OR = {
|
||||
this = title:d_anatolia
|
||||
|
|
@ -1227,7 +1227,7 @@ ep3_travel_events.3010 = {
|
|||
}
|
||||
}
|
||||
location.county = {
|
||||
change_development_progress = minimal_development_progress_loss
|
||||
change_prosperity_progress = minimal_prosperity_progress_loss
|
||||
change_county_control = miniscule_county_control_loss
|
||||
}
|
||||
stress_and_fulfillment_impact = {
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue