generated from your-land/yl_template
32 lines
1.2 KiB
Lua
32 lines
1.2 KiB
Lua
-- Version 1.0.0
|
|
-- Author AliasAlreadyTaken
|
|
-- License MIT
|
|
-- Changelog
|
|
local mod_start_time = minetest.get_us_time()
|
|
minetest.log("action", "[MOD] yl_scheduler loading")
|
|
|
|
yl_scheduler = {}
|
|
yl_scheduler.error = {}
|
|
yl_scheduler.modstorage = minetest.get_mod_storage()
|
|
yl_scheduler.modpath = minetest.get_modpath("yl_scheduler") .. DIR_DELIM
|
|
yl_scheduler.worldpath = minetest.get_worldpath() .. DIR_DELIM
|
|
|
|
yl_scheduler.information = {}
|
|
yl_scheduler.information.version = "1.0.0"
|
|
yl_scheduler.information.author = "AliasAlreadyTaken"
|
|
yl_scheduler.information.license = "MIT"
|
|
yl_scheduler.information.name = "yl_scheduler"
|
|
yl_scheduler.information.source = "https://gitea.your-land.de/your-land/yl_scheduler"
|
|
yl_scheduler.information.additional = "Execute tasks based on utc"
|
|
|
|
dofile(yl_scheduler.modpath .. "config.lua")
|
|
dofile(yl_scheduler.modpath .. "setup.lua")
|
|
dofile(yl_scheduler.modpath .. "internal.lua")
|
|
dofile(yl_scheduler.modpath .. "api.lua")
|
|
dofile(yl_scheduler.modpath .. "initialize.lua")
|
|
dofile(yl_scheduler.modpath .. "globalsteps.lua")
|
|
dofile(yl_scheduler.modpath .. "chatcommands.lua")
|
|
|
|
local mod_end_time = (minetest.get_us_time() - mod_start_time) / 1000000
|
|
minetest.log("action", "[MOD] yl_scheduler loaded in [" .. mod_end_time .. "s]")
|