Bugged names?

Place to get help with not working mods / modding interface.
iHeroN
Burner Inserter
Burner Inserter
Posts: 7
Joined: Sun Jul 24, 2016 12:18 pm
Contact:

Bugged names?

Post by iHeroN »

Hi i'm an italian student (so sorry if my english isn't very good >_<)
I'm making a test mod. all works fine but i have a question: i' ve got a problem with items/entities/tech. it doesn't display the correct name but a thing like this: Unknown key:"Technology-name.electric-furnace-II. is there a way to just put "electric furnace II"??? thanks!
User avatar
prg
Filter Inserter
Filter Inserter
Posts: 947
Joined: Mon Jan 19, 2015 12:39 am
Contact:

Re: Bugged names?

Post by prg »

You need a locale file for the language you want the name to appear in, for English e.g. locale/en/en.cfg:

Code: Select all

[technology-name]
electric-furnace-II=electric furnace II
You can also optionally add a description:

Code: Select all

[technology-description]
electric-furnace-II=Second-tier electric furnace.
Automatic Belt (and pipe) Planner—Automate yet another aspect of constructing your factory!
iHeroN
Burner Inserter
Burner Inserter
Posts: 7
Joined: Sun Jul 24, 2016 12:18 pm
Contact:

Re: Bugged names?

Post by iHeroN »

Thanks!
Post Reply

Return to “Modding help”