Questions about mod names and paths

Place to get help with not working mods / modding interface.
User avatar
aspd199
Burner Inserter
Burner Inserter
Posts: 9
Joined: Fri Jul 14, 2017 10:10 pm
Contact:

Questions about mod names and paths

Post by aspd199 »

I found that if the mod name is "_test"

The directory structure is
_test/
├── data.lua
├── info.json
└── test.png
In this case
icon = "__test__/test.png"
error:Path __test__/test.png does not match anyenabled mod.
and
icon = "___test__/test.png"
error:Path ___test__/test.png not matching the resource path pattern:__source__/path
But without the path, the mod performs the other functions normally, no errors.
User avatar
jamiechi1
Filter Inserter
Filter Inserter
Posts: 289
Joined: Wed Jan 03, 2018 10:12 pm

Re: Questions about mod names and paths

Post by jamiechi1 »

Don't create mods with underscores in it. This just causes confusion.
Underscores in the folder name for the mod should only be used to separate the name from the version of the mod.
Post Reply

Return to “Modding help”