mapshot icon indicating copy to clipboard operation
mapshot copied to clipboard

Improve surface name

Open Palats opened this issue 4 weeks ago • 0 comments

From https://mods.factorio.com/mod/mapshot/discussion/679ac072f8d1a921348b8e2f, it seems that surfaces might have a better name. Right now, this is using LuaSurface.name (here). It seems that LuaSurface has also a localised_name; and the documentation hints that there might be more information available in other objects: "Value may be ignored if a surface has a SpacePlatform or Planet object attached to it, which take the precedence.".

So, mapshot should be using those better names, which should be relatively straightforward. It would probably make sense to add an extra property in the exported JSON so the regular name is still available.

[I don't have plan to work on it for now]

Palats avatar Jan 30 '25 21:01 Palats