//The Ronin faction's top class tactical all purpose foam sprayer!


AddAmmo = Round
	PresetName = Round Foamer 1
	ParticleCount = 8
	Particle = MOPixel
		PresetName = Particle Foamer
		Mass = 0.01
		RestThreshold = 0
//		LifeTime = 1
		AirResistance = 0.02
		Sharpness = 0
		HitsMOs = 1
		GetsHitByMOs = 0
		Color = Color
			R = 255
			G = 255
			B = 255
		Atom = Atom
			Material = Material
				CopyOf = Water
				PresetName = Foam Stuff
				StructuralIntegrity = 0.95
				Stickiness = 0.4
				DensityKGPerVolumeL = 6
				GibImpulseLimitPerVolumeL = 5
				GibWoundLimitPerVolumeL = 0.1
			TrailColor = Color
				R = 255
				G = 0
				B = 255
			TrailLength = 1
	Shell = None
	FireVelocity = 21
	ShellVelocity = 0
	Separation = 5
	
AddEffect = MOSRotating
	PresetName = Foam Blob
	Mass = 0.05
	AirResistance = 0.02
	HitsMOs = 1
	GetsHitByMOs = 0
	RestThreshold = 0
	SpriteFile = ContentFile
		FilePath = Ronin.rte/Devices/Tools/Foam1.bmp
	FrameCount = 1
	SpriteOffset = Vector
		X = -6
		Y = -6
	AtomGroup = AtomGroup
		AutoGenerate = 1
		Material = Material
			CopyOf = Foam Stuff
		Resolution = 26
		Depth = 0
	DeepGroup = AtomGroup
		AutoGenerate = 1
		Material = Material
			CopyOf = Foam Stuff
		Resolution = 26
		Depth = 0
	DeepCheck = 0
	
AddEffect = MOSRotating
	CopyOf = Foam Blob
	PresetName = Foam Blob Gib
	Mass = 0.2
	AirResistance = 0.3
	HitsMOs = 0
	GetsHitByMOs = 0
	
AddAmmo = Round
	PresetName = Round Foamer 2
	ParticleCount = 2
	Particle = MOSRotating
		CopyOf = Foam Blob
	Shell = None
	FireVelocity = 21
	ShellVelocity = 0
	Separation = 5

	
	
AddAmmo = Magazine
	PresetName = Magazine Foamer
	Mass = 0.001
	HitsMOs = 0
	GetsHitByMOs = 0
	SpriteFile = ContentFile
		FilePath = Base.rte/Null.bmp
	FrameCount = 1
	SpriteOffset = Vector
		X = 0
		Y = 0
	AtomGroup = AtomGroup
		AutoGenerate = 1
		Material = Material
			CopyOf = Military Stuff
		Resolution = 2
		Depth = 0
	DeepGroup = AtomGroup
		AutoGenerate = 1
		Material = Material
			CopyOf = Military Stuff
		Resolution = 3
		Depth = 1
	DeepCheck = 0
	JointStrength = 200
	JointStiffness = 1
	JointOffset = Vector
		X = 0
		Y = 0
	ParentOffset = Vector
		X = 0
		Y = 0
	DrawAfterParent = 0
	RoundCount = 60
	RTTRatio = 2
	Discardable = 0
	RegularRound = Round
		CopyOf = Round Foamer 1
	TracerRound = Round
		CopyOf = Round Foamer 2
	

AddDevice = HDFirearm
	PresetName = Foam Sprayer
	Description = Ultra handy dandy tool!  Make walls of foam to prevent enemy from seeing you, foam at them to slow them down or make a DIY cushion before jumping from high areas.
	AddToGroup = Tools
	Mass = 6
	HitsMOs = 0
	GetsHitByMOs = 1
	SpriteFile = ContentFile
		FilePath = Ronin.rte/Devices/Tools/Foamer.bmp
	FrameCount = 1
	SpriteOffset = Vector
		X = -8
		Y = -9
	EntryWound = AEmitter
		CopyOf = Dent Metal
	ExitWound = AEmitter
		CopyOf = Dent Metal
	GoldValue = 15
	AtomGroup = AtomGroup
		AutoGenerate = 1
		Material = Material
			CopyOf = Military Stuff
		Resolution = 4
		Depth = 0
	DeepGroup = AtomGroup
		AutoGenerate = 1
		Material = Material
			CopyOf = Military Stuff
		Resolution = 4
		Depth = 10
	DeepCheck = 0
	JointStrength = 75
	JointStiffness = 0.5
	JointOffset = Vector
		X = -6
		Y = -5
	DrawAfterParent = 0
//	OneHanded = 0
	StanceOffset = Vector
		X = 7
		Y = 4
	SharpStanceOffset = Vector
		X = 8
		Y = 1
	SupportOffset = Vector
		X = 2
		Y = -5
	SharpLength = 60
	Magazine = Magazine
		CopyOf = Magazine Foamer
//	Flash = Attachable
//		CopyOf = Muzzle Flash Shovel
	FireSound = Sound
		AddSample = ContentFile
			FilePath = Base.rte/Actors/Rockets/Thruster.wav
		LoopSetting = -1 // Means loop infinitely until stopped
	RateOfFire = 3000
	ReloadTime = 1800
	FullAuto = 1
	FireIgnoresThis = 1
	ShakeRange = 0
	SharpShakeRange = 0
	NoSupportFactor = 0
	ParticleSpreadRange = 14
	ShellSpreadRange = 0
	ShellAngVelRange = 0
	MuzzleOffset = Vector
		X = 9
		Y = -6
	EjectionOffset = Vector
		X = 9
		Y = -6
	AddGib = Gib
		GibParticle = MOPixel
			CopyOf = Spark Yellow 1
		Count = 5
		Spread = 2.25
		MaxVelocity = 20
		MinVelocity = 8
		InheritsVel = 0
	AddGib = Gib
		GibParticle = MOPixel
			CopyOf = Spark Yellow 2
		Count = 6
		Spread = 2.25
		MaxVelocity = 20
		MinVelocity = 8
		InheritsVel = 0
	AddGib = Gib
		GibParticle = MOSRotating
			CopyOf = Foam Blob
		Count = 30
		Spread = 3.14
		MaxVelocity = 12
		MinVelocity = 5
		InheritsVel = 0
	AddGib = Gib
		GibParticle = MOSRotating
			CopyOf = Foam Blob Gib
		Count = 30
		Spread = 3.14
		MaxVelocity = 20
		MinVelocity = 8
		InheritsVel = 0
	AddGib = Gib
		GibParticle = MOPixel
			CopyOf = Particle Foamer
		Count = 50
		Spread = 3.14
		MaxVelocity = 27
		MinVelocity = 15
		InheritsVel = 0
	GibWoundLimit = 3
