Expose the mapping of identical localised characters to mods

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Osmo
Fast Inserter
Fast Inserter
Posts: 109
Joined: Wed Oct 23, 2024 12:08 pm
Contact:

Expose the mapping of identical localised characters to mods

Post by Osmo »

FFF-436 shows factorio uses a custom mapping function to convert text to some standard representation. I'm asking for the same mapping to be exposed to mods in some way, for the same reasons it exists in the base game, mainly for searching. I imagine it should take a string (such as one returned in on_string_translated event, or the input of the user) and return another string in a standardised form, so the mod can then compare two or more strings in whatever way is necessary.
Post Reply

Return to “Modding interface requests”