• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

reptiel_brain

Recruit
17 Badges
Apr 8, 2023
6
0
  • Hearts of Iron III: Their Finest Hour
  • Prison Architect
  • Shadowrun: Dragonfall
  • Cities: Skylines - Mass Transit
  • Cities: Skylines - After Dark
  • Crusader Kings II: Way of Life
  • Cities: Skylines
  • Semper Fi
  • Hearts of Iron III Collection
  • Cities in Motion 2
  • Hearts of Iron III
  • For the Motherland
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: The Republic
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II
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

foooo = {
add_treasury = -1000
}

baar = {
add_modifier = {
name = ig_manifest_destiny
months = normal_modifier_time
}
}

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.
 
Last edited: