Hi there
I Just registered on that Froum so i can't quietly PM one of the bigger Modders, unfortunatly i get forced to open a whole topic to get my problem solved. In the last few hours I made my own first kind a mod for long range rocket towers and all works just fine entitys recepies and all that stuff but there is one thing that bugs me a lot. I can NOT figure out how i add a description to my items and or technologys. For example DyTech uses some .cfg files where he adds all those informations but I didn't get it where he calls them. I'm realy confused right now maybe it's as simple as to breathe, but please give me a hint.
Unknown key:" .......
Re: Unknown key:" .......
Hello and welcome to the forums.
All the locale files in the locale directory are loaded automatically no need to specify these: https://forums.factorio.com/wiki/inde ... iew#Locale
The key has to be in the correct category, for example, when you are missing item-description.science-pack-1, it has to be specified in the [item-description] cateogory
Example (contents of data/base/locale/en/item-descriptions.cfg):
Same with entity-name, entity-description etc.
All the locale files in the locale directory are loaded automatically no need to specify these: https://forums.factorio.com/wiki/inde ... iew#Locale
The key has to be in the correct category, for example, when you are missing item-description.science-pack-1, it has to be specified in the [item-description] cateogory
Example (contents of data/base/locale/en/item-descriptions.cfg):
Code: Select all
[item-description]
science-pack-1=Used by Lab for research.
science-pack-2=Used by Lab for research.
science-pack-3=Used by Lab for research.
alien-science-pack=Used by Lab for research.
....
Re: Unknown key:" .......
hey nice to have fresh modders joining
As for the descriptions they are auto loaded by Factorio, as long as they exist inside of a "locale" folder inside the mod's folder (or the campaigns). Inside the locale folder are the abbreviated country names (i'm sure there is a proper name for the country's abbreviation but I can't think of it) and inside of there you can have the cfg files, actually you could have a single cfg if I remember correctly, it's the "[entity-description]" tags that define what you are defining, but easier to modify if they are separated
In other words you do not need to "call them"
edit: aw Kovarex responded before me
probably because palemoon froze for a few moments.

In other words you do not need to "call them"

edit: aw Kovarex responded before me

<I'm really not active any more so these may not be up to date>
~FreeER=Factorio Modding
- Factorio Wiki
- My Factorio Modding Guide
- Wiki Modding Guide
Feel free to pm me
Or drop into #factorio on irc.esper.net
~FreeER=Factorio Modding
- Factorio Wiki
- My Factorio Modding Guide
- Wiki Modding Guide
Feel free to pm me

Or drop into #factorio on irc.esper.net
Re: Unknown key:" .......
Damn i'm stupid i should have tried that bevore i post that here
Thanks a lot for the help

Thanks a lot for the help
Re: Unknown key:" .......
don't be hard on yourself, you'd be surprised at what even the bigger modders forgetAnimar wrote:Damn i'm stupid i should have tried that bevore i post that here![]()
Thanks a lot for the help

edit: ...maybe I'm a little too tired right now if I actually just posted that, but I'm not going to bother removing it, someone else might find it as funny as I did at the time.
<I'm really not active any more so these may not be up to date>
~FreeER=Factorio Modding
- Factorio Wiki
- My Factorio Modding Guide
- Wiki Modding Guide
Feel free to pm me
Or drop into #factorio on irc.esper.net
~FreeER=Factorio Modding
- Factorio Wiki
- My Factorio Modding Guide
- Wiki Modding Guide
Feel free to pm me

Or drop into #factorio on irc.esper.net
Re: Unknown key:" .......
nope i save it for all the future generationsFreeER wrote:don't be hard on yourself, you'd be surprised at what even the bigger modders forgetAnimar wrote:Damn i'm stupid i should have tried that bevore i post that here![]()
Thanks a lot for the helpbesides, that's what the community is for (well, that and making the devs lots of money so that they can improve the game and make sequels for all eternity as our slaves...did I say that part out loud, shh don't let them know the secret!)
edit: ...maybe I'm a little too tired right now if I actually just posted that, but I'm not going to bother removing it, someone else might find it as funny as I did at the time.

Re: Unknown key:" .......
Only the
won't work, but why ?
Code: Select all
[technology-description]
longrange-defence=Unlocks the LRRL systhem and corresponding Rockets
Re: Unknown key:" .......
well assuming "longrange-defence" is the exact name you gave when creating the technology prototype, I do not see why it would fail, maybe triple check spelling and capitalization?
<I'm really not active any more so these may not be up to date>
~FreeER=Factorio Modding
- Factorio Wiki
- My Factorio Modding Guide
- Wiki Modding Guide
Feel free to pm me
Or drop into #factorio on irc.esper.net
~FreeER=Factorio Modding
- Factorio Wiki
- My Factorio Modding Guide
- Wiki Modding Guide
Feel free to pm me

Or drop into #factorio on irc.esper.net
Re: Unknown key:" .......
thats the whole poit. I copied the name out of my technology lua file, to be sure the name is 100% the same as i use there. But in game it shows only the name correct and no description.