////Name and icon

Name "Smart" Grenade
ShortName opFragGrenade
Icon Mk2Grenade
//Colour in Red, Green, Blue, each going up to 255

Colour 255 255 255

////Item and recipe

StackSize 4

////Visuals

Model ww2.FragGrenade

Texture Tracer
TrailParticles true
//TrailParticleType smoke
ExplodeParticles 0

//ExplodeParticleType reddust
SmokeTime 0

//SmokeParticleType reddust
SpinWhenThrown true

////Throwing

ThrowDelay 15
//ThrowSound <sound>

//DropItemOnThrow <itemID.damage>

////Physics

DetonateOnImpact false

Bounciness 0.4
HitEntityDamage 2
ThrowSpeed 2.0
FallSpeed 1.2
BreaksGlass true

PenetratesBlocks true
HitBoxSize 0.6
Sticky false

//BounceSound HitmarkerSoundEffect
////Detonation conditions

VehicleProximityTrigger -1.0

LivingProximityTrigger -1.0

Fuse 60
DetonateWhenShot true

Remote false

//DespawnTime 666
PrimeDelay 0

////Detonation

FireRadius 0.0

ExplosionRadius 3.0

ExplosionBreaksBlocks true
//DropItemOnDetonate <itemID.damage>

//Detonate Sound PSR
////Misc
MeleeDamage 2
Description It can be thrown through wall but has less explosion.