Skip to content

Commit

Permalink
Delete remaining flag maintenance from plots
Browse files Browse the repository at this point in the history
  • Loading branch information
Whizzer committed Jan 8, 2022
1 parent 2fa95da commit 2920603
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 64 deletions.
21 changes: 0 additions & 21 deletions CleanSlate/common/objectives/00_plots.txt
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@
# }
#
# clr_character_flag = event7040
# clr_character_flag = plot_gain_title_decision_taken
# }
# }
#
Expand All @@ -160,7 +159,6 @@
# abort_effect = {
# FROM = {
# clr_character_flag = event7040
# clr_character_flag = plot_gain_title_decision_taken
# }
# }
#
Expand Down Expand Up @@ -514,7 +512,6 @@ plot_gain_vassal_title = {
}

clr_character_flag = event7040
clr_character_flag = plot_gain_vassal_title_decision_taken
}
}

Expand Down Expand Up @@ -625,7 +622,6 @@ plot_gain_vassal_title = {
abort_effect = {
FROM = {
clr_character_flag = event7040
clr_character_flag = plot_gain_vassal_title_decision_taken
}
}

Expand Down Expand Up @@ -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
# }
# }
#
Expand All @@ -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
Expand Down Expand Up @@ -2052,8 +2041,6 @@ plot_gain_liege_title = {
years = 5
}
}

clr_character_flag = plot_gain_liege_title_decision_taken
}
}

Expand All @@ -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
Expand Down Expand Up @@ -2311,8 +2295,6 @@ plot_gain_fellow_vassal_title = {
years = 5
}
}

clr_character_flag = plot_gain_fellow_vassal_title_decision_taken
}
}

Expand All @@ -2326,9 +2308,6 @@ plot_gain_fellow_vassal_title = {
}

abort_effect = {
FROM = {
clr_character_flag = plot_gain_fellow_vassal_title_decision_taken
}
}

chance = {
Expand Down
40 changes: 9 additions & 31 deletions CleanSlate/decisions/plot_decisions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand All @@ -37,7 +36,6 @@ plot_decisions = {
# }
# }
#
# set_character_flag = plot_gain_title_decision_taken
# activate_plot = yes
# }
#
Expand All @@ -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 = {
Expand Down Expand Up @@ -88,7 +85,6 @@ plot_decisions = {
}
}

set_character_flag = plot_gain_vassal_title_decision_taken
activate_plot = yes
}

Expand All @@ -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 = {
Expand All @@ -136,7 +131,6 @@ plot_decisions = {
# }
# }
#
# set_character_flag = plot_weaken_fellow_vassal_decision_taken
# activate_plot = yes
# }
#
Expand All @@ -157,19 +151,14 @@ plot_decisions = {
#
# potential = {
# has_plot = plot_weaken_fellow_vassal
# is_adult = yes
# is_plot_active = no
#
# plot_target_char = {
# reverse_opinion = {
# who = liege
# value < 40
# }
# }
#
# NOR = {
# has_character_flag = plot_weaken_fellow_vassal_decision_liege_taken
# has_character_flag = plot_weaken_fellow_vassal_decision_taken
# }
# }
#
# allow = {
Expand All @@ -195,7 +184,6 @@ plot_decisions = {
# }
# }
#
# set_character_flag = plot_weaken_fellow_vassal_decision_liege_taken
# activate_plot = yes
# }
#
Expand All @@ -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 = {
Expand Down Expand Up @@ -258,7 +245,6 @@ plot_decisions = {
}
}

set_character_flag = plot_gain_liege_title_decision_taken
activate_plot = yes
}

Expand All @@ -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 = {
Expand Down Expand Up @@ -319,7 +304,6 @@ plot_decisions = {
}
}

set_character_flag = plot_gain_liege_title_decision_taken
activate_plot = yes
}

Expand All @@ -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 = {
Expand Down Expand Up @@ -372,7 +355,6 @@ plot_decisions = {
}
}

set_character_flag = plot_gain_fellow_vassal_title_decision_taken
activate_plot = yes
}

Expand All @@ -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 = {
Expand Down Expand Up @@ -423,7 +404,6 @@ plot_decisions = {
}
}

set_character_flag = plot_gain_fellow_vassal_title_decision_taken
activate_plot = yes
}

Expand All @@ -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 = {
Expand All @@ -467,7 +446,6 @@ plot_decisions = {
tooltip = EVTTOOLTIPREP.300
}

set_character_flag = plot_seize_trade_post_decision_taken
activate_plot = yes
}

Expand Down
13 changes: 1 addition & 12 deletions CleanSlate/events/republic_trade_events.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -1412,7 +1404,6 @@ letter_event = {

cancel_plot = plot_seize_trade_post
prestige = -50
clr_character_flag = plot_seize_trade_post_decision_taken
}
}

Expand All @@ -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

Expand Down

0 comments on commit 2920603

Please sign in to comment.