1
0
Fork 0
MineClone2/mods/ITEMS/mcl_farming/init.lua

34 lines
1.1 KiB
Lua
Raw Normal View History

local init = os.clock()
2017-01-31 11:35:59 +00:00
mcl_farming = {}
2015-06-29 17:55:56 +00:00
-- 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")
2015-06-29 17:55:56 +00:00
-- ========= SOIL =========
2017-01-31 11:35:59 +00:00
dofile(minetest.get_modpath("mcl_farming").."/soil.lua")
2015-06-29 17:55:56 +00:00
-- ========= HOES =========
2017-01-31 11:35:59 +00:00
dofile(minetest.get_modpath("mcl_farming").."/hoes.lua")
2015-06-29 17:55:56 +00:00
-- ========= WHEAT =========
2017-01-31 11:35:59 +00:00
dofile(minetest.get_modpath("mcl_farming").."/wheat.lua")
2015-06-29 17:55:56 +00:00
-- ======= PUMPKIN =========
2017-01-31 11:35:59 +00:00
dofile(minetest.get_modpath("mcl_farming").."/pumpkin.lua")
2015-06-29 17:55:56 +00:00
-- ========= MELON =========
2017-01-31 11:35:59 +00:00
dofile(minetest.get_modpath("mcl_farming").."/melon.lua")
2015-06-29 17:55:56 +00:00
-- ========= CARROT =========
2017-01-31 11:35:59 +00:00
dofile(minetest.get_modpath("mcl_farming").."/carrots.lua")
2015-06-29 17:55:56 +00:00
-- ========= POTATOES =========
2017-01-31 11:35:59 +00:00
dofile(minetest.get_modpath("mcl_farming").."/potatoes.lua")
2015-06-29 17:55:56 +00:00
2017-02-01 12:27:49 +00:00
-- ========= BEETROOT =========
2017-02-06 17:29:13 +00:00
dofile(minetest.get_modpath("mcl_farming").."/beetroot.lua")
2017-02-01 12:27:49 +00:00
local time_to_load= os.clock() - init
print(string.format("[MOD] "..minetest.get_current_modname().." loaded in %.4f s", time_to_load))