So, I made a mod to allow abdication by decision under certain circumstances. The part of it I tested worked, and I uploaded it to the workshop. Later, I realize I screwed up the second of two decisions, since it was triggering off of "has_trait = melancholic", when there are 2 version of that trait, with IDs depressed_1 and depressed_genetic, not melancholic.
I grab the files I uploaded, make the changes, and upon testing neither of the two decisions show up anymore. I switch back to the Workshop version, and the first decision still works as before. Odd.
I then copied the files that were downloaded from the workshop to reset my progress, but now it doesn't seem to work at all, regardless of whether it's an old save or new game. So I have a functional mod from the workshop, which becomes non-functional if I drop its files in the local CK3/mod folder. I am still using the old .mod file, since that isn't uploaded to Steam and has the filepath for the local mod.
What am I missing that would cause this behavior? This is the decision file (with melancholic error), which works as long as I'm using the workshop mod:
I grab the files I uploaded, make the changes, and upon testing neither of the two decisions show up anymore. I switch back to the Workshop version, and the first decision still works as before. Odd.
I then copied the files that were downloaded from the workshop to reset my progress, but now it doesn't seem to work at all, regardless of whether it's an old save or new game. So I have a functional mod from the workshop, which becomes non-functional if I drop its files in the local CK3/mod folder. I am still using the old .mod file, since that isn't uploaded to Steam and has the filepath for the local mod.
What am I missing that would cause this behavior? This is the decision file (with melancholic error), which works as long as I'm using the workshop mod:
Code:
abdication_mod_unfit_decision = {
decision_group_type = major
ai_check_interval = 6
is_shown = {
or = {
has_trait = infirm
has_trait = incapable
has_trait = excommunicated
}
}
is_valid = {
or = {
has_trait = infirm
has_trait = incapable
has_trait = excommunicated
}
}
is_valid_showing_failures_only = {
trigger_if = {
limit = {
has_trait = incapable
}
always = yes
}
trigger_else = {
nor = {
has_trait = arrogant
has_trait = stubborn
has_trait = ambitious
has_trait = greedy
}
}
}
ai_potential = {
always = yes
}
ai_will_do = {
base = 50
modifier = {
has_trait = humble
add = 20
}
modifier = {
has_trait = content
add = 20
}
modifier = {
has_trait = lazy
add = 10
}
modifier = {
has_trait = fickle
add = 10
}
modifier = {
has_trait = just
add = 10
}
modifier = {
has_trait = zealous
has_trait = excommunicated
add = 100
}
}
effect = {
depose = yes
}
}
abdication_mod_unwilling_decision = {
decision_group_type = major
ai_check_interval = 6
is_shown = {
or = {
has_trait = melancholic
and = {
has_trait = shy
has_trait = reclusive
}
}
}
is_valid = {
or = {
has_trait = melancholic
and = {
has_trait = shy
has_trait = reclusive
}
}
}
is_valid_showing_failures_only = {
nor = {
has_trait = arrogant
has_trait = stubborn
has_trait = ambitious
has_trait = greedy
}
}
ai_potential = {
always = yes
}
ai_will_do = {
base = 0
modifier = {
has_trait = shy
has_trait = reclusive
add = 10
}
modifier = {
has_trait = melancholic
add = 10
}
modifier = {
has_trait = humble
add = 10
}
modifier = {
has_trait = content
add = 10
}
modifier = {
has_trait = lazy
add = 5
}
modifier = {
has_trait = fickle
add = 5
}
}
effect = {
depose = yes
add_prestige_level = -1
}
}