Clean-up tree fruits
parent
0b780d3649
commit
5bb3a7ebe4
|
@ -28,6 +28,12 @@ do
|
|||
local t = { 0, true, "refruit:bud_banana", "refruit:flower_banana", "hades_trees:banana" }
|
||||
table.insert(plants_rotate, t)
|
||||
|
||||
local t = { 0, true, "refruit:bud_cocoa", "refruit:flower_cocoa", "hades_trees:cocoa_pod" }
|
||||
table.insert(plants_rotate, t)
|
||||
|
||||
local t = { 0, true, "refruit:bud_coconut", "refruit:flower_coconut", "hades_trees:coconut" }
|
||||
table.insert(plants_rotate, t)
|
||||
|
||||
t = { 0, false }
|
||||
for i=1,5 do
|
||||
table.insert(t, "hades_core:grass_"..i)
|
||||
|
|
|
@ -93,8 +93,10 @@ hades_trees.register_fruit = function(id, def)
|
|||
end
|
||||
local groups = {dig_immediate=3,flammable=2,leafdecay=3,leafdecay_drop=1,food=food,eatable=sat}
|
||||
if def.groups then
|
||||
groups.dig_immediate = nil
|
||||
for k,v in pairs(def.groups) do
|
||||
if v == 0 then
|
||||
v = nil
|
||||
end
|
||||
groups[k] = v
|
||||
end
|
||||
end
|
||||
|
|
|
@ -10,7 +10,6 @@ hades_trees.register_fruit("coconut", {
|
|||
drawtype = "plantlike",
|
||||
image = "hades_trees_coconut.png",
|
||||
selbox = {-5/16, -7/16, -5/16, 5/16, 7/16, 5/16},
|
||||
groups = {choppy=3},
|
||||
})
|
||||
|
||||
minetest.register_abm({
|
||||
|
|
Loading…
Reference in New Issue