initial things

master
ademant 2018-12-11 14:04:57 +01:00
commit 4d2bc3fd19
2 changed files with 22 additions and 0 deletions

15
init.lua Normal file
View File

@ -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 ")

7
mod.conf Normal file
View File

@ -0,0 +1,7 @@
name = hudxp
title = hudxp
author = ademant
description = HUD bar with experience levels
depends = default
license = MIT
version = 1.0.0