This commit is contained in:
Fishedotjpg 2026-11-18 14:01:14 +00:00
parent eaf472631b
commit 60fbfc1893
15 changed files with 2845 additions and 1349 deletions

View file

@ -2102,17 +2102,20 @@ give_legendary_building_mythical_holy_tooltip_effect = {
root = {
locale_valid_for_legendary_buildings = yes
}
capital_province = { has_special_building_slot = no }
capital_province = { has_special_district_slot = no }
any_sub_realm_barony = {
title_province = { has_special_building_slot = no }
title_province = { has_special_district_slot = no }
}
}
}
give_legendary_building_location_holy_effect = yes
}
set_variable = {
name = legendary_reward_location
value = scope:legendary_locale
if = {
limit = { exists = scope:legendary_locale }
set_variable = {
name = legendary_reward_location
value = scope:legendary_locale
}
}
set_variable = {
name = legendary_figure
@ -2127,17 +2130,20 @@ give_legendary_building_mythical_heroic_tooltip_effect = {
root = {
locale_valid_for_legendary_buildings = yes
}
capital_province = { has_special_building_slot = no }
capital_province = { has_special_district_slot = no }
any_sub_realm_barony = {
title_province = { has_special_building_slot = no }
title_province = { has_special_district_slot = no }
}
}
}
give_legendary_building_location_heroic_effect = yes
}
set_variable = {
name = legendary_reward_location
value = scope:legendary_locale
if = {
limit = { exists = scope:legendary_locale }
set_variable = {
name = legendary_reward_location
value = scope:legendary_locale
}
}
set_variable = {
name = legendary_figure
@ -2152,17 +2158,20 @@ give_legendary_building_mythical_legitimizing_tooltip_effect = {
root = {
locale_valid_for_legendary_buildings = yes
}
capital_province = { has_special_building_slot = no }
capital_province = { has_special_district_slot = no }
any_sub_realm_barony = {
title_province = { has_special_building_slot = no }
title_province = { has_special_district_slot = no }
}
}
}
give_legendary_building_location_legitimizing_effect = yes
}
set_variable = {
name = legendary_reward_location
value = scope:legendary_locale
if = {
limit = { exists = scope:legendary_locale }
set_variable = {
name = legendary_reward_location
value = scope:legendary_locale
}
}
set_variable = {
name = legendary_figure
@ -2180,9 +2189,9 @@ give_legendary_building_holy_tooltip_effect = { #50% chance
root = {
locale_valid_for_legendary_buildings = yes
}
capital_province = { has_special_building_slot = no }
capital_province = { has_special_district_slot = no }
any_sub_realm_barony = {
title_province = { has_special_building_slot = no }
title_province = { has_special_district_slot = no }
}
}
}
@ -2193,9 +2202,12 @@ give_legendary_building_holy_tooltip_effect = { #50% chance
give_legendary_building_location_holy_effect = yes
}
}
set_variable = {
name = legendary_reward_location
value = scope:legendary_locale
if = {
limit = { exists = scope:legendary_locale }
set_variable = {
name = legendary_reward_location
value = scope:legendary_locale
}
}
set_variable = {
name = legendary_figure
@ -2211,9 +2223,9 @@ give_legendary_building_heroic_tooltip_effect = { #50% chance
root = {
locale_valid_for_legendary_buildings = yes
}
capital_province = { has_special_building_slot = no }
capital_province = { has_special_district_slot = no }
any_sub_realm_barony = {
title_province = { has_special_building_slot = no }
title_province = { has_special_district_slot = no }
}
}
}
@ -2242,9 +2254,9 @@ give_legendary_building_legitimizing_tooltip_effect = { #50% chance
root = {
locale_valid_for_legendary_buildings = yes
}
capital_province = { has_special_building_slot = no }
capital_province = { has_special_district_slot = no }
any_sub_realm_barony = {
title_province = { has_special_building_slot = no }
title_province = { has_special_district_slot = no }
}
}
}
@ -2255,9 +2267,12 @@ give_legendary_building_legitimizing_tooltip_effect = { #50% chance
give_legendary_building_location_legitimizing_effect = yes
}
}
set_variable = {
name = legendary_reward_location
value = scope:legendary_locale
if = {
limit = { exists = scope:legendary_locale }
set_variable = {
name = legendary_reward_location
value = scope:legendary_locale
}
}
set_variable = {
name = legendary_figure
@ -2276,7 +2291,7 @@ give_legendary_building_location_standard_effect = {
}
else_if = { # Otherwise, get the capital
limit = {
capital_province = { has_special_building_slot = no }
capital_province = { has_special_district_slot = no }
}
capital_province = { save_scope_as = legendary_locale }
}
@ -2284,13 +2299,13 @@ give_legendary_building_location_standard_effect = {
limit = {
any_held_title = {
title_tier = county
title_province = { has_special_building_slot = no }
title_province = { has_special_district_slot = no }
}
}
random_held_title = {
title_tier = county
limit = {
title_province = { has_special_building_slot = no }
title_province = { has_special_district_slot = no }
}
title_province = { save_scope_as = legendary_locale }
}
@ -2300,7 +2315,7 @@ give_legendary_building_location_standard_effect = {
any_held_title = {
title_tier = barony
title_province = {
has_special_building_slot = no
has_special_district_slot = no
}
}
}
@ -2308,7 +2323,7 @@ give_legendary_building_location_standard_effect = {
title_tier = barony
limit = {
title_province = {
has_special_building_slot = no
has_special_district_slot = no
}
}
title_province = {
@ -2321,17 +2336,17 @@ give_legendary_building_location_standard_effect = {
limit = {
any_held_title = {
title_tier = county
any_county_province = { has_special_building_slot = no }
any_county_province = { has_special_district_slot = no }
}
}
random_held_title = {
title_tier = county
limit = {
any_county_province = { has_special_building_slot = no }
any_county_province = { has_special_district_slot = no }
}
random_county_province = {
limit = {
has_special_building_slot = no
has_special_district_slot = no
}
save_scope_as = legendary_locale
}
@ -2341,7 +2356,7 @@ give_legendary_building_location_standard_effect = {
limit = {
any_sub_realm_barony = {
title_province = {
has_special_building_slot = no
has_special_district_slot = no
has_holding_type = castle_holding
}
}
@ -2349,7 +2364,7 @@ give_legendary_building_location_standard_effect = {
random_sub_realm_barony = {
limit = {
title_province = {
has_special_building_slot = no
has_special_district_slot = no
has_holding_type = castle_holding
}
}
@ -2360,7 +2375,7 @@ give_legendary_building_location_standard_effect = {
limit = {
any_sub_realm_barony = {
title_province = {
has_special_building_slot = no
has_special_district_slot = no
has_holding = yes
}
}
@ -2368,7 +2383,7 @@ give_legendary_building_location_standard_effect = {
random_sub_realm_barony = {
limit = {
title_province = {
has_special_building_slot = no
has_special_district_slot = no
has_holding = yes
}
}