{
"pickup_differential_SFA": {
    "information":{
        "authors":"BeamNG",
        "name":"Open Front Differential",
        "value":450,
    },
    "slotType" : "pickup_differential_SFA",
    "slots": [
        ["type", "default", "description"],
        //["pickup_driveshaft_SFA","pickup_driveshaft_SFA","Front Driveshaft"],
        ["pickup_axleshafts_F","pickup_axleshafts_F","Front Axle Shafts"],
        ["pickup_finaldrive_SFA","pickup_finaldrive_SFA_355", "Front Final Drive", {"coreSlot":true}],
    ],
    "powertrain" : [
        ["type", "name", "inputName", "inputIndex"],
        //front diff
        ["differential", "differential_F", "driveshaft_F", 1, {"diffType":"open", "uiName":"Front Differential","defaultVirtualInertia":0.5}],
    ],
    "differential_F": {
        "friction": 5.95
        "dynamicFriction": 0.0028,
        "torqueLossCoef": 0.03,
    },
},
"pickup_differential_SFA_LSD": {
    "information":{
        "authors":"BeamNG",
        "name":"Limited Slip Front Differential",
        "value":750,
    },
    "slotType" : "pickup_differential_SFA",
    "slots": [
        ["type", "default", "description"],
        //["pickup_driveshaft_SFA","pickup_driveshaft_SFA","Front Driveshaft"],
        ["pickup_axleshafts_F","pickup_axleshafts_F","Front Axle Shafts"],
        ["pickup_finaldrive_SFA","pickup_finaldrive_SFA_355", "Front Final Drive", {"coreSlot":true}],
    ],
    "powertrain" : [
        ["type", "name", "inputName", "inputIndex"],
        //front diff
        ["differential", "differential_F", "driveshaft_F", 1, {"diffType":"lsd", "lsdPreload":100, "lsdLockCoef":0.15, "lsdRevLockCoef":0.075, "friction":5, "uiName":"Front Differential","defaultVirtualInertia":0.5}],
    ],
    "differential_F": {
        "friction": 5.95
        "dynamicFriction": 0.0028,
        "torqueLossCoef": 0.03,
    },
},
"pickup_differential_SFA_heavy_LSD": {
    "information":{
        "authors":"BeamNG",
        "name":"Heavy Duty Limited Slip Front Differential",
        "value":850,
    },
    "slotType" : "pickup_differential_SFA",
    "slots": [
        ["type", "default", "description"],
        //["pickup_driveshaft_SFA","pickup_driveshaft_SFA","Front Driveshaft"],
        ["pickup_axleshafts_F","pickup_axleshafts_F","Front Axle Shafts"],
        ["pickup_finaldrive_SFA","pickup_finaldrive_SFA_355", "Front Final Drive", {"coreSlot":true}],
    ],
    "powertrain" : [
        ["type", "name", "inputName", "inputIndex"],
        //front diff
        ["differential", "differential_F", "driveshaft_F", 1, {"diffType":"lsd", "lsdPreload":150, "lsdLockCoef":0.2, "lsdRevLockCoef":0.2, "friction":5, "uiName":"Front Differential","defaultVirtualInertia":0.5}],
    ],
    "differential_F": {
        "friction": 5.95
        "dynamicFriction": 0.0028,
        "torqueLossCoef": 0.03,
    },
},
"pickup_differential_SFA_welded": {
    "information":{
        "authors":"BeamNG",
        "name":"Welded Front Differential",
        "value":550,
    },
    "slotType" : "pickup_differential_SFA",
    "slots": [
        ["type", "default", "description"],
        //["pickup_driveshaft_SFA","pickup_driveshaft_SFA","Front Driveshaft"],
        ["pickup_axleshafts_F","pickup_axleshafts_F","Front Axle Shafts"],
        ["pickup_finaldrive_SFA","pickup_finaldrive_SFA_355", "Front Final Drive", {"coreSlot":true}],
    ],
    "powertrain" : [
        ["type", "name", "inputName", "inputIndex"],
        //front diff
        ["differential", "differential_F", "driveshaft_F", 1, {"diffType":"locked", "lockTorque":10000, "friction":5, "uiName":"Front Differential","defaultVirtualInertia":0.5}],
    ],
    "differential_F": {
        "friction": 5.95
        "dynamicFriction": 0.0028,
        "torqueLossCoef": 0.03,
    },
},
"pickup_differential_SFA_locking": {
    "information":{
        "authors":"BeamNG",
        "name":"Locking Front Differential",
        "value":950,
    },
    "slotType" : "pickup_differential_SFA",
    "slots": [
        ["type", "default", "description"],
        //["pickup_driveshaft_SFA","pickup_driveshaft_SFA","Front Driveshaft"],
        ["pickup_axleshafts_F","pickup_axleshafts_F","Front Axle Shafts"],
        ["pickup_finaldrive_SFA","pickup_finaldrive_SFA_355", "Front Final Drive", {"coreSlot":true}],
    ],
    "powertrain" : [
        ["type", "name", "inputName", "inputIndex"],
        //front diff
        ["differential", "differential_F", "driveshaft_F", 1, {"diffType":["open","locked"], "lockTorque":20000, "friction":5, "uiName":"Front Differential","defaultVirtualInertia":0.5}],
    ],
    "differential_F": {
        "friction": 5.95
        "dynamicFriction": 0.0028,
        "torqueLossCoef": 0.03,
    },
},
"pickup_finaldrive_SFA_355": {
    "information":{
        "authors":"BeamNG",
        "name":"3.55:1 Front Final Drive",
        "value":150,
    },

    "slotType" : "pickup_finaldrive_SFA",

    "differential_F" : {
        "gearRatio":3.55,
    },
},
"pickup_finaldrive_SFA_410": {
    "information":{
        "authors":"BeamNG",
        "name":"4.10:1 Front Final Drive",
        "value":150,
    },

    "slotType" : "pickup_finaldrive_SFA",

    "differential_F" : {
        "gearRatio":4.10,
    },
},
"pickup_finaldrive_SFA_444": {
    "information":{
        "authors":"BeamNG",
        "name":"4.44:1 Front Final Drive",
        "value":150,
    },

    "slotType" : "pickup_finaldrive_SFA",

    "differential_F" : {
        "gearRatio":4.44,
    },
},
"pickup_finaldrive_SFA_race": {
    "information":{
        "authors":"BeamNG",
        "name":"Race Adjustable Front Final Drive",
        "value":750,
    },

    "slotType" : "pickup_finaldrive_SFA",

    "variables": [
        ["name", "type", "unit", "category", "default", "min", "max", "title", "description"],
        ["$finaldrive_F", "range", ":1", "Differentials", 4.10, 2.0, 6.0, "Final Drive Gear Ratio", "Torque multiplication ratio", {"subCategory":"Front", "stepDis":0.01}],
    ],

    "differential_F" : {
        "gearRatio":"$finaldrive_F",
    },
},
"pickup_driveshaft_SFA": {
    "information":{
        "authors":"BeamNG",
        "name":"SFA Driveshaft",
        "value":300,
    },
    "slotType" : "pickup_driveshaft_SFA",
    "powertrain" : [
        ["type", "name", "inputName", "inputIndex"],
        //front driveshaft
        ["torsionReactor", "torsionReactorF", "transfercase_F", 1, {}],
        ["shaft", "driveshaft_F", "torsionReactorF", 1, {"breakTriggerBeam":"driveshaft_F", "uiName":"Front Driveshaft", "electricsName":"driveshaft_F", "friction":0.467, "dynamicFriction": 0.00101}],
    ],
    "torsionReactorF": {
        "torqueReactionNodes:":["e1l","e2l","e4r"],
    },
    "props": [
        ["func",       "mesh",               "idRef:","idX:","idY:", "baseRotation",         "rotation",            "translation",         "min", "max", "offset", "multiplier",],
        ["driveshaft_F", "pickup_propshaft_F", "tra3","tra2","fax4", {"x":91, "y":3.5, "z":0}, {"x":0, "y":-1, "z":0}, {"x":0, "y":0, "z":0}, -360, 360, 0, 1, {"baseTranslation":{"x":0.0, "y":0.22, "z":0.005},"breakGroup":"driveshaft_F","deformGroup":"driveshaft_F","optional":true}],
    ],
    "beams": [
          ["id1:", "id2:"],
          //driveshaft
          {"beamPrecompression":1.0, "beamType":"|BOUNDED", "beamLongBound":0.2, "beamShortBound":0.2},
          {"beamSpring":0,"beamDamp":0,"beamDeform":7535,"beamStrength":9599},
          {"beamLimitSpring":10001000,"beamLimitDamp":1000},
          ["fax4","tra3", {"name":"driveshaft_F","optional":true,"breakGroup":"driveshaft_F","deformGroup":"driveshaft_F"}],
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
    ],
},
"pickup_axleshafts_F": {
    "information":{
        "authors":"BeamNG",
        "name":"Front Axle Shafts",
        "value":150,
    },
    "slotType" : "pickup_axleshafts_F",
    "props":[
        ["func"      , "mesh"           , "idRef:", "idX:", "idY:", "baseRotation"        , "rotation"            , "translation"        , "min", "max", "offset", "multiplier",],
        ["axle_FR", "pickup_ujoint_hub_SFA_FR", "fh3r", "fh2r", "fh4r", {"x":10, "y":-80, "z":55}, {"x":1, "y":0, "z":0} , {"x":0, "y":0, "z":0}, -360, 360, 0, 1,
        {"breakGroup":"driveshaft","deformGroup":"driveshaft","optional":true}],

        ["axle_FL", "pickup_ujoint_hub_SFA_FL", "fh3l", "fh2l", "fh4l", {"x":10, "y":100, "z":55}, {"x":1, "y":0, "z":0} , {"x":0, "y":0, "z":0}, -360, 360, 0, 1,
        {"breakGroup":"driveshaft","deformGroup":"driveshaft","optional":true}],

        ["axle_FL", "pickup_ujoint_SFA_FL", "fh3l", "fh2l", "fh2r", {"x":-0, "y":-95, "z":0}, {"x":1, "y":0, "z":0} , {"x":0, "y":0, "z":0}, -360, 360, 0, 1,
        {"breakGroup":"driveshaft","deformGroup":"driveshaft","optional":true}],

        ["axle_FR", "pickup_ujoint_SFA_FR", "fh3r", "fh2r", "fh2l", {"x":0, "y":85, "z":0}, {"x":1, "y":0, "z":0} , {"x":0, "y":0, "z":0}, -360, 360, 0, 1,
        {"breakGroup":"driveshaft","deformGroup":"driveshaft","optional":true}],
    ],
    "powertrain" : [
        ["type", "name", "inputName", "inputIndex"],
        ["shaft", "halfshaftFL", "differential_F", 1, {"breakTriggerBeam":"axle_FL", "uiName":"Front Left Axle Shaft", "friction":1.97, "dynamicFriction": 0.00489}],
        ["shaft", "halfshaftFR", "differential_F", 2, {"breakTriggerBeam":"axle_FR", "uiName":"Front Right Axle Shaft", "friction":1.97, "dynamicFriction": 0.00489}],
    ],
},
}