Recipe is in crafting category but has a non-item product
Posted: Sun Feb 19, 2017 3:35 am
I am registering a fluid called science-red, however when I try to use it in a crafting recipe, it says that "Recipe is in crafting category but has a non-item product". I can use other items I created such as an inserter I made, however the fluid isn't registering or isn't working for some reason.
Code: Select all
data:extend({
{
type = "fluid",
name = "science-red",
default_temperature = 0,
max_temperature = 0,
heat_capacity = "0KJ",
base_color = {r=0.8, g=0.0, b=0.0},
flow_color = {r=0.7, g=0.1, b=0.1},
subgroup = "tool",
max_temperature = 100,
icon = "__base__/graphics/icons/fluid/lubricant.png",
pressure_to_speed_ratio = 0.4,
flow_to_energy_ratio = 0.59,
order = "e[lubricant]",
}
})
Code: Select all
data:extend({
{
type = "recipe",
name = "science-red",
enabled = "true",
ingredients = {
{"iron-stick",50}
},
results = {
{
type="fluid",
name="science-red",
amount=1
}
}
}
})