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
21 changes: 18 additions & 3 deletions CleanSlate/events/rip_symptom_events.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5042,7 +5042,12 @@ character_event = {

is_landed = yes
in_seclusion = no
NOT = { has_assigned_minor_title = title_court_physician }
NOT = {
any_courtier_or_vassal = {
liege = { character = FROM }
has_minor_title = title_court_physician
}
}
}

any_courtier = {
Expand Down Expand Up @@ -5107,6 +5112,16 @@ character_event = {
save_event_target_as = new_physician
}
}
else = {
random_courtier_or_vassal = {
limit = {
liege = { character = FROM }
has_minor_title = title_court_physician
}

save_event_target_as = court_physician
}
}
}

option = {
Expand All @@ -5117,7 +5132,7 @@ character_event = {
in_seclusion = no
is_tribal = no
is_nomadic = no
NOR = { has_assigned_minor_title = title_court_physician }
event_target:court_physician = { always = no }

trigger_if = {
limit = { has_character_flag = 3_year_physician_cooldown }
Expand Down Expand Up @@ -5150,7 +5165,7 @@ character_event = {
name = EVTOPTA_RIP_5060

trigger = {
has_assigned_minor_title = title_court_physician
event_target:court_physician = { always = yes }
is_landed = yes
FROM = { prisoner = no }
}
Expand Down
15 changes: 13 additions & 2 deletions CleanSlate/events/rip_treatment_events.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1740,11 +1740,22 @@ character_event = {
trigger = {
trigger_if = {
limit = { is_playable = yes }
has_assigned_minor_title = title_court_physician
any_courtier_or_vassal = {
is_adult = yes
has_minor_title = title_court_physician
liege = { character = ROOT }
}
}
trigger_else = {
OR = {
host = { has_assigned_minor_title = title_court_physician }
host = {
any_courtier_or_vassal = {
is_adult = yes
has_minor_title = title_court_physician
liege = { character = ROOT }
}
}

has_minor_title = title_court_physician # So unlanded court physicians can treat themselves
}
}
Expand Down