From 4d2bc3fd19ef5d758767b0a2386950b25e228db1 Mon Sep 17 00:00:00 2001 From: ademant Date: Tue, 11 Dec 2018 14:04:57 +0100 Subject: [PATCH] initial things --- init.lua | 15 +++++++++++++++ mod.conf | 7 +++++++ 2 files changed, 22 insertions(+) create mode 100644 init.lua create mode 100644 mod.conf diff --git a/init.lua b/init.lua new file mode 100644 index 0000000..4e1b677 --- /dev/null +++ b/init.lua @@ -0,0 +1,15 @@ + +hudxp = {} +hudxp.path = minetest.get_modpath("hudxp") +hudxp.modname=minetest.get_current_modname() +hudxp.mod_storage=minetest.get_mod_storage() + +minetest.log("action", "[MOD]"..minetest.get_current_modname().." -- start loading from "..minetest.get_modpath(minetest.get_current_modname())) +-- Load files + + +dofile(xpfw.path .. "/api.lua") -- API +dofile(xpfw.path .. "/config.lua") -- API +dofile(xpfw.path .. "/chat_commands.lua") + +minetest.log("action", "[MOD]"..minetest.get_current_modname().." -- loaded ") diff --git a/mod.conf b/mod.conf new file mode 100644 index 0000000..4c6fcf9 --- /dev/null +++ b/mod.conf @@ -0,0 +1,7 @@ +name = hudxp +title = hudxp +author = ademant +description = HUD bar with experience levels +depends = default +license = MIT +version = 1.0.0