23 lines
483 B
Lua
23 lines
483 B
Lua
Translate = minetest.get_translator("pyutest_core")
|
|
PyuTestCore = {
|
|
BLOCK_BREAKABLE_INSTANT = 0,
|
|
BLOCK_BREAKABLE_NORMAL = 1,
|
|
BLOCK_BREAKABLE_LONG = 2,
|
|
BLOCK_BREAKABLE_FOREVER = 3,
|
|
|
|
util = {
|
|
toint = function (float)
|
|
return tonumber(string.format("%d", float))
|
|
end
|
|
}
|
|
}
|
|
|
|
local path = minetest.get_modpath("pyutest_core")
|
|
dofile(path.."/blocks.lua")
|
|
dofile(path.."/mapgen.lua")
|
|
dofile(path.."/abms.lua")
|
|
dofile(path.."/tools.lua")
|
|
dofile(path.."/player.lua")
|
|
|
|
|