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