mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-06 00:01:05 +01:00
14 lines
399 B
Lua
14 lines
399 B
Lua
local modname = minetest.get_current_modname()
|
|
local modpath = minetest.get_modpath(modname)
|
|
mcl_minecarts = {}
|
|
local mod = mcl_minecarts
|
|
mcl_minecarts.modpath = modpath
|
|
|
|
-- Constants
|
|
mcl_minecarts.speed_max = 10
|
|
mcl_minecarts.check_float_time = 15
|
|
mcl_minecarts.FRICTION = 0.4
|
|
|
|
for _,filename in pairs({"functions","rails","train","storage","carts"}) do
|
|
dofile(modpath.."/"..filename..".lua")
|
|
end
|