fun flavour events
This commit is contained in:
parent
b7a53b6b8f
commit
9392902675
7 changed files with 894 additions and 0 deletions
|
|
@ -0,0 +1,7 @@
|
|||
NEOW_restoration_jerusalem = {
|
||||
background = {
|
||||
reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_jerusalem.dds"
|
||||
environment = "environment_jerusalem"
|
||||
ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_jerusalem"
|
||||
}
|
||||
}
|
||||
39
common/on_action/NEOW_restoration_flavour_on_actions.txt
Normal file
39
common/on_action/NEOW_restoration_flavour_on_actions.txt
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
# Catches already-owned targets on an existing save, and repeats after expansion.
|
||||
NEOW_restoration_flavour_pulse = {
|
||||
trigger = {
|
||||
is_ai = no
|
||||
is_ruler = yes
|
||||
}
|
||||
events = {
|
||||
NEOW_restoration.9000
|
||||
}
|
||||
}
|
||||
|
||||
# A war transfers titles to the conqueror or to their vassals. Check the player
|
||||
# who received the title, or the top liege of the new holder, after war cleanup.
|
||||
NEOW_restoration_flavour_title_gain_pulse = {
|
||||
effect = {
|
||||
if = {
|
||||
limit = {
|
||||
is_ai = no
|
||||
is_ruler = yes
|
||||
NOT = { has_character_flag = flag_NEOW_restoration_check_queued }
|
||||
}
|
||||
add_character_flag = { flag = flag_NEOW_restoration_check_queued days = 10 }
|
||||
trigger_event = { id = NEOW_restoration.9000 days = 3 }
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
root.top_liege = {
|
||||
is_ai = no
|
||||
is_ruler = yes
|
||||
NOT = { has_character_flag = flag_NEOW_restoration_check_queued }
|
||||
}
|
||||
}
|
||||
root.top_liege = {
|
||||
add_character_flag = { flag = flag_NEOW_restoration_check_queued days = 10 }
|
||||
trigger_event = { id = NEOW_restoration.9000 days = 3 }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -256,6 +256,7 @@ on_title_destroyed = {
|
|||
on_title_gain = {
|
||||
on_actions = {
|
||||
gdp_league_focus_on_title_gain
|
||||
NEOW_restoration_flavour_title_gain_pulse
|
||||
}
|
||||
|
||||
effect = {
|
||||
|
|
|
|||
|
|
@ -2855,6 +2855,7 @@ random_yearly_playable_pulse = {
|
|||
on_actions = {
|
||||
delay = { days = { 45 75 } }
|
||||
on_yearly_common_events
|
||||
NEOW_restoration_flavour_pulse
|
||||
delay = { days = { 50 80 } }
|
||||
on_yearly_invisible_events
|
||||
delay = { days = { 85 165 } }
|
||||
|
|
|
|||
|
|
@ -0,0 +1,27 @@
|
|||
# Territorial and religious conditions shared by the restoration events.
|
||||
# The Nistrenian succession may replace the ruler's original imperial title.
|
||||
neow_restoration_nistrenian_ruler_trigger = {
|
||||
OR = {
|
||||
has_title = title:e_nistrenia
|
||||
has_title = title:h_NEOW_rome
|
||||
has_title = title:e_NEOW_byzantium
|
||||
}
|
||||
}
|
||||
|
||||
neow_restoration_christian_ruler_trigger = {
|
||||
faith = {
|
||||
OR = {
|
||||
religion = religion:eastern_orthodox_religion
|
||||
religion = religion:oriental_orthodox_religion
|
||||
religion = religion:catholic_religion
|
||||
religion = religion:protestant_religion
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
neow_restoration_full_britain_trigger = {
|
||||
completely_controls = title:k_england
|
||||
completely_controls = title:k_northumberland
|
||||
completely_controls = title:k_wales
|
||||
completely_controls = title:k_scotland
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue