1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2025-07-14 20:00:17 +02:00

add github luacheck workflow and various luacheck fixes

This commit is contained in:
unknown
2022-05-01 17:09:15 -04:00
parent e128b43b0a
commit 7f1cf733c5
5 changed files with 17 additions and 26 deletions

View File

@ -19,7 +19,7 @@ local tabletop_materials = {
}
}
leg_materials = {
local leg_materials = {
{ "brass", S("brass") },
{ "wrought_iron", S("wrought iron") },
{ "wood", S("wood") }
@ -55,7 +55,7 @@ local tables_cbox = {
}
for i, mat in ipairs(tabletop_materials) do
local m, small_s, small_r, large = unpack(mat)
local m = unpack(mat)
local s
if m == "glass" then
@ -101,7 +101,7 @@ for i, mat in ipairs(tabletop_materials) do
})
for _, l in ipairs(leg_materials) do
local leg_mat, desc = unpack(l)
local leg_mat = unpack(l)
homedecor.register(string.format("%s_table_%s_with_%s_legs", m, shape, leg_mat), {
description = string.format("%s %s table with %s legs", shape, m, leg_mat),