キャラクター関与このバージョンで変更

要塞指揮官に着任

assume_fort_commandin_game/common/character_interactions/assume_fort_command.txt:1

このキャラクターは対象地域の防衛指揮官に着任する。陸軍や海軍の指揮、内閣での勤務が10年間できなくなる。

必要「要塞指揮官に着任」を許可補正タイプpotential, select trigger 1「要塞指揮官に着任」が可能補正タイプselect trigger 1地方の防衛指揮系統静的補正effect, select trigger 2陸軍・海軍を指揮できない静的補正select trigger 1

2message = yes
3on_own_nation = yes
5potential = {
6scope:actor = {
}
}
12ai_tick = daily
13ai_tick_frequency = 30
15allow = {
}
18select_trigger = {
19looking_for_a = character
20source = actor
21target_flag = recipient
22name = "choose_character" キャラクターを選択:
23column = {
24data = name
}
26visible = {
27is_alive = yes
28is_ruler = no
29is_heir = no
30is_regent = no
}
38enabled = {
39is_adult = yes
40OR = {
41AND = {
42mil >= 50
43in_cabinet = no
}
45is_general = yes
}
47NOT = {
47has_character_modifier = block_leading_armies_or_navies
}
}
}
51select_trigger = {
52looking_for_a = area
53source = actor
54target_flag = target
55name = "assume_fort_command_select_area_title" 対象地域を選択
56none_available_msg_key = "assume_fort_command_no_areas"
57column = {
57data = name
}
58visible = {
59any_location_in_area = {
60owner ?= scope:actor
}
}
63enabled = {
64NOT = {
65any_location_in_area = {
66has_location_modifier = assume_fort_command_modifier
}
}
}
}
72effect = {
73if = {
74limit = {
74exists = scope:target
}
75scope:target = {
76every_location_in_area = {
77limit = {
78owner = scope:actor
79NOT = {
79has_location_modifier = assume_fort_command_modifier
}
}
81add_location_modifier = {
83mode = add_and_extend
84years = 10
85size = {補正の倍率
86if = {
87limit = {
88scope:recipient.adm <= 20
}
90value = {
91desc = script_value_base 基本値
92value = 1
}
}
95else = {
96value = {
97desc = script_value_scaling_with_character_admin キャラクターの統治能力
98value = scope:recipient.adm
99divide = 20
}
}
102if = {
103limit = {
104scope:recipient.modifier:fort_assumed_efficiency_character != 0
}
106value = {
107desc = script_value_scaling_with_fort_assumed_efficiency_character キャラクターのfort_assumed_efficiency_character
108multiply = {
109value = scope:recipient.modifier:fort_assumed_efficiency_character
110add = 1
}
}
}
}
}
}
}
}
119else = {
120custom_tooltip = assume_fort_command_tt 10年間、対象の地域は地方の防衛指揮系統を得る
その効果はRecipientの統治能力によって変化する
}
122scope:actor = {
123change_societal_value = {
}
}
125remove_commander = scope:recipient
126scope:recipient = {
127add_character_modifier = {
129years = 5
130mode = add_and_extend
}
132add_character_modifier = {
134years = 5
135mode = add_and_extend
}
}
}
140ai_will_do = {
144add = scope:recipient.adm
145subtract = scope:recipient.dip
146subtract = scope:recipient.mil
147add = {
148if = {
149limit = {
150scope:actor = {
151any_current_war = {
152is_an_attacker = scope:actor
}
}
}
156value = -50
}
}
159add = {
160if = {
161limit = {
162scope:actor = {
163any_current_war = {
164NOT = {
164is_an_attacker = scope:actor
}
}
}
}
168value = 25
}
}
}
© 2026 Soft Santa Cruz, S.L.U.。無断転載を禁じます。本サイトは非公式のファンプロジェクトであり、Paradox Interactiveとは関係ありません。ゲームコンテンツ © Paradox Interactive。 概要 · プライバシー · 法的情報