Comments on mcl_copper/init.lua

This commit is contained in:
JoseDouglas26 2024-05-05 11:05:42 -03:00
parent b71936dbc3
commit f45b38c4dc
1 changed files with 10 additions and 2 deletions

View File

@ -1,9 +1,17 @@
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.
]]
dofile(path .. "/functions.lua")