mining tool recipe

Place to get help with not working mods / modding interface.
Post Reply
Arko
Manual Inserter
Manual Inserter
Posts: 3
Joined: Thu Mar 30, 2017 5:17 pm
Contact:

mining tool recipe

Post by Arko »

Code: Select all

data:extend({
	{
		type = "recipe",
		name = "chestR",
		enabled = "false",
		ingredients = 
		{
		{"wood",40},
		{"steel-plate",40},
		},
		result = "chest"
	},
	
	{
		type = "recipe",
		name = "saltR",
		enabled = "true",
		ingredients = 
		{
		{"electronic-circuit",},
		{"stone-brick",100},
		{"battery",100}
		},
		result = "salt_tool"
	},
})
I've got that in recipe .lua and factorio sends me an error
Error while loading recipe prototype "saltR" (recipe): no such node (name)
Modifications : Chest
Can you explain to me what is wrong in the code please :)

User avatar
prg
Filter Inserter
Filter Inserter
Posts: 947
Joined: Mon Jan 19, 2015 12:39 am
Contact:

Re: mining tool recipe

Post by prg »

Code: Select all

      {"electronic-circuit",},
That line seems to be missing a number.
Automatic Belt (and pipe) Planner—Automate yet another aspect of constructing your factory!

Arko
Manual Inserter
Manual Inserter
Posts: 3
Joined: Thu Mar 30, 2017 5:17 pm
Contact:

Re: mining tool recipe

Post by Arko »

Oh :o

Scuse me I don't see it

Thanks !!

Post Reply

Return to “Modding help”