
行动本版本变更
召开议会
这将召开议会以获取支持,来解决议会议案、改变我们法律的政策、创造宣战理由、提高赋税或扩大陆军征召兵和海军征召兵。
在会议期间我们将获得以下效果:Game Concept Parliament正在召开、议会所在地;并根据所选地点的不同,在首都的议会或议会不在首都。
可在乡村召开议会修正类型select trigger 1
要塞等级修正类型select trigger 1
启用议会修正类型allow
议会席位修正类型select trigger 1
禁止召开议会修正类型allow
永久议会会址修正类型select trigger 1定义in_game/common/generic_actions/parliament.txt:2
3type = owncountry
5ai_tick = never
6automation_tick = never
7player_automated_category = parliament
9allow = {
10scope:actor = {
11is_active_parliament = no
}
}
20select_trigger = {
21show_if = {
}
28looking_for_a = location
29source = actor
30ai_interaction_source_list = {
31scope:actor = {
32capital = {
33add_to_list = source
}
}
}
38name = "select_parliament_location" 选择议会召开地
39none_available_msg_key = "call_parliament_no_locations"
40column = {
41data = name
}
43column = {
44data = population
}
46column = {
47data = control
}
49column = {
50data = rank
}
52visible = {
53has_owner = yes
54owner ?= scope:actor
55controller ?= scope:actor
56local_control > 0
57OR = {
58is_capital = yes
59AND = {
}
}
}
}
77select_trigger = {
78looking_for_a = parliament_issue
79interaction_source_list = {
80scope:actor = {
81every_possible_parliament_issue = {
82add_to_list = source
}
}
}
86ai_interaction_source_list = {
87scope:actor = {
88every_possible_parliament_issue = {
89if = {
90limit = {
91ai_parliament_issue_resolution_vote_bias(scope:actor) >= 0
}
93add_to_list = source
}
}
}
}
98cache_interaction_source_list = yes
99cache_targets = yes
100target_flag = parliament_issue
101name = "select_parliament_debate" 选择议会讨论议案
102none_available_msg_key = "select_parliament_debate_none_available"
103column = {
104data = parliament_issue_widget
}
106visible = {
107is_available_for = scope:actor
}
}
111effect = {
112scope:actor = {
113if = {
114limit = {
115exists = scope:parliament_location
}
118set_parliament_location = scope:parliament_location
119custom_tooltip = {
120text = select_parliament_location_modifier_tooltip Parliament Location在议会期间获得议会所在地。
}
123if = {
124limit = {
124scope:parliament_location = scope:actor.capital
}
125custom_tooltip = {
126text = select_parliament_location_capital_modifier_tooltip Parliament Location是我国首都,所以价值观向centralization移动。
}
}
129else = {
130custom_tooltip = {
131text = select_parliament_location_not_capital_modifier_tooltip Parliament Location不是我国首都,所以价值观向decentralization移动。
}
}
134scope:parliament_location = {
}
}
142else = {
143custom_tooltip = select_parliament_location_inform_choice_tt 如果我们在capital with icon召开Parliament,我们的社会价值观将向centralization移动,如果我们选择其他地点,则会向decentralization移动。选中的Location在Parliament召开期间会获得议会所在地。
144set_parliament_location = scope:actor.capital
}
148set_parliament_active = yes
150if = {
151limit = {
151exists = scope:parliament_issue
}
152set_parliament_issue = scope:parliament_issue
153set_parliament_issue_support = {
158if = {
159limit = {
160scope:parliament_issue.estate_type = {
161always_loyal = no
}
}
164add = {
165desc = estate_power
166value = "estate_power(scope:parliament_issue.estate_type)"
}
}
}
}
}
}
174ai_will_do = {
175add = {
176if = {
177limit = {
178scope:actor = {
179months_since_last_parliament_called < 72
180stability < 0
}
}
183value = -10000
}
186if = {
187limit = {
188scope:actor = {
189months_since_last_parliament_called > 120
}
}
192value = 500
}
196if = {
197limit = {
198scope:actor = {
199OR = {
200any_neighbor_country = {
201scope:actor = {
202wants_casus_belli_with = prev
}
}
205any_rival = {
206scope:actor = {
207wants_casus_belli_with = prev
}
}
}
}
}
213value = 100
}
}
217scope:actor = {
218if = {
219limit = {
220exists = scope:parliament_issue
}
222add = "parliament_issue_chance(scope:parliament_issue)"
}
}
225if = {
226limit = {
227exists = scope:parliament_location
}
229scope:parliament_location = {
230save_temporary_scope_as = this_parliament_location
}
}
233else = {
234scope:actor = {
235capital = {
236save_temporary_scope_as = this_parliament_location
}
}
}
241multiply = {
242scope:this_parliament_location = {
243if = {
244limit = {
245scope:actor = {
246capital = scope:this_parliament_location
}
}
250value = 30
}
252else = {
253value = proximity
254add = {
255value = local_control
256multiply = 10
}
258add = {
259value = scope:actor.societal_value:centralization_vs_decentralization
260multiply = 0.1
}
263add = {
264value = random_integer
265modulo = 10
}
}
269if = {
270limit = {
270location_rank = location_rank:town
}
271add = 2
}
273else_if = {
274limit = {
274OR = {
274location_rank = location_rank:city
274location_rank = location_rank:megalopolis
}
}
275add = 10
}
}
}
}