mirror of
				https://github.com/luanti-org/minetest_game.git
				synced 2025-10-30 23:25:33 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			359 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			359 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
| 
 | |
| carts = {}
 | |
| carts.modpath = minetest.get_modpath("carts")
 | |
| carts.railparams = {}
 | |
| 
 | |
| -- Maximal speed of the cart in m/s (min = -1)
 | |
| carts.speed_max = 7
 | |
| -- Set to -1 to disable punching the cart from inside (min = -1)
 | |
| carts.punch_speed_max = 5
 | |
| 
 | |
| 
 | |
| dofile(carts.modpath.."/functions.lua")
 | |
| dofile(carts.modpath.."/rails.lua")
 | |
| dofile(carts.modpath.."/cart_entity.lua")
 |