Reduce hive radius a bit

This commit is contained in:
jp 2015-11-15 22:15:04 +01:00
parent d2ec545395
commit c6b4930650
2 changed files with 3 additions and 2 deletions

View File

@ -51,12 +51,12 @@ minetest.register_abm({
local honeystack = inv:get_stack("honey", 1)
local honey = honeystack:get_count()
local radius = 8
local radius = 4
local minp = vector.add(pos, -radius)
local maxp = vector.add(pos, radius)
local flowers = minetest.find_nodes_in_area(minp, maxp, "group:flower")
if #flowers >= 4 and honey < 16 then
if #flowers >= 2 and honey < 10 then
inv:add_item("honey", "xdecor:honey") end
end
})

View File

@ -84,6 +84,7 @@ xdecor.register("frame", {
groups = {choppy=3, snappy=2},
sounds = default.node_sound_wood_defaults(),
on_rotate = screwdriver.disallow,
sunlight_propagates = true,
node_box = {
type = "fixed",
fixed = {-0.5, -0.5, 7/16, 0.5, 0.5, 0.5}