2017-02-01 01:32:56 +03:00
|
|
|
mcl_core = {}
|
|
|
|
|
2017-02-14 19:17:49 +03:00
|
|
|
-- Repair percentage for toolrepair
|
|
|
|
mcl_core.repair = 0.05
|
|
|
|
|
2021-03-11 17:06:30 +03:00
|
|
|
mcl_autogroup.register_diggroup("handy")
|
2021-03-15 23:55:59 +03:00
|
|
|
mcl_autogroup.register_diggroup("pickaxey", {
|
|
|
|
levels = { "wood", "gold", "stone", "iron", "diamond" }
|
|
|
|
})
|
2021-03-11 17:06:30 +03:00
|
|
|
mcl_autogroup.register_diggroup("axey")
|
|
|
|
mcl_autogroup.register_diggroup("shovely")
|
|
|
|
mcl_autogroup.register_diggroup("shearsy")
|
|
|
|
mcl_autogroup.register_diggroup("shearsy_wool")
|
|
|
|
mcl_autogroup.register_diggroup("shearsy_cobweb")
|
|
|
|
mcl_autogroup.register_diggroup("swordy")
|
|
|
|
mcl_autogroup.register_diggroup("swordy_cobweb")
|
2021-03-21 14:36:33 +03:00
|
|
|
mcl_autogroup.register_diggroup("hoey")
|
2021-03-09 23:43:25 +03:00
|
|
|
|
2017-02-01 01:32:56 +03:00
|
|
|
-- Load files
|
2017-07-07 17:52:28 +03:00
|
|
|
local modpath = minetest.get_modpath("mcl_core")
|
|
|
|
dofile(modpath.."/functions.lua")
|
|
|
|
dofile(modpath.."/nodes_base.lua") -- Simple solid cubic nodes with simple definitions
|
|
|
|
dofile(modpath.."/nodes_liquid.lua") -- Liquids
|
|
|
|
dofile(modpath.."/nodes_cactuscane.lua") -- Cactus and sugar canes
|
|
|
|
dofile(modpath.."/nodes_trees.lua") -- Tree nodes: Wood, Planks, Sapling, Leaves
|
|
|
|
dofile(modpath.."/nodes_glass.lua") -- Glass
|
|
|
|
dofile(modpath.."/nodes_climb.lua") -- Climbable nodes
|
|
|
|
dofile(modpath.."/nodes_misc.lua") -- Other and special nodes
|
|
|
|
dofile(modpath.."/craftitems.lua")
|
|
|
|
dofile(modpath.."/crafting.lua")
|