leafi / exact-grab

Exact Grab mod for Factorio

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Exact Grab for Factorio

A Factorio mod that lets you type or scroll to select an exact number of items.

Ctrl+1 then Ctrl+2 (like typing '12' with Ctrl held down) to select 12 items of the stack held in your cursor.

typing demo

Ctrl+mouse wheel to 'scroll' up or down one item at a time.

scroll demo

Ctrl+R to recall a stack (item type, quantity) like the last one you manually selected.

recall demo

More stuff/other increments can be found in Factorio's "Controls" screen when the mod is loaded.

The core method is the control.lua apply_desired_grab function.

About

Exact Grab mod for Factorio

License:MIT License


Languages

Language:Lua 91.4%Language:Shell 8.6%