local version = "1.0.0" LAUNCH_CART_SPEED = 2 MAXIMUM_CART_SPEED = 7 local railcarts_modpath = minetest.get_modpath("railcarts") dofile(railcarts_modpath .. "/util.lua") dofile(railcarts_modpath .. "/direction.lua") dofile(railcarts_modpath .. "/defaultrail.lua") dofile(railcarts_modpath .. "/controlrail.lua") dofile(railcarts_modpath .. "/digicontrol.lua") dofile(railcarts_modpath .. "/launchers.lua") dofile(railcarts_modpath .. "/detector.lua") dofile(railcarts_modpath .. "/hopper.lua") dofile(railcarts_modpath .. "/rail.lua") dofile(railcarts_modpath .. "/cartbase.lua") dofile(railcarts_modpath .. "/cargocart.lua") dofile(railcarts_modpath .. "/boringcart.lua") dofile(railcarts_modpath .. "/cart.lua") print("railcarts mod " .. version .. " loaded")