Version 0.41.3
[MineClone/MineClone2/MineClone2-Fixes.git] / mods / ITEMS / mcl_farming / init.lua
blob19be538055e32e5caec2483740a75cdda5a456d0
1 local init = os.clock()
2 mcl_farming = {}
4 -- IMPORTANT API AND HELPER FUNCTIONS --
5 -- Contain functions for planting seed, addind plant growth and gourds (melon/pumpkin-like)
6 dofile(minetest.get_modpath("mcl_farming").."/shared_functions.lua")
8 -- ========= SOIL =========
9 dofile(minetest.get_modpath("mcl_farming").."/soil.lua")
11 -- ========= HOES =========
12 dofile(minetest.get_modpath("mcl_farming").."/hoes.lua")
14 -- ========= WHEAT =========
15 dofile(minetest.get_modpath("mcl_farming").."/wheat.lua")
17 -- ======= PUMPKIN =========
18 dofile(minetest.get_modpath("mcl_farming").."/pumpkin.lua")
20 -- ========= MELON =========
21 dofile(minetest.get_modpath("mcl_farming").."/melon.lua")
23 -- ========= CARROT =========
24 dofile(minetest.get_modpath("mcl_farming").."/carrots.lua")
26 -- ========= POTATOES =========
27 dofile(minetest.get_modpath("mcl_farming").."/potatoes.lua")
29 -- ========= BEETROOT =========
30 dofile(minetest.get_modpath("mcl_farming").."/beetroot.lua")
32 local time_to_load= os.clock() - init
33 print(string.format("[MOD] "..minetest.get_current_modname().." loaded in %.4f s", time_to_load))