local function _0_(func)
  for grass, params in pairs(grasses) do
    if params.variants then
      for id, variant in ipairs(params.variants) do
        func((grass .. "_" .. id), (grass .. " " .. variant), params)
      end
    else
      func(grass, grass, params)
    end
  end
  return nil
end
on_grasses = _0_
inv_crafts = {{input = {{count = 1, name = "loria:lead"}, {count = 1, name = "loria:copper_sulfate"}}, output = {{count = 1, name = "loria:copper"}, {count = 1, name = "loria:lead_sulfate"}}}, {input = {{count = 25, name = "loria:naga"}, {count = 1, name = "loria:bucket_empty"}}, output = {{count = 1, name = "loria:bucket_lucidum"}}}, {input = {{count = 30, name = "loria:purpura"}, {count = 1, name = "loria:bucket_empty"}}, output = {{count = 1, name = "loria:bucket_lucidum"}}}, {input = {{count = 20, name = "loria:vastatorem"}, {count = 1, name = "loria:bucket_empty"}}, output = {{count = 1, name = "loria:bucket_lucidum"}}}, {input = {{count = 40, name = "loria:deus"}, {count = 1, name = "loria:bucket_empty"}}, output = {{count = 1, name = "loria:bucket_lucidum"}}}, {input = {{count = 50, name = "loria:vult"}, {count = 1, name = "loria:bucket_empty"}}, output = {{count = 1, name = "loria:bucket_lucidum"}}}, {input = {{count = 40, name = "loria:infernum"}, {count = 1, name = "loria:bucket_empty"}}, output = {{count = 1, name = "loria:bucket_lucidum"}}}, {input = {{count = 25, name = "loria:periculum"}, {count = 1, name = "loria:bucket_empty"}}, output = {{count = 1, name = "loria:bucket_lucidum"}}}, {input = {{count = 40, name = "loria:viridi_petasum_body"}, {count = 1, name = "loria:bucket_empty"}}, output = {{count = 1, name = "loria:bucket_lucidum"}}}, {input = {{count = 2, name = "loria:potassium_ingot"}, {count = 2, name = "loria:bucket_water"}, {count = 1, name = "loria:empty_balloon"}}, output = {{count = 2, name = "loria:bucket_potassium_hydroxide"}, {count = 2, name = "loria:hydrogen_balloon"}}}, {input = {{count = 1, name = "loria:broken_drill"}, {count = 1, name = "loria:battery"}}, output = {{count = 1, name = "loria:drill"}}}, {input = {{count = 10, name = "electricity:aluminium_cable"}, {count = 1, name = "loria:lead_case"}}, output = {{count = 1, name = "electricity:battery_box"}}}, {input = {{count = 1, name = "loria:uranium_tetrachloride"}, {count = 1, name = "loria:potassium_ingot"}}, output = {{count = 1, name = "loria:uranium"}, {count = 4, name = "loria:potassium_chloride"}}}, {input = {{count = 4, name = "loria:lead"}}, output = {{count = 1, name = "loria:lead_case"}}}, {input = {{count = 3, name = "loria:lead"}}, output = {{count = 1, name = "furnace:gas"}}}, {input = {{count = 1, name = "loria:lead_case"}, {count = 1, name = "loria:lead"}}, output = {{count = 1, name = "loria:lead_box"}}}, {input = {{count = 3, name = "loria:silicon"}}, output = {{count = 1, name = "loria:silicon_box"}}}, {input = {{count = 1, name = "loria:stick"}, {count = 1, name = "loria:copper_hammer_head"}}, output = {{count = 1, name = "loria:copper_hammer"}}}, {input = {{count = 1, name = "loria:zinc_ingot"}, {count = 2, name = "loria:bucket_hydrochloric_acid"}, {count = 1, name = "loria:empty_balloon"}}, output = {{count = 1, name = "loria:zinc_chloride"}, {count = 2, name = "loria:bucket_empty"}, {count = 1, name = "loria:hydrogen_balloon"}}}, {input = {{count = 1, name = "loria:aluminium_ingot"}, {count = 3, name = "loria:bucket_hydrochloric_acid"}, {count = 1, name = "loria:empty_balloon"}}, output = {{count = 1, name = "loria:aluminium_chloride"}, {count = 3, name = "loria:bucket_empty"}, {count = 1, name = "loria:hydrogen_balloon"}}}, {input = {{count = 2, name = "loria:potassium_ingot"}, {count = 2, name = "loria:bucket_hydrochloric_acid"}, {count = 1, name = "loria:empty_balloon"}}, output = {{count = 2, name = "loria:potassium_chloride"}, {count = 2, name = "loria:bucket_empty"}, {count = 1, name = "loria:hydrogen_balloon"}}}, {input = {{count = 1, name = "loria:lead_case"}, {count = 1, name = "loria:wolfram_filament"}, {count = 1, name = "loria:fused_quartz"}, {count = 1, name = "electricity:aluminium_cable"}}, output = {{count = 1, name = "electricity:lamp_off"}}}, {input = {{count = 1, name = "loria:chromia"}, {count = 6, name = "loria:bucket_hydrochloric_acid"}}, output = {{count = 2, name = "loria:chromic_chloride"}, {count = 3, name = "loria:bucket_water"}, {count = 3, name = "loria:bucket_empty"}}}}
for name, params in opairs(small_mushrooms) do
  table.insert(inv_crafts, {input = {{count = 20, name = ("loria:" .. name)}}, output = {{count = 1, name = "loria:mushroom_mass"}}})
end
for _, conf in ipairs(cables) do
  table.insert(inv_crafts, {input = {{count = 1, name = ("loria:" .. conf.name .. "_ingot")}}, output = {{count = 15, name = ("electricity:" .. conf.name .. "_cable")}}})
end
for _, mushroom in ipairs(giant_mushrooms) do
  table.insert(inv_crafts, {input = {{count = 1, name = ("loria:" .. mushroom .. "_stem")}}, output = {{count = 6, name = "loria:stick"}}})
end
for grass, params in opairs(grasses) do
  if params.variants then
    for id, _ in ipairs(params.variants) do
      table.insert(inv_crafts, {input = {{count = 20, name = ("loria:" .. grass .. "_" .. id)}}, output = {{count = 1, name = ("loria:" .. grass .. "_" .. id .. "_pressed")}}})
    end
  else
    table.insert(inv_crafts, {input = {{count = 20, name = ("loria:" .. grass)}}, output = {{count = 1, name = ("loria:" .. grass .. "_pressed")}}})
  end
end
return nil
