scripted effects fixed somewhat

This commit is contained in:
trashmasteruni 2026-10-10 19:37:00 +02:00
parent 5cf05a176b
commit 227466a9e9
14 changed files with 2057 additions and 37875 deletions

View file

@ -30,8 +30,8 @@ grab_appropriate_chronicler_effect = {
has_cultural_tradition = tradition_chanson_de_geste
}
}
faith = {
trait_is_virtue = lifestyle_poet
rite = {
trait_is_virtue_rite = lifestyle_poet
}
}
any_court_position_holder = {
@ -918,6 +918,7 @@ change_legend_quality_effect = {
add = $VALUE$
}
}
custom_tooltip = maximum_legend_quality_discount_reach_tt
set_variable = {
name = legend_quality_progress
value = 100
@ -932,6 +933,7 @@ change_legend_quality_effect = {
add = $VALUE$
}
}
custom_tooltip = minimum_legend_quality_discount_reach_tt
set_variable = {
name = legend_quality_progress
value = 0
@ -1085,14 +1087,14 @@ legend_ending_rewards_mythical_heroic_effect = {
legend_ending_rewards_mythical_holy_effect = {
add_legitimacy = massive_legitimacy_gain
# Chance to become a Saint
# Chance to become a Herald
if = {
limit = {
dynasty ?= {
ce1_heroic_track_perks >= 3
}
}
add_trait = saint
add_trait = herald
if = {
limit = { NOT = { has_global_variable = num_of_saints_var } }
set_global_variable = {
@ -1649,7 +1651,7 @@ get_appropriate_exotic_location = {
religion = religion:christianity_religion
NOT = {
any_character_to_title_neighboring_and_across_water_county = {
holder = { faith = faith:coptic }
holder = { faith = faith:miaphysitism }
}
}
NOT = { # Prester John isn't exciting if Egypt is Christian
@ -1683,14 +1685,14 @@ get_appropriate_exotic_location = {
OR = {
geographical_region = world_india
geographical_region = world_tibet
geographical_region = world_burma
geographical_region = world_asia_southeast_mainland
geographical_region = world_asia_china
}
}
}
culture = { culture_overlaps_geographical_region = world_india }
culture = { culture_overlaps_geographical_region = world_tibet }
culture = { culture_overlaps_geographical_region = world_burma }
culture = { culture_overlaps_geographical_region = world_asia_southeast_mainland }
culture = { culture_overlaps_geographical_region = world_asia_china }
}
}
@ -1873,7 +1875,25 @@ generate_religion_descent_effect = {
$RELIGION$ = religion:theomach_religion
}
generate_godly_descent_seed_support_effect = {
FAITH = theomach
FAITH = finno_ugric
GOD = $GOD$
}
}
else_if = {
limit = {
$RELIGION$ = religion:germanic_religion
}
generate_godly_descent_seed_support_effect = {
FAITH = germanic
GOD = $GOD$
}
}
else_if = {
limit = {
$RELIGION$ = religion:hellenism_religion
}
generate_godly_descent_seed_support_effect = {
FAITH = hellenism
GOD = $GOD$
}
}
@ -2350,12 +2370,12 @@ give_legendary_building_location_standard_effect = {
has_trait_xp = {
trait = lifestyle_hunter
track = hunter
value >= 62
value >= 50
}
has_trait_xp = {
trait = lifestyle_hunter
track = falconer
value >= 62
value >= 50
}
culture ?= {
has_cultural_parameter = always_unlock_legendary_hunting_lodge
@ -2453,12 +2473,15 @@ legend_seed_great_deed_dynasty_effect = {
legend_seed_great_deed_region_effect = {
if = {
limit = { has_dlc_feature = legends }
$REGION$ = {
save_scope_as = legend_region
}
create_legend_seed = {
type = heroic
quality = famed
chronicle = great_deed_region
properties = {
legend_region = $REGION$
legend_region = scope:legend_region
founder = root
}
}
@ -2978,7 +3001,6 @@ create_swan_knight_legend_seed_effect = {
location = {
OR = {
geographical_region = world_india
geographical_region = world_burma
geographical_region = ghw_region_caucasus
geographical_region = world_asia_china
geographical_region = world_asia_japan