mirror of
https://github.com/Refactorio/RedMew.git
synced 2025-01-30 04:30:58 +02:00
Update redmew_qol.lua
This commit is contained in:
parent
7b78dc036b
commit
ee2e77fbba
@ -408,14 +408,15 @@ local function player_craft_loaders(event, loader_type)
|
||||
local button = event.button -- int
|
||||
local shift = event.shift -- bool
|
||||
local player = event.player
|
||||
local count = 0
|
||||
if button == defines.mouse_button_type.left then
|
||||
if shift then
|
||||
local count = 4294967295 -- uint highest value. Factorio crafts as many as able
|
||||
count = 4294967295 -- uint highest value. Factorio crafts as many as able
|
||||
else
|
||||
local count = 1
|
||||
count = 1
|
||||
end
|
||||
elseif button == defines.mouse_button_type.right then
|
||||
local count = 5
|
||||
count = 5
|
||||
else
|
||||
return
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user