Crafting Efficiency


Adds technology to increase the efficiency of some recipes, auto updates recipes in assembly machines and adds a function for modders to add efficiency recipes for their items

Content
2 months ago
1.1 - 2.0
6.22K
Manufacturing

g language question

3 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

3 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.

3 months ago

got it,thx

3 months ago
(updated 3 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.

3 months ago

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

3 months ago

yes

3 months ago

got it i will try later,thx.

New response