25 lines
815 B
Lua
25 lines
815 B
Lua
-- 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
|
|
|
|
dofile(yl_template.modpath .. "config.lua")
|
|
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")
|
|
|
|
local mod_end_time = (core.get_us_time() - mod_start_time) / 1000000
|
|
core.log("action", "[MOD] yl_template loaded in [" .. mod_end_time .. "s]")
|