Crafting Tools


Adds hotkeys to craft items from your cursor, quickbar or nearby ghost items NEW: craft nearby upgrade requests if not in inventory FIX: craft merged chests

Utilities
4 months ago
1.1 - 2.0
2.94K

g Hotbar crafting broken - Steam

9 months ago
(updated 9 months ago)

Get an error message when crafting with the quickbar (hotkey).

No recipe found for [LuaItemPrototye burner-mining-drill (item)].

No conflicting mods. No duplicate key bindings. Version 3.2.7 on Factorio 2.0. Have base mod and corelib.

4 months ago

Hey Kux, I get the same error. I must be doing something incorrectly.

I collect some wood and place a wooden chest in slot 1, press Alt + 1 and receive the console message: "No recipe found for Unknown key: "wooden-chest".
I have tried Crafting Tools with Space Age active and in-active, same results.

4 months ago

there is no recipe “wooden-chest”. at least that's what it looks like in the error message. it doesn't find any localization either.
of course you built one, but should i say i can't see inside your game ;-)
basically it should work. just tested with a new game
https://prnt.sc/v4d5CgpmhybA
I have no clue

4 months ago

Changing item to item.name as the parameter to craft(), resolves the issue for me.

for i = 1, 10 do
    register(string.format("shortcut-%x-", i), function(count)
        return function(event)
            local player = game.get_player(event.player_index)
            local bar = player.get_active_quick_bar_page(1) or 1
            local item = player.get_quick_bar_slot((bar - 1) * 10 + i)
            if item ~= nil then
                craft(player, item.name, count)
            end
        end
    end)
end
4 months ago

this is strange. but i found the reason. at 17.11.2024 i published the 3.2.7 obviously WITHOUT this change. but it was already in my repository.
now 3.2.8 is released. thanks for the push

New response