[Solved] Need help

Place to get help with not working mods / modding interface.
Post Reply
User avatar
Kabaril
Burner Inserter
Burner Inserter
Posts: 10
Joined: Sat Jul 29, 2017 10:24 pm
Contact:

[Solved] Need help

Post by Kabaril »

So i wanted to write a mod for angelsrefining(0.7.23) and youki industries(0.5.71){factorio 0.15.31}
I only wanted to add a few recipes, but got stuck here:

Code: Select all

{
		type = "recipe",
		name = "crystal_production", order="a",
		energy_required = 2.0,
		enabled = "true",
		ingredients = {{name="y-unicomp-a2", amount=30},}, 
		results = {type="fluid", name="crystal-slurry", amount=20},
		subgroup = "y-atomics", 
		category = "yuoki-atomics-recipe",
		icon = "__notfunctioning-mod__/graphics/icons/placeholder.png",
	}
I cant find the error because all factorio says to this is:
error while loading mods: __angelsrefining__/prototypes/override-functions.lua:422:attempt to index local "item" (a string value)
Last edited by Kabaril on Sun Jul 30, 2017 12:16 am, edited 1 time in total.

Exasperation
Long Handed Inserter
Long Handed Inserter
Posts: 88
Joined: Fri Apr 22, 2016 9:55 pm
Contact:

Re: Need help

Post by Exasperation »

Try this:

Code: Select all

results = {{type="fluid", name="crystal-slurry", amount=20}},

User avatar
Kabaril
Burner Inserter
Burner Inserter
Posts: 10
Joined: Sat Jul 29, 2017 10:24 pm
Contact:

Re: [Solved] Need help

Post by Kabaril »

thanks for the help it works now :D

Post Reply

Return to “Modding help”