revert Alignment
This commit is contained in:
Vannifar 2026-04-25 10:02:11 +02:00
parent 15a5108e23
commit c4b6d9bdeb
250 changed files with 11067 additions and 16365 deletions

View file

@ -168,18 +168,21 @@ purchase_land_interaction = {
}
is_valid_showing_failures_only = {
scope:actor = { top_liege = this }
scope:actor = {
top_liege = this
prestige_level >= 2
NOR = {
}
scope:actor = {
NOT = {
has_trait = gallowsbait
}
}
scope:actor = {
NOT = {
has_trait = gallivanter
}
}
scope:recipient = {
is_at_war = no
NOT = { has_strong_hook = scope:actor }
}
scope:recipient = { is_at_war = no }
trigger_if = { # Can't purchase Baronies
limit = {
scope:target ?= { tier = tier_barony }
@ -237,6 +240,9 @@ purchase_land_interaction = {
always = no
}
}
scope:recipient = {
NOT = { has_strong_hook = scope:actor }
}
#Has to be used instead of diplo range checks in laamp to landed interactions
ep3_laamp_diplo_range_trigger = {
TARGET = scope:recipient
@ -314,7 +320,9 @@ purchase_land_interaction = {
multiply = 0.5
}
if = {
limit = { scope:offer_gold = yes }
limit = {
scope:offer_gold = yes
}
multiply = 2
}
}
@ -338,9 +346,7 @@ purchase_land_interaction = {
}
}
}
show_as_tooltip = {
scope:actor = { purchase_land_interaction_effect = yes }
}
show_as_tooltip = { purchase_land_interaction_shortened_effect = yes }
if = {
limit = { always = scope:hook }
scope:actor = { use_hook = scope:recipient }
@ -2004,7 +2010,10 @@ negotiate_settlement_interaction = {
any_claim = {
OR = {
holder ?= {
target_is_same_character_or_above = scope:actor
OR = {
this = scope:actor
target_is_liege_or_above = scope:actor
}
}
target_is_de_jure_liege_or_above = scope:actor.primary_title
}
@ -4792,11 +4801,6 @@ hire_laamp_mercenaries_interaction = {
is_ai = yes
}
scope:recipient.current_military_strength >= 100
scope:recipient = {
NOT = {
has_character_flag = ai_hire_blocker
}
}
}
}
}
@ -4918,20 +4922,9 @@ hire_laamp_mercenaries_interaction = {
}
}
scope:actor = {
if = {
limit = {
has_treasury = no
}
pay_short_term_gold = {
target = scope:recipient
gold = ep3_hire_laamp_mercs_cost_value
}
}
else = {
pay_short_term_treasury = {
target = scope:recipient
treasury = ep3_hire_laamp_mercs_cost_value
}
pay_short_term_gold = {
target = scope:recipient
gold = ep3_hire_laamp_mercs_cost_value
}
add_to_variable_list = {
name = hired_mercenaries
@ -4952,10 +4945,7 @@ hire_laamp_mercenaries_interaction = {
}
}
scope:recipient = {
set_variable = {
name = joined_as_mercenary
value = scope:actor
}
add_character_flag = joined_as_mercenary
}
add_clan_unity_interaction_effect = {
CHARACTER = scope:actor
@ -5675,7 +5665,10 @@ evict_adventurer_interaction = {
scope:recipient = {
# Adventurer must be in the subrealm
domicile.domicile_location.county.holder ?= {
target_is_same_character_or_above = scope:actor
OR = {
this = scope:actor
any_liege_or_above = { this ?= scope:actor }
}
}
}
# AI should not against hired adventurers
@ -5716,7 +5709,10 @@ evict_adventurer_interaction = {
every_character_task_contract = {
limit = {
task_contract_location.county.holder = {
target_is_same_character_or_above = scope:actor
OR = {
this = scope:actor
any_liege_or_above = { this = scope:actor }
}
}
}
invalidate_contract = yes
@ -5737,14 +5733,14 @@ evict_adventurer_interaction = {
modifier = demanded_eviction_opinion
}
custom_tooltip = evict_adventurer_contracts_tt
custom_description_no_bullet = {
text = evict_adventurer_consequences_tt
object = scope:actor
subject = scope:recipient
}
custom_tooltip = evict_adventurer_casus_belli_tt
}
scope:actor = {
custom_description_no_bullet = {
text = evict_adventurer_consequences_tt
object = scope:recipient
subject = scope:actor
}
custom_tooltip = evict_adventurer_casus_belli_tt
show_as_tooltip = {
add_opinion = {
target = scope:recipient
@ -5839,10 +5835,6 @@ evict_adventurer_interaction = {
target = scope:recipient
}
}
modifier = {
add = 100
has_imprisonment_reason = scope:recipient
}
modifier = {
add = {
if = {