You are on page 1of 2

#########################################

# TITLE SPECIFIC EVENTS #


#########################################
namespace = title_event

# 0001-0010: Title name changes, by Emil Tisander

#########################################

# West Francia becomes France when no longer controlled by a Karling


title_event.0001 = {
type = character_event
title = title_event_francia_name_change.title
desc = title_event_francia_name_change.desc
theme = crown
right_portrait = root

trigger = {
scope:title = {
this = title:k_france
}
NOR = {
dynasty = { this = dynasty:25061 } # Not held by a Karling
any_liege_or_above = {
dynasty = { this = dynasty:25061 } # And does not have a
liege that is a Karling
}
has_global_variable = west_francia_renamed
}
}

immediate = {
title:k_france = {
save_scope_as = francia_title
}
set_global_variable = {
name = west_francia_renamed
value = yes
}
}

option = {
name = title_event_francia_name_change.a
custom_tooltip = {
text = title_event_francia_name_change.a_tt_1

title:k_france = {
reset_title_name = yes # I.e. set_title_name = k_france
}
}
}
}

# East Francia becomes Germany when no longer controlled by a Karling


title_event.0002 = {
type = character_event
title = title_event_francia_name_change.title
desc = title_event_francia_name_change.desc
theme = crown
right_portrait = root

trigger = {
scope:title = {
this = title:k_east_francia
}
NOR = {
dynasty = { this = dynasty:25061 } # Not held by a Karling
any_liege_or_above = {
dynasty = { this = dynasty:25061 } # And does not have a
liege that is a Karling
}
has_global_variable = east_francia_renamed
}
}

immediate = {
title:k_east_francia = {
save_scope_as = francia_title
}
set_global_variable = {
name = east_francia_renamed
value = yes
}
}

option = {
name = title_event_francia_name_change.a
custom_tooltip = {
text = title_event_francia_name_change.a_tt_2

title:k_east_francia = {
set_title_name = k_germany
}
}
}
}

You might also like