I was wondering why this event kills the player instead of the random courtier?
Also I was wondering if there was a way I could make an event trigger on inheriting or gaining an artifact? and is there a way I can get a certain % outcome like 15% chance courtier is killed 85% courtier survives and modifier 'attempted murderer' is added. Thanks for reading this an advice you may have for me would be great!
EDIT: Also is there any way to have multple events selected for the,
character_event { id = 999996 days = 40 random = 80 }
Part of the event and have an event randomly selected from the pile?
Code:
character_event = {
id = 999997
picture = GFX_evt_dead_body_hf
desc = AYL_text_3
border = GFX_event_normal_frame_war
is_triggered_only = yes
immediate = {
hidden_effect = {
random_courtier = {
limit = {
age = 12
host = { character = ROOT }
}
save_event_target_as = human_sacrifice_courtier
}
}
}
option = {
name = AYL_name_4
human_sacrifice_courtier = { death = { death_reason = death_murder_unknown killer = ROOT } }
character_event { id = 999995 days = 2 }
}
option = {
name = AYL_name_5
add_trait = withdrawal
remove_trait = juiced
piety = 25
character_event { id = 999996 days = 40 random = 80 }
}
}
Also I was wondering if there was a way I could make an event trigger on inheriting or gaining an artifact? and is there a way I can get a certain % outcome like 15% chance courtier is killed 85% courtier survives and modifier 'attempted murderer' is added. Thanks for reading this an advice you may have for me would be great!
EDIT: Also is there any way to have multple events selected for the,
character_event { id = 999996 days = 40 random = 80 }
Part of the event and have an event randomly selected from the pile?
Last edited: