////Name and icon
Name FlashMine
ShortName Flashmine
Icon ProxMine
//Colour in Red, Green, Blue, each going up to 255
Colour 255 255 255
////Item and recipe
ItemID 23854
StackSize 1
////Visuals
Model dpn.C4
Texture Skin_Gun_ProxMine
TrailParticles false
//TrailParticleType <particleType>
ExplodeParticles 0
//ExplodeParticleType <particleType>
SmokeTime 0
//SmokeParticleType <particleType>
SpinWhenThrown true
////Throwing
ThrowDelay 10
//ThrowSound <sound>
ThrowSound GrenadeThrow
//DropItemOnThrow <itemID.damage>
////Physics
DetonateOnImpact false
Bounciness 0.0
HitEntityDamage 1
ThrowSpeed 1.0
FallSpeed 1.0
BreaksGlass false
PenetratesBlocks false
HitBoxSize 0.5
Sticky true
StickSoundRange 30
StickSound C4Arm
//BounceSound <sound>
////Detonation conditions
LivingProximityTrigger 2
MotionSensor true
MotionSensorRange 8
MotionSoundRange 30
MotionTime 20
MotionSound C4Arm
Fuse 0
DetonateWhenShot true
Remote false
DespawnTime 8000
PrimeDelay 80
////Detonation
FlashBang True
FlashTime 300
FlashRange 8
FlashSoundEnable
FlashSoundRange 16
FlashSound FlashTrap
DistortSound False
DetonateSound FlashTrap
FireRadius 0.0
ExplosionRadius 4.0
ExplosionBreaksBlocks false
//DropItemOnDetonate <itemID.damage>
//Detonate Sound <sound>
////Misc
MeleeDamage 2