From dc2432caac9ea34c695ba3f349c220a6e0807cc4 Mon Sep 17 00:00:00 2001 From: berengma Date: Sun, 21 Jan 2018 12:27:32 +0100 Subject: [PATCH] added mods and styles are logged to debug, chisel is array now --- chisel.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/chisel.lua b/chisel.lua index c3dff46..809abf5 100644 --- a/chisel.lua +++ b/chisel.lua @@ -1,6 +1,7 @@ local USES = 200 local color = '#FF6700' local TechnicMaxCharge = 300000 +chisel = {} chisel.materials = {} chisel.mods = {} @@ -69,6 +70,7 @@ function chisel.add_mod(modname,number) -- global function t chisel.mods [counter] = {} chisel.mods [counter][1] = modname chisel.mods [counter][2] = number + minetest.log("action","[CHISEL] Added mod "..modname .. " with " .. number.." styles to mychisel") -- log loaded mods to debug.txt end