yl_template/init.lua

36 lines
1.3 KiB
Lua
Raw Permalink Normal View History

2021-06-16 08:51:26 -07:00
-- Version 0.0.1
-- Author AliasAlreadyTaken
-- License MIT
-- Changelog
local mod_start_time = core.get_us_time()
core.log("action", "[MOD] yl_template loading")
yl_template = {}
yl_template.error = {}
yl_template.modstorage = core.get_mod_storage()
yl_template.modpath = core.get_modpath("yl_template") .. DIR_DELIM
yl_template.worldpath = core.get_worldpath() .. DIR_DELIM
2021-07-06 11:04:21 -07:00
yl_template.information = {}
yl_template.information.version = "0.0.1"
yl_template.information.author = "AliasAlreadyTaken"
yl_template.information.license = "MIT"
2021-07-07 09:40:34 -07:00
yl_template.information.name = "yl_template"
2022-02-25 15:44:45 -08:00
yl_template.information.source = "https://gitea.your-land.de/your-land/yl_template"
2021-07-06 11:04:21 -07:00
yl_template.information.additional = "Additional information"
2021-06-16 08:51:26 -07:00
dofile(yl_template.modpath .. "config.lua")
2022-02-18 19:28:03 -08:00
dofile(yl_template.modpath .. "setup.lua")
2021-11-06 02:35:36 -07:00
dofile(yl_template.modpath .. "privs.lua")
2021-06-16 08:51:26 -07:00
dofile(yl_template.modpath .. "internal.lua")
dofile(yl_template.modpath .. "api.lua")
dofile(yl_template.modpath .. "distinct_feature.lua")
dofile(yl_template.modpath .. "overwrite_feature.lua")
dofile(yl_template.modpath .. "globalsteps.lua")
2021-11-06 08:33:50 -07:00
dofile(yl_template.modpath .. "chatcommands.lua")
2021-06-16 08:51:26 -07:00
local mod_end_time = (core.get_us_time() - mod_start_time) / 1000000
core.log("action", "[MOD] yl_template loaded in [" .. mod_end_time .. "s]")