diff --git a/hive.lua b/hive.lua index e5666b0..45a1d3f 100644 --- a/hive.lua +++ b/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 }) diff --git a/itemframe.lua b/itemframe.lua index c9c275b..902e21b 100644 --- a/itemframe.lua +++ b/itemframe.lua @@ -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}