Instructions:
Join game.
Give yourself a box
put in the box some speed modules
pick up a stack of speed modules, hold ALT and scroll the mouse wheel up.
Then pick up any item like an assembler with the Q key.
ALT Mouse Up - and your bots will pick up and place the stacks of those you are dropping into yellow boxes
In data.lua:
Code: Select all
data:extend({
{
type = "custom-input",
name = "suppress-alt-scroll",
key_sequence = "ALT + MOUSE-WHEEL-UP",
consuming = "game-only"
},
{
type = "custom-input",
name = "suppress-alt-scroll-down",
key_sequence = "ALT + MOUSE-WHEEL-DOWN",
consuming = "game-only"
}
})
Code: Select all
--=================================================================================================
-- Remove Alt-Scroll ability
script.on_event("suppress-alt-scroll", function(event)
-- Do nothing
end)
script.on_event("suppress-alt-scroll-down", function(event)
-- Also do nothing
end)