﻿{
	"definitions": [//Dyes: Black=0 Red =1 Green=2 Brown=3 Blue=4 Purple=5 UNU=6 Silver=7 Grey=8 Pink=9 Lime=10 Yellow=11 Light Blue=12 Magenta=13 Orange=14 White=15
		{
		"name": "§3UNU Squirrel Trailer §7[LT-123-HCC]",
			"subName": "_apple",
			"extraMaterials": ["mts:unuparts.unuparts_decor_unu_paint_apple:0:1"]
		},
		{
		"name": "§3UNU Squirrel Trailer §7[LT-123-HCC]",
			"subName": "_sunflower",
			"extraMaterials": ["mts:unuparts.unuparts_decor_unu_paint_sunflower:0:1"]
		}
	],
	
	"general": {
	"description": "Recommended parts:\nStandard Truck Wheel",
		"numberWindows": 0,
		"type": "car",
		"openTop": false,
		"emptyMass": 10000,
		"materials": ["unuparts:unucivil_trailer_unu_container_single:0:1", "mts:unuparts.unuparts_crafting_unu_sheetmetal_fender_steel:0:2", "mts:unuparts.unuparts_crafting_unu_sheetmetal_panel_steel:0:16", "mts:unuparts.unuparts_crafting_unu_assembled_steeringwheel_truck:0:1"]
	},

	"motorized": {
		"fuelCapacity": 0,
		"instruments": [],
		"controls":[],
		"hookupPos": [0, 0.71875, 10],
		"hookupType": "FifthWheel",
		"isTrailer": true
	},

	"car": {
		"isBigTruck": false,
		"isFrontWheelDrive": false,
		"isRearWheelDrive": false,
		"dragCoefficient": 0.6,
		"axleRatio": 0.0
	},
	
	"parts": [
		{
			"pos": [0, 1.9375, -2.75],
			"isController": true,
			"types": ["seat"],
			"dismountPos": [1.5, 1.9375, -2.75]
		},
		{
			"pos": [1.40625, 0, -1],
			"turnsWithSteer": true,
			"types": ["wheel"],
			"customTypes": ["budd"],
			"minValue": 0.0,
			"maxValue": 2.0
		},
		{
			"pos": [-1.40625, 0, -1],
			"turnsWithSteer": true,
			"types": ["wheel"],
			"customTypes": ["budd"],
			"minValue": 0.0,
			"maxValue": 2.0
		},
		/*{ //Fake wheel
			"pos": [0, 0, 0],
			"turnsWithSteer": false,
			"types": ["wheel"],
			"customTypes": ["nowheelatall"],
			"minValue": 0.0,
			"maxValue": 2.0
		},*/
		{
			"pos": [0.75, 1.625, -1.75],
			"types": ["generic"],
			"customTypes": ["siren"],
			"minValue": 0.0,
			"maxValue": 2.0
		},
		{
			"pos": [-0.75, 1.625, -1.75],
			"types": ["generic"],
			"customTypes": ["siren"],
			"minValue": 0.0,
			"maxValue": 2.0
		}
	],
	
	"collision": [
		{ //Hitch
			"pos": [0, 0.71875, 10],
			"width": 0.125,
			"height": 0.125
		},
		//Roof
		{
			"pos": [0, 0.8125, -0.125],
			"width": 3.125,
			"height": 0.125
		},
		{
			"pos": [0, 0.6875, 3.0625],
			"width": 2.625,
			"height": 0.125
		},
		{
			"pos": [0, 0.6875, 5.6875],
			"width": 2.625,
			"height": 0.125
		},
		{
			"pos": [0, 0.8125, 9.4375],
			"width": 3.125,
			"height": 0.125
		},
		{
			"pos": [0, 1.3125, 7.125],
			"width": 1.75,
			"height": 0.125
		},
		{
			"pos": [0, 1.3125, 5.375],
			"width": 1.75,
			"height": 0.125
		},
		{
			"pos": [0, 1.3125, 3.625],
			"width": 1.75,
			"height": 0.125
		},
		{
			"pos": [0, 1.3125, 1.875],
			"width": 1.75,
			"height": 0.125
		},
		{
			"pos": [0, 1.3125, 0.125],
			"width": 1.75,
			"height": 0.125
		},
		{
			"pos": [0, 1.3125, -1.625],
			"width": 1.75,
			"height": 0.125
		},
		{ //Wheel 1
			"pos": [1.40625, 0, -1],
			"width": 0.125,
			"height": 0.125
		},
		{ //Wheel 2
			"pos": [-1.40625, 0, -1],
			"width": 0.125,
			"height": 0.125
		}
	],

	"rendering": {
  		"hudBackplaneTexturePercentages": [0, 0, 0, 0],
		"hudMouldingTexturePercentages": [0, 0, 0, 0],
		"hudTexture": "unuparts:textures/guis/unuparts_hud_unu_budget.png",
		"panelTexture": "unuparts:textures/guis/unuparts_panel_unu_budget.png",
		//"panelTextColor": "#cccccc",
		//"panelLitColor": "#cccccc",
		"defaultDisplayText": "BT-0000",
		"displayTextMaxLength": 7,
		"textMarkings": [],
		"rotatableModelObjects": [
			{
				"partName": "$SteeringWheel",
				"rotationPoint": [0, 2.3125, -2.0625],
				"rotationAxis": [0, -0.96592, 0.25882],
				//"rotationVariable": "steeringwheel"
				"rotationVariable": "steering_wheel"
			},
			{
				"partName": "$DriverFrontBearing",
				"rotationPoint": [1.40625, 0, -1],
				"rotationAxis": [0.0, -1.0, 0.0],
				//"rotationVariable": "steeringwheel"
				"rotationVariable": "steering_wheel"
			},
			{
				"partName": "$PassengerFrontBearing",
				"rotationPoint": [-1.40625, 0, -1],
				"rotationAxis": [0.0, -1.0, 0.0],
				//"rotationVariable": "steeringwheel"
				"rotationVariable": "steering_wheel"
			},
			{
				"partName": "$DriverFrontHub",
				"rotationPoint": [1.40625, 0, -1],
				"rotationAxis": [0.0, -1.0, 0.0],
				//"rotationVariable": "steeringwheel"
				"rotationVariable": "steering_wheel"
			},
			{
				"partName": "$PassengerFrontHub",
				"rotationPoint": [-1.40625, 0, -1],
				"rotationAxis": [0.0, -1.0, 0.0],
				//"rotationVariable": "steeringwheel"
				"rotationVariable": "steering_wheel"
			},
			{
				"partName": "$DriverFrontHub",
				"rotationPoint": [1.4062501, 0, -1],
				"rotationAxis": [1.0, 0.0, 0.0],
				//"rotationVariable": "driveshaft"
				"rotationVariable": "engine_driveshaft_rotation_1"
			},
			{
				"partName": "$PassengerFrontHub",
				"rotationPoint": [-1.4062501, 0, -1],
				"rotationAxis": [1.0, 0.0, 0.0],
				//"rotationVariable": "driveshaft"
				"rotationVariable": "engine_driveshaft_rotation_1"
			},
			{
				"partName": "$SteeringBar",
				"rotationPoint": [0.0, 0.0, 99],
				"rotationAxis": [0, -0.002, 0.0],
				//"rotationVariable": "steeringwheel"
				"rotationVariable": "steering_wheel"
			},
			{
				"partName": "$PitmanArm",
				"rotationPoint": [0, -0.0625, -1.375],
				"rotationAxis": [0, 0.12941, 0.48296],
				//"rotationVariable": "steeringwheel"
				"rotationVariable": "steering_wheel"
			},
			{
				"partName": "$SteeringConnectingRod",
				"rotationPoint": [0.0, 0.0, 99],
				"rotationAxis": [0, -0.001, 0.0],
				//"rotationVariable": "steeringwheel"
				"rotationVariable": "steering_wheel"
			},
			{
				"partName": "$PitmanArm2",
				"rotationPoint": [0.9375, -0.15625, -1.125],
				"rotationAxis": [0.0, -0.5, 0.0],
				//"rotationVariable": "steeringwheel"
				"rotationVariable": "steering_wheel"
			}
		]
	}
}
