forestry/forestry_bees/init.lua
2024-10-20 13:48:25 +02:00

19 lines
784 B
Lua

--definitions that can be used around
forestry_bees = {}
forestry_bees.depends = {hopper = false, pipeworks = false}
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") .. "/bee_genes.lua")
dofile(minetest.get_modpath("forestry_bees") .. "/register.lua")
dofile(minetest.get_modpath("forestry_bees") .. "/bee_drops.lua")
dofile(minetest.get_modpath("forestry_bees") .. "/mutations.lua")
dofile(minetest.get_modpath("forestry_bees") .. "/apiary.lua")