//Decorative items.

ACTOR PaperMess
{
  Radius 3
  Height 2
  States
  {
  Spawn:
  TNT1 A 0
  EXPL AAA 0 A_CustomMissile ("FlyingPaper1", 1, 0, random (0, 360), 2, random (0, 90))
  EXPL AAAAAAAAA 0 A_CustomMissile ("FlyingPaperFake", 1, 0, random (0, 360), 2, random (0, 350))
  NONO A -1
    Stop
  }
}

ACTOR PaperBlood
{
	Game Doom
	+NOBLOCKMAP
	+MOVEWITHSECTOR 
	+NOGRAVITY
	+RANDOMIZE
	Scale 0.4
	Mass 0
	States
	{
	Spawn:
	Melee:
		TNT1 A 0
		EXPL AAA 0 A_CustomMissile ("FlyingPaper1", 1, 0, random (0, 360), 2, random (0, 90))
		EXPL AAAAAAAAA 0 A_CustomMissile ("FlyingPaperFake", 1, 0, random (0, 360), 2, random (0, 350))
		Stop
	}
}

Actor FlyingPaper1
{
  Height 2
  Radius 2
  Mass 0
  Alpha 0.7
  +Missile
  +NoBlockMap
  +DontSplash
  +MOVEWITHSECTOR 
  +FORCEXYBILLBOARD
  +CLIENTSIDEONLY
  +THRUACTORS
  BounceFactor 0.01
  Decal "BloodSplat"
  Gravity 0.95
  Speed 5
  Scale 0.2
  States
  {
  Spawn:
    PAPE ABC 2
	PAPE C -1
    Stop
 Death:
    TNT1 A 0
	TNT1 A 0 A_CheckFloor("StayOnGround")
	TNT1 A 2
	Stop
	
 StayOnGround:
    PAPE D 1
	PAPE D 2000
	PAPE DDDDDDDDDD -1
	Stop
  }
}


Actor FlyingPaperFake: FlyingPaper1
{
  Speed 2
  States
  {
  Spawn:
  Death:
    PAPE ABCCC 2
	Stop
  }
}

Actor FlyingPaperFake2: FlyingPaper1
{
  Speed 2
  Scale 0.4
  Gravity 0.5
  States
  {
  Spawn:
    PAPE ABC 2
	PAPE C -1
	Stop
  Death:
  TNT1 A 0
  Stop
  }
}


Actor FlyingPaperBig1: FlyingPaper1
{
  Speed 6
  Gravity 0.6
  Scale 0.4
  States
  {
  Spawn:
    PAPE CCCCCCCCCCCCCCCCCCCC 5 A_CustomMissile ("FlyingPaperFake2", 1, 0, random (0, 360), 2, random (0, 350))
  Death:
	PAPE DDDDDDDDDD -1
	Stop
  }
}


Actor FlyingPaperBig2: FlyingPaper1
{
  Speed 9
  Gravity 0.6
  Scale 0.4
  States
  {
  Spawn:
	PAPE CCCCCCCCCCCCCCCCCCCC 7 A_CustomMissile ("FlyingPaperFake2", 1, 0, random (0, 360), 2, random (0, 350))
  Death:
	PAPE DDDDDDDDDD -1
	Stop
  }
}


Actor FlyingPaperBig1B: FlyingPaper1
{
  Speed 4
  Gravity 0.3
}



Actor FlyingPaperRidiculous: FlyingPaper1
{
  Speed 11
  Gravity 0.6
  Scale 0.4
  States
  {
  Spawn:
    PAPE CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC 3 A_CustomMissile ("FlyingPaperFake2", 1, 0, random (0, 360), 2, random (0, 350))
  Death:
	PAPE DDDDDDDDDD -1
	Stop
  }
}