Page 1 of 1

Using pipe character in names

Posted: Mon Nov 20, 2023 3:21 am
by ixu
Some mods (for instance https://mods.factorio.com/mod/hardCrafting_2) uses pipe symbol as name part. This prevents these objects from being properly serialized when called with the command line parameter dump-data or dump-prototype-locale.
Perhaps this should simply be forbidden in the documentation. (But it would also be nice to fix it.)

Re: Using pipe character in names

Posted: Mon Nov 20, 2023 2:45 pm
by Rseding91
Thanks for the report. This is the same kind of issue as mentioned here: viewtopic.php?f=29&t=106734

We only impose 1 limitation on prototype names and otherwise don't restrict them. That means mods are likely going to use characters that won't translate to file names and or work with the dump commands.