init with comments

This commit is contained in:
JoseDouglas26 2024-06-02 10:59:09 -03:00
parent e6de710911
commit 67b030906d
1 changed files with 6 additions and 2 deletions

View File

@ -1,10 +1,14 @@
local path = minetest.get_modpath("mcl_copper")
local path = minetest.get_modpath("mcl_copper") -- Getting mcl_copper mod path
mcl_copper = {} -- initialize global variable.
mcl_copper = {} -- Initializing global variable mcl_copper.
-- Loading the file containing the descriptions and longdescs of each block
dofile(path .. "/descriptions.lua")
-- Loading the file that registers all blocks provided by this mod
dofile(path .. "/nodes.lua")
-- Loading the file that registers craftitems
dofile(path .. "/items.lua")
-- Loading the file that registers the blocks crafting recipes
dofile(path .. "/crafting.lua")
-- Loading the file that handles oxidized, waxed and stripped variants for blocks that are registered
-- in other mods and normally do not have these variants.