/Tukui/core/init.lua
http://github.com/Asphyxia/Tukui · Lua · 19 lines · 5 code · 4 blank · 10 comment · 0 complexity · 001f280ae1387890a085dfea585b4151 MD5 · raw file
- ----------------------------------------------------------------
- -- initiation of tukui
- ----------------------------------------------------------------
- -- including system
- local addon, engine = ...
- engine[1] = {} -- T, functions, constants, variables
- engine[2] = {} -- C, config
- engine[3] = {} -- L, localization
- Tukui = engine -- Allow other addons to use Engine
- ---------------------------------------------------------------------------------
- -- This should be at the top of every file inside of the Tukui AddOn:
- -- local T, C, L = unpack(select(2, ...))
- -- This is how another addon imports the Tukui engine:
- -- local T, C, L = unpack(Tukui)
- ---------------------------------------------------------------------------------