forked from nalc/nalc_game
		
	Boats, carts mods: Use 'initial_properties' table
This commit is contained in:
		| @@ -33,13 +33,15 @@ end | ||||
| -- | ||||
|  | ||||
| local boat = { | ||||
| 	physical = true, | ||||
| 	-- Warning: Do not change the position of the collisionbox top surface, | ||||
| 	-- lowering it causes the boat to fall through the world if underwater | ||||
| 	collisionbox = {-0.5, -0.35, -0.5, 0.5, 0.3, 0.5}, | ||||
| 	visual = "mesh", | ||||
| 	mesh = "boats_boat.obj", | ||||
| 	textures = {"default_wood.png"}, | ||||
| 	initial_properties = { | ||||
| 		physical = true, | ||||
| 		-- Warning: Do not change the position of the collisionbox top surface, | ||||
| 		-- lowering it causes the boat to fall through the world if underwater | ||||
| 		collisionbox = {-0.5, -0.35, -0.5, 0.5, 0.3, 0.5}, | ||||
| 		visual = "mesh", | ||||
| 		mesh = "boats_boat.obj", | ||||
| 		textures = {"default_wood.png"}, | ||||
| 	}, | ||||
|  | ||||
| 	driver = nil, | ||||
| 	v = 0, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user