
国家関与このバージョンで変更
従属国の首都を移転
我々の従属国に対し、首都を別のロケーションにするよう命じる。
定義in_game/common/country_interactions/move_subject_capital.txt:1
2type = subject
3category = CATEGORY_SUBJECT_ACTIONS
5ai_tick = never
7potential = {
8scope:actor = {
9num_subjects > 0
}
}
13allow = {
14scope:actor = {
15at_war = no
}
}
19price = price:capital_movement
20payer = scope:recipient
22select_trigger = {
23looking_for_a = country
24interaction_source_list = {
25scope:actor = {
26every_subject = {
27add_to_list = source
}
}
}
31target_flag = recipient
32name = "choose_country" 国家を選択:
33column = {
34data = name
}
36visible = {
37NOR = {
38country_type = building
39country_type = pop
}
41num_locations > 1
}
43enabled = {
44at_war = no
}
}
50select_trigger = {
51looking_for_a = location
52source = recipient
53target_flag = target
54source_flags = only_actual_locations
55name = "move_subject_capital_select_location" 新たな首都となるロケーションを選択
56none_available_msg_key = "move_subject_capital_no_locations"
57column = {
58data = name
}
60column = {
61data = population
}
63visible = {
64is_capital = no
}
}
68effect = {
69if = {
70limit = {
71exists = scope:target
}
73scope:recipient = {
74set_capital = scope:target
}
}
80else = {
81custom_tooltip = move_subject_capital_select_location_tt クリックで、我々の従属国の新たな首都となるロケーションを選択
}
}
85accept = {
87add = {
88desc = "DIPLOREASON_OUR_SUBJECT" この件について発言権がない
89value = 1000
}
}