﻿////Name and icon
Name Flashbang
ShortName Flashbang
Icon Icon_Grenade_Flashbang
//Colour in Red, Green, Blue, each going up to 255
Colour 255 255 255
////Item and recipe
StackSize 2
////Visuals
Model CounterStrike.Flashbang
Texture Skin_Grenade_Flashbang
TrailParticles false
//TrailParticleType <particleType>
ExplodeParticles 0
//ExplodeParticleType <particleType>
SmokeTime 10
//SmokeParticleType <particleType>
//Syntax is SmokeEffect <ID> <Duration> <Amplifier>
//IDs are 	1:MoveSpeed		2:MoveSlowdown		3:DigSpeed			4:DigSlowdown		5:DamageBoost	6:Heal			7:Harm		8:Jump			9:Confusion		10:Regeneration
//			11:Resistance	12:FireResistance	13:WaterBreathing	14:Invisibility		15:Blindness	16:NightVision	17:Hunger	18:Weakness		19:Poison		20:Wither
SmokeEffect 15 60 2
SmokeRadius 7
//SmokeParticleType <particleType>
SpinWhenThrown true
////Throwing
ThrowDelay 60
//ThrowSound <sound>
ThrowSound FlashbangThrow
//DropItemOnThrow <itemID.damage>
////Physics
DetonateOnImpact false
Bounciness 1.2
HitEntityDamage 0
ThrowSpeed 1.5
FallSpeed 1.5
BreaksGlass true
PenetratesBlocks false
HitBoxSize 0.1
Sticky false
//BounceSound <sound>
BounceSound FlashbangBounce
////Detonation conditions
VehicleProximityTrigger -1.0
LivingProximityTrigger -1.0
Fuse 60
DetonateWhenShot true
Remote false
//DespawnTime 0
PrimeDelay 40
////Detonation
FireRadius 0.0
ExplosionRadius 0.0
ExplosionDamageVsLiving 1.0
ExplosionDamageVsPlane 0.0
ExplosionDamageVsVehicle 0.0
ExplosionBreaksBlocks false
//DropItemOnDetonate <itemID.damage>
DetonateSound FlashbangDetonate
////Misc
MeleeDamage 0