From 25d0eee6ebc7b1f116e6258e332870a36df94202 Mon Sep 17 00:00:00 2001 From: Whizzer <809596+Whizzer@users.noreply.github.com> Date: Thu, 19 Dec 2019 10:27:18 +0100 Subject: [PATCH] Remove: Superfluous file Causes duplicate council power laws New file is backported from rewrite --- .../laws/000_CK2Plus_power_council_laws.txt | 1162 ----------------- 1 file changed, 1162 deletions(-) delete mode 100644 CK2Plus/common/laws/000_CK2Plus_power_council_laws.txt diff --git a/CK2Plus/common/laws/000_CK2Plus_power_council_laws.txt b/CK2Plus/common/laws/000_CK2Plus_power_council_laws.txt deleted file mode 100644 index ca4401d69..000000000 --- a/CK2Plus/common/laws/000_CK2Plus_power_council_laws.txt +++ /dev/null @@ -1,1162 +0,0 @@ -###### -#Plus Laws: -# -#Total = 0 -###### - -#Law Groups -law_groups = { - law_voting_power = { #Laws Voting - Vanilla - law_type = council - allowed_for_councillors = yes - } - war_voting_power = { #War Voting - Vanilla - law_type = council - allowed_for_councillors = yes - } - revoke_title_voting_power = { #Revoke Titles Voting - Vanilla - law_type = council - allowed_for_councillors = yes - } - imprison_voting_power = { #Imprison Voting - Vanilla - law_type = council - allowed_for_councillors = yes - } - grant_title_voting_power = { #Grant Titles Voting - Vanilla - law_type = council - allowed_for_councillors = yes - } - banish_voting_power = { #Banish Voting - Vanilla - law_type = council - allowed_for_councillors = yes - } - execution_voting_power = { #Execution Voting - Vanilla - law_type = council - allowed_for_councillors = yes - } -} - -#Council Power Laws -##### -laws = { - #Law Voting Power 0 - law_voting_power_0 = { - group = law_voting_power - default = yes - - potential = { - has_dlc = "Zeus" - higher_tier_than = baron - OR = { - has_crown_law_title = no - crownlaw_title = { - OR = { - has_law = crown_authority_0 - has_law = crown_authority_1 - has_law = crown_authority_2 - has_law = crown_authority_3 - has_law = crown_authority_4 - } - } - has_law = tribal_organization_0 - has_law = tribal_organization_1 - has_law = tribal_organization_2 - has_law = tribal_organization_3 - has_law = tribal_organization_4 - } - } - - allow = { - has_law = law_voting_power_1 - - NOT = { - OR = { - has_law = war_voting_power_1 - has_law = revoke_title_voting_power_1 - has_law = imprison_voting_power_1 - has_law = grant_title_voting_power_1 - has_law = banish_voting_power_1 - has_law = execution_voting_power_1 - has_law = succession_voting_power_1 - } - } - - } - - revoke_allowed = { - always = no - } - - ai_will_do = { - factor = 1 - } - - ai_will_revoke = { - factor = 0 - } - - effect = { - disable_council_voting_on_issue = laws - custom_tooltip = { - text = council_off_custom - } - custom_tooltip = { - text = tooltip_disables_advisors - } - hidden_tooltip = { - if = { - limit = { - has_law = law_voting_power_1 - holder_scope = { - primary_title = { - title = PREVPREV - } - } - } - holder_scope = { - any_vassal = { - limit = { - NOT = { has_opinion_modifier = { who = ROOT modifier = opinion_decreased_council_power } } - } - opinion = { - who = ROOT - modifier = opinion_decreased_council_power - years = 5 - } - } - any_courtier = { - limit = { - NOT = { has_opinion_modifier = { who = ROOT modifier = opinion_decreased_council_power } } - } - opinion = { - who = ROOT - modifier = opinion_decreased_council_power - years = 5 - } - } - } - } - revoke_law = law_voting_power_1 - disable_council_voting_on_issue = enforce_peace - } - } - } - #Law Voting Power 1 - law_voting_power_1 = { - group = law_voting_power - - potential = { - has_dlc = "Zeus" - higher_tier_than = baron - OR = { - has_crown_law_title = no - crownlaw_title = { - OR = { - has_law = crown_authority_0 - has_law = crown_authority_1 - has_law = crown_authority_2 - has_law = crown_authority_3 - has_law = crown_authority_4 - } - } - has_law = tribal_organization_0 - has_law = tribal_organization_1 - has_law = tribal_organization_2 - has_law = tribal_organization_3 - has_law = tribal_organization_4 - } - } - - allow = { - has_law = law_voting_power_0 - } - - revoke_allowed = { - always = no - } - - ai_will_do = { - factor = 0 - } - - ai_will_revoke = { - factor = 0 - } - - effect = { - enable_council_voting_on_issue = laws - custom_tooltip = { - text = council_on_custom - } - custom_tooltip = { - text = tooltip_enables_advisors - } - hidden_tooltip = { - if = { - limit = { - has_law = law_voting_power_0 - holder_scope = { - primary_title = { - title = PREVPREV - } - } - } - holder_scope = { - any_vassal = { - limit = { - NOT = { has_opinion_modifier = { who = ROOT modifier = opinion_increased_council_power } } - } - opinion = { - who = ROOT - modifier = opinion_increased_council_power - years = 5 - } - } - any_courtier = { - limit = { - NOT = { has_opinion_modifier = { who = ROOT modifier = opinion_increased_council_power } } - } - opinion = { - who = ROOT - modifier = opinion_increased_council_power - years = 5 - } - } - } - } - revoke_law = law_voting_power_0 - enable_council_voting_on_issue = enforce_peace - } - } - - vassal_limit = 2 - } - - #War Voting Power 0 - war_voting_power_0 = { - group = war_voting_power - default = yes - - potential = { - has_dlc = "Zeus" - higher_tier_than = baron - OR = { - has_crown_law_title = no - crownlaw_title = { - has_law = crown_authority_0 - } - has_law = tribal_organization_0 - } - } - - allow = { - has_law = war_voting_power_1 - } - - revoke_allowed = { - always = no - } - - ai_will_do = { - factor = 1 - } - - ai_will_revoke = { - factor = 0 - } - - effect = { - disable_council_voting_on_issue = declare_war_interaction - custom_tooltip = { - text = council_war_off_custom - } - hidden_tooltip = { - if = { - limit = { - has_law = war_voting_power_1 - holder_scope = { - primary_title = { - title = PREVPREV - } - } - } - holder_scope = { - any_vassal = { - limit = { - NOT = { has_opinion_modifier = { who = ROOT modifier = opinion_decreased_council_power } } - } - opinion = { - who = ROOT - modifier = opinion_decreased_council_power - years = 5 - } - } - any_courtier = { - limit = { - NOT = { has_opinion_modifier = { who = ROOT modifier = opinion_decreased_council_power } } - } - opinion = { - who = ROOT - modifier = opinion_decreased_council_power - years = 5 - } - } - } - } - revoke_law = war_voting_power_1 - } - } - } - #War Voting Power 1 - war_voting_power_1 = { - group = war_voting_power - - potential = { - has_dlc = "Zeus" - higher_tier_than = baron - OR = { - has_crown_law_title = no - crownlaw_title = { - has_law = crown_authority_0 - } - has_law = tribal_organization_0 - } - } - - allow = { - has_law = law_voting_power_1 - has_law = war_voting_power_0 - } - - revoke_allowed = { - always = no - } - - ai_will_do = { - factor = 0 - } - - ai_will_revoke = { - factor = 0 - } - - effect = { - enable_council_voting_on_issue = declare_war_interaction - custom_tooltip = { - text = council_war_on_custom - } - hidden_tooltip = { - if = { - limit = { - has_law = war_voting_power_0 - holder_scope = { - primary_title = { - title = PREVPREV - } - } - } - holder_scope = { - any_vassal = { - limit = { - NOT = { has_opinion_modifier = { who = ROOT modifier = opinion_increased_council_power } } - } - opinion = { - who = ROOT - modifier = opinion_increased_council_power - years = 5 - } - } - any_courtier = { - limit = { - NOT = { has_opinion_modifier = { who = ROOT modifier = opinion_increased_council_power } } - } - opinion = { - who = ROOT - modifier = opinion_increased_council_power - years = 5 - } - } - } - } - revoke_law = war_voting_power_0 - } - } - - vassal_limit = 2 - } - - #Revoke Title Voting Power 0 - revoke_title_voting_power_0 = { - group = revoke_title_voting_power - default = yes - - potential = { - has_dlc = "Zeus" - higher_tier_than = baron - OR = { - has_crown_law_title = no - crownlaw_title = { - OR = { - has_law = crown_authority_0 - has_law = crown_authority_1 - has_law = crown_authority_2 - } - } - has_law = tribal_organization_0 - has_law = tribal_organization_1 - has_law = tribal_organization_2 - } - } - - allow = { - has_law = revoke_title_voting_power_1 - } - - revoke_allowed = { - always = no - } - - ai_will_do = { - factor = 1 - } - - ai_will_revoke = { - factor = 0 - } - - effect = { - hidden_tooltip = { - if = { - limit = { - has_law = revoke_title_voting_power_1 - holder_scope = { - primary_title = { - title = PREVPREV - } - } - } - holder_scope = { - any_vassal = { - limit = { - NOT = { has_opinion_modifier = { who = ROOT modifier = opinion_decreased_council_power } } - } - opinion = { - who = ROOT - modifier = opinion_decreased_council_power - years = 5 - } - } - any_courtier = { - limit = { - NOT = { has_opinion_modifier = { who = ROOT modifier = opinion_decreased_council_power } } - } - opinion = { - who = ROOT - modifier = opinion_decreased_council_power - years = 5 - } - } - } - } - revoke_law = revoke_title_voting_power_1 - } - disable_council_voting_on_issue = revoke_title_interaction - } - } - #Revoke Title Voting Power 1 - revoke_title_voting_power_1 = { - group = revoke_title_voting_power - - potential = { - has_dlc = "Zeus" - higher_tier_than = baron - OR = { - has_crown_law_title = no - crownlaw_title = { - OR = { - has_law = crown_authority_0 - has_law = crown_authority_1 - has_law = crown_authority_2 - } - } - has_law = tribal_organization_0 - has_law = tribal_organization_1 - has_law = tribal_organization_2 - } - } - - allow = { - has_law = law_voting_power_1 - has_law = revoke_title_voting_power_0 - } - - revoke_allowed = { - always = no - } - - ai_will_do = { - factor = 0 - } - - ai_will_revoke = { - factor = 0 - } - - effect = { - hidden_tooltip = { - if = { - limit = { - has_law = revoke_title_voting_power_0 - holder_scope = { - primary_title = { - title = PREVPREV - } - } - } - holder_scope = { - any_vassal = { - limit = { - NOT = { has_opinion_modifier = { who = ROOT modifier = opinion_increased_council_power } } - } - opinion = { - who = ROOT - modifier = opinion_increased_council_power - years = 5 - } - } - any_courtier = { - limit = { - NOT = { has_opinion_modifier = { who = ROOT modifier = opinion_increased_council_power } } - } - opinion = { - who = ROOT - modifier = opinion_increased_council_power - years = 5 - } - } - } - } - revoke_law = revoke_title_voting_power_0 - } - enable_council_voting_on_issue = revoke_title_interaction - } - - vassal_limit = 2 - } - - #Imprison Voting Power 0 - imprison_voting_power_0 = { - group = imprison_voting_power - default = yes - - potential = { - has_dlc = "Zeus" - higher_tier_than = baron - OR = { - has_crown_law_title = no - crownlaw_title = { - has_law = crown_authority_0 - } - has_law = tribal_organization_0 - } - } - - allow = { - has_law = imprison_voting_power_1 - } - - revoke_allowed = { - always = no - } - - ai_will_do = { - factor = 1 - } - - ai_will_revoke = { - factor = 0 - } - - effect = { - hidden_tooltip = { - if = { - limit = { - has_law = imprison_voting_power_1 - holder_scope = { - primary_title = { - title = PREVPREV - } - } - } - holder_scope = { - any_vassal = { - limit = { - NOT = { has_opinion_modifier = { who = ROOT modifier = opinion_decreased_council_power } } - } - opinion = { - who = ROOT - modifier = opinion_decreased_council_power - years = 5 - } - } - any_courtier = { - limit = { - NOT = { has_opinion_modifier = { who = ROOT modifier = opinion_decreased_council_power } } - } - opinion = { - who = ROOT - modifier = opinion_decreased_council_power - years = 5 - } - } - } - } - revoke_law = imprison_voting_power_1 - } - disable_council_voting_on_issue = imprison_character_interaction - } - } - #Imprison Voting Power 1 - imprison_voting_power_1 = { - group = imprison_voting_power - - potential = { - has_dlc = "Zeus" - higher_tier_than = baron - OR = { - has_crown_law_title = no - crownlaw_title = { - has_law = crown_authority_0 - } - has_law = tribal_organization_0 - } - } - - allow = { - has_law = law_voting_power_1 - has_law = imprison_voting_power_0 - } - - revoke_allowed = { - always = no - } - - ai_will_do = { - factor = 0 - } - - ai_will_revoke = { - factor = 0 - } - - effect = { - hidden_tooltip = { - if = { - limit = { - has_law = imprison_voting_power_0 - holder_scope = { - primary_title = { - title = PREVPREV - } - } - } - holder_scope = { - any_vassal = { - limit = { - NOT = { has_opinion_modifier = { who = ROOT modifier = opinion_increased_council_power } } - } - opinion = { - who = ROOT - modifier = opinion_increased_council_power - years = 5 - } - } - any_courtier = { - limit = { - NOT = { has_opinion_modifier = { who = ROOT modifier = opinion_increased_council_power } } - } - opinion = { - who = ROOT - modifier = opinion_increased_council_power - years = 5 - } - } - } - } - revoke_law = imprison_voting_power_0 - } - enable_council_voting_on_issue = imprison_character_interaction - } - - vassal_limit = 2 - } - - #Grant Title Voting Power 0 - grant_title_voting_power_0 = { - group = grant_title_voting_power - default = yes - - potential = { - has_dlc = "Zeus" - higher_tier_than = baron - OR = { - has_crown_law_title = no - crownlaw_title = { - OR = { - has_law = crown_authority_0 - has_law = crown_authority_1 - has_law = crown_authority_2 - } - } - has_law = tribal_organization_0 - has_law = tribal_organization_1 - has_law = tribal_organization_2 - } - } - - allow = { - has_law = grant_title_voting_power_1 - } - - revoke_allowed = { - always = no - } - - ai_will_do = { - factor = 1 - } - - ai_will_revoke = { - factor = 0 - } - - effect = { - hidden_tooltip = { - if = { - limit = { - has_law = grant_title_voting_power_1 - holder_scope = { - primary_title = { - title = PREVPREV - } - } - } - holder_scope = { - any_vassal = { - limit = { - NOT = { has_opinion_modifier = { who = ROOT modifier = opinion_decreased_council_power } } - } - opinion = { - who = ROOT - modifier = opinion_decreased_council_power - years = 5 - } - } - any_courtier = { - limit = { - NOT = { has_opinion_modifier = { who = ROOT modifier = opinion_decreased_council_power } } - } - opinion = { - who = ROOT - modifier = opinion_decreased_council_power - years = 5 - } - } - } - } - revoke_law = grant_title_voting_power_1 - } - disable_council_voting_on_issue = grant_landed_title_interaction - } - } - #Grant Title Voting Power 1 - grant_title_voting_power_1 = { - group = grant_title_voting_power - - potential = { - has_dlc = "Zeus" - higher_tier_than = baron - OR = { - has_crown_law_title = no - crownlaw_title = { - OR = { - has_law = crown_authority_0 - has_law = crown_authority_1 - has_law = crown_authority_2 - } - } - has_law = tribal_organization_0 - has_law = tribal_organization_1 - has_law = tribal_organization_2 - } - } - - allow = { - has_law = law_voting_power_1 - has_law = grant_title_voting_power_0 - } - - revoke_allowed = { - always = no - } - - ai_will_do = { - factor = 0 - } - - ai_will_revoke = { - factor = 0 - } - - effect = { - hidden_tooltip = { - if = { - limit = { - has_law = grant_title_voting_power_0 - holder_scope = { - primary_title = { - title = PREVPREV - } - } - } - holder_scope = { - any_vassal = { - limit = { - NOT = { has_opinion_modifier = { who = ROOT modifier = opinion_increased_council_power } } - } - opinion = { - who = ROOT - modifier = opinion_increased_council_power - years = 5 - } - } - any_courtier = { - limit = { - NOT = { has_opinion_modifier = { who = ROOT modifier = opinion_increased_council_power } } - } - opinion = { - who = ROOT - modifier = opinion_increased_council_power - years = 5 - } - } - } - } - revoke_law = grant_title_voting_power_0 - } - enable_council_voting_on_issue = grant_landed_title_interaction - } - - vassal_limit = 2 - } - - #Banish Voting Power 0 - banish_voting_power_0 = { - group = banish_voting_power - default = yes - - potential = { - has_dlc = "Zeus" - higher_tier_than = baron - OR = { - has_crown_law_title = no - crownlaw_title = { - OR = { - has_law = crown_authority_0 - has_law = crown_authority_1 - } - } - has_law = tribal_organization_0 - has_law = tribal_organization_1 - } - } - - allow = { - has_law = banish_voting_power_1 - } - - revoke_allowed = { - always = no - } - - ai_will_do = { - factor = 1 - } - - ai_will_revoke = { - factor = 0 - } - - effect = { - hidden_tooltip = { - if = { - limit = { - has_law = banish_voting_power_1 - holder_scope = { - primary_title = { - title = PREVPREV - } - } - } - holder_scope = { - any_vassal = { - limit = { - NOT = { has_opinion_modifier = { who = ROOT modifier = opinion_decreased_council_power } } - } - opinion = { - who = ROOT - modifier = opinion_decreased_council_power - years = 5 - } - } - any_courtier = { - limit = { - NOT = { has_opinion_modifier = { who = ROOT modifier = opinion_decreased_council_power } } - } - opinion = { - who = ROOT - modifier = opinion_decreased_council_power - years = 5 - } - } - } - } - revoke_law = banish_voting_power_1 - } - disable_council_voting_on_issue = exile_imprisoned_interaction - } - } - #Banish Voting Power 1 - banish_voting_power_1 = { - group = banish_voting_power - - potential = { - has_dlc = "Zeus" - higher_tier_than = baron - OR = { - has_crown_law_title = no - crownlaw_title = { - OR = { - has_law = crown_authority_0 - has_law = crown_authority_1 - } - } - has_law = tribal_organization_0 - has_law = tribal_organization_1 - } - } - - allow = { - has_law = law_voting_power_1 - has_law = banish_voting_power_0 - } - - revoke_allowed = { - always = no - } - - ai_will_do = { - factor = 0 - } - - ai_will_revoke = { - factor = 0 - } - - effect = { - hidden_tooltip = { - if = { - limit = { - has_law = banish_voting_power_0 - holder_scope = { - primary_title = { - title = PREVPREV - } - } - } - holder_scope = { - any_vassal = { - limit = { - NOT = { has_opinion_modifier = { who = ROOT modifier = opinion_increased_council_power } } - } - opinion = { - who = ROOT - modifier = opinion_increased_council_power - years = 5 - } - } - any_courtier = { - limit = { - NOT = { has_opinion_modifier = { who = ROOT modifier = opinion_increased_council_power } } - } - opinion = { - who = ROOT - modifier = opinion_increased_council_power - years = 5 - } - } - } - } - revoke_law = banish_voting_power_0 - } - enable_council_voting_on_issue = exile_imprisoned_interaction - } - - vassal_limit = 2 - } - - #Execution Voting Power 0 - execution_voting_power_0 = { - group = execution_voting_power - default = yes - - potential = { - has_dlc = "Zeus" - higher_tier_than = baron - OR = { - has_crown_law_title = no - crownlaw_title = { - OR = { - has_law = crown_authority_0 - has_law = crown_authority_1 - } - } - has_law = tribal_organization_0 - has_law = tribal_organization_1 - } - } - - allow = { - has_law = execution_voting_power_1 - } - - revoke_allowed = { - always = no - } - - ai_will_do = { - factor = 1 - } - - ai_will_revoke = { - factor = 0 - } - - effect = { - hidden_tooltip = { - if = { - limit = { - has_law = execution_voting_power_1 - holder_scope = { - primary_title = { - title = PREVPREV - } - } - } - holder_scope = { - any_vassal = { - limit = { - NOT = { has_opinion_modifier = { who = ROOT modifier = opinion_decreased_council_power } } - } - opinion = { - who = ROOT - modifier = opinion_decreased_council_power - years = 5 - } - } - any_courtier = { - limit = { - NOT = { has_opinion_modifier = { who = ROOT modifier = opinion_decreased_council_power } } - } - opinion = { - who = ROOT - modifier = opinion_decreased_council_power - years = 5 - } - } - } - } - revoke_law = execution_voting_power_1 - } - disable_council_voting_on_issue = execute_imprisoned_interaction - } - } - #Execution Voting Power 1 - execution_voting_power_1 = { - group = execution_voting_power - - potential = { - has_dlc = "Zeus" - higher_tier_than = baron - OR = { - has_crown_law_title = no - crownlaw_title = { - OR = { - has_law = crown_authority_0 - has_law = crown_authority_1 - } - } - has_law = tribal_organization_0 - has_law = tribal_organization_1 - } - } - - allow = { - has_law = law_voting_power_1 - has_law = execution_voting_power_0 - } - - revoke_allowed = { - always = no - } - - ai_will_do = { - factor = 0 - } - - ai_will_revoke = { - factor = 0 - } - - effect = { - hidden_tooltip = { - if = { - limit = { - has_law = execution_voting_power_0 - holder_scope = { - primary_title = { - title = PREVPREV - } - } - } - holder_scope = { - any_vassal = { - limit = { - NOT = { has_opinion_modifier = { who = ROOT modifier = opinion_increased_council_power } } - } - opinion = { - who = ROOT - modifier = opinion_increased_council_power - years = 5 - } - } - any_courtier = { - limit = { - NOT = { has_opinion_modifier = { who = ROOT modifier = opinion_increased_council_power } } - } - opinion = { - who = ROOT - modifier = opinion_increased_council_power - years = 5 - } - } - } - } - revoke_law = execution_voting_power_0 - } - enable_council_voting_on_issue = execute_imprisoned_interaction - } - - vassal_limit = 2 - } -} \ No newline at end of file