{
"legran_dashboard_lighting": {
    "information":{
        "authors":"BeamNG",
        "name":"Dashboard With Lighting",
        "value":500,
    },
    "slotType" : "legran_dashboard",
    "slots": [
        ["type", "default", "description"],
        ["legran_steer","legran_steer", "Steering Wheel"],
        ["skin_gauges","legran_gauges_auto", "Gauge Cluster", {"coreSlot":true}],
        ["legran_centerconsole","legran_centerconsole", "Center Console"],
        ["legran_shifter","legran_shifter_A", "Shifter"],
        ["legran_shiftlight","", "Shift Light"],
        ["legran_dash_accessory","", "Dashboard Accessory"],
    ],
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         ["legran_dashboard_bottom", ["legran_dash"]],
         ["legran_dashboard_warninglights", ["legran_dash"]],
    ],
    "glowMap":{
        "legran_interior":{"simpleFunction":{"lowhighbeam":0.49}, "off":"legran_interior", "on":"legran_interior_on"},
    },
    "props": [
        ["func",         "mesh",                "idRef:","idX:","idY:", "baseRotation",           "rotation",              "translation",          "min", "max", "offset", "multiplier"],
        //parkingbrake
        ["parkingbrake", "legran_parkingbrake", "f1l","f1r","f6l",      {"x":0, "y":0, "z":180},  {"x":-35, "y":0, "z":0}, {"x":0.0, "y":0, "z":0}, 0, 1, 0, 1, {"baseTranslation":{"x":-0.3, "y":0.35, "z":0}}],

        ["brake",        "legran_brakepedal",   "f1l","f1r","f6l",      {"x":8, "y":0, "z":180}, {"x":-18, "y":0, "z":0}, {"x":0.0, "y":0, "z":0}, 0, 1, 0, 1],

        ["throttle",     "legran_gaspedal",     "f1l","f1r","f6l",      {"x":0, "y":0, "z":180},  {"x":-20, "y":0, "z":0}, {"x":0.0, "y":0, "z":0}, 0, 1, 0, 1],

        //turn signal stalk
        ["turnsignal",   "legran_signalstalk",   "dshl","dsh","int_strw",     {"x":90, "y":0, "z":165}, {"x":0, "y":-15, "z":0}, {"x":0, "y":0, "z":0},   -1, 1, 0, 1],
        //wiper stalk
        //["wipers"  , "legran_wiperstalk",      "f1l","f1r","f6l",     {"x":0, "y":0, "z":180},  {"x":0, "y":0, "z":0},   {"x":0, "y":0, "z":0},   -1, 1, -0, 1],
    ],
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_CLOTH"},
         {"selfCollision":true},
         {"collision":true},

         //interior flexbody
         {"group":"legran_dash"},
         {"nodeWeight":1.0},
         ["dshr", -0.363, -0.59, 0.67],
         ["dsh",   0.00, -0.59, 0.67],
         ["dshl",  0.363, -0.59, 0.67],
         ["int_strw",  0.363, -0.45, 0.721],
         {"group":""},
         {"nodeWeight":0.2},
         ["int_pbrk", 0.63, -0.86, 0.50],
         ["int_shft", 0.0, -0.38, 0.39],
    ],
    "torsionbars":[
       ["id1:", "id2:", "id3:", "id4:"],
        //rigify the column
        {"spring":20000, "damp":1, "deform":18000, "strength":28000},
        ["int_strw", "dshl", "dsh", "f5l"],

    ],
    "beams": [
          ["id1:", "id2:"],
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},

          //dash board
          {"beamSpring":869146.6,"beamDamp":142.73},
          {"beamDeform":12400,"beamStrength":"FLT_MAX"},
          {"deformLimitExpansion":""},
          ["dshr","f5r"],
          ["dshl","f5l"],
          ["dshr","f6r"],
          ["dshl","f6l"],
          ["dshr","f1r"],
          ["dshl","f1l"],
          ["dshr","f5rr"],
          ["dshl","f5ll"],
          ["dshr","f6rr"],
          ["dshl","f6ll"],
          ["dshl","dshr"],
          ["dsh","f5r"],
          ["dsh","f5l"],
          ["dsh","f6r"],
          ["dsh","f6l"],
          ["dsh","f1r"],
          ["dsh","f1l"],
          ["dshl","dsh"],
          ["dshr","dsh"],
          ["dsh","int_strw"],
          ["dshl","int_strw"],
          {"beamSpring":160100,"beamDamp":142.73},
          {"beamDeform":70300,"beamStrength":"FLT_MAX"},
          ["int_pbrk","dshl"],
          ["int_pbrk","f5ll"],
          ["int_pbrk","f5l"],
          ["int_pbrk","f1ll"],
          ["int_shft","f5l"],
          ["int_shft","f5r"],
          ["int_shft","f2r"],
          ["int_shft","f2l"],
    ],
    "triangles":[
        ["id1:", "id2:", "id3:"],
        {"groundModel":"plastic"},
        //Dashboard
        {"dragCoef":0},
        ["dshl", "f6ll", "f5ll"],
        ["f6ll", "dshl", "f6l"],
        ["f6l", "dshl", "dsh"],
        ["dsh", "f6r", "f6l"],
        ["dsh", "dshr", "f6r"],
        ["f6r", "dshr", "f6rr"],
        ["dshr", "f5rr", "f6rr"],
        ["dshl", "f5ll", "f5l"],
        ["f5l", "dsh", "dshl"],
        ["f5l", "f5r", "dsh"],
        ["dsh", "f5r", "dshr"],
        ["dshr", "f5r", "f5rr"],
    ],
},
}