Allow shift+move for preassign inventory
parent
08858f8749
commit
cf97fa78ca
|
@ -149,7 +149,9 @@ local function formspec_cfg(pos, mem)
|
|||
"list[context;filter;5,1;4,2;]"..
|
||||
"label[5.3,3;5]label[6.3,3;6]label[7.3,3;7]label[8.3,3;8]"..
|
||||
"button[0.2,1;1.5,1;back;"..I("Back").."]"..
|
||||
"list[current_player;main;0.5,3.8;8,4;]"
|
||||
"list[current_player;main;0.5,3.8;8,4;]"..
|
||||
"listring[context;filter]"..
|
||||
"listring[current_player;main]"
|
||||
end
|
||||
|
||||
local function get_capa(itemstack)
|
||||
|
|
|
@ -272,7 +272,7 @@ signs_bot.register_botcommand("pause", {
|
|||
end,
|
||||
cmnd = function(base_pos, mem, sec)
|
||||
if not mem.steps then
|
||||
mem.steps = tonumber(sec or 1)
|
||||
mem.steps = tonumber(sec) or 1
|
||||
end
|
||||
mem.steps = mem.steps - 1
|
||||
if mem.steps == 0 then
|
||||
|
|
Loading…
Reference in New Issue