﻿{
	"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 Ferret Van (Aqua) §7[RJ-618-LCC]",
			"subName": "_aqua",
			"extraMaterials": ["mts:unuparts.unuparts_decor_unu_paint_aqua:0:1"]
		},
		{
			"name": "§3UNU Ferret Van (Ivory) §7[RJ-618-LCC]",
			"subName": "_ivory",
			"extraMaterials": ["mts:unuparts.unuparts_decor_unu_paint_ivory:0:1"]
		},
		{
			"name": "§3UNU Ferret Van (Lemon) §7[RJ-618-LCC]",
			"subName": "_lemon",
			"extraMaterials": ["mts:unuparts.unuparts_decor_unu_paint_lemon:0:1"]
		},
		{
			"name": "§3UNU Ferret Van (Sea) §7[RJ-618-LCC]",
			"subName": "_sea",
			"extraMaterials": ["mts:unuparts.unuparts_decor_unu_paint_sea:0:1"]
		}
	],
	
	"general": {
		"description": "Recommended parts:\nCompact Wheel\nH6 Engine\nBudget Seat\n\nAdditional Parts\nCrates",
		"numberWindows": 4,
		//"name": "UNU RJ-618-LCC",
		"type": "car",
		//"description": "Produced by UNU Motor Division, the RJ-618-LCC is a utility vehicle. Who needs luxury? Just as bare-bones as the CP-497-LTC, which makes sence since it's just a different body on the same frame!",
		"openTop": false,
		"emptyMass": 1600,
		"materials": ["mts:unuparts.unuparts_vehicle_unu_frame_a:0:1", "mts:unuparts.unuparts_crafting_unu_sheetmetal_fender_fiberglass:0:4", "mts:unuparts.unuparts_crafting_unu_sheetmetal_door:0:2", "mts:unuparts.unuparts_crafting_unu_sheetmetal_panel_fiberglass:0:12", "minecraft:glass_pane:0:2"]
	},

	"motorized": {
		"fuelCapacity": 15000,
		"hornSound": "unuparts:unuparts_horn_car_1",
		"instruments": [
			{ //Main Right
				"pos": [0.375, 0.75, 4.746875],
				"rot": [0, 0, 0],
				"hudpos": [60, 60],
				"scale": 0.015625,
				//"hudScale": 0.85,
				"hudScale": 0.46875,
				"hudX": 243,
				"hudY": 35
			},
			{ //Main Left
				"pos": [0.625, 0.75, 4.746875],
				"rot": [0, 0, 0],
				"hudpos": [40, 60],
				"scale": 0.015625,
				//"hudScale": 0.85,
				"hudScale": 0.46875,
				"hudX": 157,
				"hudY": 35
			}
		],
		"controls":[],
		"hitchPos": [0, 0.0625, -1.625],
		"hitchTypes": ["Standard"],
		"hookupPos": [0, 0, 4.96875],
		"hookupType": "Tow"
	},

	"car": {
		"isBigTruck": false,
		"isFrontWheelDrive": false,
		"isRearWheelDrive": true,
		"dragCoefficient": 0.50,
		"axleRatio": 3.55
	},
	
	"parts": [
		{
			"pos": [0.9375, 0.0, -0.001],
			"types": ["wheel"],
			"minValue": 0.6,
			"maxValue": 0.8125
		},
		{
			"pos": [-0.9375, 0.0, -0.001],
			"types": ["wheel"],
			"minValue": 0.6,
			"maxValue": 0.8125
		},
		{
			"pos": [-0.9375, 0.0, 3.75],
			"turnsWithSteer": true,
			"types": ["wheel"],
			"minValue": 0.6,
			"maxValue": 0.8125
		},
		{
			"pos": [0.9375, 0.0, 3.75],
			"turnsWithSteer": true,
			"types": ["wheel"],
			"minValue": 0.6,
			"maxValue": 0.8125
		},
		{
			"pos": [0.5, 0.5625, 3.6875],
			"isController": true,
			"types": ["seat"],
			"dismountPos": [1.5, 0.5625, 3.6875]
		},
		{
			"pos": [-0.5, 0.5625, 3.6875],
			"types": ["seat"],
			"dismountPos": [-1.5, 0.5625, 3.6875]
		},
		{
			"pos": [0, 0.5625, 2.1875],
			"types": ["seat"],
			"customTypes": ["van"],
			"defaultPart": "unuparts:unuparts_part_unu_seat_van",
			"dismountPos": [3, 0.5625, 2.1875]
		},
		{
			"pos": [0, 0.5625, 0.9375],
			"types": ["seat"],
			"customTypes": ["van"],
			"defaultPart": "unuparts:unuparts_part_unu_seat_van",
			"dismountPos": [3, 0.5625, 2.1875]
		},
		{
			"pos": [-0.375, 0.75, 0.03125],
			"types": ["crate", "barrel"],
			"minValue": 0.0,
			"maxValue": 5.0
		},
		{
			"pos": [-0.375, 0.75, -0.78125],
			"types": ["crate", "barrel"],
			"minValue": 0.0,
			"maxValue": 5.0
		},
		{
			"pos": [0.375, 0.75, 0.03125],
			"types": ["crate", "barrel"],
			"minValue": 0.0,
			"maxValue": 5.0
		},
		{
			"pos": [0.375, 0.75, -0.78125],
			"types": ["crate", "barrel"],
			"minValue": 0.0,
			"maxValue": 5.0
		},
		{
			"pos": [0, 0.18725, -0.313],
			"rot": [0, 180, 0],
			"types": ["engine_car"],
			"customTypes": ["h6"],
			"exhaustPos": [0.28125, -0.04375, -1.5, -0.28125, -0.04375, -1.5],
			"exhaustVelocity": [0, 0, -1, 0, 0, -1],
			"minValue": 0.0,
			"maxValue": 0.5
		},
		{
			"pos": [0.63, 0.19, -1.44],
			"types": ["generic"],
			"customTypes": ["bumpersticker"],
			"minValue": 0.0,
			"maxValue": 1.0
		},
		{
			"pos": [0.63, 0.06, -1.44],
			"types": ["generic"],
			"customTypes": ["bumpersticker"],
			"minValue": 0.0,
			"maxValue": 1.0
		},
		{
			"pos": [0.0, 0.19, -1.44],
			"types": ["generic"],
			"customTypes": ["bumpersticker"],
			"minValue": 0.0,
			"maxValue": 1.0
		},
		{
			"pos": [0.0, 0.06, -1.44],
			"types": ["generic"],
			"customTypes": ["bumpersticker"],
			"minValue": 0.0,
			"maxValue": 1.0
		}
	],
	
	"collision": [
		{ //Roof 1
			"pos": [0, 1.8125, -0.0625],
			"width": 1.75,
			"height": 0.125
		},
		{ //Roof 2
			"pos": [0, 1.8125, 1.6875],
			"width": 1.75,
			"height": 0.125
		},
		{ //Roof 3
			"pos": [0, 1.8125, 3.4375],
			"width": 1.75,
			"height": 0.125
		},
		{ //Wheel 1
			"pos": [-0.9375, 0.75, -0.001],
			"width": 0.125,
			"height": 0.125
		},
		{ //Wheel 2
			"pos": [0.9375, 0.75, -0.001],
			"width": 0.125,
			"height": 0.125
		},
		{ //Wheel 3
			"pos": [-0.9375, 0.75, 3.75],
			"width": 0.125,
			"height": 0.125
		},
		{ //Wheel 4
			"pos": [0.9375, 0.75, 3.75],
			"width": 0.125,
			"height": 0.125
		}
	],

	"rendering": {
  		"hudBackplaneTexturePercentages": [0.214, 0.215, 0.060, 0.061],
		"hudMouldingTexturePercentages": [0.240, 0.241, 0.082, 0.083],
		"hudTexture": "unuparts:textures/guis/unuparts_hud_unu_budget.png",
		"panelTexture": "unuparts:textures/guis/unuparts_panel_unu_budget.png",
		//"panelTextColor": "#cccccc",
		//"panelLitColor": "#cccccc",
		"defaultDisplayText": "BT-000000",
		"displayTextMaxLength": 9,
		"textMarkings": [
			{
				"pos": [0.53125, 0.21875, 5.03125],
				"rot": [0, 2.0454, 0],
				"scale": 0.1428,
				"color": "#000000"
			},
			{
				"pos": [-0.53125, 0.21875, -1.45313],
				"rot": [0, 180, 0],
				"scale": 0.1428,
				"color": "#000000"
			}
		],
		"rotatableModelObjects": [
			{
				"partName": "$Gas",
				"rotationPoint": [0.125, 0.21875, 4.625],
				//"rotationAxis": [1, 0, 0],
				"rotationAxis": [25, 0, 0],
				"rotationVariable": "throttle"
			},
			{
				"partName": "$Brake",
				"rotationPoint": [0.3125, 0.1875, 4.625],
				//"rotationAxis": [0.5, 0, 0],
				"rotationAxis": [25, 0, 0],
				"rotationVariable": "brake"
			},
			{
				"partName": "$Brake",
				"rotationPoint": [0.3125, 0.1875, 4.625],
				//"rotationAxis": [-0.5, 0, 0],
				"rotationAxis": [-25, 0, 0],
				"rotationVariable": "p_brake"
			},
			{
				"partName": "$Gearshift",
				"rotationPoint": [0.5, 1, 4.375],
				"rotationAxis": [0, -0.93969, 0.34202],
				//"rotationVariable": "gearshift"
				"rotationVariable": "engine_gearshift_1"
			},
			{
				"partName": "$TurnSignalSwitch",
				"rotationPoint": [0.5, 1, 4.375],
				"rotationAxis": [0, 9.3969, -3.4202],
				"rotationVariable": "LeftTurnLight"
			},
			{
				"partName": "$TurnSignalSwitch",
				"rotationPoint": [0.5, 1, 4.375],
				"rotationAxis": [0, -9.3969, 3.4202],
				"rotationVariable": "RightTurnLight"
			},
			{
				"partName": "$SteeringWheel",
				"rotationPoint": [0.5, 1, 4.375],
				"rotationAxis": [0, 0.9397, -0.342],
				//"rotationVariable": "steeringwheel"
				"rotationVariable": "steering_wheel"
			},
			{
				"partName": "$RearAxle",
				"rotationPoint": [0, 0, 0],
				"rotationAxis": [1, 0, 0],
				//"rotationVariable": "driveshaft"
				"rotationVariable": "engine_driveshaft_rotation_1"
			},
			{
				"partName": "$RightFront",
				"rotationPoint": [-0.9375, 0.0, 3.75],
				"rotationAxis": [0, 1, 0],
				//"rotationVariable": "steeringwheel"
				"rotationVariable": "steering_wheel"
			},
			{
				"partName": "$RightFrontWheel",
				"rotationPoint": [-0.9375, 0.0, 3.75],
				"rotationAxis": [0, 1, 0],
				//"rotationVariable": "steeringwheel"
				"rotationVariable": "steering_wheel"
			},
			{
				"partName": "$RightFrontWheel",
				"rotationPoint": [-0.937501, 0.0, 3.75],
				"rotationAxis": [1, 0, 0],
				//"rotationVariable": "driveshaft"
				"rotationVariable": "engine_driveshaft_rotation_1"
			},
			{
				"partName": "$LeftFront",
				"rotationPoint": [0.9375, 0.0, 3.75],
				"rotationAxis": [0, 1, 0],
				//"rotationVariable": "steeringwheel"
				"rotationVariable": "steering_wheel"
			},
			{
				"partName": "$LeftFrontWheel",
				"rotationPoint": [0.9375, 0.0, 3.75],
				"rotationAxis": [0, 1, 0],
				//"rotationVariable": "steeringwheel"
				"rotationVariable": "steering_wheel"
			},
			{
				"partName": "$LeftFrontWheel",
				"rotationPoint": [0.937501, 0.0, 3.75],
				"rotationAxis": [1, 0, 0],
				//"rotationVariable": "driveshaft"
				"rotationVariable": "engine_driveshaft_rotation_1"
			},
			{
				"partName": "$DoorFL",
				"rotationPoint": [1.0625, 0.75, 4.6875],
				//"rotationAxis": [0, -1, 0],
				"rotationAxis": [0, -60, 0],
				"rotationVariable": "door"
			},
			{
				"partName": "$DoorFR",
				"rotationPoint": [-1.0625, 0.75, 4.6875],
				//"rotationAxis": [0, 1, 0],
				"rotationAxis": [0, 60, 0],
				"rotationVariable": "door"
			},
			{
				"partName": "$DoorML",
				"rotationPoint": [-1.0625, 0.75, 0.875],
				"rotationAxis": [0, -120, 0],
				"rotationVariable": "door"
			},
			{
				"partName": "$DoorMR",
				"rotationPoint": [-1.0625, 0.75, 2.875],
				"rotationAxis": [0, 120, 0],
				"rotationVariable": "door"
			}
		]
	}
}
