local vec3 = require "vec3"
local transf = require "transf"
function data()
return {
	boundingInfo = {
		bbMax = { 2.7449, 1.2797, 2.5905, },
		bbMin = { -2.7447, -1.2797, -0.0002, },
	},
	collider = {
		params = {
		},
		type = "MESH",
	},
	lods = {
		{
			animations = {
			},
			children = {
				{
					id = "vehicle/truck/lod_1_boxer.grp",
					transf = {
						1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 
					},
					type = "GROUP",
				},
			},
			events = {
			},
			matConfigs = {
				{ 0, }, 
			},
			static = false,
			visibleFrom = 115,
			visibleTo = 1150,
		}, 
		{
			animations = {
			},
			children = {
				{
					id = "vehicle/truck/lod_0_boxer.grp",
					transf = {
						1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 
					},
					type = "GROUP",
				},
			},
			events = {
			},
			matConfigs = {
				{ 0, }, 
			},
			static = false,
			visibleFrom = 0,
			visibleTo = 115,
		}, 
	},
	metadata = {
		availability = {
			yearFrom = 1995,
			yearTo = 0,
		},
		cost = {
			price = -1,
		},
		description = {
			name = _("Peugeot Boxer"),
			description = _("Peugeot Boxer Van powered with 96kW diesel engine."),
		},
		maintenance = {
			lifespan = 25,
			runningCosts = -1,
		},
		roadVehicle = {
			configs = {
				{
					axles = { "vehicle/truck/boxer/lod_0_wheels_17_w2.msh", },
					wheels = { "vehicle/truck/boxer/lod_0_wheel_17_w1.msh", },
					fakeBogies = { { group = 0, position = 0, offset = 0 } }
				}, 
				{
					axles = { "vehicle/truck/boxer/lod_0_wheels_17_w2.msh", },
					wheels = { "vehicle/truck/boxer/lod_0_wheel_17_w1.msh", },
					fakeBogies = { { group = 0, position = 0, offset = 0 } }
				}, 
			},
			power = 96,
			soundSet = {
				horn = "",
				name = "truck_modern",
			},
			topSpeed = 160,
			tractiveEffort = 41,
			weight = 3.5,
		},
		transportVehicle = {		
			seats = {
			    { group = 1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(1.18, 0.42, 0.48)), crew = true},
			},
			capacities = {
				{ type = "COAL", capacity = 20, loadIndicators = { { type = "DISCRETE", params = { levels = { { 6 }, { }, { }, { }, { }, } } } } } ,
				{ type = "CONSTRUCTION_MATERIALS", capacity = 20, loadIndicators = { { type = "DISCRETE", params = { levels = { { 9 }, { }, { }, { }, { }, } } } } },
				{ type = "CRUDE", capacity = 20, loadIndicators = { { type = "DISCRETE", params = { levels = { { 10 }, { }, { }, { }, { }, } } } } },
				{ type = "FOOD", capacity = 20, loadIndicators = { { type = "DISCRETE", params = { levels = { { 11 }, { }, { }, { }, { }, } } } } },
				{ type = "FUEL", capacity = 20, loadIndicators = { { type = "DISCRETE", params = { levels = { { 12 }, { }, { }, { }, { }, } } } } },
				{ type = "GOODS", capacity = 20, loadIndicators = { { type = "DISCRETE", params = { levels = { { 31, 34, }, { 34 }, { 34 }, { }, { }, } } } } },
				{ type = "GRAIN", capacity = 20, loadIndicators = { { type = "DISCRETE", params = { levels = { { 13 }, { }, { }, { }, { }, } } } } },
				{ type = "IRON_ORE", capacity = 20, loadIndicators = { { type = "DISCRETE", params = { levels = { { 14 }, { }, { }, { }, { }, } } } } },
				{ type = "LIVESTOCK", capacity = 20, loadIndicators = { { type = "DISCRETE", params = { levels = { { 17 }, { }, { }, { }, { }, } } } } },
				{ type = "LOGS", capacity = 20, loadIndicators = { { type = "DISCRETE", params = { levels = { { 18 }, { }, { }, { }, { }, } } } } },
				{ type = "MACHINES", capacity = 20, loadIndicators = { { type = "DISCRETE", params = { levels = { { 19 }, { }, { }, { }, { }, } } } } },
				{ type = "OIL", capacity = 20, loadIndicators = { { type = "DISCRETE", params = { levels = { { 20 }, { }, { }, { }, { }, } } } } },
				{ type = "PLANKS", capacity = 20, loadIndicators = { { type = "DISCRETE", params = { levels = { { 21 }, { }, { }, { }, { }, } } } } },
				{ type = "PLASTIC", capacity = 20, loadIndicators = { { type = "DISCRETE", params = { levels = { { 22 }, { }, { }, { }, { }, } } } } },
				{ type = "SLAG", capacity = 20, loadIndicators = { { type = "DISCRETE", params = { levels = { { 23 }, { }, { }, { }, { }, } } } } },
				{ type = "STEEL", capacity = 20, loadIndicators = { { type = "DISCRETE", params = { levels = { { 26 }, { }, { }, { }, { }, } } } } },
				{ type = "STONE", capacity = 20, loadIndicators = { { type = "DISCRETE", params = { levels = { { 27 }, { }, { }, { }, { }, } } } } },
				{ type = "TOOLS", capacity = 20, loadIndicators = { { type = "DISCRETE", params = { levels = { { 30 }, { }, { }, { }, { }, } } } } },
			},
			carrier = "ROAD",
			loadSpeed = 3
		},
	},
}
end
