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


function data()
return {
	boundingInfo = {
		bbMax = {
			43.466453552246, 4.6142959594727, 4.693724155426, 
		},
		bbMin = {
			-43.528022766113, -4.616886138916, -1.2062859535217, 
		},
		
	},
	collider = {
		params = {
			
		},
		type = "MESH",
		
	},
	lods = {
		{
			animations = {
				
			},
			children = {
				 {
					id = "vehicle/ship/merlin/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/merlin/lod_1_glass.msh",
					transf = {
						1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 
					},
					type = "MESH",
					
				}, {
					id = "vehicle/ship/merlin/lod_1_interior.msh",
					transf = {
						1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 
					},
					type = "MESH",
					
				}, {
					id = "vehicle/ship/merlin/lod_1_flag.msh",
					transf = transf.rotZYXTransl(transf.degToRad(0,-15,0), vec3.new(-42.485, 0.0116, 3.5208)),
					
					type = "MESH",
					
				},
			},
			events = {
				
			},
			matConfigs = {
				{
					0, 0, 0,  0, 
				}, 
			},
			static = false,
			visibleFrom = 400,
			visibleTo = 5860,
			
		}, {
			animations = {
				
			},
			children = {
				 {
					id = "vehicle/ship/merlin/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/merlin/lod_0_glass.msh",
					transf = {
						1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 
					},
					type = "MESH",
					
				}, {
					id = "vehicle/ship/merlin/lod_0_interior.msh",
					transf = {
						1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 
					},
					type = "MESH",
					
				}, {
					id = "vehicle/ship/merlin/lod_0_flag.msh",
					transf = transf.rotZYXTransl(transf.degToRad(0,-15,0), vec3.new(-42.485, 0.0116, 3.5208)),
					
					type = "MESH",
					
				},
				{
					id = "vehicle/ship/merlin/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, 0, 0,  0, 
				}, 
			},
			static = false,
			visibleFrom = 0,
			visibleTo = 400,
			
		}, 
	},
	metadata = {
		waterVehicle = {
			weight = 1400000.0,
			availPower = 1400000.0,
			maxRpm = 0,
			area = 12,
			topSpeed = 10.0,
			configs = {
				{
					paddles = {
						ids = { }
					},
					rudder =  {
						ids = { }
					},
					flags = {
						ids = { 4 }
					}
				},{
					paddles = {
						ids = { }
					},
					rudder =  {
						ids = { }
					},
					flags = {
						ids = { 4 }
					}
				}
			}
		},
		availability = {
			yearFrom = 1990,
			yearTo = 0
		},
		cost = {
			price = -1
		},
		description = {
			name = _("Merlin"),
			description = _("The motor cargo vessel Merlin is a modern river cargo ship which travels on the Donau.")
		},
		maintenance = {
			runningCosts = -1,
			lifespan = 50
		},
		particleSystem = {
			
		},
		transportVehicle = {
			carrier = "WATER",
			multipleUnitOnly = true,
			capacities = {
				{ type = "LOGS", capacity = 1000 },
				{ type = "LIVESTOCK", capacity = 1000 },
				{ type = "COAL", capacity = 1000 },
				{ type = "IRON_ORE", capacity = 1000 },
				{ type = "STONE", capacity = 1000 },
				{ type = "GRAIN", capacity = 1000 },
				{ type = "CRUDE", capacity = 1000 },
				{ type = "STEEL", capacity = 1000 },
				{ type = "PLANKS", capacity = 1000 },
				{ type = "PLASTIC", capacity = 1000 },
				{ type = "SLAG", capacity = 1000 },
				{ type = "OIL", capacity = 1000 },
				{ type = "CONSTRUCTION_MATERIALS", capacity = 1000 },
				{ type = "MACHINES", capacity = 1000 },
				{ type = "FUEL", capacity = 1000 },
				{ type = "TOOLS", capacity = 1000 },
				{ type = "FOOD", capacity = 1000 },
				{ type = "GOODS", capacity = 1000 },
				--new
				{ type = "WASTE", capacity = 1000 },
				{ type = "FERTILIZERS", capacity = 1000 },
				{ type = "COTTON", capacity = 1000 },
				{ type = "MILK", capacity = 1000 },
				{ type = "CHEMICAL", capacity = 1000 },
				{ type = "CLOTHES", capacity = 1000 },
				{ type = "MINERALS", capacity = 1000 },
				{ type = "LIMESTONE", capacity = 1000 },
				{ type = "CEMENT", capacity = 1000 },
				{ type = "FILINGS", capacity = 1000 },
				{ type = "PAPER", capacity = 1000 },
				{ type = "ALCOHOL", capacity = 1000 },
				{ type = "ALUMINUM", capacity = 1000 },
				{ type = "FISH", capacity = 1000 },
				{ type = "BAUXITE", capacity = 1000 },
			},
			loadSpeed = 100,
			seats = {
				
					{ group =1, transf = transf.rotZYXTransl(transf.degToRad(-90.0, 0.0, 0.0), vec3.new(-37.5, -0.3, 2.10)), crew = true},
					{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-36.3, 0, 2.10)), crew = true},
				
				
				}
			
		},
		soundConfig = {
			soundSet = { name = "ship_diesel_modern" }
		}
	},
	
}
end
