Code: Select all
local scanneritem = {
type = "selection-tool",
name = name,
icon = graphics.."icons/"..name..".png",
icon_size = 64,
stack_size = 1,
subgroup = "logistics-observation",
order = "f["..name.."]",
open_sound = sounds.open_sound,
close_sound = sounds.close_sound,
selection_mode = {"nothing"},
selection_color = {a=0},
selection_cursor_box_type = "entity",
alt_selection_mode = {"nothing"},
alt_selection_color = {a=0},
alt_selection_cursor_box_type = "entity",
mouse_cursor = name,
flags = {"mod-openable"}
}
This item is used in certain recipes. Five of them are needed at once. However, while this worked fine in 1.1.37, as of 1.1.38 they will no longer stack in assembling machines.
If this is intentional, I will need some other way of "opening" an item. In my particular case it's really just a way of accessing a special GUI for the item, so technically all I really need is some way of detecting a right-click on any item having this name, they aren't item-specific, so any pointers for a workaround would help too, but this does seem like a regression since it doesn't appear to be listed as an intentional change in the changelog.