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

function data()
return {
	boundingInfo = {
		bbMax = {
			41.243804931641, 4.9272999763489, 11.673586845398, 
		},
		bbMin = {
			-40.687675476074, -4.9272999763489, -2.3668630123138, 
		},
		
	},
	collider = {
		params = {
			
		},
		type = "MESH",
		
	},
	lods = {
		{
			animations = {
				
			},
			children = {
				{
					id = "vehicle/ship/gms_axalp/lod_1_body.msh",
					transf = {
						1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 
					},
					type = "MESH",
					
				}, {
					id = "vehicle/ship/gms_axalp/lod_1_flag1.msh",
					transf = {
						1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 33.6275, 0, -2.2106, 1, 
					},
					type = "MESH",
					
				}, {
					id = "vehicle/ship/gms_axalp/lod_1_flag2.msh",
					transf = transf.rotZYXTransl(transf.degToRad(0,-28.0298,0), vec3.new(-37.8039, 0.6683, 4.7069)),
					type = "MESH",
					
				}, {
					id = "vehicle/ship/gms_axalp/lod_1_turbine1.msh",
					transf = transf.rotZYXTransl(transf.degToRad(90,0,0), vec3.new(-36.6084, -1.4095, -1.0805)),
					type = "MESH",
					
				},  {
					id = "vehicle/ship/gms_axalp/lod_1_turbine2.msh",
					transf = transf.rotZYXTransl(transf.degToRad(90,0,0), vec3.new(-36.6084, 1.4095, -1.0805)),
					type = "MESH",
					
				}, 
			},
			events = {
				
			},
			matConfigs = {
				{
					0, 
				}, 
			},
			static = false,
			visibleFrom = 400,
			visibleTo = 6430,
			
		}, {
			animations = {
				
			},
			children = {
				{
					id = "vehicle/ship/gms_axalp/lod_0_body.msh",
					transf = {
						1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 
					},
					type = "MESH",
					
				}, {
					id = "vehicle/ship/gms_axalp/lod_0_flag1.msh",
					transf = {
						1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 33.6275, 0, -2.2106, 1, 
					},
					type = "MESH",
					
				}, {
					id = "vehicle/ship/gms_axalp/lod_0_flag2.msh",
					transf = transf.rotZYXTransl(transf.degToRad(0,-28.0298,0), vec3.new(-37.8039, 0.6683, 4.7069)),
					type = "MESH",
					
				}, {
					id = "vehicle/ship/gms_axalp/lod_0_turbine1.msh",
					transf = transf.rotZYXTransl(transf.degToRad(90,0,0), vec3.new(-36.6084, -1.4095, -1.0805)),
					type = "MESH",
					
				},  {
					id = "vehicle/ship/gms_axalp/lod_0_turbine2.msh",
					transf = transf.rotZYXTransl(transf.degToRad(90,0,0), vec3.new(-36.6084, 1.4095, -1.0805)),
					type = "MESH",
					
				}, {
					id = "vehicle/ship/gms_axalp/lod_0_logo_body.msh",
					transf = {
						1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 
					},
					type = "MESH",
					
				},
			},
			events = {
				
			},
			matConfigs = {
				{
					0, 
				}, 
			},
			static = false,
			visibleFrom = 0,
			visibleTo = 400,
			
		}, 
	},
	metadata = {
		waterVehicle = {
			weight = 800000.0,
			availPower = 662000.0,
			maxRpm = 150,
			area = 10,
			topSpeed = 8.33333333333,
			configs = {
				{
					paddles = {
						ids = {  4,5}
					},
					rudder =  {
						ids = {}
					},
					flags = {
						ids = { 2,3}
					}
				},{
					paddles = {
						ids = {  4,5}
					},
					rudder =  {
						ids = {}
					},
					flags = {
						ids = { 2,3}
					}
				}
			}
		},
		availability = {
			yearFrom = 1950,
			yearTo = 0
		},
		cost = {
			price = -1
		},
		description = {
			name = _("Axalp"),
			description = _("The Axalp was designed by the famous Swiss naval architect Adolf J. Rynike. After commissioning it was upgraded several times.")
		},
		maintenance = {
			runningCosts = -1,
			lifespan = 50
		},
		particleSystem = {
			emitters = {
				{
					position = { -27.9145, -0.412, 5.0661},
					velocity = { -1.0, .0, 6.0 },
					color = { .2, .2, .2 },
					frequency = 60,
					lifeTime = 15.0,
					size01 = { .4, 10.0 },
					child = 1
				},
				{
					position = { -28.873, -0.412, 4.7524},
					velocity = { -1.0, .0, 6.0 },
					color = { .2, .2, .2 },
					frequency = 60,
					lifeTime = 15.0,
					size01 = { .4, 10.0 },
					child = 1
				}
			}
		},
		transportVehicle = {
			carrier = "WATER",
			multipleUnitOnly = true,
			capacities = {
				{ type = "LOGS", capacity = 600 },
				{ type = "LIVESTOCK", capacity = 600 },
				{ type = "COAL", capacity = 600 },
				{ type = "IRON_ORE", capacity = 600 },
				{ type = "STONE", capacity = 600 },
				{ type = "GRAIN", capacity = 600 },
				{ type = "CRUDE", capacity = 600 },
				{ type = "STEEL", capacity = 600 },
				{ type = "PLANKS", capacity = 600 },
				{ type = "PLASTIC", capacity = 600 },
				{ type = "SLAG", capacity = 600 },
				{ type = "OIL", capacity = 600 },
				{ type = "CONSTRUCTION_MATERIALS", capacity = 600 },
				{ type = "MACHINES", capacity = 600 },
				{ type = "FUEL", capacity = 600 },
				{ type = "TOOLS", capacity = 600 },
				{ type = "FOOD", capacity = 600 },
				{ type = "GOODS", capacity = 600 },
				--new
				{ type = "WASTE", capacity = 600 },
				{ type = "FERTILIZERS", capacity = 600 },
				{ type = "COTTON", capacity = 600 },
				{ type = "MILK", capacity = 600 },
				{ type = "CHEMICAL", capacity = 600 },
				{ type = "CLOTHES", capacity = 600 },
				{ type = "MINERALS", capacity = 600 },
				{ type = "LIMESTONE", capacity = 600 },
				{ type = "CEMENT", capacity = 600 },
				{ type = "FILINGS", capacity = 600 },
				{ type = "PAPER", capacity = 600 },
				{ type = "ALCOHOL", capacity = 600 },
				{ type = "ALUMINUM", capacity = 600 },
				{ type = "FISH", capacity = 600 },
				{ type = "BAUXITE", capacity = 600 },
				
				
			},
			loadSpeed = 60,
			seats = {
			
				{ group =1, transf = transf.rotZYXTransl(transf.degToRad(30.0, 0.0, 0.0), vec3.new(-23.85, -0.9, 3.54)), crew = true},
				{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-23.38, 0.5, 3.3)), crew = true, standing = true},

				
			}
		},
		soundConfig = {
			soundSet = { name = "ship_diesel_modern" }
		}
	},
	
}
end
