mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-27 11:47:32 +01:00
34 lines
1.1 KiB
Lua
34 lines
1.1 KiB
Lua
local init = os.clock()
|
|
mcl_farming = {}
|
|
|
|
-- IMPORTANT API AND HELPER FUNCTIONS --
|
|
-- Contain functions for planting seed, addind plant growth and gourds (melon/pumpkin-like)
|
|
dofile(minetest.get_modpath("mcl_farming").."/shared_functions.lua")
|
|
|
|
-- ========= SOIL =========
|
|
dofile(minetest.get_modpath("mcl_farming").."/soil.lua")
|
|
|
|
-- ========= HOES =========
|
|
dofile(minetest.get_modpath("mcl_farming").."/hoes.lua")
|
|
|
|
-- ========= WHEAT =========
|
|
dofile(minetest.get_modpath("mcl_farming").."/wheat.lua")
|
|
|
|
-- ======= PUMPKIN =========
|
|
dofile(minetest.get_modpath("mcl_farming").."/pumpkin.lua")
|
|
|
|
-- ========= MELON =========
|
|
dofile(minetest.get_modpath("mcl_farming").."/melon.lua")
|
|
|
|
-- ========= CARROT =========
|
|
dofile(minetest.get_modpath("mcl_farming").."/carrots.lua")
|
|
|
|
-- ========= POTATOES =========
|
|
dofile(minetest.get_modpath("mcl_farming").."/potatoes.lua")
|
|
|
|
-- ========= BEETROOT =========
|
|
dofile(minetest.get_modpath("mcl_farming").."/beetroot.lua")
|
|
|
|
local time_to_load= os.clock() - init
|
|
print(string.format("[MOD] "..minetest.get_current_modname().." loaded in %.4f s", time_to_load))
|