justarandomgeek / vscode-factoriomod-debug

Factorio Mod Tool Kit
Other
97 stars 21 forks source link

Detect data folder and campaigns and tutorials #93

Closed JanSharp closed 11 months ago

JanSharp commented 12 months ago

When determining the name for the global table in a file, the following has been changed:

The resulting global names take the form __mod-name__inner-type__inner-name__global where

justarandomgeek commented 11 months ago

i'm making a few small tweaks to this as i pull it in:

JanSharp commented 11 months ago

9 shorten the inner-type to a single letter to keep the total name length down, since they do show up occasionally

Sounds good. It is true that they're rediculously long

campaigns have a second layer of inner name for the level within the campaign

I was unaware, never looked into campaigns enough I suppose, so yea makes sense :+1: