Professional Documents
Culture Documents
namespace = prison_notification
}
right_portrait = {
character = scope:imprisoner
}
trigger = {
NOT = {
has_character_flag = was_abducted_block_notification_event
}
}
on_trigger_fail = {
if = {
limit = {
has_character_flag = was_abducted_block_notification_event
}
remove_character_flag = was_abducted_block_notification_event
}
}
immediate = {
play_music_cue = "mx_cue_prison"
save_scope_as = prisoner
option = {
name = prison_notification.0001.a
}
}
}
right_portrait = {
character = scope:imprisoner
}
trigger = {
NOT = { scope:imprisoner = root }
NOT = { scope:prisoner = { has_character_flag =
block_imprisonment_event } }
}
immediate = {
show_as_tooltip = {
scope:imprisoner = {
imprison = {
target = scope:prisoner
type = dungeon
}
}
}
}
option = {
name = prison_notification.0002.a
}
}
immediate = {
send_interface_message = {
type = event_prison_neutral
title = prison_notification.0003.message
left_icon = scope:prisoner
right_icon = scope:imprisoner
show_as_tooltip = {
scope:imprisoner = {
imprison = {
target = scope:prisoner
type = dungeon
}
}
}
}
}
}
}
right_portrait = {
character = scope:imprisoner
animation = schadenfreude
}
option = {
name = prison_notification.1001.a
custom_tooltip = prison_notification.1001.a.tt
}
}
option = {
name = prison_notification.1002.a
custom_tooltip = prison_notification.1002.a.tt
}
}
immediate = {
save_scope_as = prisoner
option = {
name = prison_notification.2001.a
}
}
trigger = {
NOT = { scope:imprisoner = root }
NOT = { scope:prisoner = { has_character_flag =
block_release_from_prison_event } }
scope:prisoner = {
is_alive = yes
}
}
immediate = {
show_as_tooltip = {
scope:prisoner = {
release_from_prison = yes
}
}
}
option = {
name = prison_notification.2002.a
}
}
trigger = {
NOT = { scope:imprisoner = root }
NOT = { scope:prisoner = { has_character_flag =
block_release_from_prison_event } }
scope:prisoner = {
is_alive = yes
}
}
immediate = {
send_interface_message = {
type = event_prison_neutral
title = prison_notification.2003.message
left_icon = scope:prisoner
right_icon = scope:imprisoner
show_as_tooltip = {
scope:prisoner = {
release_from_prison = yes
}
}
}
}
}