// ZZ> This function makes an item fall to the floor when spawned
IfSpawned				//
  tmpargument = ACTIONJB		  //
  DoAction				  //
  KeepAction				  //
  MakeCrushValid
  MakeAmmoKnown
  
  //Allow module makers to specify stacks of spears here
  tmpx = selfcontent
  tmpy = 0
  IfXIsMoreThanY
    GetContent
    SetTargetToSelf
    SetTargetAmmo
    tmpargument = 0
    SetContent  
    
IfCrushed
  tmpx = selfx
  tmpy = selfy
  tmpdistance = selfz
  tmpargument = 1
  SpawnExactParticle
  SpawnExactParticle
  SpawnExactParticle
  SpawnExactParticle
  GoPoof
  tmpargument = 2
  SendMessageNear
IfThrown				// Make it attack
  tmpargument = 2
  tmpdistance = 1
  SpawnAttachedParticle
IfNotDropped				// Say oops, that's kursed
  SetTargetToWhoeverIsHolding		  //
  tmpargument = 1			  //
  SendMessageNear			  //
IfNotPutAway				// Say oops, that's kursed
  SetTargetToWhoeverIsHolding		  //
  tmpargument = 3			  //
  SendMessageNear			  //
IfDropped				// Make it lie on floor
  KeepAction				  //
IfHitGround				// Make a sound
  tmpargument = 1			  //
  PlaySound				  //
  DisaffirmCharacter			  // Stop thrown attack
IfGrabbed				// Tell them what they've won...
  SetTargetToWhoeverIsHolding		  //
  IfTargetIsAPlayer			  //
    tmpargument = 0			  //
    SendMessageNear			  //
End					// All done
