
Interacción nacional
Devolver tierras
Exigiremos que devuelva una Province Core a su legítimo propietario.
Definiciónin_game/common/country_interactions/subject_return_land.txt:1
2category = CATEGORY_SUBJECT_ACTIONS
3type = subject
5diplomatic_cost = subject_return_land_cost
7ai_tick = never
9potential = {
10scope:actor = {
11country_type = location
}
}
15allow = {
}
18select_trigger = {
19looking_for_a = country
20interaction_source_list = {
21scope:actor = {
22every_subject = {
23add_to_list = source
}
}
}
27target_flag = recipient
28name = "choose_country" Elige el Country:
29column = {
30data = name
}
32visible = {
33country_type = location
}
35enabled = {
}
}
42select_trigger = {
43looking_for_a = location
44source = recipient
45target_flag = target
46name = "subject_return_land_choose_0" Selecciona la Location que quieres que se devuelva:
47none_available_msg_key = "subject_return_land_no_locations"
48column = {
49data = name
}
51column = {
52data = population
}
54visible = {
55is_capital = no
56has_owner = yes
57owner ?= scope:recipient
58any_core_in_location = {
59not = {
60this = scope:recipient
}
62is_subject = no
63root = {
64is_core_of = prev
}
}
}
}
71select_trigger = {
72looking_for_a = country
73target_flag = target_1
74name = "subject_return_land_choose_1" Selecciona el Country al que devolverle Target:
75none_available_msg_key = "subject_return_land_no_countries"
76allow_self = yes
77column = {
78data = name
}
80column = {
81data = population
}
83visible = {
84not = {
85this = scope:recipient
}
87is_subject = no
88scope:target = {
89is_core_of = root
}
}
}
94effect = {
95if = {
96limit = {
97exists = scope:target
}
99scope:target = {
100change_location_owner = scope:target_1
}
102scope:recipient = {
103add_liberty_desire = {
104add = {
105desc = "game_concept_development" Desarrollo
106value = scope:target.development
}
}
}
}
111else = {
112custom_tooltip = select_a_location_to_take Haz clic para seleccionar el territorio que deberíamos arrebatarle a nuestro súbdito
}
}