init.lua 359 B

1234567891011121314
  1. carts = {}
  2. carts.modpath = minetest.get_modpath("carts")
  3. carts.railparams = {}
  4. -- Maximal speed of the cart in m/s (min = -1)
  5. carts.speed_max = 7
  6. -- Set to -1 to disable punching the cart from inside (min = -1)
  7. carts.punch_speed_max = 5
  8. dofile(carts.modpath.."/functions.lua")
  9. dofile(carts.modpath.."/rails.lua")
  10. dofile(carts.modpath.."/cart_entity.lua")