[0.11.15] [wooden-chest] Automation issue
Posted: Mon Feb 09, 2015 3:21 pm
So this bug might be a bit odd, but it causes a recycling machine I've made to be less useful.
I made a recycling machine that gives back half of the ingredients used to make an item. It works flawlessly for all the recycling recipes I've added thus far except one, wooden-chest.
You can manually add the chest into the machine and it works as intended. But inserters will not work with it. Also you cant shift click it in or ctrl click it in. You can however do this will all the other recipes I have made.
Here is the chest recipe
Here is one of the many other working recipes
Here is the rest of the relevant prototyping
I have gone over this many times, but it is something I cant seem to get around. It works for iron-chests as well so its not related to chests in general.
I would appreciate it if you could figure this out, and will provide more info if needed.
I made a recycling machine that gives back half of the ingredients used to make an item. It works flawlessly for all the recycling recipes I've added thus far except one, wooden-chest.
You can manually add the chest into the machine and it works as intended. But inserters will not work with it. Also you cant shift click it in or ctrl click it in. You can however do this will all the other recipes I have made.
Here is the chest recipe
Code: Select all
{
type = "recipe",
name = "rec-wooden-chest",
category = "recycling",
hidden = "true",
--enabled = "false",
energy_required = 1, --50 when out of testing
ingredients = {{"wooden-chest", 1}},
result = "wood",
result_count = 2
},
Code: Select all
{
type = "recipe",
name = "rec-stone-belt",
category = "recycling",
hidden = "true",
--enabled = "false",
energy_required = 1, --50 when out of testing
ingredients = {{"stone-belt", 1}},
result = "stone",
result_count = 1
},
Code: Select all
{
type = "recipe-category",
name = "recycling"
},
--ENTITY
{
type = "furnace",
name = "recycler",
icon = "__base__/graphics/icons/electric-furnace.png",
flags = {"placeable-neutral", "placeable-player", "player-creation"},
minable = {mining_time = 1, result = "recycler"},
max_health = 250,
corpse = "big-remnants",
dying_explosion = "huge-explosion",
light = {intensity = 1, size = 10},
resistances =
{
{
type = "fire",
percent = 80
}
},
collision_box = {{-1.2, -1.2}, {1.2, 1.2}},
selection_box = {{-1.5, -1.5}, {1.5, 1.5}},
module_slots = 2,
allowed_effects = {"consumption", "speed", "pollution"},
crafting_categories = {"recycling"},
result_inventory_size = 4,
crafting_speed = 2,
energy_usage = "180kW",
source_inventory_size = 1,
energy_source =
{
type = "electric",
usage_priority = "secondary-input",
emissions = 0.005
},
working_sound =
{
sound =
{
filename = "__base__/sound/electric-furnace.ogg",
volume = 0.7
},
apparent_volume = 1.5
},
animation =
{
filename = "__base__/graphics/entity/electric-furnace/electric-furnace-base.png",
priority = "high",
width = 129,
height = 100,
frame_count = 1,
shift = {0.421875, 0}
},
working_visualisations =
{
{
animation =
{
filename = "__base__/graphics/entity/electric-furnace/electric-furnace-heater.png",
priority = "high",
width = 25,
height = 15,
frame_count = 12,
animation_speed = 0.5,
shift = {0.015625, 0.890625}
},
light = {intensity = 0.4, size = 6, shift = {0.0, 1.0}}
},
{
animation =
{
filename = "__base__/graphics/entity/electric-furnace/electric-furnace-propeller-1.png",
priority = "high",
width = 19,
height = 13,
frame_count = 4,
animation_speed = 0.5,
shift = {-0.671875, -0.640625}
}
},
{
animation =
{
filename = "__base__/graphics/entity/electric-furnace/electric-furnace-propeller-2.png",
priority = "high",
width = 12,
height = 9,
frame_count = 4,
animation_speed = 0.5,
shift = {0.0625, -1.234375}
}
}
}
},
--ITEM
{
type = "item",
name = "recycler",
icon = "__base__/graphics/icons/electric-furnace.png",
flags = {"goes-to-quickbar"},
subgroup = "smelting-machine",
order = "d[recycler]",
place_result = "recycler",
stack_size = 50
},
--RECIPE
{
type = "recipe",
name = "recycler",
--enabled = "false",
ingredients = {{"iron-stick", 2000}, {"iron-plate", 300}},
result = "recycler"
},
I would appreciate it if you could figure this out, and will provide more info if needed.