scripted_triggers updated files
This commit is contained in:
parent
37045a17ee
commit
072e45c086
36 changed files with 4934 additions and 1754 deletions
|
|
@ -16,7 +16,7 @@
|
|||
#hungarian_migration_valid_pannonian_target_trigger = {
|
||||
# NOR = {
|
||||
# culture = culture:mogyer
|
||||
# any_liege_or_above = {sre = culture:mogyer }
|
||||
# any_liege_or_above = { culture = culture:mogyer }
|
||||
# }
|
||||
# is_ai = yes
|
||||
# any_realm_county = {
|
||||
|
|
@ -53,22 +53,21 @@ exclave_independence_trigger = {
|
|||
# Sometimes we disable these events for specific characters.
|
||||
harm_game_rule_enablement_trigger = {
|
||||
# Disable entirely if harm_safe.
|
||||
trigger_if = {
|
||||
limit = { has_game_rule = harm_safe }
|
||||
always = no
|
||||
switch = {
|
||||
trigger = has_game_rule
|
||||
harm_safe = {
|
||||
always = no
|
||||
}
|
||||
harm_target_player_only = {
|
||||
is_ai = no
|
||||
}
|
||||
harm_target_ai_only = {
|
||||
is_ai = yes
|
||||
}
|
||||
fallback = {
|
||||
always = yes
|
||||
}
|
||||
}
|
||||
# harm_target_player_only
|
||||
trigger_else_if = {
|
||||
limit = { has_game_rule = harm_target_player_only }
|
||||
is_ai = no
|
||||
}
|
||||
# harm_target_ai_only
|
||||
trigger_else_if = {
|
||||
limit = { has_game_rule = harm_target_ai_only }
|
||||
is_ai = yes
|
||||
}
|
||||
# harm_target_all
|
||||
trigger_else = { always = yes }
|
||||
# Never just kill the player if it'd utterly game-over them.
|
||||
trigger_if = {
|
||||
limit = { is_ai = no }
|
||||
|
|
@ -118,132 +117,30 @@ rule_title_creation_imperial_power_projection_title_creation_targeting_trigger =
|
|||
rule_title_creation_imperial_power_projection_title_creation_trigger = {
|
||||
trigger_if = {
|
||||
limit = {
|
||||
has_game_rule = title_creation_imperial_power_projection_any_power_advantage
|
||||
rule_title_creation_imperial_power_projection_title_creation_targeting_trigger = yes
|
||||
highest_held_title_tier <= tier_kingdom
|
||||
empire_faith_gate_enabled_trigger = yes
|
||||
}
|
||||
custom_tooltip = {
|
||||
text = rule_title_creation_imperial_power_projection_title_creation_trigger.tt.any_power_advantage
|
||||
any_neighboring_top_liege_realm_owner = {
|
||||
count = all
|
||||
trigger_if = {
|
||||
limit = { highest_held_title_tier >= tier_empire }
|
||||
save_temporary_scope_as = char_temp
|
||||
OR = {
|
||||
any_close_family_member = { is_spouse_of = root }
|
||||
root = { has_strong_hook = scope:char_temp }
|
||||
root.current_military_strength >= scope:char_temp.fifty_percent_more_of_current_military_strength
|
||||
}
|
||||
}
|
||||
trigger_else = { always = yes }
|
||||
}
|
||||
can_create_empire_faith_gate_trigger = yes
|
||||
empire_creation_hof_requirements_trigger = yes
|
||||
trigger_if = {
|
||||
limit = { is_ai = yes }
|
||||
ai_only_check_stronger_same_faith_empire_exists_trigger = no
|
||||
}
|
||||
}
|
||||
trigger_else_if = {
|
||||
|
||||
trigger_if = {
|
||||
limit = {
|
||||
has_game_rule = title_creation_imperial_power_projection_hard_power_only
|
||||
rule_title_creation_imperial_power_projection_title_creation_targeting_trigger = yes
|
||||
highest_held_title_tier <= tier_kingdom
|
||||
}
|
||||
custom_tooltip = {
|
||||
text = rule_title_creation_imperial_power_projection_title_creation_trigger.tt.hard_power_only
|
||||
any_neighboring_top_liege_realm_owner = {
|
||||
count = all
|
||||
trigger_if = {
|
||||
limit = { highest_held_title_tier >= tier_empire }
|
||||
save_temporary_scope_as = char_temp
|
||||
root.current_military_strength >= scope:char_temp.fifty_percent_more_of_current_military_strength
|
||||
}
|
||||
trigger_else = { always = yes }
|
||||
}
|
||||
}
|
||||
}
|
||||
trigger_else_if = {
|
||||
limit = {
|
||||
has_game_rule = title_creation_imperial_power_projection_soft_power_only
|
||||
rule_title_creation_imperial_power_projection_title_creation_targeting_trigger = yes
|
||||
highest_held_title_tier <= tier_kingdom
|
||||
}
|
||||
custom_tooltip = {
|
||||
text = rule_title_creation_imperial_power_projection_title_creation_trigger.tt.soft_power_only
|
||||
any_neighboring_top_liege_realm_owner = {
|
||||
count = all
|
||||
trigger_if = {
|
||||
limit = { highest_held_title_tier >= tier_empire }
|
||||
save_temporary_scope_as = char_temp
|
||||
OR = {
|
||||
any_close_family_member = { is_spouse_of = root }
|
||||
root = { has_strong_hook = scope:char_temp }
|
||||
}
|
||||
}
|
||||
trigger_else = { always = yes }
|
||||
}
|
||||
}
|
||||
}
|
||||
trigger_else_if = {
|
||||
limit = {
|
||||
has_game_rule = title_creation_imperial_power_projection_hard_power_only_strict
|
||||
rule_title_creation_imperial_power_projection_title_creation_targeting_trigger = yes
|
||||
highest_held_title_tier <= tier_kingdom
|
||||
}
|
||||
custom_tooltip = {
|
||||
text = rule_title_creation_imperial_power_projection_title_creation_trigger.tt.hard_power_only_strict.neighbours
|
||||
any_neighboring_top_liege_realm_owner = {
|
||||
count = all
|
||||
trigger_if = {
|
||||
limit = { highest_held_title_tier >= tier_empire }
|
||||
save_temporary_scope_as = char_temp
|
||||
root.current_military_strength >= scope:char_temp.fifty_percent_more_of_current_military_strength
|
||||
}
|
||||
trigger_else = { always = yes }
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
text = rule_title_creation_imperial_power_projection_title_creation_trigger.tt.hard_power_only_strict.de_jure_sharers
|
||||
any_sub_realm_county = {
|
||||
count = all
|
||||
empire = {
|
||||
OR = {
|
||||
is_title_created = no
|
||||
holder = {
|
||||
save_temporary_scope_as = char_temp
|
||||
root.current_military_strength >= scope:char_temp.fifty_percent_more_of_current_military_strength
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
trigger_else_if = {
|
||||
limit = {
|
||||
has_game_rule = title_creation_imperial_power_projection_any_power_strict
|
||||
rule_title_creation_imperial_power_projection_title_creation_targeting_trigger = yes
|
||||
highest_held_title_tier <= tier_kingdom
|
||||
}
|
||||
custom_tooltip = {
|
||||
text = rule_title_creation_imperial_power_projection_title_creation_trigger.tt.any_power_strict.neighbours
|
||||
any_neighboring_top_liege_realm_owner = {
|
||||
count = all
|
||||
trigger_if = {
|
||||
limit = { highest_held_title_tier >= tier_empire }
|
||||
save_temporary_scope_as = char_temp
|
||||
OR = {
|
||||
any_close_family_member = { is_spouse_of = root }
|
||||
root = { has_strong_hook = scope:char_temp }
|
||||
root.current_military_strength >= scope:char_temp.fifty_percent_more_of_current_military_strength
|
||||
}
|
||||
}
|
||||
trigger_else = { always = yes }
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
text = rule_title_creation_imperial_power_projection_title_creation_trigger.tt.any_power_strict.de_jure_sharers
|
||||
any_sub_realm_county = {
|
||||
count = all
|
||||
empire = {
|
||||
OR = {
|
||||
is_title_created = no
|
||||
holder = {
|
||||
switch = {
|
||||
trigger = has_game_rule
|
||||
title_creation_imperial_power_projection_any_power_advantage = {
|
||||
custom_tooltip = {
|
||||
text = rule_title_creation_imperial_power_projection_title_creation_trigger.tt.any_power_advantage
|
||||
any_neighboring_top_liege_realm_owner = {
|
||||
count = all
|
||||
trigger_if = {
|
||||
limit = { highest_held_title_tier >= tier_empire }
|
||||
save_temporary_scope_as = char_temp
|
||||
OR = {
|
||||
any_close_family_member = { is_spouse_of = root }
|
||||
|
|
@ -254,9 +151,103 @@ rule_title_creation_imperial_power_projection_title_creation_trigger = {
|
|||
}
|
||||
}
|
||||
}
|
||||
title_creation_imperial_power_projection_hard_power_only = {
|
||||
custom_tooltip = {
|
||||
text = rule_title_creation_imperial_power_projection_title_creation_trigger.tt.hard_power_only
|
||||
any_neighboring_top_liege_realm_owner = {
|
||||
count = all
|
||||
trigger_if = {
|
||||
limit = { highest_held_title_tier >= tier_empire }
|
||||
save_temporary_scope_as = char_temp
|
||||
root.current_military_strength >= scope:char_temp.fifty_percent_more_of_current_military_strength
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
title_creation_imperial_power_projection_soft_power_only = {
|
||||
custom_tooltip = {
|
||||
text = rule_title_creation_imperial_power_projection_title_creation_trigger.tt.soft_power_only
|
||||
any_neighboring_top_liege_realm_owner = {
|
||||
count = all
|
||||
trigger_if = {
|
||||
limit = { highest_held_title_tier >= tier_empire }
|
||||
save_temporary_scope_as = char_temp
|
||||
OR = {
|
||||
any_close_family_member = { is_spouse_of = root }
|
||||
root = { has_strong_hook = scope:char_temp }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
title_creation_imperial_power_projection_hard_power_only_strict = {
|
||||
custom_tooltip = {
|
||||
text = rule_title_creation_imperial_power_projection_title_creation_trigger.tt.hard_power_only_strict.neighbours
|
||||
any_neighboring_top_liege_realm_owner = {
|
||||
count = all
|
||||
trigger_if = {
|
||||
limit = { highest_held_title_tier >= tier_empire }
|
||||
save_temporary_scope_as = char_temp
|
||||
root.current_military_strength >= scope:char_temp.fifty_percent_more_of_current_military_strength
|
||||
}
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
text = rule_title_creation_imperial_power_projection_title_creation_trigger.tt.hard_power_only_strict.de_jure_sharers
|
||||
any_sub_realm_county = {
|
||||
count = all
|
||||
empire = {
|
||||
OR = {
|
||||
is_title_created = no
|
||||
holder = {
|
||||
save_temporary_scope_as = char_temp
|
||||
root.current_military_strength >= scope:char_temp.fifty_percent_more_of_current_military_strength
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
title_creation_imperial_power_projection_any_power_strict = {
|
||||
custom_tooltip = {
|
||||
text = rule_title_creation_imperial_power_projection_title_creation_trigger.tt.any_power_strict.neighbours
|
||||
any_neighboring_top_liege_realm_owner = {
|
||||
count = all
|
||||
trigger_if = {
|
||||
limit = { highest_held_title_tier >= tier_empire }
|
||||
save_temporary_scope_as = char_temp
|
||||
OR = {
|
||||
any_close_family_member = { is_spouse_of = root }
|
||||
root = { has_strong_hook = scope:char_temp }
|
||||
root.current_military_strength >= scope:char_temp.fifty_percent_more_of_current_military_strength
|
||||
}
|
||||
}
|
||||
trigger_else = { always = yes }
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
text = rule_title_creation_imperial_power_projection_title_creation_trigger.tt.any_power_strict.de_jure_sharers
|
||||
any_sub_realm_county = {
|
||||
count = all
|
||||
empire = {
|
||||
OR = {
|
||||
is_title_created = no
|
||||
holder = {
|
||||
save_temporary_scope_as = char_temp
|
||||
OR = {
|
||||
any_close_family_member = { is_spouse_of = root }
|
||||
root = { has_strong_hook = scope:char_temp }
|
||||
root.current_military_strength >= scope:char_temp.fifty_percent_more_of_current_military_strength
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
fallback = { always = yes }
|
||||
}
|
||||
}
|
||||
trigger_else = { always = yes }
|
||||
}
|
||||
|
||||
game_rule_rig_norman_conquest_for_hereward_trigger = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue