Crafting Efficiency


Adds technologies to increase the productivity of some recipes

Content
6 days ago
1.1 - 2.0
7.12K
Manufacturing

g language question

7 months ago

Hi,i'm playing factorio in zh-CN,when i want to translate your mod ,i found the recipe and technology name was not exist,it looks like 1 2,so i don't know how to change it .can u give me some help?thx

7 months ago

recipe/search names are created by inserting the variable localised_name in the prototype, this is what allows me to create the names without editing the locale.cfg .
One thing you can do is change the names directly in settings-value.lua, that all the names you see in game are defined in that file.
You can do Recipes["copper-cable"].name = "new name" to modify the name.

7 months ago

got it,thx

7 months ago
(updated 7 months ago)

sorry, that line of code go in data-updates.lua in your mod, settings-value.lua is an internal file in the mod.

7 months ago

ok,it seems i need to create a file called data-updates.lua,then use the code in this file?

7 months ago

yes

7 months ago

got it i will try later,thx.

New response