VoxeLibre/mods/ENTITIES/mcl_minecarts/init.lua

15 lines
399 B
Lua
Raw Normal View History

local modname = minetest.get_current_modname()
local modpath = minetest.get_modpath(modname)
2017-01-05 15:23:14 +01:00
mcl_minecarts = {}
2024-03-28 08:11:59 +01:00
local mod = mcl_minecarts
mcl_minecarts.modpath = modpath
-- Constants
2017-01-05 15:23:14 +01:00
mcl_minecarts.speed_max = 10
2019-01-30 03:36:36 +01:00
mcl_minecarts.check_float_time = 15
mcl_minecarts.FRICTION = 0.4
2017-01-05 15:23:14 +01:00
for _,filename in pairs({"functions","rails","train","storage","carts"}) do
dofile(modpath.."/"..filename..".lua")
end