-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmind$box.lua
More file actions
24 lines (10 loc) · 601 Bytes
/
mind$box.lua
File metadata and controls
24 lines (10 loc) · 601 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
local isLegacy = tapLua.isLegacy()
local path = "/Appearance/Themes/_fallback/Modules/mind$box/"
path = isLegacy and "/Modules/mind$box/" or path
mindbox = mindbox or { Path = path }
local modules = { "Config", "Print" }
for i,v in ipairs(modules) do LoadModule( "mind$box/" .. v .. ".lua" ) end
mindbox.concat = function(...) return loadfile( path .. "Concat.lua" )(...) end
mindbox.console = function(...) return loadfile( path .. "Console/Actor.lua" )(...) end
mindbox.setWindow(1) mindbox.setFont(1)
local Console = mindbox.console() tapLua.PersistentActors.add(Console)