qol
This commit is contained in:
11
src/main.lua
11
src/main.lua
@@ -655,9 +655,6 @@ local function VP_lengthofdict(target)
|
||||
end
|
||||
local function VP_splitstack(_stack, x)
|
||||
local stack = _stack["stacks"]
|
||||
local dimensions = _stack["dimensions"]
|
||||
local sx = dimensions["x"]
|
||||
local sz = dimensions["z"]
|
||||
local height = _stack["height"]
|
||||
local stacks = {}
|
||||
local spliteverx = math.floor(VP_lengthofdict(stack)/x)
|
||||
@@ -716,20 +713,20 @@ local function VP_printstack(buf, dimensions, cx,cy,cz,direction)
|
||||
if tempbuf then
|
||||
cx,cz,direction = VP_moveto(x,z, cx,cz,direction)
|
||||
for _=1,buf["height"],1 do
|
||||
move("down")
|
||||
move("down", true)
|
||||
end
|
||||
for _,v in pairs(tempbuf) do
|
||||
if v then
|
||||
place("down")
|
||||
end
|
||||
move("up")
|
||||
move("up", true)
|
||||
end
|
||||
move("up")
|
||||
move("up", true)
|
||||
end
|
||||
end
|
||||
end
|
||||
VP_moveto(ox,oz, cx,cz,direction)
|
||||
for _=1,buf["height"],1 do
|
||||
for _=1,buf["height"]+1,1 do
|
||||
move("down")
|
||||
end
|
||||
center(direction, 0)
|
||||
|
||||
Reference in New Issue
Block a user