localisation set by code

Place to post guides, observations, things related to modding that are not mods themselves.
judos
Filter Inserter
Filter Inserter
Posts: 270
Joined: Mon Dec 08, 2014 11:17 am
Contact:

localisation set by code

Post by judos »

Hello there,

Is it possible to set a localized name in the data-updates.lua by code?

The thing is that I would like to add items that integrate nicely with other mods (Package mod -> Ore boxes for all other ores of mods).
Therefore I would like to set the localized name of a ore-box to the same name as the ore itself, without having to set each separately.

E.g.
Zinc-ore from Bobs mods -> Zinc Ore Box

Thanks for any help
Post Reply

Return to “Modding discussion”