1
0
mirror of https://github.com/mt-mods/plantlife_modpack.git synced 2025-07-22 09:40:29 +02:00

cleanup codebase

This commit is contained in:
Niklp09
2023-07-10 18:49:34 +02:00
parent d9782771c3
commit 6212e52539
97 changed files with 195 additions and 862 deletions

View File

@ -161,19 +161,13 @@ 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"
groups.not_in_creative_inventory = 1
else
texture_top = "bushes_bush_top.png"
texture_bottom = "bushes_bush_bottom.png"
end
local node_dig_prediction
local node_placement_prediction
if bush_name ~= "fruitless" then