
Action
Ask for Law Changes
Asking the Estates to approve us changing a specific Policy in our Laws.
Parliament Request Issue Support NeededModifier TypeallowDefinitionin_game/common/generic_actions/parliament.txt:592
593type = parliament
595sound = PARLIAMENT_ASK_FOR_LAW_CHANGES
597ai_tick = daily
598ai_tick_frequency = 100
599automation_tick = daily
600automation_tick_frequency = 7
601player_automated_category = parliament
603ai_prerequisite = {
604discount_needed_for_law_change > 0
605has_ai_preferred_parliament_law_change = yes
}
608allow = {
609scope:actor = {
610is_active_parliament = yes
}
}
615select_trigger = {
616looking_for_a = law
617interaction_source_list = {
618scope:actor = {
619every_current_law = {
620limit = {
620NOT = {
620is_locked_for = scope:actor
}
}
621add_to_list = source
}
}
}
625ai_interaction_source_list = {
626scope:actor = {
627every_current_law = {
628limit = {
628is_ai_preferred_parliament_change_law = scope:actor
}
629add_to_list = source
}
}
}
633cache_interaction_source_list = yes
634target_flag = target_law
635name = "ask_for_law_changes_select_law_title" Select a Law that our Player Parliament will agree to change.
636none_available_msg_key = "no_valid_laws"
637column = {
638data = law_attribute_column
}
}
642select_trigger = {
643looking_for_a = policy
644interaction_source_list = {
645scope:target_law = {
646every_policy_in_law = {
647limit = {
648policy_possible_for_country = scope:actor
}
650add_to_list = source
}
}
}
654ai_interaction_source_list = {
655scope:target_law = {
656every_policy_in_law = {
657limit = {
657is_ai_preferred_parliament_change_policy = scope:actor
}
658add_to_list = source
}
}
}
662target_flag = target_policy
663name = "ask_for_law_changes_select_policies_title" Select a Policy that our Player Parliament will agree to change.
664none_available_msg_key = "no_valid_policies"
665top_widget = law_card_header_at_parlaiment_policy_select
666column = {
667data = policy_name_desc
}
}
671effect = {
672scope:actor = {
673if = {
674limit = {
675exists = scope:target_law
676exists = scope:target_policy
}
678add_policy = scope:target_policy
}
680else = {
681custom_tooltip = ask_for_law_changes_select_law_title Select a Law that our Player Parliament will agree to change.
}
683change_parliament_issue_support = {
685multiply = -1
}
}
}
690ai_will_do = {
691add = {
692value = 250
693desc = "PREFERRED_LAW_CHANGE"
}
695add = {
696value = "scope:actor.policy_utility(scope:target_law|scope:target_policy|yes)"
}
}