data:extend({
-- Item
  {
    type = "item",
    name = "5d-truck",
    icon = "__5dim_vehicle__/graphics/icon/truck/truck.png",
    flags = {"goes-to-quickbar"},
    icon_size = 32,
    subgroup = "vehicles-truck",
    order = "a",
    place_result = "5d-truck",
    stack_size = 1
  },

--Recipe
  {
    type = "recipe",
    name = "5d-truck",
    enabled = false,
    ingredients =
    {
      {"engine-unit", 8},
      {"iron-plate", 20},
      {"steel-plate", 5}
    },
    result = "5d-truck"
  },

--Entity
  {
    type = "car",
    name = "5d-truck",
    icon = "__5dim_vehicle__/graphics/icon/truck/truck.png",
    flags = {"pushable", "placeable-neutral", "player-creation","placeable-off-grid"},
    minable = {mining_time = 1, result = "5d-truck"},
    icon_size = 32,
    max_health = 800,
	energy_per_hit_point = 0.1,
    corpse = "medium-remnants",
	dying_explosion = "medium-explosion",
    resistances = 
    {
      {
        type = "physical",
        percent = 10
      },
      {
        type = "impact",
        decrease = 80,
        percent = 80
      }
    },
    collision_box = {{-0.9, -1.3}, {0.9, 1.3}},
    selection_box = {{-0.9, -1.3}, {0.9, 1.3}},
	--collision_mask = {"ghost-layer"},
    effectivity = 1.5,
    braking_power = "600kW",
    burner =
    {
      effectivity = 1,
      fuel_inventory_size = 2,
      smoke =
      {
        {
          name = "smoke",
          deviation = {0.25, 0.25},
          frequency = 10,
          position = {0, 1.5},
          slow_down_factor = 0.9,
          starting_frame = 3,
          starting_frame_deviation = 5,
          starting_frame_speed = 0,
          starting_frame_speed_deviation = 5
        }
      }
    },
    consumption = "300kW",
    friction = 2e-3,
    light =
    {
      {
        type = "oriented",
        minimum_darkness = 0.3,
        picture =
        {
          filename = "__core__/graphics/light-cone.png",
          priority = "medium",
          scale = 2,
          width = 200,
          height = 200
        },
        shift = {-0.6, -14},
        size = 2,
        intensity = 0.6
      },
      {
        type = "oriented",
        minimum_darkness = 0.3,
        picture =
        {
          filename = "__core__/graphics/light-cone.png",
          priority = "medium",
          scale = 2,
          width = 200,
          height = 200
        },
        shift = {0.6, -14},
        size = 2,
        intensity = 0.6
      }
    },
    animation =
    {
      layers =
      {
        {
          width = 139,
          height = 110,
          frame_count = 1,
          direction_count = 64,
          shift = {-0.140625, -0.28125},
          animation_speed = 8,
          max_advance = 1,
          stripes =
          {
            {
             filename = "__5dim_vehicle__/graphics/icon/truck/base-1.png",
             width_in_frames = 1,
             height_in_frames = 16,
            },
            {
             filename = "__5dim_vehicle__/graphics/icon/truck/base-2.png",
             width_in_frames = 1,
             height_in_frames = 16,
            },
            {
             filename = "__5dim_vehicle__/graphics/icon/truck/base-3.png",
             width_in_frames = 1,
             height_in_frames = 16,
            },
            {
             filename = "__5dim_vehicle__/graphics/icon/truck/base-4.png",
             width_in_frames = 1,
             height_in_frames = 16,
            }
          }
        },
      }
    },
	stop_trigger_speed = 0.2,
    stop_trigger =
    {
      {
        type = "play-sound",
        sound =
        {
          {
            filename = "__base__/sound/car-breaks.ogg",
            volume = 0.6
          },
        }
      },
    },
    crash_trigger = crash_trigger(),
    sound_minimum_speed = 0.2;
    working_sound =
    {
      sound =
      {
        filename = "__base__/sound/car-engine.ogg",
        volume = 0.6
      },
      activate_sound =
      {
        filename = "__base__/sound/car-engine-start.ogg",
        volume = 0.6
      },
      deactivate_sound =
      {
        filename = "__base__/sound/car-engine-stop.ogg",
        volume = 0.6
      },
      match_speed_to_activity = true,
    },
    open_sound = { filename = "__base__/sound/car-door-open.ogg", volume=0.7 },
    close_sound = { filename = "__base__/sound/car-door-close.ogg", volume = 0.7 },
    rotation_speed = 0.008,
    weight = 30000,
    inventory_size = 80
  },
})