I tried creating an event that would show a warning when my vassals loyalty drops below 20%, however it causes the game to crash.
I also put these lines into the extra_text.csv:
Apologies for a stupid question, but why doesn't it work?
Code:
###########################
# Vassal is very disloyal #
###########################
character_event = {
id = 80000
picture = "event_default"
trigger = {
condition = {
type = is_vassal
}
condition = {
type = not
value = {
type = loyalty
value = 0.20
}
}
condition = {
type = liege
condition = {
type = not { type = ai }
}
}
}
mean_time_to_happen = {
days = 1
}
action_a = {}
}
I also put these lines into the extra_text.csv:
Code:
EVT_80000_NAME;Vassal is very disloyal;;;;;;;;;;;X
ACTIONNAME80000A;Damn!;;;;;;;;;;;X
Apologies for a stupid question, but why doesn't it work?