Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CleanSlate/common/event_modifiers/00_event_modifiers.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2534,12 +2534,18 @@ hidden_seduced_gaoler = {
}

seduced_loyal_bodyguard = {
is_visible = {
character = FROM
}
martial = 1
plot_discovery_chance = 0.1
icon = 39
}

seduced_loyal_spy_maid = {
is_visible = {
character = FROM
}
intrigue = 1
plot_discovery_chance = 0.1
icon = 39
Expand Down
8 changes: 4 additions & 4 deletions CleanSlate/common/laws/succession_laws.txt
Original file line number Diff line number Diff line change
Expand Up @@ -529,12 +529,12 @@ succession_laws = {
}
}
}
}

holder_scope = {
show_scope_change = no
holder_scope = {
show_scope_change = no

is_vice_royalty = yes
is_vice_royalty = yes
}
}
}
trigger_else_if = {
Expand Down
9 changes: 8 additions & 1 deletion CleanSlate/decisions/HF_sway_antagonize_decisions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,14 @@ targeted_decisions = {
is_incapable = no
is_inaccessible_trigger = no
is_within_diplo_range = ROOT
NOT = { rightful_religious_head = ROOT }
trigger_if = {
limit = {
ROOT = {
is_theocracy = yes
}
}
NOT = { rightful_religious_head = ROOT }
}
}
}

Expand Down
2 changes: 2 additions & 0 deletions CleanSlate/decisions/jd_decisions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1078,6 +1078,8 @@ decisions = {
min = 50
max = 1000
}

is_inaccessible_or_incapable_trigger = no

