// Identity
Name Buggy
ShortName buggy

// Item and rendering
Icon Buggy
Model apocalypse.Buggy
Texture Buggy
RotateWheels True
AddDye 10 gray

// Recipe
AddRecipeParts core 1 smallChassis 2 vehicleSeat
AddRecipeParts frontLeftWheel 1 wheel
AddRecipeParts frontRightWheel 1 wheel
AddRecipeParts backLeftWheel 1 wheel
AddRecipeParts backRightWheel 1 wheel

// Inventory
FuelTankSize 2000
CargoSlots 32
ShellSlots 0

// Real-world physics
RealMassKg 800
RealEnginePowerHp 200
RealMaxSpeedKmh 130
DriveType AWD
RealMaxReverseSpeedKmh 20

// Movement
MaxThrottle 0.8
MaxNegativeThrottle 0.5
TurnLeftSpeed 0.4
TurnRightSpeed 0.4
RealTurnRateDegPerSec 240
Drag 10.0
WheelRadius 1.5
WheelSpringStrength 0.5
FourWheelDrive true
Tank false

// Weaponry
BarrelPosition 0 0 0
ShootDelay 1
ShellDelay 70
ReadWeaponsFromGunTypes true

// Health and armour
SetupPart core 720 -42 -5 -14 75 25 28
SetupPart frontLeftWheel 20 13 -10 15 15 15 5
SetupPart frontRightWheel 20 13 -10 -20 15 15 5
SetupPart backRightWheel 20 -43 -10 -22 15 15 7
SetupPart backLeftWheel 20 -43 -10 15 15 15 7
BulletDetection 7
ArmorFrontMm 0
ArmorSideMm 0
ArmorRearMm 0
ArmorTopMm 0
ArmorBottomMm 0
UseRealisticVehicleHealth true

// Seats and geometry
CameraDistance 7.5
WheelPosition 0 -36 -10 -19
WheelPosition 1 -36 -10 19
WheelPosition 2 22 -10 18
WheelPosition 3 22 -10 -18
Driver -19 -2 -6 -360 360 -89 89
RotatedDriverOffset 0 0 0
Passengers 1
Passenger 1 -19 -2 6 core -360 360 -89 89

// Sounds and particles
StartSound willystart
StartSoundLength 40
EngineSound reom35loop
EngineSoundLength 20
ShootSoundPrimary None
ShootSoundSecondary M60Shoot