From 2920603e3dfadc4aa05a7d36c2a690601852dd34 Mon Sep 17 00:00:00 2001 From: Whizzer <809596+Whizzer@users.noreply.github.com> Date: Sat, 8 Jan 2022 20:42:59 +0100 Subject: [PATCH] Delete remaining flag maintenance from plots --- CleanSlate/common/objectives/00_plots.txt | 21 ----------- CleanSlate/decisions/plot_decisions.txt | 40 +++++---------------- CleanSlate/events/republic_trade_events.txt | 13 +------ 3 files changed, 10 insertions(+), 64 deletions(-) diff --git a/CleanSlate/common/objectives/00_plots.txt b/CleanSlate/common/objectives/00_plots.txt index 2e9c2abdb..a0b4ff975 100644 --- a/CleanSlate/common/objectives/00_plots.txt +++ b/CleanSlate/common/objectives/00_plots.txt @@ -135,7 +135,6 @@ # } # # clr_character_flag = event7040 -# clr_character_flag = plot_gain_title_decision_taken # } # } # @@ -160,7 +159,6 @@ # abort_effect = { # FROM = { # clr_character_flag = event7040 -# clr_character_flag = plot_gain_title_decision_taken # } # } # @@ -514,7 +512,6 @@ plot_gain_vassal_title = { } clr_character_flag = event7040 - clr_character_flag = plot_gain_vassal_title_decision_taken } } @@ -625,7 +622,6 @@ plot_gain_vassal_title = { abort_effect = { FROM = { clr_character_flag = event7040 - clr_character_flag = plot_gain_vassal_title_decision_taken } } @@ -1774,9 +1770,6 @@ plot_kill_spouse = { # years = 5 # } # } -# -# clr_character_flag = plot_weaken_fellow_vassal_decision_liege_taken -# clr_character_flag = plot_weaken_fellow_vassal_decision_taken # } # } # @@ -1800,10 +1793,6 @@ plot_kill_spouse = { # # # FROM is plotter # abort_effect = { -# FROM = { -# clr_character_flag = plot_weaken_fellow_vassal_decision_liege_taken -# clr_character_flag = plot_weaken_fellow_vassal_decision_taken -# } # } # # # Title scope @@ -2052,8 +2041,6 @@ plot_gain_liege_title = { years = 5 } } - - clr_character_flag = plot_gain_liege_title_decision_taken } } @@ -2068,9 +2055,6 @@ plot_gain_liege_title = { # FROM is plotter abort_effect = { - FROM = { - clr_character_flag = plot_gain_liege_title_decision_taken - } } # Title scope @@ -2311,8 +2295,6 @@ plot_gain_fellow_vassal_title = { years = 5 } } - - clr_character_flag = plot_gain_fellow_vassal_title_decision_taken } } @@ -2326,9 +2308,6 @@ plot_gain_fellow_vassal_title = { } abort_effect = { - FROM = { - clr_character_flag = plot_gain_fellow_vassal_title_decision_taken - } } chance = { diff --git a/CleanSlate/decisions/plot_decisions.txt b/CleanSlate/decisions/plot_decisions.txt index 625cd2519..384441b49 100644 --- a/CleanSlate/decisions/plot_decisions.txt +++ b/CleanSlate/decisions/plot_decisions.txt @@ -9,8 +9,7 @@ plot_decisions = { # potential = { # always = no # Disabled # has_plot = plot_gain_title -# is_adult = yes -# NOT = { has_character_flag = plot_gain_title_decision_taken } +# is_plot_active = no # } # # allow = { @@ -37,7 +36,6 @@ plot_decisions = { # } # } # -# set_character_flag = plot_gain_title_decision_taken # activate_plot = yes # } # @@ -59,8 +57,7 @@ plot_decisions = { potential = { has_plot = plot_gain_vassal_title - is_adult = yes - NOT = { has_character_flag = plot_gain_vassal_title_decision_taken } + is_plot_active = no } allow = { @@ -88,7 +85,6 @@ plot_decisions = { } } - set_character_flag = plot_gain_vassal_title_decision_taken activate_plot = yes } @@ -109,8 +105,7 @@ plot_decisions = { # # potential = { # has_plot = plot_weaken_fellow_vassal -# is_adult = yes -# NOT = { has_character_flag = plot_weaken_fellow_vassal_decision_taken } +# is_plot_active = no # } # # allow = { @@ -136,7 +131,6 @@ plot_decisions = { # } # } # -# set_character_flag = plot_weaken_fellow_vassal_decision_taken # activate_plot = yes # } # @@ -157,7 +151,7 @@ plot_decisions = { # # potential = { # has_plot = plot_weaken_fellow_vassal -# is_adult = yes +# is_plot_active = no # # plot_target_char = { # reverse_opinion = { @@ -165,11 +159,6 @@ plot_decisions = { # value < 40 # } # } -# -# NOR = { -# has_character_flag = plot_weaken_fellow_vassal_decision_liege_taken -# has_character_flag = plot_weaken_fellow_vassal_decision_taken -# } # } # # allow = { @@ -195,7 +184,6 @@ plot_decisions = { # } # } # -# set_character_flag = plot_weaken_fellow_vassal_decision_liege_taken # activate_plot = yes # } # @@ -215,8 +203,7 @@ plot_decisions = { potential = { has_plot = plot_gain_liege_title - is_adult = yes - NOT = { has_character_flag = plot_gain_liege_title_decision_taken } + is_plot_active = no } allow = { @@ -258,7 +245,6 @@ plot_decisions = { } } - set_character_flag = plot_gain_liege_title_decision_taken activate_plot = yes } @@ -276,8 +262,7 @@ plot_decisions = { potential = { has_plot = plot_gain_liege_title - is_adult = yes - NOT = { has_character_flag = plot_gain_liege_title_decision_taken } + is_plot_active = no } allow = { @@ -319,7 +304,6 @@ plot_decisions = { } } - set_character_flag = plot_gain_liege_title_decision_taken activate_plot = yes } @@ -339,8 +323,7 @@ plot_decisions = { potential = { has_plot = plot_gain_fellow_vassal_title - is_adult = yes - NOT = { has_character_flag = plot_gain_fellow_vassal_title_decision_taken } + is_plot_active = no } allow = { @@ -372,7 +355,6 @@ plot_decisions = { } } - set_character_flag = plot_gain_fellow_vassal_title_decision_taken activate_plot = yes } @@ -390,8 +372,7 @@ plot_decisions = { potential = { has_plot = plot_gain_fellow_vassal_title - is_adult = yes - NOT = { has_character_flag = plot_gain_fellow_vassal_title_decision_taken } + is_plot_active = no } allow = { @@ -423,7 +404,6 @@ plot_decisions = { } } - set_character_flag = plot_gain_fellow_vassal_title_decision_taken activate_plot = yes } @@ -445,8 +425,7 @@ plot_decisions = { potential = { has_plot = plot_seize_trade_post - is_adult = yes - NOT = { has_character_flag = plot_seize_trade_post_decision_taken } + is_plot_active = no } allow = { @@ -467,7 +446,6 @@ plot_decisions = { tooltip = EVTTOOLTIPREP.300 } - set_character_flag = plot_seize_trade_post_decision_taken activate_plot = yes } diff --git a/CleanSlate/events/republic_trade_events.txt b/CleanSlate/events/republic_trade_events.txt index dc46962cf..684536ac9 100644 --- a/CleanSlate/events/republic_trade_events.txt +++ b/CleanSlate/events/republic_trade_events.txt @@ -1003,12 +1003,7 @@ character_event = { option = { name = EVTOPTD_REP_300 - custom_tooltip = { - text = EVTOPTD_REP_300_tooltip - - clr_character_flag = plot_seize_trade_post_decision_taken - } - + custom_tooltip = { text = EVTOPTD_REP_300_tooltip } cancel_plot = plot_seize_trade_post } } @@ -1119,7 +1114,6 @@ character_event = { name = EVTOPTB_REP_303 cancel_plot = plot_seize_trade_post - clr_character_flag = plot_seize_trade_post_decision_taken FROM = { show_scope_change = no @@ -1217,8 +1211,6 @@ character_event = { seize_trade_post = ROOT } - clr_character_flag = plot_seize_trade_post_decision_taken - reverse_opinion = { name = opinion_seized_tp who = FROM @@ -1412,7 +1404,6 @@ letter_event = { cancel_plot = plot_seize_trade_post prestige = -50 - clr_character_flag = plot_seize_trade_post_decision_taken } } @@ -1426,8 +1417,6 @@ letter_event = { option = { name = EVTOPTA_REP_313 - clr_character_flag = plot_seize_trade_post_decision_taken - plot_target_char = { show_scope_change = no