스크립트 효과

recalculate_parliament_vote_for_law_change

recalculate_parliament_vote_for_law_changein_game/common/scripted_effects/international_organization_effects.txt:299
요구 조건복수 정책 투표 금지보정치 유형hidden effectio_current_law변수hidden effectio_law_target변수hidden effect

정의in_game/common/scripted_effects/international_organization_effects.txt:299

300hidden_effect = {
301set_parliament_issue_support = 0
302every_international_organization_member = {
303unset_participated_in_parliament = scope:recipient
304save_temporary_scope_as = voter
305if = {
306limit = {
307scope:recipient = {
308has_voted_for = {
309voter = scope:voter
310resolution = resolution:policy_vote
311vote = scope:recipient.var:io_law_target
}
}
}
315set_participated_in_parliament = {
315international_organization = scope:recipient
315vote = yes
}
}
317else_if = {
318limit = {
319scope:recipient = {
320has_voted_for = {
321voter = scope:voter
322resolution = resolution:policy_vote
323vote = scope:recipient.var:io_current_law
}
}
}
327set_participated_in_parliament = {
327international_organization = scope:recipient
327vote = no
}
}
}
330change_parliament_issue_support = {
331if = {
333if = {
334limit = {
335has_variable = io_law_target
336has_variable = io_current_law
337votes_for_resolution = {
338resolution = resolution:policy_vote
339outcome = var:io_current_law
340value > 0
}
}
343value = "votes_for_resolution(resolution:policy_vote|var:io_law_target)"
344divide = {
345value = "votes_for_resolution(resolution:policy_vote|var:io_current_law)"
346add = "votes_for_resolution(resolution:policy_vote|var:io_law_target)"
}
}
349else = {
350value = 1
}
}
353else = {
354value = "votes_for_resolution(resolution:policy_vote|var:io_law_target)"
355divide = total_members
}
}
}
© 2026 Soft Santa Cruz, S.L.U.. 모든 권리 보유. 비공식 팬 프로젝트이며 Paradox Interactive와 관련이 없습니다. 게임 콘텐츠 © Paradox Interactive. 소개 · 개인정보 보호 · 법적 고지