23 lines
706 B
Lua
23 lines
706 B
Lua
local modname = minetest.get_current_modname()
|
|
|
|
local mod_start_time = minetest.get_us_time()
|
|
minetest.log("action", ("[MOD] %s loading"):format(modname))
|
|
|
|
local modpath = minetest.get_modpath(modname) .. DIR_DELIM
|
|
|
|
yl_dice = {
|
|
information = {
|
|
version = "1.0.1",
|
|
author = "whosit",
|
|
license = "MIT",
|
|
name = modname,
|
|
source = "https://gitea.your-land.de/your-land/" .. modname,
|
|
additional = "This mod implements a simple dice block that players can roll",
|
|
},
|
|
}
|
|
|
|
dofile(modpath .. "internal.lua")
|
|
|
|
local mod_end_time = (minetest.get_us_time() - mod_start_time) / 1000000
|
|
minetest.log("action", ("[MOD] %s loaded in [%s]"):format(modname, mod_end_time))
|