custom_tooltip = {
text = not_currently_working_on_a_book_tt
Expand Down
3 changes: 3 additions & 0 deletions CleanSlate/decisions/plot_decisions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,9 @@ plot_decisions = {
potential = {
has_plot = plot_gain_liege_title
is_plot_active = no
NOT = {
is_decision_allowed = plot_gain_liege_title_decision_100
}
}

allow = {
Expand Down
8 changes: 7 additions & 1 deletion CleanSlate/events/HF_antagonize_events.txt
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,7 @@ character_event = {
persistent_event_target:antagonize_target = {
is_alive = yes # HF.21001 is sent on_death
}
is_inaccessible_trigger = no
}

immediate = {
Expand Down Expand Up @@ -567,7 +568,12 @@ character_event = {
#
# character_event = { id = HF.22003 }
# }
else = {
else_if = {
limit = {
persistent_event_target:antagonize_target = {
is_inaccessible_or_incapable_trigger = no
}
}
random_list = {
################## CLEAN UP EVENTS ####################

Expand Down
4 changes: 4 additions & 0 deletions CleanSlate/events/HF_sainthood_events.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2358,6 +2358,10 @@ character_event = {

major_trigger = {
ai = no
OR = {
is_within_diplo_range = FROM
religion = event_target:saint_person
}
}

option = {
Expand Down
8 changes: 7 additions & 1 deletion CleanSlate/events/HF_sway_events.txt
Original file line number Diff line number Diff line change
Expand Up @@ -569,6 +569,7 @@ character_event = {
persistent_event_target:sway_target = {
is_alive = yes
}
is_inaccessible_trigger = no
}

immediate = {
Expand Down Expand Up @@ -656,7 +657,12 @@ character_event = {
limit = { war_with = persistent_event_target:sway_target }
character_event = { id = HF.21140 } # War friends event
}
else = {
else_if = {
limit = {
persistent_event_target:antagonize_target = {
is_inaccessible_or_incapable_trigger = no
}
}
random_list = {
100 = { # You're in Seclusion at the same time, at the same location...
trigger = {
Expand Down
5 changes: 3 additions & 2 deletions CleanSlate/events/LT_court_maintenance_events.txt
Original file line number Diff line number Diff line change
Expand Up @@ -496,18 +496,19 @@ character_event = {
any_courtier = {
is_adult = yes
is_landed = no
prisoner = no
has_nickname = no
is_inaccessible_or_incapable_trigger = no
}
is_inaccessible_or_incapable_trigger = no
}

immediate = {
any_courtier = {
limit = {
is_adult = yes
is_landed = no
prisoner = no
has_nickname = no
is_inaccessible_or_incapable_trigger = no
}

score_value = {
Expand Down
30 changes: 12 additions & 18 deletions CleanSlate/events/base_birth_events.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2929,32 +2929,26 @@ character_event = {

if = {
limit = { is_alive = yes }

custom_tooltip = { text = EVTTOOLTIP413 }

if = {
limit = {
NOT = { trait = trusting }
}

random = {
chance = 1
random_list = {
1 = {
mult_modifier = {
factor = 50
trait = paranoid
}

mult_modifier = {
factor = 50
trait = paranoid
character_event = { id = 404 }
}
99 = {
character_event = { id = 413 }
}

character_event = { id = 404 }
}
}

if = {
limit = { is_lover = ROOT }
custom_tooltip = { text = EVTTOOLTIP413 }
}
else = {
character_event = {
id = 413
tooltip = EVTTOOLTIP413
}
}
}
Expand Down
6 changes: 4 additions & 2 deletions CleanSlate/events/base_female_councillor_events.txt
Original file line number Diff line number Diff line change
Expand Up @@ -822,6 +822,7 @@ character_event = {
is_adult = yes
is_councillor = no
ai = yes
is_inaccessible_or_incapable_trigger = no

OR = {
# Diplomacy woman who can't be councillor
Expand Down Expand Up @@ -873,6 +874,7 @@ character_event = {
is_adult = yes
is_councillor = no
ai = yes
is_inaccessible_or_incapable_trigger = no

OR = {
# Diplomacy woman who can't be councillor
Expand Down Expand Up @@ -1301,7 +1303,7 @@ character_event = {
is_adult = yes
is_landed = yes
is_councillor = no
prisoner = no
is_inaccessible_or_incapable_trigger = no

OR = {
# Diplomacy woman who can't be councillor
Expand Down Expand Up @@ -1396,7 +1398,7 @@ character_event = {
is_adult = yes
is_landed = yes
is_councillor = no
prisoner = no
is_inaccessible_or_incapable_trigger = no

OR = {
# Diplomacy woman who can't be councillor
Expand Down
1 change: 1 addition & 0 deletions CleanSlate/events/base_married_life_events.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2475,6 +2475,7 @@ character_event = {
in_command = no

trigger = {
is_inaccessible_trigger = no
wealth >= 50
NOT = { has_plot = plot_kill_spouse }

Expand Down
2 changes: 2 additions & 0 deletions CleanSlate/events/base_vassal_request_events.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1655,6 +1655,8 @@ letter_event = {

option = {
name = EXCELLENT

set_character_flag = gain_any_title_ambition_success

tooltip = {
gain_title = event_target:vassal_wanted_title
Expand Down
3 changes: 3 additions & 0 deletions CleanSlate/events/mnm_devil_worshipers_events.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1048,6 +1048,8 @@ character_event = {
hidden_effect = {
random_society_member = {
limit = {
is_devil_worshiper_trigger = yes

trigger_if = {
limit = { society_member_of = the_satanists }
ROOT = { has_character_flag = being_recruited_by_the_satanists }
Expand Down Expand Up @@ -11162,6 +11164,7 @@ character_event = {
has_character_flag = was_ratted_out_by_fellow_member
has_character_flag = has_it_coming
}
is_inaccessible_or_incapable_trigger = no
}

weight_multiplier = {
Expand Down
1 change: 1 addition & 0 deletions CleanSlate/events/mnm_misc_events.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1880,6 +1880,7 @@ character_event = {
is_triggered_only = yes # on_character_switch_society_interest, on_character_ask_to_join_society

trigger = {
is_interested_in_any_society = yes
FROM = {
society_has_members = no
}
Expand Down
35 changes: 28 additions & 7 deletions CleanSlate/events/rip_flavor_events.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4038,7 +4038,11 @@ character_event = {
option = {
save_event_target_as = rip_dead

spouse = { save_event_target_as = rip_widow }
random_spouse = {
limit = {
is_inaccessible_or_incapable_trigger = no
}
save_event_target_as = rip_widow

random_child = {
limit = {
Expand Down Expand Up @@ -4137,6 +4141,11 @@ character_event = {
limit = {
is_inaccessible_or_incapable_trigger = no
NOT = { has_character_modifier = grief_timer }
top_liege = {
any_realm_character = {
character = ROOT
}
}
}

save_event_target_as = rip_enemy_1
Expand Down Expand Up @@ -4221,7 +4230,11 @@ character_event = {
border = GFX_event_normal_frame_diplomacy

is_triggered_only = yes


trigger = {
is_inaccessible_or_incapable_trigger = no
}

immediate = {
add_character_modifier = {
name = grief_timer
Expand Down Expand Up @@ -4488,7 +4501,11 @@ character_event = {
border = GFX_event_normal_frame_diplomacy

is_triggered_only = yes


trigger = {
is_inaccessible_or_incapable_trigger = no
}

immediate = {
add_character_modifier = {
name = grief_timer
Expand Down Expand Up @@ -4812,7 +4829,10 @@ character_event = {
border = GFX_event_normal_frame_war

is_triggered_only = yes


trigger = {
is_inaccessible_or_incapable_trigger = no
}
immediate = {
add_character_modifier = {
name = grief_timer
Expand Down Expand Up @@ -4845,8 +4865,8 @@ character_event = {
40 = {
trigger = {
OR = {
event_target:rip_widow = { always = yes }
event_target:rip_child = { always = yes }
event_target:rip_widow = { is_inaccessible_or_incapable_trigger = no }
event_target:rip_child = { is_inaccessible_or_incapable_trigger = no }
}

trigger_if = {
Expand Down Expand Up @@ -5416,7 +5436,8 @@ character_event = {
event_target:rip_heir = {
root_attraction_trigger = yes
is_adult = yes

attracted_to_root_trigger = yes

trigger_if = {
limit = { is_close_relative = ROOT }

Expand Down
12 changes: 9 additions & 3 deletions CleanSlate/events/rip_physician_events.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1612,7 +1612,7 @@ character_event = {
health = 6
add_trait = scholarly_theologian
add_trait = mystic
add_trait = pilgrim
#add_trait = pilgrim
add_trait = humble
flag = physician_well_traveled_pilgrim

Expand Down Expand Up @@ -1652,17 +1652,23 @@ character_event = {
if = {
limit = { religion_group = christian }
add_trait = monk
add_trait = pilgrim
}
else_if = {
limit = { religion_group = muslim }
limit = {
religion_group = muslim
NOT = {
religion = qarmatian
}
}

remove_trait = pilgrim
add_trait = hajjaj
}
else_if = {
limit = { has_dharmic_religion_trigger = yes }

add_trait = brahmin
add_trait = indian_pilgrim
character_event = { id = RoI.30121 }
}

Expand Down
Loading