Add script for Luacheck

This commit is contained in:
Jean-Patrick Guerrero
2021-11-30 18:39:35 +01:00
parent 0b4250b54b
commit ab690398b7
5 changed files with 133 additions and 4 deletions

View File

@ -241,9 +241,9 @@ local function get_isometric_view(fs, pos, X, Y)
local p = area:position(idx)
p = vec_sub(p, pos)
local size = 0.25
local x = 2 + (size / 2 * (p.z - p.x))
local y = 1.15 + (size / 4 * (p.x + p.z - 2 * p.y))
local size = 0.25
if plant then
size -= 0.05