Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pre-trigger optimisation part two #177

Merged
merged 7 commits into from
Aug 28, 2018
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
14 changes: 6 additions & 8 deletions AncientReligions/events/ACR_hellenic_revival_events.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,11 @@ character_event = {
min_age = 16
capable_only = yes
prisoner = no
has_dlc = "The Old Gods"

is_triggered_only = yes

trigger = {
has_dlc = "The Old Gods"

any_realm_province = {
title = c_byzantion
}
Expand Down Expand Up @@ -1100,9 +1099,10 @@ character_event = {
hide_window = yes

is_triggered_only = yes

religion = catholic

trigger = {
religion = catholic
controls_religion = yes # papas catholicos
489 = {
religion = hellenic_pagan
Expand Down Expand Up @@ -1260,10 +1260,9 @@ character_event = {
capable_only = yes
prisoner = no
only_men = yes
has_dlc = "The Old Gods"

trigger = {
has_dlc = "The Old Gods"

learning = 6
is_landed = no
NOT = {
Expand Down Expand Up @@ -1844,11 +1843,10 @@ character_event = {
only_rulers = yes
only_independent = yes
prisoner = no
has_dlc = "The Old Gods"
war = no

trigger = {
has_dlc = "The Old Gods"
war = no

completely_controls = c_monemvasia

NOT = { religion_group = pagan_group }
Expand Down
7 changes: 3 additions & 4 deletions AncientReligions/events/ACR_hellenic_vestales_events.txt
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,10 @@ character_event = {
mean_time_to_happen = {
days = 1
}

has_character_flag = flag_vestalis

trigger = {
has_character_flag = flag_vestalis
NOT = { has_minor_title = title_vestalis }
NOT = { has_minor_title = title_vestalis_maxima }
}
Expand All @@ -113,9 +114,7 @@ character_event = {

is_triggered_only = yes

trigger = {
has_character_flag = flag_vestalis
}
has_character_flag = flag_vestalis

immediate = {
clr_character_flag = flag_vestalis
Expand Down
13 changes: 5 additions & 8 deletions AncientReligions/events/ACR_holy_orders.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ character_event = {
max_age = 45
only_capable = yes
prisoner = no
has_dlc = "Sons of Abraham"

trigger = {
is_ruler = no
Expand All @@ -37,8 +38,6 @@ character_event = {
holy_order = no
}

has_dlc = "Sons of Abraham"

any_mercenary_band = {
is_title_active = THIS
holy_order = yes
Expand Down Expand Up @@ -240,10 +239,9 @@ character_event = {
hide_window = yes

only_playable = yes
has_dlc = "Sons of Abraham"

trigger = {
has_dlc = "Sons of Abraham"

is_potential_land_doner_trigger = yes
}

Expand Down Expand Up @@ -459,6 +457,8 @@ character_event = {

min_age = 16
only_playable = yes
has_dlc = "Sons of Abraham"
prisoner = no

trigger = {
any_mercenary_band = {
Expand All @@ -478,7 +478,6 @@ character_event = {
}
is_adult = yes
is_ruler = no
prisoner = no
NOT = { trait = incapable }
ROOT = {
NOT = {
Expand All @@ -488,8 +487,6 @@ character_event = {
}
}
}

has_dlc = "Sons of Abraham"
}

mean_time_to_happen = {
Expand Down Expand Up @@ -694,6 +691,7 @@ character_event = {

min_age = 16
only_playable = yes
has_dlc = "Sons of Abraham"

trigger = {
any_mercenary_band = {
Expand All @@ -716,7 +714,6 @@ character_event = {
}

any_demesne_province = { has_empty_holding = yes }
has_dlc = "Sons of Abraham"
}

mean_time_to_happen = {
Expand Down
Loading