Crafting Efficiency


Adds technologies to increase the productivity of some recipes

Content
a month ago
1.1 - 2.0
8.29K
Manufacturing

g language question

11 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

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

11 months ago

got it,thx

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

11 months ago

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

11 months ago

yes

11 months ago

got it i will try later,thx.

New response