{
"ARaz1_fueltank": {
    "information":{
        "authors":"BeamNG",
        "name":"Fuel Tank",
        "value":150,
    },
    "slotType" : "ARaz1_fueltank",
    "flexbodies": [
        ["mesh", "[group]:", "nonFlexMaterials"],
        ["ARaz1_fueltank", ["ARaz1_body","ARaz1_lowermounts_a_R","ARaz1_lowermounts_b_R","ARaz1_uppermounts_R","ARaz1_shocktop_R"]],
    ],
    "variables": [
        ["name", "type", "unit", "category", "default", "min", "max", "title", "description"],
        ["$fuel", "range", "L", "Chassis", 40, 0, 40, "Fuel Volume", "Initial fuel volume", {"stepDis":0.5}],
    ],
    "energyStorage": [
        ["type", "name"],
        ["fuelTank", "mainTank"],
    ],
    "mainTank": {
        "energyType":"gasoline",
        "fuelCapacity": 35,
        "startingFuelCapacity": "$fuel",
        "fuel": {"[engineGroup]:":["fuel"]},
        "breakTriggerBeam": "fuelTank",
    },
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         //fuel tank particles
         {"frictionCoef":1},
         {"collision":true},
         {"selfCollision":true},
         {"group":""},
         {"nodeWeight":0.5},
         {"engineGroup":["fuel"]},
         {"nodeMaterial":"|NM_PLASTIC"},
         {"chemEnergy":50,"burnRate":1.2,"flashPoint":220,"vaporPoint":97,"specHeat":0.03,"selfIgnitionCoef":0.9,"smokePoint":220,"containerBeam":"fuelTank"},

         {"selfCollision":true},
         {"engineGroup":""},
         {"chemEnergy":false,"burnRate":false,"flashPoint":false,"vaporPoint":false,"specHeat":false,"selfIgnitionCoef":false,"smokePoint":false,"containerBeam":false},
         {"selfCollision":false},
    ],
    "beams": [
          ["id1:", "id2:"],
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1, "beamShortBound":1},
          {"beamSpring":60000,"beamDamp":50},
          {"beamDeform":"FLT_MAX","beamStrength":"FLT_MAX"},
          {"disableMeshBreaking":true,"disableTriangleBreaking":true},
          //connect fuel particles to tank
          {"breakGroup":"","beamSpring":20,"beamDamp":50},
          {"breakGroupType":1},
          {"deformLimitExpansion":""},
          ["ft1","f9r"],
          {"breakGroup":"fueltank","beamSpring":60000,"beamDamp":50},
          ["ft1","f9l"],
          ["ft1","f4l"],
          ["ft1","f4r"],

          {"breakGroup":"","beamSpring":20,"beamDamp":50},
          ["ft1l","f9l"],
          {"breakGroup":"fueltank","beamSpring":80000,"beamDamp":50},
          ["ft1l","f9r"],
          ["ft1l","f4l"],
          ["ft1l","f4r"],

          {"breakGroup":"","beamSpring":20,"beamDamp":50},
          ["ft1r","f9r"],
          {"breakGroup":"fueltank","beamSpring":60000,"beamDamp":50},
          ["ft1r","f9l"],
          ["ft1r","f4l"],
          ["ft1r","f4r"],

          ["ft2","f9r"],
          ["ft2","f9l"],
          ["ft2","f4l"],
          ["ft2","f4r"],

          ["ft2l","f9l"],
          ["ft2l","f9r"],
          ["ft2l","f4l"],
          ["ft2l","f4r"],

          ["ft2r","f9r"],
          ["ft2r","f9l"],
          ["ft2r","f4l"],
          ["ft2r","f4r"],

          ["ft3","f9r"],
          ["ft3","f9l"],
          ["ft3","f4l"],
          ["ft3","f4r"],

          ["ft3l","f9l"],
          ["ft3l","f9r"],
          ["ft3l","f4l"],
          ["ft3l","f4r"],

          ["ft3r","f9r"],
          ["ft3r","f9l"],
          ["ft3r","f4l"],
          ["ft3r","f4r"],

          {"breakGroupType":0},
          {"beamSpring":1000,"beamDamp":20},
          {"beamDeform":"FLT_MAX","beamStrength":120},
          {"optional":true},
          ["f4l","r1l", {"name":"fuelTank","containerBeam": "fuelTank"}],
          ["f4r","r1r"],
          ["f4l","f4r"],
          {"optional":false},
          {"deformLimitExpansion":1.1},
          {"breakGroup":""},
          {"disableMeshBreaking":false,"disableTriangleBreaking":false},
    ],
},
}