From 032b4da8a6b4fface299d1bef13a2af834e6458e Mon Sep 17 00:00:00 2001 From: Edmund <447ght@gmail.com> Date: Tue, 24 Sep 2024 19:30:55 -0400 Subject: [PATCH] reversed incorrect change to vanilla files --- common/scripted_triggers/00_scripted_triggers.txt | 12 ++++++++++++ common/scripted_triggers/wc_vanilla_triggers.txt | 12 ------------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/common/scripted_triggers/00_scripted_triggers.txt b/common/scripted_triggers/00_scripted_triggers.txt index a49ba1b8df..8fb21955d4 100644 --- a/common/scripted_triggers/00_scripted_triggers.txt +++ b/common/scripted_triggers/00_scripted_triggers.txt @@ -214,6 +214,18 @@ is_dangerous_faction_trigger = { } } +is_player_heir_of_trigger = { + $CHARACTER$ = { save_temporary_scope_as = potential_heir_haver } + custom_description = { + text = "is_player_heir_of_trigger_text" + subject = this + object = scope:potential_heir_haver + + exists = $CHARACTER$.player_heir + this = $CHARACTER$.player_heir + } +} + basic_allowed_to_imprison_character_trigger = { #Only to be used in is_shown for imprison interaction and similar save_temporary_scope_as = allowed_imprisoner $CHARACTER$ = { diff --git a/common/scripted_triggers/wc_vanilla_triggers.txt b/common/scripted_triggers/wc_vanilla_triggers.txt index b0a0012d78..1564a024d0 100644 --- a/common/scripted_triggers/wc_vanilla_triggers.txt +++ b/common/scripted_triggers/wc_vanilla_triggers.txt @@ -105,16 +105,4 @@ tier_or_family_member_tier_greater_or_equal_trigger = { highest_held_title_tier >= $TIER$ } } -} - -is_player_heir_of_trigger = { - $CHARACTER$ = { save_temporary_scope_as = potential_heir_haver } - custom_description = { - text = "is_player_heir_of_trigger_text" - subject = this - object = scope:potential_heir_haver - - exists = $CHARACTER$.player_heir - this = $CHARACTER$.player_heir - } } \ No newline at end of file