Наделение королевским титулом
Взаимодействие с державойИзменено в этой версии

Наделение королевским титулом

bestow_kingdom_titlein_game/common/country_interactions/hre.txt:844

Мы даруем королевский титул Concept Священной Римской Империи, что позволит ему возвыситься до ранга королевства.Доступны только титулы Богемия, Бургундия, Лотарингия и Италия.

ТребуетМонархияФорма правленияselect trigger 1Священная Римская ИмперияМеждународное объединениеallow, select trigger 1

Определениеin_game/common/country_interactions/hre.txt:844

845type = diplomacy
846category = CATEGORY_HRE_ACTIONS
847ai_limit_per_check = 1
848potential = {
849scope:actor = {
850is_emperor = yes
}
}
853allow = {
855international_organization = international_organization:hre
856country = scope:actor
}
}
860select_trigger = {
861looking_for_a = country
862target_flag = recipient
863name = "choose_country" Выберите Concept:
864column = {
865data = name
}
867visible = {
868is_member_of_international_organization = international_organization:hre
869country_rank_level = 2
870government_type = government_type:monarchy
871is_subject = no
872OR = {
873NOT = {
873has_global_variable_map = hre_kingdoms_map
}
874NOT = {
874is_value_in_global_variable_map = {
874name = hre_kingdoms_map
874target = root
}
}
}
}
877enabled = {
}
}
880select_trigger = {
881looking_for_a = scripted_geography
882interaction_source_list = {
883scripted_geography:kingdom_of_italy_geography = {
883add_to_list = source
}
884scripted_geography:kingdom_of_lotharingia_geography = {
884add_to_list = source
}
885scripted_geography:kingdom_of_burgundy_geography = {
885add_to_list = source
}
886scripted_geography:kingdom_of_bohemia_geography = {
886add_to_list = source
}
}
888target_flag = target
889name = "request_kingdom_title_select_title" Выбрать, на какой королевский титул заявить права
890none_available_msg_key = "no_available_kingdom_title"
891column = {
892data = name
}
894visible = {
895OR = {
896NOT = {
896has_global_variable_map = hre_kingdoms_map
}
897NOT = {
897is_key_in_global_variable_map = {
897name = hre_kingdoms_map
897target = root
}
}
}
899scope:recipient.capital = {
899is_in_scripted_geography = root
}
}
901enabled = {
902any_location_in_scripted_geography = {
903OR = {
904is_ownable = no
905owner = scope:recipient
}
907percent >= 0.5
}
}
}
911effect = {
912scope:recipient = {
913trigger_event_non_silently = hre.20
914add_opinion = {
914target = scope:actor
914modifier = opinion_granted_kingdom_title
}
}
}
917ai_will_do = {
918add = {
919desc = "ACTOR_ACCEPTANCE"
920value = "scope:actor.reverse_country_interaction_acceptance(country_interaction:request_kingdom_title|scope:recipient)"
}
}