1
0
mirror of https://github.com/mt-mods/plantlife_modpack.git synced 2025-07-16 23:01:07 +02:00

fix most luacheck warnings

This commit is contained in:
OgelGames
2021-12-27 16:11:37 +11:00
parent 92325d69b3
commit 1a841dfba2
14 changed files with 8 additions and 38 deletions

View File

@ -161,17 +161,10 @@ for i, bush_name in ipairs(bushes_classic.bushes) do
groups = { dig_immediate = 3 },
})
local texture_top, texture_bottom
local groups = {snappy = 3, bush = 1, flammable = 2, attached_node=1}
if bush_name == "mixed_berry" then
bush_name = "fruitless";
texture_top = "bushes_fruitless_bush_top.png"
texture_bottom = "bushes_fruitless_bush_bottom.png"
bush_name = "fruitless"
groups.not_in_creative_inventory = 1
else
texture_top = "bushes_bush_top.png"
texture_bottom = "bushes_bush_bottom.png"
end
minetest.register_node(":bushes:" .. bush_name .. "_bush", {