holy site and hof fix for the most part probably

This commit is contained in:
Greekman 2026-12-04 21:14:17 +00:00
parent 8b75675f24
commit 47e21b4c99
17 changed files with 1844 additions and 66 deletions

View file

@ -1155,8 +1155,21 @@ on_game_start = {
has_special_district_slot = no
}
}
save_scope_as = holy_site_barony
title_province = {
add_holy_site_fallback_special_district_slot_effect = { FAITH = scope:holy_site_faith }
if = {
limit = {
faith ?= {
save_temporary_scope_as = holy_site_local_faith
scope:holy_site_barony = { is_holy_site_of = scope:holy_site_local_faith }
}
}
faith = { save_scope_as = holy_site_building_faith }
add_holy_site_fallback_special_district_slot_effect = { FAITH = scope:holy_site_building_faith }
}
else = {
add_holy_site_fallback_special_district_slot_effect = { FAITH = scope:holy_site_faith }
}
}
}
}