Closed credomane closed 8 years ago
Upon further experimenting. The index value appears to be ignored by foreman completely.
icons = {
{
index = 2,
name = "gate"
} --[[table: 000000005DA59060]],
{
index = 1,
name = "straight-rail"
} --[[table: 000000005DA566C0]]
} --[[table: 000000005DA5D2C0]],
Results in reversed icon order even though the index would indicate otherwise.
Should be fixed in https://github.com/Choumiko/Foreman/releases/tag/v0.1.23
This GIST is a blueprint of my rail crossing gates. The icons in the original blueprint are "Straight-rail" then "steel-gate". I imported them into forman 0.1.22 from my horbar. Loading them back into the hotbar for the save that original made them is fine. Exporting them to the script-output folder seems to be when things get screwy. Importing them into save (even the original) from the script-output blueprint file results in the icon order being completely reversed for the blueprint.
Looking at the exported lua it seems Foreman exports the icons in an strange way?
Exporting this newly imported blueprint string (don't even have to load it to the hotbar first just export it) results in the exported string containing a more sensible icon table. Granted the icons are still reversed from the true original, however.