moved sparkcode to sparkcore

This commit is contained in:
kamirama 2017-08-19 23:30:46 +02:00
parent b2cc2761ac
commit e78b78f44b
2 changed files with 2 additions and 5 deletions

View File

@ -2,11 +2,7 @@ local NAME = minetest.get_current_modname()
local PATH = minetest.get_modpath(NAME) .."/"
local MODFILES = minetest.get_dir_list(PATH,false)
local tab = ""
if sparktech == nil then
sparktech = {}
end
minetest.debug("|==============================================|")
for i=1,table.getn(MODFILES),1
do
if (string.find(MODFILES[i],".lua",-4)) then
@ -16,7 +12,7 @@ do
then
tab = "\t"
end
minetest.debug("| "..NAME .."\t~init\t" .. string.sub(MODFILES[i],1,-5)..tab.."\t |")
minetest.debug("| "..NAME .."\tload\t" .. string.sub(MODFILES[i],1,-5)..tab.."\t |")
tab = ""
end
end

View File

@ -1,3 +1,4 @@
sparktech = {}
function sparktech.register_wrench(name, dictionary)
local dig_stlye_alt = minetest.setting_getbool("spark_dig_stlye_alt")
local on_use = nil