added hopper support
This commit is contained in:
parent
86d64d1583
commit
f2447200a1
@ -325,3 +325,11 @@ minetest.register_craft({
|
|||||||
{"group:wood", "group:wood", "group:wood"},
|
{"group:wood", "group:wood", "group:wood"},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
if forestry_bees.depends.hopper then
|
||||||
|
hopper:add_container({
|
||||||
|
{"top", "forestry_bees:apiary", "dst"},
|
||||||
|
{"bottom", "forestry_bees:apiary", "monarch"},
|
||||||
|
{"side", "forestry_bees:apiary", "drone"},
|
||||||
|
})
|
||||||
|
end
|
@ -1,2 +1,2 @@
|
|||||||
--base multiplier for bee lifespan, default value is 27.5 to have parity with MC-forestry
|
--base multiplier for bee lifespan, default value is 27.5 to have parity with MC-forestry
|
||||||
lifespan_multiplier = 1
|
lifespan_multiplier = 0.05
|
||||||
|
@ -1,7 +1,15 @@
|
|||||||
--definitions that can be used around
|
--definitions that can be used around
|
||||||
forestry_bees = {}
|
forestry_bees = {}
|
||||||
|
forestry_bees.depends = {hopper = false, pipeworks = false}
|
||||||
forestry_bees.settings = Settings(minetest.get_modpath("forestry_bees") .. "/forestry_bees.conf")
|
forestry_bees.settings = Settings(minetest.get_modpath("forestry_bees") .. "/forestry_bees.conf")
|
||||||
|
|
||||||
|
if minetest.get_modpath('hopper') then
|
||||||
|
forestry_bees.depends["hopper"] = true
|
||||||
|
end
|
||||||
|
if minetest.get_modpath('pipeworks') then
|
||||||
|
forestry_bees.depends["pipeworks"] = true
|
||||||
|
end
|
||||||
|
|
||||||
dofile(minetest.get_modpath("forestry_bees") .. "/helper.lua")
|
dofile(minetest.get_modpath("forestry_bees") .. "/helper.lua")
|
||||||
dofile(minetest.get_modpath("forestry_bees") .. "/bee_genes.lua")
|
dofile(minetest.get_modpath("forestry_bees") .. "/bee_genes.lua")
|
||||||
dofile(minetest.get_modpath("forestry_bees") .. "/register.lua")
|
dofile(minetest.get_modpath("forestry_bees") .. "/register.lua")
|
||||||
|
Loading…
Reference in New Issue
Block a user