forked from eminescu/lwscratch
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.lua
More file actions
34 lines (19 loc) · 701 Bytes
/
init.lua
File metadata and controls
34 lines (19 loc) · 701 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
25
26
27
28
29
30
31
32
33
34
local version = "0.2.5"
lwscratch = { }
function lwscratch.version ()
return version
end
local utils = { }
utils.commands_inv_size = 120
utils.program_inv_size = 500
local modpath = minetest.get_modpath ("lwscratch")
assert (loadfile (modpath.."/settings.lua")) (utils)
assert (loadfile (modpath.."/utils.lua")) (utils)
assert (loadfile (modpath.."/encoder.lua")) (utils)
assert (loadfile (modpath.."/commands.lua")) (utils)
assert (loadfile (modpath.."/program.lua")) (utils)
assert (loadfile (modpath.."/robot_ops.lua")) (utils)
assert (loadfile (modpath.."/robot.lua")) (utils)
assert (loadfile (modpath.."/cassette.lua")) (utils)
assert (loadfile (modpath.."/crafting.lua")) ()
--