render no ceilings on next floor
This commit is contained in:
@@ -116,10 +116,14 @@ local function newdesign()
|
|||||||
renderblock(currentbuf-1)
|
renderblock(currentbuf-1)
|
||||||
--term.blit("C", colors.toBlit(colors.black), colors.toBlit(colors.red))
|
--term.blit("C", colors.toBlit(colors.black), colors.toBlit(colors.red))
|
||||||
elseif currentbuf == 0 or currentbuf == nil then -- nothing
|
elseif currentbuf == 0 or currentbuf == nil then -- nothing
|
||||||
|
if buf[posasstring(x-camx, currentfloor-1, z-camy)] == 2 then
|
||||||
|
term.blit("\127", colors.toBlit(colors.red), colors.toBlit(colors.black))
|
||||||
|
else
|
||||||
term.blit("\127", colors.toBlit(colors.gray), colors.toBlit(colors.black))
|
term.blit("\127", colors.toBlit(colors.gray), colors.toBlit(colors.black))
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
term.setcol(colors.yellow, colors.black)
|
term.setcol(colors.yellow, colors.black)
|
||||||
local _,y = term.getSize()
|
local _,y = term.getSize()
|
||||||
term.setCursorPos(1,y-1)
|
term.setCursorPos(1,y-1)
|
||||||
|
|||||||
Reference in New Issue
Block a user