Alignment

This commit is contained in:
Heidesommer 2026-04-25 03:54:05 -04:00
parent f7a954eb51
commit 15a5108e23
250 changed files with 31104 additions and 25806 deletions

View file

@ -767,6 +767,7 @@ ep3_interactions_events.0031 = { # By Jason Cantalini
has_graphical_mena_culture_group_trigger = yes
has_graphical_african_culture_group_trigger = yes
has_building_gfx = indian_building_gfx
has_building_gfx = tibetan_building_gfx
}
}
NOT = { government_has_flag = government_is_tribal }
@ -782,6 +783,7 @@ ep3_interactions_events.0031 = { # By Jason Cantalini
has_graphical_mena_culture_group_trigger = yes
has_graphical_african_culture_group_trigger = yes
has_building_gfx = indian_building_gfx
has_building_gfx = tibetan_building_gfx
}
}
government_has_flag = government_is_tribal
@ -1549,6 +1551,13 @@ ep3_interactions_events.0111 = {
scope:actor.primary_title ?= this
scope:actor.capital_county.de_jure_liege ?= this
}
any_de_jure_county = {
holder.top_liege = scope:actor
NOR = {
scope:actor.capital_county ?= this
scope:actor.primary_title ?= this
}
}
is_noble_family_title = no
is_landless_type_title = no
}
@ -1562,16 +1571,26 @@ ep3_interactions_events.0111 = {
scope:actor.primary_title ?= this
scope:actor.capital_county.de_jure_liege ?= this
}
any_de_jure_county = {
holder.top_liege = scope:actor
NOR = {
scope:actor.capital_county ?= this
scope:actor.primary_title ?= this
}
}
is_noble_family_title = no
is_landless_type_title = no
}
add_to_list = purchased_titles
if = {
limit = { tier = tier_duchy }
every_de_jure_county = {
limit = { ep3_purchase_land_valid_county_trigger = yes }
add_to_list = purchased_titles
every_de_jure_county = {
limit = {
holder.top_liege = scope:actor
NOR = {
scope:actor.capital_county ?= this
scope:actor.primary_title ?= this
}
}
add_to_list = purchased_titles
}
}
}
@ -1594,7 +1613,13 @@ ep3_interactions_events.0111 = {
if = {
limit = { tier = tier_duchy }
every_de_jure_county = {
limit = { ep3_purchase_land_valid_county_trigger = yes }
limit = {
holder.top_liege = scope:actor
NOR = {
scope:actor.capital_county ?= this
scope:actor.primary_title ?= this
}
}
add_to_list = purchased_titles
}
}
@ -1608,6 +1633,7 @@ ep3_interactions_events.0111 = {
is_landless_type_title = no
}
save_scope_as = new_primary_title
save_scope_as = target
}
scope:actor = {
@ -1617,6 +1643,7 @@ ep3_interactions_events.0111 = {
random_character_artifact = {
limit = {
scope:recipient = { can_equip_artifact = prev }
artifact_can_be_gift_to_trigger = { RECIPIENT = scope:recipient }
}
save_scope_as = actor_artifact
}
@ -1671,6 +1698,7 @@ ep3_interactions_events.0111 = {
TITLE_LIST = purchased_titles
TYPE = granted
REASON = flag:purchased
ENNOBLED_ADVENTURER = flag:yes
}
}
scope:actor = {
@ -2025,6 +2053,34 @@ ep3_interactions_events.0111 = {
}
}
#Refuse all for 5 years
option = {
name = ep3_interactions_events.0111.refuse_5_years
scope:actor = {
send_interface_toast = {
left_icon = scope:actor
right_icon = scope:recipient
title = ep3_interactions_events.0111.refuse
scope:actor = {
add_opinion = {
target = scope:recipient
modifier = rejected_hiring_as_mercenaries
}
}
}
}
custom_tooltip = ep3_interactions_events.0111.refuse_5_years.tt
add_character_flag = {
flag = ai_hire_blocker
years = 5
}
ai_chance = {
base = 0
}
}
#Refuse
option = {
name = ep3_interactions_events.0111.f
@ -2110,6 +2166,7 @@ ep3_interactions_events.0112 = {
TITLE_LIST = purchased_titles
TYPE = granted
REASON = flag:purchased
ENNOBLED_ADVENTURER = flag:yes
}
# Extra purchase land specific
scope:actor = {
@ -2179,7 +2236,10 @@ ep3_interactions_events.0112 = {
add_defender = scope:recipient
}
scope:recipient = {
add_character_flag = joined_as_mercenary
set_variable = {
name = joined_as_mercenary
value = scope:actor
}
}
ai_chance = {
@ -2373,7 +2433,10 @@ ep3_interactions_events.0112 = {
add_defender = scope:recipient
}
scope:recipient = {
add_character_flag = joined_as_mercenary
set_variable = {
name = joined_as_mercenary
value = scope:actor
}
}
ai_chance = {
base = 1000
@ -2436,11 +2499,11 @@ ep3_interactions_events.0121 = {
limit = {
is_alive = yes
}
save_temporary_scope_as = laamp_temp
save_scope_as = laamp_temp
scope:employer = {
pay_treasury_or_gold = {
target = prev
value = ep3_hire_laamp_mercs_payment_value
value = scope:laamp_temp.ep3_hire_laamp_mercs_payment_value
}
}
if = {
@ -2475,16 +2538,16 @@ ep3_interactions_events.0121 = {
limit = {
is_alive = yes
}
save_temporary_scope_as = laamp_temp
save_temporary_scope_as = laamp_temp_b
save_scope_value_as = {
name = war_contribution_value
value = "scope:war.war_contribution(scope:laamp_temp)"
value = "scope:war.war_contribution(scope:laamp_temp_b)"
}
scope:employer = {
pay_treasury_or_gold = {
target = prev
value = {
add = ep3_hire_laamp_mercs_payment_value
add = scope:laamp_temp_b.ep3_hire_laamp_mercs_payment_value
divide = 2
}
}
@ -2625,7 +2688,7 @@ ep3_interactions_events.0122 = {
scope:employer = {
pay_treasury_or_gold = {
target = prev
value = ep3_hire_laamp_mercs_payment_value
value = scope:laamp_temp.ep3_hire_laamp_mercs_payment_value
}
}
}
@ -2636,7 +2699,7 @@ ep3_interactions_events.0122 = {
pay_treasury_or_gold = {
target = prev
value = {
add = ep3_hire_laamp_mercs_payment_value
add = scope:laamp_temp.ep3_hire_laamp_mercs_payment_value
divide = 2
}
}
@ -2899,10 +2962,10 @@ ep3_interactions_events.0500 = {
show_as_unavailable = { always = yes }
custom_description_no_bullet = {
text = evict_adventurer_consequences_tt
object = scope:recipient
subject = scope:actor
object = scope:actor
subject = scope:recipient
}
custom_tooltip = evict_adventurer_casus_belli_tt
scope:actor = { custom_tooltip = evict_adventurer_casus_belli_tt }
show_as_tooltip = {
reverse_add_opinion = {
target = scope:actor
@ -2918,17 +2981,20 @@ ep3_interactions_events.0500 = {
}
custom_description_no_bullet = {
text = evict_adventurer_consequences_tt
object = scope:recipient
subject = scope:actor
object = scope:actor
subject = scope:recipient
}
custom_tooltip = evict_adventurer_forced_tt
custom_tooltip = evict_adventurer_forced_tt.part_2
scope:actor = { custom_tooltip = evict_adventurer_casus_belli_tt }
show_as_tooltip = {
reverse_add_opinion = {
target = scope:actor
modifier = eviction_ignored_opinion
}
}
scope:actor = {
custom_tooltip = evict_adventurer_forced_tt
custom_tooltip = evict_adventurer_forced_tt.part_2
}
}
after = { trigger_event = ep3_interactions_events.0502 }
@ -3006,7 +3072,7 @@ ep3_interactions_events.0501 = {
interaction = imprison_interaction
actor = scope:expeller
recipient = scope:adventurer
execute_threshold = decline
send_threshold = decline
}
}
}
@ -4284,9 +4350,7 @@ ep3_interactions_events.0610 = {
ordered_succession_appointment_investors = {
candidate = root
limit = {
NOT = {
house ?= root.house
}
NOT = { house ?= root.house }
is_alive = yes
is_imprisoned = no
NOR = {
@ -4299,34 +4363,18 @@ ep3_interactions_events.0610 = {
}
if = {
limit = {
NOT = {
exists = scope:new_landed_admin
}
NOT = { exists = scope:new_landed_admin }
}
save_scope_as = new_landed_admin
}
if = {
limit = {
scope:recipient = {
top_liege != this
}
}
scope:recipient.top_liege = {
save_scope_as = emperor
}
limit = { scope:recipient.top_liege != this }
scope:recipient.top_liege = { save_scope_as = emperor }
}
else = {
scope:recipient = {
save_scope_as = emperor
}
}
show_as_tooltip = {
get_title = primary_title
domicile = {
add_domicile_building = estate_main_01
}
scope:recipient = { save_scope_as = emperor }
}
show_as_tooltip = { get_title = primary_title }
}
#I'm a new kinda landless now