Scripted Effect
participate_in_parliament
Definitionin_game/common/scripted_effects/international_organization_effects.txt:451
452$international_organization$ = {
452save_temporary_scope_as = source_io
}
453save_temporary_scope_as = member_state
454if = {
455limit = {
455$vote$ = yes
}
456if = {
457limit = {
458OR = {
459NOT = {
459has_participated_in_parliament = scope:source_io
}
460NOT = {
460has_voted_for_issue_in_parliament = scope:source_io
}
}
}
463scope:source_io = {
464change_parliament_issue_support = {
465value = {
466if = {
467limit = {
467combined_special_status_power > 0
}
468value = "scope:member_state.country_highest_rated_special_status_power(scope:source_io)"
469divide = "combined_special_status_power"
}
471else = {
471value = 0
}
}
}
}
475set_participated_in_parliament = {
475international_organization = scope:source_io
475vote = yes
}
}
}
478else = {
479if = {
480limit = {
481has_participated_in_parliament = scope:source_io
482has_voted_for_issue_in_parliament = scope:source_io
}
484scope:source_io = {
485change_parliament_issue_support = {
486value = {
487if = {
488limit = {
488combined_special_status_power > 0
}
489value = "scope:member_state.country_highest_rated_special_status_power(scope:source_io)"
490divide = "combined_special_status_power"
}
492else = {
492value = 0
}
493multiply = -1
}
}
}
497set_participated_in_parliament = {
497international_organization = scope:source_io
497vote = no
}
}
}