From f45b38c4dce4f8d7b4f3613ebba082a7135233b9 Mon Sep 17 00:00:00 2001 From: JoseDouglas26 Date: Sun, 5 May 2024 11:05:42 -0300 Subject: [PATCH] Comments on mcl_copper/init.lua --- mods/ITEMS/mcl_copper/init.lua | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/mods/ITEMS/mcl_copper/init.lua b/mods/ITEMS/mcl_copper/init.lua index e300f9143..7e3cf48e1 100644 --- a/mods/ITEMS/mcl_copper/init.lua +++ b/mods/ITEMS/mcl_copper/init.lua @@ -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")