Reduce hive radius a bit
This commit is contained in:
parent
d2ec545395
commit
c6b4930650
4
hive.lua
4
hive.lua
@ -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
|
||||
})
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user