
I continue develop my mod and meet another problem, I want to centrifuge ore subproduct and get 3 items as result, firstly I try furnace type for machine, and game said that I has bad result in recipe, after that I start use assembling-machine type for machine
Firstly game said that I hasn't icon node, I add icon node to recipe, but now game said that 'unknown item subgroup for recipe', I don't understand what is that.
Recipe category
Code: Select all
  {
    type = "recipe-category",
    name = "centrifuge"
  },Code: Select all
{
    type = "recipe",
    name = "iron-dust",
    category = "centrifuge",
	icon = "__zorio__/graphics/components/iron-plate.png",
    energy_required = 50,
	enabled = true,
    ingredients = 
	{
		{ type="item", name="hutched-iron-ore", amount=1}
	},
    results =
	{
		{type="item", name="iron-dust", amount=2},
		{type="item", name="iron-plate", amount=2},
	}
  },Centrifuge machine
Code: Select all
{
    type = "assembling-machine",
    name = "zcentrifuge",
    icon = "__base__/graphics/icons/stone-furnace.png",
    flags = {"placeable-neutral","placeable-player", "player-creation"},
    minable = {hardness = 0.2, mining_time = 0.5, result = "zcentrifuge"},
    max_health = 400,
    corpse = "big-remnants",
    dying_explosion = "medium-explosion",
    collision_box = {{-0.7, -0.7}, {0.7, 0.7}},
		selection_box = {{-0.8, -1}, {0.8, 1}},
    --[[ module_specification =
    {
      module_slots = 2
    },
    allowed_effects = {"consumption", "speed", "productivity", "pollution"}, ]]--
    animation =
		{
			filename = "__base__/graphics/entity/stone-furnace/stone-furnace.png",
			priority = "extra-high",
			width = 81,
			height = 64,
			frame_count = 1,
			shift = {0.5, 0.05 }
		},
    working_visualisations =
		{
			{
				north_position = {0.0, 0.0},
				east_position = {0.0, 0.0},
				south_position = {0.0, 0.0},
				west_position = {0.0, 0.0},
				animation =
					{
						filename = "__base__/graphics/entity/stone-furnace/stone-furnace-fire.png",
						priority = "extra-high",
						width = 23,
						height = 27,
						frame_count = 12,
						shift = { 0.078125, 0.5234375}
					},
				light = {intensity = 1, size = 1}
			}
		},
    vehicle_impact_sound =  { filename = "__base__/sound/car-metal-impact.ogg", volume = 0.65 },
    working_sound =
    {
      sound =
      {
        {
          filename = "__base__/sound/chemical-plant.ogg",
          volume = 0.8
        }
      },
      idle_sound = { filename = "__base__/sound/idle1.ogg", volume = 0.6 },
      apparent_volume = 1.5,
    },
    crafting_speed = 1,
    energy_source =
		{
			type = "burner",
			effectivity = 0.7,
			fuel_inventory_size = 1,
			emissions = 0.02,
			smoke =
				{
					{
						name = "smoke",
						deviation = {0.1, 0.1},
						frequency = 5,
						position = {0.0, -0.8},
						starting_vertical_speed = 0.08,
						starting_frame_deviation = 60
					}
				}
		},
    energy_usage = "500kW",
    ingredient_count = 1,
    crafting_categories = {"centrifuge"},
  },



