
ActionChanged this version
Call Union Parliament
This will call in the collective Parliament of the Union in an attempt to get support to resolve an inconsistent Union Integration Level.
UnionInternational Organizationselect trigger
Has International ParliamentModifier Typeselect trigger
Union Integration LevelModifier Typeselect triggerDefinitionin_game/common/generic_actions/io_parliament_bribes.txt:1
2type = internationalorganization
4ai_tick = monthly
5ai_tick_frequency = 3
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" Choose the International Organization:
25none_available_msg_key = "call_organization_parliament_no_international_organization"
26column = {
27data = name
}
29visible = {
30has_parliament = yes
}
34enabled = {
36is_active_parliament = no
37custom_tooltip = {
38text = union_call_organization_parliament_tt International Organization has at least 1 Union Integration Level
}
41NOT = {
41resolution_is_active = resolution:policy_vote
}
43custom_tooltip = {
44text = union_call_parliament_not_on_failed_cd_tt Not on cooldown from a previous failed Union Parliament debate
45scope:actor = {
45NOT = {
45has_cooldown = union_enforcement_parliament_failed_cd
}
}
}
}
}
58effect = {
59if = {
60limit = {
60exists = scope:recipient
}
61hidden_effect = {
63scope:actor = {
64if = {
65limit = {
66scope:recipient.modifier:union_integration_level > 0
}
70international_organization = scope:recipient
71value = scope:recipient.modifier:union_integration_level
}
}
}
}
76parliament_issue:union_enforce_law_implementation = {
77save_scope_as = parliament_issue
}
79scope:recipient = {
80set_parliament_location = scope:actor.capital
81set_parliament_active = yes
82set_parliament_issue = parliament_issue:union_enforce_law_implementation
}
}
}
87ai_will_do = {
88add = {
89desc = "DIPLOREASON_BASE"
90value = 20
}
}