Fixes
This commit is contained in:
parent
ce70fe752e
commit
734d526ca9
41 changed files with 17594 additions and 1069 deletions
|
|
@ -1500,198 +1500,198 @@ major_decisions.3100 = {
|
|||
}
|
||||
|
||||
###################
|
||||
# Merge Aquitaine #
|
||||
###################
|
||||
major_decisions.3200 = {
|
||||
type = character_event
|
||||
title = major_decisions.3200.t
|
||||
desc = major_decisions.3200.desc
|
||||
theme = realm
|
||||
left_portrait = {
|
||||
trigger = {
|
||||
this != scope:rightful_liege
|
||||
}
|
||||
character = root
|
||||
triggered_animation = {
|
||||
trigger = {
|
||||
NOR = {
|
||||
opinion = {
|
||||
target = scope:rightful_liege
|
||||
value >= 25
|
||||
}
|
||||
root.culture = scope:rightful_liege.culture
|
||||
culture = { any_parent_culture_or_above = { this = scope:rightful_liege.culture } }
|
||||
}
|
||||
}
|
||||
animation = disapproval
|
||||
}
|
||||
animation = obsequious_bow
|
||||
}
|
||||
|
||||
right_portrait = {
|
||||
character = scope:rightful_liege
|
||||
animation = personality_honorable
|
||||
}
|
||||
|
||||
immediate = {
|
||||
show_as_tooltip = {
|
||||
destroy_title = scope:destroyed_title
|
||||
scope:rightful_title = {
|
||||
if = {
|
||||
limit = {
|
||||
this = title:k_aquitaine
|
||||
}
|
||||
every_in_de_jure_hierarchy = {
|
||||
custom = merge_aquitaine_decision_tooltip_alt
|
||||
custom_tooltip = merge_aquitaine_decision_tooltip_2_alt
|
||||
}
|
||||
}
|
||||
else = {
|
||||
every_in_de_jure_hierarchy = {
|
||||
custom = merge_aquitaine_decision_tooltip_original
|
||||
custom_tooltip = merge_aquitaine_decision_tooltip_2_original
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
option = {
|
||||
name = major_decisions.3200.a
|
||||
trigger = {
|
||||
NOR = {
|
||||
opinion = {
|
||||
target = scope:rightful_liege
|
||||
value >= 25
|
||||
}
|
||||
root.culture = scope:rightful_liege.culture
|
||||
culture = { any_parent_culture_or_above = { this = scope:rightful_liege.culture } }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
option = {
|
||||
name = major_decisions.3200.b
|
||||
trigger = {
|
||||
OR = {
|
||||
opinion = {
|
||||
target = scope:rightful_liege
|
||||
value >= 25
|
||||
}
|
||||
root.culture = scope:rightful_liege.culture
|
||||
culture = { any_parent_culture_or_above = { this = scope:rightful_liege.culture } }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#Restore Carthage
|
||||
major_decisions.3300 = {
|
||||
type = character_event
|
||||
title = major_decisions.3300.t
|
||||
desc = major_decisions.3300.desc
|
||||
theme = crown
|
||||
|
||||
override_effect_2d = { reference = legend_glow }
|
||||
|
||||
left_portrait = {
|
||||
character = root
|
||||
animation = sword_coup_degrace
|
||||
camera = camera_torso_scheme_right_look_right
|
||||
}
|
||||
|
||||
immediate = {
|
||||
restore_carthage_scripted_effect = yes
|
||||
|
||||
culture = { save_scope_as = founder_culture }
|
||||
}
|
||||
|
||||
option = {
|
||||
name = major_decisions.3300.a
|
||||
|
||||
hidden_effect = {
|
||||
culture:carthaginian = {
|
||||
get_all_innovations_from = scope:founder_culture
|
||||
}
|
||||
}
|
||||
|
||||
#convert people to your new culture
|
||||
convert_family_culture_and_notify_vassals_effect = {
|
||||
OLD_CULTURE = root.culture
|
||||
NEW_CULTURE = culture:carthaginian
|
||||
CONVERTER = root
|
||||
}
|
||||
|
||||
#convert capital counties to carthaginian
|
||||
title:c_tunis = {
|
||||
set_county_culture = culture:carthaginian
|
||||
}
|
||||
title:c_tripolitana = {
|
||||
set_county_culture = culture:carthaginian
|
||||
}
|
||||
title:c_algier = {
|
||||
set_county_culture = culture:carthaginian
|
||||
}
|
||||
title:c_murcia = {
|
||||
set_county_culture = culture:carthaginian
|
||||
}
|
||||
}
|
||||
|
||||
option = {
|
||||
name = major_decisions.3300.b
|
||||
}
|
||||
}
|
||||
|
||||
##############
|
||||
# Carantania #
|
||||
##############
|
||||
major_decisions.3400 = {
|
||||
type = character_event
|
||||
title = major_decisions.3400.t
|
||||
desc = major_decisions.3400.desc
|
||||
theme = crown
|
||||
override_background = ce1_legendary_spring
|
||||
left_portrait = {
|
||||
character = root
|
||||
animation = pondering
|
||||
}
|
||||
window = big_event_window
|
||||
|
||||
widget = { gui = event_window_widget_vfx_godray container = foreground_shader_vfx_container }
|
||||
|
||||
immediate = {
|
||||
decision_restore_carantania_effect = yes
|
||||
}
|
||||
|
||||
option = {
|
||||
name = major_decisions.3400.a
|
||||
}
|
||||
}
|
||||
|
||||
###########
|
||||
# Cumbria #
|
||||
###########
|
||||
major_decisions.3500 = {
|
||||
type = character_event
|
||||
title = major_decisions.3500.t
|
||||
desc = major_decisions.3500.desc
|
||||
theme = crown
|
||||
override_background = council_chamber
|
||||
left_portrait = {
|
||||
character = root
|
||||
animation = pondering
|
||||
}
|
||||
window = big_event_window
|
||||
|
||||
widget = { gui = event_window_widget_vfx_godray container = foreground_shader_vfx_container }
|
||||
|
||||
immediate = {
|
||||
form_cumbria_decision_scripted_effect = yes
|
||||
}
|
||||
|
||||
option = {
|
||||
name = major_decisions.3500.a
|
||||
}
|
||||
}
|
||||
## Merge Aquitaine #
|
||||
####################
|
||||
#major_decisions.3200 = {
|
||||
# type = character_event
|
||||
# title = major_decisions.3200.t
|
||||
# desc = major_decisions.3200.desc
|
||||
# theme = realm
|
||||
# left_portrait = {
|
||||
# trigger = {
|
||||
# this != scope:rightful_liege
|
||||
# }
|
||||
# character = root
|
||||
# triggered_animation = {
|
||||
# trigger = {
|
||||
# NOR = {
|
||||
# opinion = {
|
||||
# target = scope:rightful_liege
|
||||
# value >= 25
|
||||
# }
|
||||
# root.culture = scope:rightful_liege.culture
|
||||
# culture = { any_parent_culture_or_above = { this = scope:rightful_liege.culture } }
|
||||
# }
|
||||
# }
|
||||
# animation = disapproval
|
||||
# }
|
||||
# animation = obsequious_bow
|
||||
# }
|
||||
#
|
||||
# right_portrait = {
|
||||
# character = scope:rightful_liege
|
||||
# animation = personality_honorable
|
||||
# }
|
||||
#
|
||||
# immediate = {
|
||||
# show_as_tooltip = {
|
||||
# destroy_title = scope:destroyed_title
|
||||
# scope:rightful_title = {
|
||||
# if = {
|
||||
# limit = {
|
||||
# this = title:k_aquitaine
|
||||
# }
|
||||
# every_in_de_jure_hierarchy = {
|
||||
# custom = merge_aquitaine_decision_tooltip_alt
|
||||
# custom_tooltip = merge_aquitaine_decision_tooltip_2_alt
|
||||
# }
|
||||
# }
|
||||
# else = {
|
||||
# every_in_de_jure_hierarchy = {
|
||||
# custom = merge_aquitaine_decision_tooltip_original
|
||||
# custom_tooltip = merge_aquitaine_decision_tooltip_2_original
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
#
|
||||
# option = {
|
||||
# name = major_decisions.3200.a
|
||||
# trigger = {
|
||||
# NOR = {
|
||||
# opinion = {
|
||||
# target = scope:rightful_liege
|
||||
# value >= 25
|
||||
# }
|
||||
# root.culture = scope:rightful_liege.culture
|
||||
# culture = { any_parent_culture_or_above = { this = scope:rightful_liege.culture } }
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
#
|
||||
# option = {
|
||||
# name = major_decisions.3200.b
|
||||
# trigger = {
|
||||
# OR = {
|
||||
# opinion = {
|
||||
# target = scope:rightful_liege
|
||||
# value >= 25
|
||||
# }
|
||||
# root.culture = scope:rightful_liege.culture
|
||||
# culture = { any_parent_culture_or_above = { this = scope:rightful_liege.culture } }
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
#}
|
||||
##Restore Carthage
|
||||
#major_decisions.3300 = {
|
||||
# type = character_event
|
||||
# title = major_decisions.3300.t
|
||||
# desc = major_decisions.3300.desc
|
||||
# theme = crown
|
||||
#
|
||||
# override_effect_2d = { reference = legend_glow }
|
||||
#
|
||||
# left_portrait = {
|
||||
# character = root
|
||||
# animation = sword_coup_degrace
|
||||
# camera = camera_torso_scheme_right_look_right
|
||||
# }
|
||||
#
|
||||
# immediate = {
|
||||
# restore_carthage_scripted_effect = yes
|
||||
#
|
||||
# culture = { save_scope_as = founder_culture }
|
||||
# }
|
||||
#
|
||||
# option = {
|
||||
# name = major_decisions.3300.a
|
||||
#
|
||||
# hidden_effect = {
|
||||
# culture:carthaginian = {
|
||||
# get_all_innovations_from = scope:founder_culture
|
||||
# }
|
||||
# }
|
||||
#
|
||||
# #convert people to your new culture
|
||||
# convert_family_culture_and_notify_vassals_effect = {
|
||||
# OLD_CULTURE = root.culture
|
||||
# NEW_CULTURE = culture:carthaginian
|
||||
# CONVERTER = root
|
||||
# }
|
||||
#
|
||||
# #convert capital counties to carthaginian
|
||||
# title:c_tunis = {
|
||||
# set_county_culture = culture:carthaginian
|
||||
# }
|
||||
# title:c_tripolitana = {
|
||||
# set_county_culture = culture:carthaginian
|
||||
# }
|
||||
# title:c_algier = {
|
||||
# set_county_culture = culture:carthaginian
|
||||
# }
|
||||
# title:c_murcia = {
|
||||
# set_county_culture = culture:carthaginian
|
||||
# }
|
||||
# }
|
||||
#
|
||||
# option = {
|
||||
# name = major_decisions.3300.b
|
||||
# }
|
||||
#}
|
||||
#
|
||||
###############
|
||||
## Carantania #
|
||||
###############
|
||||
#major_decisions.3400 = {
|
||||
# type = character_event
|
||||
# title = major_decisions.3400.t
|
||||
# desc = major_decisions.3400.desc
|
||||
# theme = crown
|
||||
# override_background = ce1_legendary_spring
|
||||
# left_portrait = {
|
||||
# character = root
|
||||
# animation = pondering
|
||||
# }
|
||||
# window = big_event_window
|
||||
#
|
||||
# widget = { gui = event_window_widget_vfx_godray container = foreground_shader_vfx_container }
|
||||
#
|
||||
# immediate = {
|
||||
# decision_restore_carantania_effect = yes
|
||||
# }
|
||||
#
|
||||
# option = {
|
||||
# name = major_decisions.3400.a
|
||||
# }
|
||||
#}
|
||||
#
|
||||
############
|
||||
## Cumbria #
|
||||
############
|
||||
#major_decisions.3500 = {
|
||||
# type = character_event
|
||||
# title = major_decisions.3500.t
|
||||
# desc = major_decisions.3500.desc
|
||||
# theme = crown
|
||||
# override_background = council_chamber
|
||||
# left_portrait = {
|
||||
# character = root
|
||||
# animation = pondering
|
||||
# }
|
||||
# window = big_event_window
|
||||
#
|
||||
# widget = { gui = event_window_widget_vfx_godray container = foreground_shader_vfx_container }
|
||||
#
|
||||
# immediate = {
|
||||
# form_cumbria_decision_scripted_effect = yes
|
||||
# }
|
||||
#
|
||||
# option = {
|
||||
# name = major_decisions.3500.a
|
||||
# }
|
||||
#}
|
||||
#
|
||||
####################
|
||||
## Cossack Kingdom #
|
||||
|
|
|
|||
|
|
@ -1304,291 +1304,6 @@ ep3_laamps.1030 = {
|
|||
name = ep3_laamps.1032.a
|
||||
}
|
||||
}
|
||||
##################################################
|
||||
# Become Adventurer - Revocation
|
||||
# by Joe Parkin
|
||||
# 0040-0041
|
||||
##################################################
|
||||
|
||||
# Come back
|
||||
|
||||
scripted_trigger ep3_laamp_revoked_title_trigger = {
|
||||
recent_history = { type = revoked days = 1 }
|
||||
previous_holder = root
|
||||
}
|
||||
|
||||
ep3_laamps.0040 = {
|
||||
type = character_event
|
||||
window = fullscreen_event
|
||||
title = ep3_laamps.0040.t
|
||||
desc = {
|
||||
first_valid = {
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
scope:actor = { is_close_family_of = root }
|
||||
}
|
||||
desc = ep3_laamps.0040.family
|
||||
}
|
||||
desc = ep3_laamps.0040.other
|
||||
}
|
||||
desc = ep3_laamps.0040.desc
|
||||
}
|
||||
theme = realm
|
||||
left_portrait = {
|
||||
character = root
|
||||
animation = marshal
|
||||
}
|
||||
lower_left_portrait = scope:alt_1
|
||||
lower_center_portrait = scope:alt_2
|
||||
lower_right_portrait = scope:alt_3
|
||||
override_background = { reference = ep3_fullscreen_adventurer_negative }
|
||||
cooldown = { days = 5 }
|
||||
|
||||
# The AI was managing to get this event somehow.
|
||||
trigger = {
|
||||
is_ai = no
|
||||
NOT = { has_character_flag = become_laamp_event_cooldown }
|
||||
}
|
||||
|
||||
immediate = {
|
||||
add_character_flag = {
|
||||
flag = become_laamp_event_cooldown
|
||||
days = 5
|
||||
}
|
||||
# Find alternative rulers to play as
|
||||
find_playable_relatives_effect = yes
|
||||
# Portrait scopes
|
||||
if = {
|
||||
limit = {
|
||||
NOR = {
|
||||
exists = scope:alt_3
|
||||
scope:alt_1 ?= scope:actor
|
||||
scope:alt_2 ?= scope:actor
|
||||
}
|
||||
}
|
||||
scope:actor = { save_scope_as = alt_3 }
|
||||
}
|
||||
# Create Adventurer
|
||||
hidden_effect = {
|
||||
create_landless_adventurer_title_effect = {
|
||||
REASON = flag:revocation
|
||||
FLAVOR_CHAR = scope:actor
|
||||
}
|
||||
}
|
||||
adventurer_prestige_reset_effect = yes
|
||||
}
|
||||
|
||||
option = {
|
||||
name = ep3_laamps.0040.a
|
||||
create_landless_adventurer_title_tooltip_effect = yes
|
||||
add_internal_flag = special
|
||||
scope:actor = { trigger_event = ep3_laamps.0042 }
|
||||
}
|
||||
|
||||
option = {
|
||||
name = ep3_laamps.0001.b
|
||||
trigger = { exists = scope:alt_1 }
|
||||
laamp_switch_playable_character_effect = { NEW_CHARACTER = scope:alt_1 }
|
||||
}
|
||||
option = {
|
||||
name = ep3_laamps.0001.c
|
||||
trigger = { exists = scope:alt_2 }
|
||||
laamp_switch_playable_character_effect = { NEW_CHARACTER = scope:alt_2 }
|
||||
}
|
||||
option = {
|
||||
name = ep3_laamps.0001.d
|
||||
trigger = {
|
||||
exists = scope:alt_3
|
||||
scope:alt_3 = { playable_relative_trigger = yes }
|
||||
}
|
||||
laamp_switch_playable_character_effect = { NEW_CHARACTER = scope:alt_3 }
|
||||
}
|
||||
option = {
|
||||
name = ep3_laamps.0001.e
|
||||
laamp_game_over_option_effect = yes
|
||||
}
|
||||
}
|
||||
|
||||
# Setup event
|
||||
ep3_laamps.0041 = {
|
||||
type = character_event
|
||||
hidden = yes
|
||||
|
||||
trigger = {
|
||||
has_ep3_dlc_trigger = yes
|
||||
is_landed = no
|
||||
is_valid_for_laampdom = yes
|
||||
}
|
||||
|
||||
immediate = {
|
||||
save_scope_as = adventurer
|
||||
# AI chance
|
||||
if = {
|
||||
limit = {
|
||||
is_ai = yes
|
||||
ai_can_valid_to_create_laamp_trigger = yes
|
||||
trigger_if = { # Don't fill the adventurer pool with revoked counts
|
||||
limit = {
|
||||
scope:lost_primary_title.tier <= tier_county
|
||||
}
|
||||
global_variable_list_size = {
|
||||
name = laamps_tally
|
||||
value < seventyfive_percent_of_max_desired_laamps_value
|
||||
}
|
||||
}
|
||||
}
|
||||
random = {
|
||||
chance = 0
|
||||
modifier = { add = ep3_laamp_chance_score_value }
|
||||
create_landless_adventurer_title_effect = {
|
||||
REASON = flag:revocation
|
||||
FLAVOR_CHAR = scope:actor
|
||||
}
|
||||
scope:actor = { trigger_event = ep3_laamps.0042 }
|
||||
}
|
||||
}
|
||||
# Player event
|
||||
else = {
|
||||
trigger_event = { id = ep3_laamps.0040 }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Revoker event
|
||||
ep3_laamps.0042 = {
|
||||
type = letter_event
|
||||
opening = ep3_laamps.0003.opening
|
||||
desc = ep3_laamps.0042.desc
|
||||
sender = scope:adventurer
|
||||
|
||||
trigger = { is_ai = no }
|
||||
|
||||
immediate = {
|
||||
create_landless_adventurer_title_tooltip_effect = yes
|
||||
}
|
||||
|
||||
option = {
|
||||
name = ep3_laamps.0042.a
|
||||
}
|
||||
}
|
||||
ep3_laamps.1030 = {
|
||||
type = character_event
|
||||
window = fullscreen_event
|
||||
title = ep3_laamps.1030.t
|
||||
desc = {
|
||||
desc = ep3_laamps.1030.desc
|
||||
first_valid = {
|
||||
triggered_desc = {
|
||||
trigger = { exists = scope:laamp_heir }
|
||||
desc = ep3_laamps.1030.heir
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { exists = scope:laamp_liege }
|
||||
desc = ep3_laamps.1030.liege
|
||||
}
|
||||
desc = ep3_laamps.1030.new
|
||||
}
|
||||
}
|
||||
theme = realm
|
||||
left_portrait = {
|
||||
character = root
|
||||
animation = marshal
|
||||
}
|
||||
lower_right_portrait = scope:laamp_inheritor
|
||||
override_background = { reference = ep3_fullscreen_adventurer_positive }
|
||||
cooldown = { days = 5 }
|
||||
|
||||
trigger = { exists = scope:laamp_inheritor }
|
||||
|
||||
immediate = {
|
||||
# Save scopes for loc
|
||||
primary_title = { save_scope_as = old_primary_title }
|
||||
capital_province = { save_scope_as = old_capital_province }
|
||||
if = {
|
||||
limit = { top_liege != this }
|
||||
liege = { save_scope_as = old_liege }
|
||||
}
|
||||
# Transfer landed titles
|
||||
every_held_title = {
|
||||
title_tier > barony
|
||||
limit = {
|
||||
OR = {
|
||||
is_landless_type_title = no
|
||||
is_nomad_title = yes
|
||||
}
|
||||
}
|
||||
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
|
||||
}
|
||||
}
|
||||
resolve_title_and_vassal_change = scope:change
|
||||
}
|
||||
# Create Adventurer
|
||||
create_landless_minority_title_effect = {
|
||||
REASON = flag:voluntary
|
||||
FLAVOR_CHAR = scope:laamp_inheritor
|
||||
}
|
||||
scope:laamp_inheritor = {
|
||||
# Tooltip for player
|
||||
custom_tooltip = become_landless_adventurer_decision_title_scope_tt
|
||||
# Create a loving family so inheritance isn't so borked
|
||||
if = {
|
||||
limit = { has_character_flag = new_laamp_inheritor }
|
||||
trigger_event = game_rule.1001
|
||||
remove_character_flag = new_laamp_inheritor
|
||||
}
|
||||
}
|
||||
scope:old_liege ?= { trigger_event = ep3_laamps.1032 }
|
||||
adventurer_prestige_reset_effect = yes
|
||||
hidden_effect = {
|
||||
every_held_title = {
|
||||
limit = {
|
||||
is_noble_family_title = yes
|
||||
}
|
||||
root = { destroy_title = prev }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
option = {
|
||||
name = ep3_laamps.1030.a
|
||||
create_landless_minority_title_tooltip_effect = yes
|
||||
add_prestige = medium_prestige_gain
|
||||
add_character_modifier = {
|
||||
modifier = ep3_voluntary_laamp_character_modifier
|
||||
years = 5
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Liege event
|
||||
ep3_laamps.1032 = {
|
||||
type = letter_event
|
||||
opening = ep3_laamps.1032.opening
|
||||
desc = ep3_laamps.1032.desc
|
||||
sender = scope:minority_leader
|
||||
|
||||
trigger = { is_ai = no }
|
||||
|
||||
immediate = {
|
||||
scope:minority_leader = { create_landless_minority_title_tooltip_effect = yes }
|
||||
}
|
||||
|
||||
option = {
|
||||
name = ep3_laamps.1032.a
|
||||
}
|
||||
}
|
||||
|
||||
##################################################
|
||||
# Become Adventurer - Revocation
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue