
ActionModifié dans cette version
Vote au sein de l'Organisation parlementaire
Un débat se tient actuellement au sein du Parlement de l'Organisation internationale. Les États membres peuvent voter pour influencer l'issue de la Loi parlementaire.
UnionOrganisation internationaleselect trigger 1
Dispose d'un Parlement internationalType de modificateurselect trigger 1io_current_lawVariableeffectio_law_targetVariableeffectDéfinitionin_game/common/generic_actions/io_parliament.txt:289
290icon = call_parliament
291type = internationalorganization
292ai_tick = monthly
293ai_tick_frequency = 3
294automation_tick = monthly
295automation_tick_frequency = 3
296player_automated_category = diplomacy
297show_in_gui_list = no
298show_message = no
299ai_prerequisite = {
}
301potential = {
}
303allow = {
}
305cooldown = {
306type = vote_in_organization_parliament
307months = 1
}
310select_trigger = {
311looking_for_a = international_organization
312source = actor
313target_flag = recipient
314name = "choose_international_organization" Sélectionner l'Organisation internationale :
315none_available_msg_key = "vote_in_organization_parliament_no_international_organization"
316column = {
317data = name
}
319visible = {
320has_parliament = yes
322is_active_parliament = yes
}
325enabled = {
326scope:actor = {
328can_vote_in_parliament = root
329NOT = {
329is_leader_of_international_organization = scope:recipient
}
}
}
}
333select_trigger = {
334looking_for_a = boolean
335target_flag = vote
336name = "select_vote" Choisissez votre vote
337column = {
338data = name
}
340visible = {
}
342enabled = {
}
}
345effect = {
346if = {
347limit = {
348exists = scope:vote
349exists = scope:recipient
350exists = scope:actor
}
352if = {
353limit = {
354scope:recipient = {
357parliament_issue = parliament_issue:hre_law_debate
}
}
361if = {
362limit = {
363scope:actor = {
364is_ai = yes
}
}
367scope:recipient = {
368save_temporary_scope_value_as = {
369name = vote_for_new_law_bias
370value = {
371value = "ai_issue_voting_bias(scope:actor|scope:recipient|scope:recipient.var:io_law_target)"
372add = "scope:recipient.var:io_law_target.ai_policy_resolution_vote_bias(scope:actor|scope:recipient)"
}
}
375save_temporary_scope_value_as = {
376name = keep_current_law_bias
377value = "scope:recipient.var:io_current_law.ai_policy_resolution_keep_bias(scope:actor|scope:recipient)"
}
379if = {
380limit = {
381scope:vote_for_new_law_bias > scope:keep_current_law_bias
}
383set_vote = {
}
}
389else = {
390set_vote = {
}
}
}
}
398else = {
399scope:recipient = {
400if = {
401limit = {
401scope:vote = yes
}
402set_vote = {
}
}
408else = {
409set_vote = {
}
}
}
}
}
418else_if = {
419limit = {
420scope:actor = {
421is_ai = yes
422NOT = {
422has_participated_in_parliament = scope:recipient
}
}
}
426if = {
427limit = {
428scope:recipient.parliament_issue.ai_parliament_issue_resolution_vote_bias(scope:actor|scope:recipient) > 0
}
430scope:actor = {
}
}
437else = {
438scope:actor = {
}
}
}
446else = {
447scope:actor = {
449international_organization = scope:recipient
450vote = scope:vote
}
}
}
}
455else = {
456custom_tooltip = vote_in_organization_parliament_tt Nous voterons pour ou contre la proposition de Loi parlementaire
}
}
459ai_will_do = {
460if = {
461limit = {
462exists = scope:recipient
463scope:actor = {
463NOT = {
463has_participated_in_parliament = scope:recipient
}
}
}
465add = {
466desc = "IO_BIAS"
467value = 10000
}
}
470else_if = {
471limit = {
472exists = scope:recipient
473scope:recipient = {
474NOT = {
474resolution_is_active = resolution:policy_vote
}
475exists = parliament_issue
}
477exists = scope:vote
478scope:actor = {
479NOT = {
479has_been_influenced_by_parliament_agenda = scope:recipient
}
}
}
483if = {
484limit = {
485scope:vote = yes
486scope:actor = {
487has_special_status_in_international_organization = {
488international_organization = scope:recipient
489type = scope:recipient.parliament_issue.special_status
}
}
}
493add = {
494desc = "SPECIAL_STATUS_BIAS"
495value = 1000
}
}
498if = {
499limit = {
500scope:vote = yes
}
502add = {
503desc = "IO_PARLIAMENT_ISSUE_BIAS"
504value = "scope:recipient.parliament_issue.ai_parliament_issue_resolution_vote_bias(scope:actor|scope:recipient)"
}
}
507else = {
508add = {
509desc = "IO_PARLIAMENT_ISSUE_BIAS"
510value = {
511value = "scope:recipient.parliament_issue.ai_parliament_issue_resolution_vote_bias(scope:actor|scope:recipient)"
512multiply = -1
}
}
}
516if = {
517limit = {
518scope:recipient = {
519uses_parliament_for_law_votes_trigger = yes
520resolution_is_active = resolution:policy_vote
}
}
523multiply = 0
}
}
526else = {
527add = {
528desc = "IO_BIAS"
529value = 0
}
}
}