idk why I dont have a cursor

This commit is contained in:
Magpie490 2025-06-02 16:22:24 +01:00
parent 64c9d3694d
commit e22f5e5844
59 changed files with 14361 additions and 7042 deletions

View file

@ -3461,7 +3461,7 @@ faith_conversion_cost_mult = {
else_if = {
limit = {
scope:character = {
government_has_flag = government_is_republic
government_has_flag = government_is_special_republic
}
}
multiply = {
@ -4213,12 +4213,28 @@ faith_conversion_cost_mult = {
multiply = {
value = 1
subtract = {
desc = faith_conversion_cost_witch_event
desc = faith_conversion_cost_event
format = "BREAKDOWN_FORMAT_PIETY_PERCENTAGE_POSITIVE_IS_BAD"
value = 0.5
}
}
}
if = {
limit = {
scope:character = {
has_character_modifier = mpo_islam_conversion_modifier
}
scope:new_faith = { religion = religion:islam_religion }
}
multiply = {
value = 1
subtract = {
desc = faith_conversion_cost_mpo_islam_event
format = "BREAKDOWN_FORMAT_PIETY_PERCENTAGE_POSITIVE_IS_BAD"
value = 0.25
}
}
}
# Removing 1 to offset the value and present it as expected by the code
subtract = {
@ -4533,3 +4549,28 @@ great_holy_war_target_kingdom_weight_simplified = {
multiply = ghw_target_religious_vengeance
}
}
holy_site_reform_tracker_value = {
value = 0
faith = {
every_holy_site = {
limit = {
county = {
save_temporary_scope_as = current_holy_site
OR = {
is_holy_site_controlled_by = root
root.confederation ?= {
any_confederation_member = {
scope:current_holy_site = {
is_holy_site_controlled_by = prev
}
}
}
}
holder.faith = root.faith
}
}
add = 1
}
}
}