It's alll solved. sorry for the fuss
someone please delete this thread if they may
So, I'm trying to add scripted effects to my mod.
But it never works, and this error always happens when I try to test it on debug mode script runner
[12:13:53][jomini_effect.cpp:606]: Unknown effect foooo at file: Effect Runner line: 1
and the code I added to my mod folder is this
since other mods have thier scripted effects and work fine, I guess I'm missing sth obvious.
I just foound that in my new blank mod folder the effect works fine, so the problem must be about other files in the mod folder.
someone please delete this thread if they may
So, I'm trying to add scripted effects to my mod.
But it never works, and this error always happens when I try to test it on debug mode script runner
[12:13:53][jomini_effect.cpp:606]: Unknown effect foooo at file: Effect Runner line: 1
and the code I added to my mod folder is this
foooo = {
add_treasury = -1000
}
baar = {
add_modifier = {
name = ig_manifest_destiny
months = normal_modifier_time
}
}
I just foound that in my new blank mod folder the effect works fine, so the problem must be about other files in the mod folder.
Last edited: