
AcciónCambiado en esta versión
Convocar Parlamento
Esto convocará al Parlamento de la International Organization en un intento de obtener apoyo para resolver una Parliament Issue, cambiar Policies de las Laws, crear un Casus Belli, aumentar Taxes o incrementar las Army Levies y las Navy Levies.
Arzobispo electorEstatus especialselect trigger 2
Ciudad imperial libreEstatus especialselect trigger 2
Parlamento internacional adoptadoTipo de modificadorselect trigger 1hre_diet_locationVariableselect trigger 2Definiciónin_game/common/generic_actions/io_parliament.txt:1
2type = internationalorganization
4ai_tick = monthly
5ai_tick_frequency = 6
7automation_tick = monthly
8automation_tick_frequency = 1
9player_automated_category = diplomacy
12show_in_gui_list = no
13ai_prerequisite = {
}
15potential = {
}
17allow = {
}
20select_trigger = {
21looking_for_a = international_organization
22source = actor
23target_flag = recipient
24name = "choose_international_organization" Elige la International Organization:
25none_available_msg_key = "call_organization_parliament_no_international_organization"
26column = {
27data = name
}
33enabled = {
35is_active_parliament = no
36months_since_last_parliament_called > 59
}
}
40select_trigger = {
41show_if = {
42exists = scope:recipient
43scope:recipient = {
45has_land_ownership_rule = yes
46international_organization_num_locations > 0
47OR = {
48num_countries_with_special_status(special_status:free_city) > 0
49num_countries_with_special_status(special_status:archbishop_elector) > 0
}
}
}
53looking_for_a = location
54source = recipient
55target_flag = parliament_location
56interaction_source_list = {
57scope:recipient = {
58every_international_organization_owned_location = {
59add_to_list = source
}
}
}
63name = "select_parliament_location" Seleccionar ubicación del Parlamento
64none_available_msg_key = "call_parliament_no_locations"
65column = {
65data = rank
}
66column = {
66data = name_no_rank
}
67column = {
67data = population
}
68column = {
68data = owner_flag
}
69visible = {
70owner ?= {
71OR = {
72has_special_status_in_international_organization = {
73international_organization = scope:recipient
}
76has_special_status_in_international_organization = {
77international_organization = scope:recipient
}
}
}
82is_capital = yes
}
}
86select_trigger = {
87looking_for_a = parliament_issue
88source = recipient
89interaction_source_list = {
90scope:recipient = {
91every_possible_parliament_issue = {
92add_to_list = source
}
}
}
96cache_targets = yes
97target_flag = parliament_issue
98name = "select_parliament_debate" Seleccionar debate del Parlamento
99none_available_msg_key = "select_call_organization_parliament_none_available"
100column = {
101data = io_parliament_issue_widget
}
103visible = {
104is_visible_for_international_organization = scope:recipient
105NOT = {
105this = parliament_issue:hre_law_debate
}
}
107enabled = {
108is_allowed_for_international_organization = scope:recipient
109is_selectable_issue_for = {
110international_organization = scope:recipient
111actor = scope:actor
}
}
}
116effect = {
117if = {
118limit = {
118exists = scope:recipient
}
}
}
125ai_will_do = {
126add = {
127if = {
128limit = {
129scope:actor = {
130months_since_last_parliament_called < 72
}
}
133value = -10000
}
136if = {
137limit = {
138scope:actor = {
139months_since_last_parliament_called > 120
}
}
142value = 500
}
}
146scope:actor = {
147if = {
148limit = {
149exists = scope:parliament_issue
}
151add = "parliament_issue_chance(scope:parliament_issue)"
}
}
155multiply = {
156scope:parliament_location = {
157if = {
158limit = {
159scope:actor = {
160capital = scope:parliament_location
161modifier:can_call_rural_parliaments = no
}
}
164value = 30
}
166else = {
167value = proximity
168add = {
169value = local_control
170multiply = 10
}
172add = {
173value = scope:actor.societal_value:centralization_vs_decentralization
174multiply = 0.1
}
177add = {
178value = random_integer
179modulo = 10
}
}
183if = {
184limit = {
184location_rank = location_rank:town
}
185add = 2
}
187else_if = {
188limit = {
188OR = {
188location_rank = location_rank:city
188location_rank = location_rank:megalopolis
}
}
189add = 10
}
192add = {
193value = modifier:fort_level
194multiply = 2
}
}
}
}