qr code lib

This commit is contained in:
BuckarooBanzay 2023-01-28 17:49:12 +01:00
parent 54866b1f47
commit 1162262b9c
5 changed files with 1341 additions and 2 deletions

View file

@ -5,11 +5,15 @@ otp = {
storage = minetest.get_mod_storage(),
-- baseXX functions
basexx = loadfile(MP.."/basexx.lua")()
basexx = loadfile(MP.."/basexx.lua")(),
-- qr code
qrcode = loadfile(MP.."/qrencode.lua")().qrcode
}
dofile(MP.."/functions.lua")
if minetest.get_modpath("mtt") and mtt.enabled then
dofile(MP.."/functions.spec.lua")
dofile(MP.."/qrencode.spec.lua")
end