Can I create custom crafting hotkey?

Place to get help with not working mods / modding interface.
feengi
Manual Inserter
Manual Inserter
Posts: 3
Joined: Sun Dec 08, 2019 12:01 pm
Contact:

Can I create custom crafting hotkey?

Post by feengi »

Hello,

I want to create a mod which allows to craft not only 1 or 5 items, but 10 or 50 or even custom amount of items.
For example I want to assign ctrl+click to craft 10 items, or cmd+right click to pop up the window which contain some input where the player could enter desirable amount of crafted items.

The closest thing I've found is https://mods.factorio.com/mod/crafting-hotkeys mod. But it requires to put items on action bar.

So is it possible to create such a hotkey?

Thank you
feengi
Manual Inserter
Manual Inserter
Posts: 3
Joined: Sun Dec 08, 2019 12:01 pm
Contact:

Re: Can I create custom crafting hotkey?

Post by feengi »

This function I would call finally. But not I am looking for a way to intercept pressing on a craft buttons with some modifiers like ctrl, alt and so on.
Post Reply

Return to “Modding help”