local vec3 = require "vec3"
local transf = require "transf"

function data()
return {
	boundingInfo = {
		bbMax = {
			31.778799057007, 6.25, 15.926400184631, 
		},
		bbMin = {
			-31.701398849487, -6.25, -1.4963001012802, 
		},
		
	},
	collider = {
		params = {
			
		},
		type = "MESH",
		
	},
	lods = {
		{
			animations = {
				
			},
			children = {
				{
					id = "vehicle/ship/klondike/lod_1_body.msh",
					transf = {
						1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0+1, 1, 
					},
					type = "MESH",
					
				}, {
					id = "vehicle/ship/klondike/lod_1_flag1.msh",
					transf = {
						1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 30.3681, 0.03, 10.6416+1, 1, 
					},
					type = "MESH",
					
				}, {
					id = "vehicle/ship/klondike/lod_1_flag2.msh",
					transf = {
						1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 17.0182, -0.0021, 13.1603+1, 1, 
					},
					type = "MESH",
					
				},{
					id = "vehicle/ship/klondike/lod_1_flag3.msh",
					transf = {
						1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -25.0137, -0.0021, 8.6658+1, 1, 
					},
					type = "MESH",
					
				},{
					id = "vehicle/ship/klondike/lod_1_g1.msh",
					transf = {
						1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -24.4975, 0, 0.358+1, 1, 
					},
					type = "MESH",
					
				},{
					id = "vehicle/ship/klondike/lod_1_g2.msh",
					transf = {
						1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -27.6966, 0, 0.3577+1, 1, 
					},
					type = "MESH",
					
				},{
					id = "vehicle/ship/klondike/lod_1_paddle.msh",
					transf = {
						1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -27.6966, 0, 0.3577+1, 1, 
					},
					type = "MESH",
					
				},{
					id = "vehicle/ship/klondike/lod_1_rudder1.msh",
					transf = {
						1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -30.7778, -2.4857, 0+1, 1, 
					},
					type = "MESH",
					
				},{
					id = "vehicle/ship/klondike/lod_1_rudder2.msh",
					transf = {
						1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -30.7778, 2.4864, 0+1, 1, 
					},
					type = "MESH",
					
				},
			},
			events = {
				
			},
			matConfigs = {
				{
					0, 0, 0, 0, 0, 0, 0, 0, 0, 0,  
				}, 
			},
			static = false,
			visibleFrom = 600,
			visibleTo = 6140,
			
		}, {
			animations = {
				
			},
			children = {
				{
					id = "vehicle/ship/klondike/lod_0_body.msh",
					transf = {
						1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0+1, 1, 
					},
					type = "MESH",
					
				}, {
					id = "vehicle/ship/klondike/lod_0_flag1.msh",
					transf = {
						1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 30.3681, 0.03, 10.6416+1, 1, 
					},
					type = "MESH",
					
				}, {
					id = "vehicle/ship/klondike/lod_0_flag2.msh",
					transf = {
						1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 17.0182, -0.0021, 13.1603+1, 1, 
					},
					type = "MESH",
					
				},{
					id = "vehicle/ship/klondike/lod_0_flag3.msh",
					transf = {
						1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -25.0137, -0.0021, 8.6658+1, 1, 
					},
					type = "MESH",
					
				},{
					id = "vehicle/ship/klondike/lod_0_g1.msh",
					transf = {
						1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -24.4975, 0, 0.358+1, 1, 
					},
					type = "MESH",
					
				},{
					id = "vehicle/ship/klondike/lod_0_g2.msh",
					transf = {
						1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -27.6966, 0, 0.3577+1, 1, 
					},
					type = "MESH",
					
				},{
					id = "vehicle/ship/klondike/lod_0_paddle.msh",
					transf = {
						1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -27.6966, 0, 0.3577+1, 1, 
					},
					type = "MESH",
					
				},{
					id = "vehicle/ship/klondike/lod_0_rudder1.msh",
					transf = {
						1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -30.7778, -2.4857, 0+1, 1, 
					},
					type = "MESH",
					
				},{
					id = "vehicle/ship/klondike/lod_0_rudder2.msh",
					transf = {
						1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -30.7778, 2.4864, 0+1, 1, 
					},
					type = "MESH",
					
				},{
					id = "vehicle/ship/klondike/lod_0_interior.msh",
					transf = {
						1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0+1, 1, 
					},
					type = "MESH",
					
				},{
					id = "vehicle/ship/klondike/lod_0_body_logo.msh",
					transf = {
						1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0+1, 1, 
					},
					type = "MESH",
					
				}, 
			},
			events = {
				
			},
			matConfigs = {
				{
					0, 0, 0, 0, 0, 0, 0, 0, 0, 0,  0, 
				}, 
			},
			static = false,
			visibleFrom = 0,
			visibleTo = 600,
			
		}, 
	},
	metadata = {
		waterVehicle = {
			weight = 600000.0,
			availPower = 391000.0,
			maxRpm = 40,
			area = 12,
			topSpeed = 6.47222222222,
			configs = {
				{
					paddles = {
						ids = { 7 }
					},
					rudder =  {
						ids = { 8, 9 }
					},
					flags = {
						ids = { 2, 3, 4 }
					}
				}, {
					paddles = {
						ids = { 7 }
					},
					rudder =  {
						ids = { 8, 9 }
					},
					flags = {
						ids = { 2, 3, 4 }
					}
				}
			}
		},
		availability = {
			yearFrom = 1898,
			yearTo = 1960
		},
		cost = {
			price = -1
		},
		description = {
			name = _("Klondike"),
			description = _("The Klondike had the distinction of a much higher capacity than regular sternwheelers, despite its shallow draft.")
		},
		maintenance = {
			runningCosts = -1,
			lifespan = 50
		},
		particleSystem = {
			
		},
		transportVehicle = {
			carrier = "WATER",
			multipleUnitOnly = true,
			capacities = {
				{ type = "LOGS", capacity = 400 },
				{ type = "LIVESTOCK", capacity = 400 },
				{ type = "COAL", capacity = 400 },
				{ type = "IRON_ORE", capacity = 400 },
				{ type = "STONE", capacity = 400 },
				{ type = "GRAIN", capacity = 400 },
				{ type = "CRUDE", capacity = 400 },
				{ type = "STEEL", capacity = 400 },
				{ type = "PLANKS", capacity = 400 },
				{ type = "PLASTIC", capacity = 400 },
				{ type = "SLAG", capacity = 400 },
				{ type = "OIL", capacity = 400 },
				{ type = "CONSTRUCTION_MATERIALS", capacity = 400 },
				{ type = "MACHINES", capacity = 400 },
				{ type = "FUEL", capacity = 400 },
				{ type = "TOOLS", capacity = 400 },
				{ type = "FOOD", capacity = 400 },
				{ type = "GOODS", capacity = 400 },
				--new
				{ type = "WASTE", capacity = 400 },
				{ type = "FERTILIZERS", capacity = 400 },
				{ type = "COTTON", capacity = 400 },
				{ type = "MILK", capacity = 400 },
				{ type = "CHEMICAL", capacity = 400 },
				{ type = "CLOTHES", capacity = 400 },
				{ type = "MINERALS", capacity = 400 },
				{ type = "LIMESTONE", capacity = 400 },
				{ type = "CEMENT", capacity = 400 },
				{ type = "FILINGS", capacity = 400 },
				{ type = "PAPER", capacity = 400 },
				{ type = "ALCOHOL", capacity = 400 },
				{ type = "ALUMINUM", capacity = 400 },
				{ type = "FISH", capacity = 400 },
				{ type = "BAUXITE", capacity = 400 },
			},
			loadSpeed = 40,
			seats = {
				--crew
				{ group =1, transf = transf.rotZYXTransl(transf.degToRad(-30.0, 0.0, 0.0), vec3.new(15.9, 0.4, 7.8)), crew = true, },
				{ group =1, transf = transf.rotZYXTransl(transf.degToRad(85.0, 0.0, 0.0), vec3.new(14.9, 0.8, 7.6)), crew = true, standing = true },
			}
		},
		soundConfig = {
			soundSet = { name = "ship_paddle_steamer" }
		}
	},
	
}
end
