//[75] I forgot to put the extremely important Nazipuff in here in the last version

ACTOR DeiMWolfPlayer : PlayerPawn
{
  Damagefactor "Nazi", 1.0 // [75]Nazi attacks do normal damage
  BloodColor "67 00 00"
  Speed 1
  Health 100
  Radius 16
  Height 72
  Mass 100
  PainChance 255
  Player.ViewHeight 56
  Player.DisplayName "B.J. Blazkowicz"
  Player.Face "STF"
  Player.AttackZOffset 20
  Player.CrouchSprite "PLYC"
  Player.StartItem "P38"
  Player.StartItem "Bayonet"
  Player.StartItem "9mmClip", 8
  Player.WeaponSlot 1, Bayonet
  Player.WeaponSlot 2, P38
  Player.WeaponSlot 3, MP40
  Player.WeaponSlot 4, MG34
  Player.ColorRange 112, 127
  Player.ColorSet 0, "Green",         0x70, 0x7F,  0x72
  Player.ColorSet 1, "Gray",          0x60, 0x6F,  0x62 // Called "Indigo" originally so as to have a unique initial
  Player.ColorSet 2, "Brown",         0x40, 0x4F,  0x42
  Player.ColorSet 3, "Red",           0x20, 0x2F,  0x22
  // Doom Legacy additions
  Player.ColorSet 4, "Light Gray",    0x58, 0x67,  0x5A
  Player.ColorSet 5, "Light Brown",   0x38, 0x47,  0x3A
  Player.ColorSet 6, "Light Red",     0xB0, 0xBF,  0xB2
  Player.ColorSet 7, "Light Blue",    0xC0, 0xCF,  0xC2
  
  +FORCEXYBILLBOARD
  scale 0.25
  
 States
  {
  Spawn:
    PLAY A -1
    Loop
  See:
    PLWC BCDEFGHIJK 3 
    Loop
  Missile:
    PLAY L 12 
    Goto Spawn
  Melee:
    PLAY M 4 BRIGHT
	PLAY L 2
    Goto Missile
  Pain:
    PLAY N 4 
    PLAY N 4 A_Pain
    Goto Spawn
  Death:
    PLAY O 0 A_PlayerSkinCheck("AltSkinDeath")
  Death1:
    PLAY O 5
    PLAY P 3 A_PlayerScream
    PLAY Q 3 A_NoBlocking
    PLAY RSTUVW 5
    PLAY X -1
    Stop
  XDeath:
    PLAY O 0 A_PlayerSkinCheck("AltSkinXDeath")
  XDeath1:
    PLAY O 5
    PLAY P 5 A_XScream
    PLAY Q 5 A_NoBlocking
    PLAY RSTUV 5
    PLAY W -1
    Stop
  AltSkinDeath:
    PLAY H 6
    PLAY I 6 A_PlayerScream
    PLAY JK 6
    PLAY L 6 A_NoBlocking
    PLAY MNO 6
    PLAY P -1
    Stop
  AltSkinXDeath:
    PLAY Q 5 A_PlayerScream
    PLAY R 0 A_NoBlocking
    PLAY R 5 A_SkullPop
    PLAY STUVWX 5
    PLAY Y -1
    Stop
  }
}

ACTOR 9mmClip : Ammo 2007
{
  SpawnID 11
  Inventory.PickupMessage "Picked up a clip."
  Inventory.PickupSound "Ammo/pickup"
  Inventory.Amount 8
  Inventory.MaxAmount 99
  Ammo.BackpackAmount 10
  Ammo.BackpackMaxAmount 198
  Inventory.Icon "P38CA0"
  scale 0.15
  States
  {
  Spawn:
    P38C A -1
    Stop
  }
}

ACTOR 9mmClip2 : 9mmClip replaces Shell
{
  SpawnID 12
  Inventory.PickupMessage "Picked up a clip."
  Inventory.PickupSound "Ammo/pickup"
  Inventory.Amount 8
  Inventory.MaxAmount 99
  Ammo.BackpackAmount 10
  Ammo.BackpackMaxAmount 198
  Inventory.Icon "P38CA0"
  scale 0.15
  States
  {
  Spawn:
    P38C A -1
    Stop
  }
}

ACTOR AmmoBox : 9mmClip replaces ClipBox
{
  SpawnID 139
  Inventory.PickupMessage "Picked up a box of bullets."
  Inventory.PickupSound "Ammo/pickup"
  Inventory.Amount 25
  scale 0.25
  States
  {
  Spawn:
    AMMO A -1
    Stop
  }
}

ACTOR AmmoBox2 : 9mmClip replaces ShellBox
{
  SpawnID 143
  Inventory.PickupMessage "Picked up a box of bullets."
  Inventory.PickupSound "Ammo/pickup"
  Inventory.Amount 25
  scale 0.25
  States
  {
  Spawn:
    AMMO A -1
    Stop
  }
}

ACTOR Bayonet : Weapon
{
  Weapon.SelectionOrder 3700
  Weapon.Kickback 100
  Obituary "%o got bayoneted by %k."
  Tag "$FIST"
  +WEAPON.WIMPY_WEAPON
  +WEAPON.MELEEWEAPON
  Inventory.Icon "STBAYO"
  States
  {
  Ready:
    PUNG A 1 A_WeaponReady
    Loop
  Deselect:
    PUNG A 1 A_Lower
    Loop
  Select:
    PUNG A 1 A_Raise
    Loop
  Fire:
    PUNG B 4
    PUNG C 4 A_Punch
    PUNG D 5
    PUNG C 4
    PUNG B 5 A_ReFire
    Goto Ready
  }
}

ACTOR P38 : DoomWeapon 5010
{
  Weapon.SelectionOrder 1900
  Weapon.SlotNumber 2
  Weapon.AmmoUse 1
  Weapon.AmmoGive 20
  Weapon.AmmoType "9mmClip"
  Obituary "%k popped a cap in %o's ass."
  +WEAPON.WIMPY_WEAPON
  Inventory.Pickupmessage "$PICKUP_PISTOL_DROPPED"
  Tag "$TAG_PISTOL"
  Inventory.Icon "STP38"
  States
  {
  Ready:
    PISG A 1 A_WeaponReady
    Loop
  Deselect:
    PISG A 1 A_Lower
    Loop
  Select:
    PISG A 1 A_Raise
    Loop
  Fire:
    PISG A 4
	PISG B 0 A_PlaySound("P38/fire", CHAN_WEAPON)
    PISG B 6 A_FirePistol
    PISG C 4
    PISG B 5 A_ReFire
    Goto Ready
  Flash:
    PISF A 7 Bright A_Light1
    Goto LightDone
    PISF A 7 Bright A_Light1
    Goto LightDone
  Spawn:
    PIST A -1
    Stop
  }
}

ACTOR MP40 : DoomWeapon 2001
{
  SpawnID 27
  Weapon.SelectionOrder 1300
  Weapon.SlotNumber 3
  Weapon.AmmoUse 1
  Weapon.AmmoGive 16
  Weapon.AmmoType "9mmClip"
  Inventory.PickupMessage "YOU PICKED UP AN MP-40"
  Inventory.PickupSound "MP40/pickup"
  Obituary "%o was perforated by %k's MP-40."
  Tag "$TAG_SHOTGUN"
  Inventory.Icon "STMP40"
  scale 0.134
  States
  {
  Ready:
    MP4A A 1 A_WeaponReady
    Loop
  Deselect:
    MP4A A 1 A_Lower
    Loop
  Select:
    MP4A A 1 A_Raise
    Loop
  Fire:
    MP4A A 2
	MP4A A 0 A_PlaySound("MP40/fire", CHAN_WEAPON)
	MP4A A 0 A_GunFlash
    MP4A A 3 A_FireBullets (5.6, 0, 1, 5, "BulletPuff")
	MP4A A 7 A_ReFire
    Goto Ready
  Flash:
    SHTF A 4 Bright A_Light1
    SHTF B 3 Bright A_Light2
    Goto LightDone
  Spawn:
    MP40 A -1
    Stop
  }
}

ACTOR MG34 : DoomWeapon 2002
{
   SpawnID 28
   Weapon.SelectionOrder 700
   Weapon.AmmoUse 1
   Weapon.AmmoGive 20
   Weapon.AmmoType "9mmClip"
   Inventory.PickupMessage "Found an MG-34! OH YES!" // "You got the chaingun"
   Inventory.PickupSound "MG43/pickup"
   Obituary "%o was mowed down by %k's MG-34." // "%o was mowed down by %k's chaingun."
   Tag "$TAG_CHAINGUN"
   Inventory.Icon "STMG34"
   SCALE 0.12
   States
   {
   Ready:
     CHGG A 1 A_WeaponReady
     Loop
   Deselect:
     CHGG A 1 A_Lower
     Loop
   Select:
     CHGG A 1 A_Raise
     Loop
   Fire:
     CHGG A 0 A_PlaySound("MG34/fire", CHAN_WEAPON)
     CHGG A 0 A_GunFlash
     CHGG A 3 A_FireBullets (5.6, 0, 1, 5, "BulletPuff")
     CHGG B 0 A_PlaySound("MG34/fire", CHAN_WEAPON)
     //CHGG B 0 A_GunFlash
     CHGG B 3 A_FireBullets (5.6, 0, 1, 5, "BulletPuff")
     CHGG B 0 A_ReFire
     Goto Ready
   Flash:
     CHGF A 0 Bright A_Jump (256, "F1", "F2", "F3", "F4")
   F1:
     CHGF A 2 Bright A_Light1
     Goto LightDone
   F2:
     CHGF B 2 Bright A_Light1
     Goto LightDone
   F3:
     CHGF C 2 Bright A_Light1
     Goto LightDone
   F4:
     CHGF D 2 Bright A_Light1
     Goto LightDone
   Spawn:
     MG34 A -1
     Stop
   }
}

// Gibs

ACTOR NewRealGibs : RealGibs replaces RealGibs
{
    States
    {
    Spawn:
      POL5 A -1 NoDelay A_PlaySound("gibs/crunchy") 
      Stop
  }
}

// Objects

Actor AlcoveEagle 6038
{
	Radius 0
	Height 20
	scale 0.25 // formerly 0.357
	States
	{
	Spawn:
	   EGLE A -1
	   Loop
	}
}

Actor WoodBarrel 6044
{
	Radius 16
	Height 40
	+Solid
	scale 0.3
	States
	{
	Spawn:
	   BARL A -1
	   Loop
	}
}

Actor Candle 34
{
   Radius 5
   Height 8
   scale 0.1
   States
   {
   Spawn:
	  CAND A -1
   Loop
   }
}

Actor Chandelier1 6028
{
   +SPAWNCEILING
   +NOGRAVITY
	Scale 0.215
	States
	{
	Spawn:
	   CHDL A -1
	   Loop
	}
}

Actor CeilingLight 62
{
   +SPAWNCEILING
   +NOGRAVITY
   Scale 0.1
   States
   {
   Spawn:
      CLIT A -1 Bright
	  Loop
    }
}

Actor CeilingLight2 63
{
   +SPAWNCEILING
   +NOGRAVITY
   Scale 0.08
   States
   {
   Spawn:
      CLIT B -1 Bright
	  Loop
    }
}

Actor FloorLampShade 2027
{
    States
	{
	Spawn:
	   FLMP A -1
	   Loop
	}
}

Actor FloorLampLight 2028
{
	States
	{
	Spawn:
	   BLNK A -1
	   Loop
	}
}

Actor Candelabrum 2040
{
	Radius 32
	Height 70
	+Solid
	Scale 0.12
	States
	{
	Spawn:
	   ABRA A -1
	   Loop
	}
}

Actor HangingPan1 78
{
	Scale 0.21
	States
	{
	Spawn:
	   HDB6 A -1
	   Loop
	}
}

Actor HangingPan2 77
{
	Scale 0.21
	States
	{
	Spawn:
	   HDB5 A -1
	   Loop
	}
}

Actor HangingPan3 76
{
	Scale 0.21
	States
	{
	Spawn:
	   HDB4 A -1
	   Loop
	}
}

Actor HangingPan4 75
{
	Scale 0.21
	States
	{
	Spawn:
	   HDB3 A -1
	   Loop
	}
}

Actor HangingPan5 74
{
	Scale 0.21
	States
	{
	Spawn:
	   HDB6 A -1
	   Loop
	}
}

Actor PotTree 81
{
	Radius 0
	Height 20
	scale 0.333
	States
	{
	Spawn:
	   PTRE A -1
	   Loop
	}
}

Actor BrownPlant 31
{
   +SOLID
   Radius 16
   Height 56
   scale 0.25
   States
   {
   Spawn:
      BPLT A -1
	  Loop
   }
}

Actor DogBasket 32
{
   Radius 16
   Height 16
   scale 0.1
   States
   {
   Spawn:
      BASK A -1
	  Loop
   }
}

Actor BlueVase 37
{
   +SOLID
   Radius 16
   Height 46
   scale 0.225
   States
   {
   Spawn:
      VASE A -1
	  Loop
   }
}

Actor SuitOfArmour 30
{
   +SOLID
   Radius 48
   Height 96
   scale 0.152
   States
   {
   Spawn:
      ARMR A -1
	  Loop
   }
}

Chain1
{
	DoomEdNum 73
	Sprite HDB1
	Scale 0.135
	Frames "A"
}

EyeBolt
{
	DoomEdNum 80
	scale 0.125
	Sprite EBLT
	Frames "A"
}

PileOfBones1
{
   DoomEdNum 25
   Sprite BONZ
   Frames "A"
   Radius 16
   Height 16
   scale 0.15
}

Bones2
{
   DoomEdNum 33
   Sprite BONZ
   Frames "B"
   scale 0.12
}

Bones3
{
   DoomEdNum 29
   Sprite BONZ
   Frames "C"
   scale 0.15
}

Bones4
{
   DoomEdNum 36
   Sprite BONZ
   Frames "D"
   scale 0.15
}

Actor PuddleofBlood01 2211
{
   Radius 48
   Height 0
//   Renderstyle "Translucent"
//   Alpha 0.9
   States
   {
   Spawn:
      BPOL A -1
	  Loop
   }
}

Actor PuddleofWater01 2212
{
   Radius 48
   Height 0
   //Renderstyle "Translucent"
   //Alpha 0.8
   States
   {
   Spawn:
      PUDL A -1
	  Loop
   }
}

Vine1
{
	DooMEdNum 48
	Sprite VINE
	Frames "A"
	Scale 0.28
}

Actor NAZIflag 27
{
   +SOLID
   Radius 16
   Height 92
   scale 0.19
   States
   {
   Spawn:
      FLAG A -1
	  Loop
   }
}

Spear
{
   DoomEdNum 28
   Sprite BRIT
   Frames "A"
   scale 0.11
}

Tree01
{
   DoomEdNum 43
   SOLID
   Sprite TRE1
   Frames "A"
   Radius 32
   Height 128
}

Tree02
{
   DoomEdNum 54
   SOLID
   Sprite TRE2
   Frames "A"
   Radius 48
   Height 128
}

BonesWithBlood
{
   DoomEdNum 26
   Sprite POL6
   Frames "A"
}

Actor FloorSkeleton1 47
{
  +FORCEXYBILLBOARD
   SCALE 0.08
   States
   {
   Spawn:
      SKE1 A -1
	  Loop
   }
}

Actor HangingSkeleton1Blocking 50
{
   +SOLID
   +SPAWNCEILING
   +NOGRAVITY
   radius 10
   Height 96
   scale 0.072
   States
   {
   Spawn:
      HSK1 A -1
	  Loop
   }
}

Actor HangingSkeleton1NoBlock 59
{
   +SPAWNCEILING
   +NOGRAVITY
   radius 10
   Height 96
   scale 0.072
      States
   {
   Spawn:
      HSK1 A -1
	  Loop
   }

}

Actor HangingSkeleton2Blocking 551
{
   +SOLID
   +SPAWNCEILING
   +NOGRAVITY
   radius 10
   Height 96
   scale 0.072
      States
   {
   Spawn:
      HSK2 A -1
	  Loop
   }
}

Actor HangingSkeleton2NoBlock 552
{
   +SPAWNCEILING
   +NOGRAVITY
   radius 10
   Height 96
   scale 0.072
      States
   {
   Spawn:
      HSK2 A -1
	  Loop
   }
}

Actor HangingSkeleton3Blocking 553
{
   +SOLID
   +SPAWNCEILING
   +NOGRAVITY
   radius 10
   Height 96
   scale 0.072
   States
   {
   Spawn:
      HSK3 A -1
	  Loop
   }
}

Actor HangingSkeleton3NoBlock 554
{
   +SPAWNCEILING
   +NOGRAVITY
   radius 10
   Height 96
   scale 0.072
   States
   {
   Spawn:
      HSK3 A -1
	  Loop
   }
}

Actor HangingSkeleton4Blocking 555
{
   +SOLID
   +SPAWNCEILING
   +NOGRAVITY
   radius 10
   Height 96
   scale 0.072
   States
   {
   Spawn:
      HSK4 A -1
	  Loop
   }
}

Actor HangingSkeleton4NoBlock 556
{
   +SPAWNCEILING
   +NOGRAVITY
   radius 10
   Height 96
   scale 0.072
   States
   {
   Spawn:
      HSK4 A -1
	  Loop
   }
}

Actor CageSkeleton1 580
{
   radius 10
   Height 96
   scale 0.14
   States
   {
   Spawn:
      CSK1 A -1
	  Loop
   }
}

Actor ElevatorPipePart1 501
{
   radius 10
   Height 96
   States
   {
   Spawn:
      PIP1 A -1
	  Loop
   }
}


ACTOR WolfKeyGold : CustomInventory 7006
{
   SpawnID 49
   +AUTOACTIVATE
   +FORCEXYBILLBOARD
   Inventory.Amount 0
   Inventory.PickupSound "KEY"
   Inventory.PickupMessage "Gold Key"
	scale 0.1875
   States
   {
   Spawn:
      GKEY A -1
      Loop
   Pickup:
//      GKEY A 1 A_GiveInventory("ChexYellowCard", 1)
//      GKEY A 0 A_GiveInventory("KeyYellow", 1)
      GKEY A 0 A_GiveInventory("yellowcard", 1)
      Stop
   }
}

ACTOR WolfKeyGold2 : CustomInventory 6
{
   SpawnID 87
   +AUTOACTIVATE
   +FORCEXYBILLBOARD
   Inventory.Amount 0
   Inventory.PickupSound "KEY"
   Inventory.PickupMessage "Gold Key"
   scale 0.1875
   States
   {
   Spawn:
      GKEY A -1
      Loop
   Pickup:
//      GKEY A 1 A_GiveInventory("ChexYellowCard", 1)
//      GKEY A 0 A_GiveInventory("KeyYellow", 1)
      GKEY A 0 A_GiveInventory("yellowcard", 1)
      Stop
   }
}

ACTOR WolfKeySilver : CustomInventory 5
{
   SpawnID 85
   +AUTOACTIVATE
   +FORCEXYBILLBOARD
   Inventory.Amount 0
   Inventory.PickupSound "KEY"
   Inventory.PickupMessage "Silver Key"
   scale 0.1875
   States
   {
   Spawn:
      SKEY A -1
      Loop
   Pickup:
//      GKEY A 1 A_GiveInventory("ChexBlueCard", 1)
//      GKEY A 0 A_GiveInventory("KeyBlue", 1)
      GKEY A 0 A_GiveInventory("BlueCard", 1)
      Stop
   }
}

ACTOR WolfKeyRed : CustomInventory 13
{
   SpawnID 86
   +AUTOACTIVATE
   +FORCEXYBILLBOARD
   Inventory.Amount 0
   Inventory.PickupSound "KEY"
   Inventory.PickupMessage "Red Key"
   scale 0.1875
   States
   {
   Spawn:
      RKEY A -1
      Loop
   Pickup:
//      RKEY A 1 A_GiveInventory("ChexRedCard", 1)
//      RKEY A 0 A_GiveInventory("KeyGreen", 1)
      RKEY A 0 A_GiveInventory("RedCard", 1)
      Stop
   }
}

ACTOR Alpo : Health 6080
{
   +AUTOACTIVATE
   +FORCEXYBILLBOARD
   Inventory.Amount 4
   Inventory.MaxAmount 100
   Inventory.PickupSound "food"
   Inventory.PickupMessage "Yummy Alpo!"
   scale 0.16
   
   States
   {
   Spawn:
      ALPO A -1
      Loop
   }
}

ACTOR Food : Health 6081
{
   +AUTOACTIVATE
   +FORCEXYBILLBOARD
   Inventory.Amount 10
   Inventory.MaxAmount 100
   Inventory.PickupSound "food"
   Inventory.PickupMessage "Ate some food"
	scale 0.125
   States
   {
   Spawn:
      FOOD A -1
      Loop
   }
}

ACTOR Food2 : Health replaces Stimpack
{
   +AUTOACTIVATE
   +FORCEXYBILLBOARD
   Inventory.Amount 10
   Inventory.MaxAmount 100
   Inventory.PickupSound "food"
   Inventory.PickupMessage "Ate some food"
	scale 0.125
   States
   {
   Spawn:
      FOOD A -1
      Loop
   }
}

ACTOR Medkit : Health replaces Medikit
{
   +AUTOACTIVATE
   +FORCEXYBILLBOARD
   Inventory.Amount 25
   Inventory.MaxAmount 100
   Inventory.PickupSound "MEDKIT"
   Inventory.PickupMessage "Verbandkasten"
   States
   {
   Spawn:
      MEDI A -1
      Loop
   }
}

ACTOR 1up : CustomInventory replaces Soulsphere
{
  +FORCEXYBILLBOARD
  SpawnID 25
//  RenderStyle SoulTrans
  +COUNTITEM
  +INVENTORY.AUTOACTIVATE
  +INVENTORY.ALWAYSPICKUP
  +INVENTORY.FANCYPICKUPSOUND
  Inventory.Amount 100
  Inventory.MaxAmount 100
  Inventory.PickupMessage "1 up!" // "Supercharge!"
  Inventory.PickupSound "1up"
  scale 0.15
  States
  {
  Spawn:
    1UP1 ABCDDDCBAEFGGGFE 12 Bright
    Loop
	Pickup:
		BLNK A 0 A_GiveInventory ("Soulsphere", 1)
		BLNK A 0 A_GiveInventory ("9mmclip", 25)
		stop

  }
}

ACTOR 1upAmmo : 9mmclip replaces DeadLostSoul
{
  +INVENTORY.ALWAYSPICKUP
  Inventory.Amount 25
  Inventory.PickupMessage ""
  Inventory.PickupSound "1up"
  States
  {
  Spawn:
    BLNK A -1
    Stop
  }
}

ACTOR Chalice1 : Inventory 6082
{
   +COUNTITEM
   +AUTOACTIVATE
   +FORCEXYBILLBOARD
   Inventory.Amount 0
   Inventory.PickupSound "CHALICE" 
   Inventory.PickupMessage "Picked up a Chalice"
	scale 0.125
   States
   {
   Spawn:
      PTN2 A -1
      Loop
   }
}
ACTOR Chalice2 : Inventory 6083
{
   +COUNTITEM
   +AUTOACTIVATE
   +FORCEXYBILLBOARD
   Inventory.Amount 0
   Inventory.PickupSound "CHALICE" 
   Inventory.PickupMessage "Picked up a Chalice"
	scale 0.125
   States
   {
   Spawn:
      PTN2 A -1
      Loop
   }
}
ACTOR Chalice3 : Inventory 6084
{
   +COUNTITEM
   +AUTOACTIVATE
   +FORCEXYBILLBOARD
   Inventory.Amount 0
   Inventory.PickupSound "CHALICE" 
   Inventory.PickupMessage "Picked up a Chalice"
	scale 0.125
   States
   {
   Spawn:
      PTN2 A -1
      Loop
   }
}
ACTOR Chest1 : Inventory 6086
{
   +COUNTITEM
   +AUTOACTIVATE
   +FORCEXYBILLBOARD
   Inventory.Amount 0
   Inventory.PickupSound "CHEST" 
   Inventory.PickupMessage "Picked up a Chest of Jewels"
	scale 0.125
   States
   {
   Spawn:
      CHST A -1
      Loop
   }
}
ACTOR Chest2 : Inventory 6036
{
   +COUNTITEM
   +AUTOACTIVATE
   +FORCEXYBILLBOARD
   Inventory.Amount 0
   Inventory.PickupSound "CHEST" 
   Inventory.PickupMessage "Picked up a Chest of Jewels"
	scale 0.125
   States
   {
   Spawn:
      CHST A -1
      Loop
   }
}
ACTOR Cross1 : Inventory 6030
{
   +COUNTITEM
   +AUTOACTIVATE
   +FORCEXYBILLBOARD
   Inventory.Amount 0
   Inventory.PickupSound "CROSS" 
   Inventory.PickupMessage "Picked up a Jeweled Cross"
	scale 0.15
   States
   {
   Spawn:
      EGGC A -1
      Loop
   }
}
ACTOR Cross2 : Inventory 6032
{
   +COUNTITEM
   +AUTOACTIVATE
   +FORCEXYBILLBOARD
   Inventory.Amount 0
   Inventory.PickupSound "CROSS" 
   Inventory.PickupMessage "Picked up a Jeweled Cross"
	scale 0.15
   States
   {
   Spawn:
      EGGC A -1
      Loop
   }
}
ACTOR Crown : Inventory 6034
{
   +COUNTITEM
   +AUTOACTIVATE
   +FORCEXYBILLBOARD
   Inventory.Amount 0
   Inventory.PickupSound "CROWN" 
   Inventory.PickupMessage "Picked up a Crown"
	scale 0.2
   States
   {
   Spawn:
      FBMB A -1
      Loop
   }
}


// ##########################################################################
// #                             Elevator Stuff                             #
// ##########################################################################

ACTOR HandrailBracket 6035
{
   States
   {
   Spawn:
      BRKT A -1
      Loop
   }
}

ACTOR DeadGuard 18
{
	+FORCEXYBILLBOARD
	scale 0.25
	states
	{
	Spawn:
		DEDG A -1
		stop
	}
}

ACTOR BJDummy 6068
{
   +FORCEXYBILLBOARD
   health 10000
	speed 0
	scale 0.25
	states
	{
	Spawn:
		BJDM ABCDEFGHIJ 3 
		loop
	See:
		BJDM ABCDEFGHIJ 3 
		loop
	Death:
		BJYH ABCDEFGHIJKLMNOPQRSTUVW 3
		BJYH X -1
		stop
	}
}

ACTOR CamThingie 789
{
   +NOBLOCKMAP
   +NOGRAVITY
   states
   {
   Spawn:
      BLNK A -1
	  loop
   }
}
    
// [75] new actor: Nazipuff

Actor NaziPuff : BulletPuff
{
  SpawnID 131
  +NOBLOCKMAP
  +NOGRAVITY
  +ALLOWPARTICLES
  +RANDOMIZE
  +FORCEXYBILLBOARD
  RenderStyle Translucent
  Alpha 0.5
  VSpeed 1
  Mass 5
  Damagetype "Nazi"
  States
  {
  Spawn:
    PUFF A 4 Bright
    PUFF B 4
    // Intentional fall-through
  Melee:
    PUFF CD 4
    Stop
	}
}

// ##########################################################################
// #                                Enemies                                 #
// ##########################################################################

actor Wehrmacht replaces ZombieMan
{
//[75] added Nazi damagetype immunity
  Damagefactor "Nazi", 0.0
  BloodColor "67 00 00"
  SpawnID 4
  Obituary "%o was shot by the Wehrmacht."
  Health 20
  Radius 20
  Height 72
  Mass 100
  Speed 16
  ReactionTime 6
  PainChance 200
  SeeSound "grunt/sight"
  AttackSound "grunt/attack"
  PainSound "grunt/pain"
  DeathSound "grunt/death"
  ActiveSound "grunt/active"
  DropItem "9mmClip"
  Monster
  +FLOORCLIP
  +FORCEXYBILLBOARD
  Scale 0.25
  States
  {
  Spawn:
		HEER A 10 A_Look
    loop
  See:
		HEER BCDEFGHIJK 3 A_Chase
    loop
 Missile:
   HFIR A 5 A_FaceTarget
   HFIR B 5 A_FaceTarget
   HFIR C 0 A_PlaySound ("grunt/attack")
   HFIR C 8 A_CustomBulletAttack (12, 0, 1, random(2,10) * 3, "NaziPuff", 0, CBAF_NORANDOM)
   HFIR B 8
   goto See
  Pain:
    HPA1 A 1 A_Pain
	HPA1 BCDEF 1 
    goto See
  Death:
		HDI1 A 3 A_Scream
		HDI1 B 3 A_NoBlocking
		HDI1 CDEFGHIJKLMNOP 3
		HDI1 Q -1
    stop
  }
}

//[75] There is no need to replace the Guard dog's attack because there is almost no chance that it will accidentally bite an ally.
ACTOR GuardDog replaces Demon
{
//[75] Added Nazi damage type immunity
Damagefactor "Nazi", 0.0
  BloodColor "67 00 00"
  SpawnID 8
  Health 1
  PainChance 180
  Speed 25
  Radius 25
  Height 50
  Mass 60
  Monster
  +FLOORCLIP
  +FORCEXYBILLBOARD
  SeeSound "dog/sight"
  AttackSound "demon/melee"
  PainSound "demon/pain"
  DeathSound "dog/death"
  ActiveSound "dog/active"
  Obituary "%o was a doggie's chew toy."
  Scale 0.25
  States
  {
  Spawn:
    DOGS A 10 A_Look
    Loop
  See:
    DOGR BCDEFGHIJKLMNOPQ 2 A_Chase
    Loop
  Melee:
    DATK AB 8 A_FaceTarget
    DATK C 8 A_SargAttack
    Goto See
  Pain:
    DOGD A 4 A_Pain
    Goto See
  Death:
    DOGD A 8 A_Scream
    DOGD B 3 A_NoBlocking
	DOGD CDEFG 3
    DOGD H -1
    Stop
  }
}


ACTOR Schutzstaffel replaces ShotgunGuy
{
// [75] Added nazi damage type immunity
Damagefactor "Nazi", 0.0
  BloodColor "67 00 00"
  SpawnID 1
  Health 60
  Radius 20
  Height 72
  Speed 16
  PainChance 128
  ReactionTime 4
  Monster
  +FLOORCLIP
  +FORCEXYBILLBOARD
  SeeSound "SS/sight"
  PainSound "SS/pain"
  DeathSound "SS/death"
  ActiveSound "SS/active"
  AttackSound "grunt/attack"
  Obituary "%o was gunned down by the S.S."
  Dropitem "MP40"
  scale 0.25
  States
  {
  Spawn:
//    SSWV A 10 A_Look
    SS01 A 10 A_Look
    Loop
  See:
//    SSWV AABBCCDD 3 A_Chase
    SSRN BCDEFGHIJK 3 A_Chase
    Loop
//[75] Replaced A_CPOSAttack with the A_CustomBulletAttack Equivalent as specified on
//http://zdoom.org/wiki/A_CPosAttack with the appropriate puff type 
// with the nazi damage type built in
  Missile:
    SSS1 A 10 A_FaceTarget
    SSS1 A 10 A_FaceTarget
    SSS1 B 3 Bright A_CustomBulletAttack(12, 2, 1, random(2,10)*3, "NaziPuff", 0, CBAF_NORANDOM)
    SSS1 A 2 A_FaceTarget
    SSS1 B 3 Bright A_CustomBulletAttack(12, 2, 1, random(2,10)*3, "NaziPuff", 0, CBAF_NORANDOM)
    SSS1 A 2 A_CPosRefire
//    SSWV E 10 A_FaceTarget
//    SSWV F 10 A_FaceTarget
//    SSWV G 3 Bright A_CustomBulletAttack(12, 0, 1, random(2,10)*3, "NaziPuff", 0, CBAF_NORANDOM)
//    SSWV F 2 A_FaceTarget
//    SSWV F 2 A_CPosRefire
    Goto Missile+2
  Pain:
    SSPN AB 1
    SSPN C 1 A_Pain
	SSPN DEF 1
    Goto See
  Death:
    SSD1 A 0 A_Jump (256, "D1", "D2", "D3") // Choose a random death
	Stop
  D1: // Death 1
	SSD1 A 4 A_Scream
	SSD1 B 4 A_NoBlocking
	SSD1 CDEFGHIJKLMNO 4
	SSD1 P -1
    Stop
  D2: // Death 2
	SSD1 A 3 A_Scream
	SSD2 A 3 A_NoBlocking
	SSD2 BCDEFG 3
	SSD2 HIJKL 4
	SSD2 M -1
    Stop
  D3: // Death 3
	SSD1 A 3 A_Scream
	SSD2 A 3 A_NoBlocking
	SSD2 BCDEFG 3
	SSD2 HIJKL 4
SSD2 M -1
    Stop
  }
}

ACTOR HansGrosse replaces SpiderMastermind
{
//[75] Added nazi damage type immunity
Damagefactor "Nazi", 0.0
  BloodColor "67 00 00"
  SpawnID 7
  Health 800
  Radius 30
  Height 72
  Mass 400
  Speed 12
  PainChance 0
  Monster
  +FLOORCLIP
  +FORCEXYBILLBOARD
  SeeSound "Hans/sight"
  PainSound "chainguy/pain"
  DeathSound "Hans/death"
  ActiveSound "chainguy/active"
  AttackSound "Hans/fire"
  Obituary "%o was utterly destroyed by Hans Grosse."
  Dropitem "WolfKeyGold"
  scale 0.24
  States
  {
  Spawn:
    HANS A 10 A_Look
    Loop
  See:
    HANS BCDEFGHIJKLM 3 A_Chase
    Loop
//[75] Replaced A_CPOSAttack with the A_CustomBulletAttack Equivalent as specified on
//http://zdoom.org/wiki/A_CPosAttack with the appropriate puff type 
// with the nazi damage type built in
  Missile:
    HGSH A 10 A_FaceTarget
    HGSH AB 4 Bright A_CustomBulletAttack(22.5, 0, 1, random(1,5)*3, "NaziPuff", 0, CBAF_NORANDOM)
    HGSH A 1 A_CPosRefire
    Goto Missile+1
  Pain:
    CPOS G 3
    CPOS G 3 A_Pain
    Goto See
  Death:
    HGDI A 4
    HGDI B 4 A_Scream
    HGDI C 4 A_NoBlocking
    HGDI DEFGHIJKLMNO 4
    HGDI P -1
    Stop
  }
}

ACTOR Rat 499
{
  BloodColor "67 00 00"
  Health 1
  Radius 10
  Height 4
  Mass 1
  Speed 8
  PainChance 0
//  Monster
  +FORCEXYBILLBOARD
  SeeSound "Hans/sight"
  PainSound "chainguy/pain"
  DeathSound "Hans/death"
  ActiveSound "chainguy/active"
  AttackSound "Hans/fire"
  Obituary "%o got killed by a rat? But how?"
  Dropitem "WolfKeyGold"
  scale 0.24
  States
  {
  Spawn:
    RATT A 2 A_Wander
    Loop
  } 
}

ACTOR Mutant replaces DoomImp
{
//[75] Added nazi damage type immunity
Damagefactor "Nazi", 0.0
  Bloodcolor purple
  ReactionTime 3
  SpawnID 5
  Health 65
  Radius 20
  Height 72
  Mass 100
  Speed 6
  PainChance 200
  Monster
  +FLOORCLIP
  +FORCEXYBILLBOARD
  AttackSound "grunt/attack"
  PainSound "Mutant/pain"
  DeathSound "Mutant/death"
  HitObituary "$OB_IMPHIT"
  Obituary "%o was destroyed by a mutant."
  DropItem "9mmClip"
  scale 0.25
  States
  {
  Spawn:
    MUT1 A 10 A_Look
    Loop
  See:
    MUT1 BCDEFGHIJK 2 A_Chase
    Loop
//[75] Replaced A_CPOSAttack with the A_CustomBulletAttack Equivalent as specified on
//http://zdoom.org/wiki/A_CPosAttack with the appropriate puff type 
// with the nazi damage type built in
  Melee:
  Missile:
    MFIR A 6 A_FaceTarget
    MFIR B 6 Bright A_CustomBulletAttack(22.5, 0, 1, random(1,5)*3, "NaziPuff", 0, CBAF_NORANDOM)
    MFIR A 6 A_FaceTarget
    MFIR C 6 Bright A_CustomBulletAttack(22.5, 0, 1, random(1,5)*3, "NaziPuff", 0, CBAF_NORANDOM)
    MFIR A 0 A_CPosRefire
    Goto Missile
  Pain:
    MDIE A 2
    MDIE A 2 A_Pain
    Goto See
  Death:
    MUT1 A 0 A_Jump (256, "D1", "D2", "D3") // Choose a random death
	Stop
  D1: // Death 1
	MDI1 A 3 A_Scream
	MDI1 B 3 A_NoBlocking
	MDI1 CDEFGHIJKLMNOP 3
	MDI1 Q -1
    Stop
  D2: // Death 2
	MDI2 A 4 A_Scream
	MDI2 B 4 A_NoBlocking
	MDI2 CDEFGHIJKLMNOP 4
	MDI2 Q -1
    Stop
  D3: // Death 3
	MDI3 A 4 A_Scream
	MDI3 B 4 A_NoBlocking
	MDI3 CDEFGHIJKLMNO 4
	MDI3 P -1
    Stop
  }
}

//[75] it is not necessary to modify Schabbs' attack
//because I replaced his projectile below. 
//A_BruisAttack will automatically fire the replaced
//projectile. 
ACTOR Schabbs 3003
{
//[75] Added nazi damage type immunity
Damagefactor "Nazi", 0.0
  Bloodcolor "67 00 00"
  Reactiontime 1
  SpawnID 3
  Health 1500
  Radius 24
  Height 64
  Mass 1000
  Speed 8
  PainChance 20
  Monster
  +FLOORCLIP
  +FORCEXYBILLBOARD
  +BOSSDEATH
  SeeSound "Schabbs/sight"
  DeathSound "Schabbs/death"
  Obituary "%o was mutated by Dr. Schabbs."
  HitObituary "$OB_BARONHIT"
  Scale 0.28
  States
  {
  Spawn:
    SHAB A 10 A_Look
    Loop
  See:
    SHAB BCDEFGHIJKLMN 2 A_Chase
	SHAB O 1 A_Chase
    Loop
  Melee:
  Missile:
    SHTH ABCDEF 3 A_FaceTarget
    SHTH G 3 A_BruisAttack
	SHTH HIJKL 3
    Goto See
  Pain:
    SHPN A 2
    SHPN A 2 A_Pain
    Goto See
  Death:
    SHDI A 4
    SHDI B 4 A_Scream
    SHDI CDEFGHIJ 4
    SHDI K 4 A_NoBlocking
    SHDI LMNOPQRSTUVWXY 4
    SHDI Z -1 A_BossDeath
    Stop
  }
}

// [75] Replaced Dr. Schabbs' needle with one that does a nazi damage type.
Actor Syringe replaces BaronBall
{
  DamageType Mutagen
  SpawnID 154
  Radius 6
  Height 16
  Speed 15
  FastSpeed 20
  Damage 8
  Projectile
  +RANDOMIZE
  +FORCEXYBILLBOARD
  RenderStyle Add
  Alpha 1
  SeeSound "baron/attack"
  DeathSound "baron/shotx"
  Decal "BaronScorch"
  States
  {
  Spawn:
    BAL7 ABCD 4 
    Loop
  Death:
    BAL7 E 6
    Stop
  }
}

actor Officer replaces Spectre
{
//[75] Added nazi damage immunity
Damagefactor "Nazi", 0.0
  BloodColor "67 00 00"
  SpawnID 9
  Obituary "An officer proves he is better than %o."
  Health 40
  ReactionTime 0
  Radius 20
  Height 72
  Mass 100
  Speed 7
  PainChance 200
  SeeSound "officer/sight"
  AttackSound "grunt/attack"
  PainSound "grunt/pain"
  DeathSound "officer/death"
  ActiveSound "grunt/active"
  DropItem "9mmClip"
  Monster
  +FLOORCLIP
  +FORCEXYBILLBOARD
  Scale 0.25
  States
  {
  Spawn:
    OFCR A 10 A_Look
    loop
  See:
    OFCR BBBCCCDDDEEEFFFGGGHHHIIIJJJKKK 1 A_Chase
    loop
//Changed A_PosAttack to the A_CustomBulletAttackEquivalent as defined in 
//http://zdoom.org/wiki/A_PosAttack and updated it to include the new bulletpuff
 Missile:
   OFSH AB 4 A_FaceTarget
   OFSH C 0 A_PlaySound ("grunt/attack")
   OFSH C 8 A_CustomBulletAttack (22.5, 0, 1, random(1,5) * 3, "NaziPuff", 0, CBAF_NORANDOM)
   OFSH B 4
   goto See
  Pain:
    OLDO H 3
    OLDO H 3 A_Pain
    goto See
  Death:
    OLDO I 4
    OLDO J 4 A_Scream
    OLDO K 4 A_NoBlocking
    OLDO LM 4
    OLDO N -1
    stop
  }
}

ACTOR RobedHitlerDecoy 3005
{
  Damagefactor "Nazi", 0.0
   SpawnID 19
  Health 200
  Radius 31
  Height 72
  Mass 400
  Speed 8
  PainChance 0
  Monster
  +NOBLOOD
  +FLOAT
  +NOGRAVITY
  +FORCEXYBILLBOARD
  +DONTGIB
  SeeSound "decoy/sight"
  DeathSound "decoy/death"
  Obituary "%o was fried by a decoy."
  scale 0.25
  States
  {
  Spawn:
    DCOY A 10 A_Look
    Loop
  See:
    DCOY A 3 A_Chase
    Loop
  Missile:
    DCOY A 1 A_FaceTarget
	DCOY B 2 Bright A_CustomMissile("Decoyball", 60, 0)
//    DCOY A 1 Bright A_HeadAttack
    DCOY B 2 bright A_CPosRefire
    Goto Missile
 Death:
    ROBE A 2 A_Scream
    ROBE BCDEFGHIJKL 2
    ROBE M 2 A_NoBlocking
    ROBE M -1 A_SetFloorClip
    Stop
  }
}

ACTOR DecoyBall replaces CacodemonBall
{
  DamageType NAZI
  SpawnID 126
  Radius 6
  Height 8
  Speed 10
  FastSpeed 20
  Damage 3
  Projectile
  +RANDOMIZE
  +FORCEXYBILLBOARD
  Decal "BaronScorch"
  RenderStyle Add
  Alpha 1
  SeeSound "caco/attack"
  DeathSound "caco/shotx"
  States
  {
  Spawn:
    DBAL A 2 Bright A_SpawnItem (Puffy, 0, 0)
    DBAL BCD 2 Bright A_SpawnItem (Puffy, 0, 0)
    Loop
  Death:
    DBEX ABCDEF 3 Bright
   Stop
  }
}

ACTOR Puffy
{
  Radius 6
  Height 8
  Speed 0
  +NOBLOCKMAP
  +NOGRAVITY
  +MISSILE
  +NOTELEPORT
  +DONTSPLASH
  +FORCEXYBILLBOARD
  RenderStyle Add
  States
  {
  Spawn:
    TRAL ABCDEF 2
    Stop
  }
}

ACTOR MechaHitler 16
{
  SpawnID 114
  Health 1000
  Radius 40
  Height 92
  Mass 1000
  Speed 16
  PainChance 0
  Monster
  Reactiontime 12
  +LOOKALLAROUND
  +NOBLOOD
  +BOSS
  +MISSILEMORE
  +FLOORCLIP
  +FORCEXYBILLBOARD
  +NORADIUSDMG
  +DONTMORPH
  +BOSSDEATH
  SeeSound "cyber/sight"
  PainSound "cyber/pain"
  AttackSound "Hitler/fire"
  DeathSound "cyber/death"
  Obituary "%o was defeated by our glorious fuhrer!"
  Scale 0.25
  States
  {
  Spawn:
    TANK A 10 A_Look
    Loop
  See:
    TANK A 3 A_Hoof
    TANK AAA 3 A_Chase
    TANK A 3 A_Hoof
    TANK AAA 3 A_Chase
    Loop
  Missile:
    TANK A 20 A_FaceTarget
	TANK A 0 bright A_FaceTarget
    TANK A 0 bright A_PlaySound("chainguy/attack", CHAN_WEAPON) 
	TANK A 5 bright A_CustomBulletAttack(22.5, 0, 3, random(1,5)*3, "NaziPuff", 0, CBAF_NORANDOM)
    TANK A 0 bright A_CPosRefire
	TANK A 0 bright A_FaceTarget
    TANK A 0 bright A_PlaySound("chainguy/attack", CHAN_WEAPON) 
	TANK A 5 bright A_CustomBulletAttack(22.5, 0, 3, random(1,5)*3, "NaziPuff", 0, CBAF_NORANDOM)
    TANK A 0 bright A_CPosRefire
    Goto Missile+1
  Death:
    CYBR H 10
    CYBR I 10 A_Scream
    CYBR JKL 10
    CYBR M 10 A_NoBlocking
    CYBR NO 10
    CYBR P 30
    CYBR P -1 A_BossDeath
    Stop
  }
}

ACTOR Hitler replaces LostSoul
{
Damagefactor "Nazi", 0.0
  Bloodcolor "67 00 00"
  RenderStyle "Normal"
  Alpha 1.0
  SpawnID 110
  Health 800
  Reactiontime 12
  +LOOKALLAROUND
  +FORCEXYBILLBOARD
  Radius 30
  Height 72
  Mass 1000
  Speed 12
  PainChance 0
  Monster
  AttackSound "Hitler/fire"
  Obituary "%o was defeated by our glorious fuhrer!"
  scale 0.25
  States
  {
  Spawn:
//    BOS2 A 10 A_Look
    HTLR A 10 A_Look
    Loop
  See:
//    BOS2 AABBCCDD 3 A_Chase
    HTLR BCDEFGHIJKLM 3 A_Chase
    Loop
  Missile:
//    BOS2 E 20 A_FaceTarget
//	BOS2 E 0 bright A_FaceTarget
//    BOS2 F 0 bright A_PlaySound("chainguy/attack", CHAN_WEAPON) 
//	BOS2 F 5 bright A_CustomBulletAttack(22.5, 0, 3, random(1,5)*3, "NaziPuff", 0, CBAF_NORANDOM)
//    BOS2 F 0 bright A_CPosRefire
//	BOS2 G 0 bright A_FaceTarget
//    BOS2 G 0 bright A_PlaySound("chainguy/attack", CHAN_WEAPON) 
//	BOS2 G 5 bright A_CustomBulletAttack(22.5, 0, 3, random(1,5)*3, "NaziPuff", 0, CBAF_NORANDOM)
//    BOS2 G 0 bright A_CPosRefire
    HTLR N 20 A_FaceTarget
	HTLR N 0 bright A_FaceTarget
    HTLR N 0 bright A_PlaySound("chainguy/attack", CHAN_WEAPON) 
	HTLR O 5 bright A_CustomBulletAttack(22.5, 0, 3, random(1,5)*3, "NaziPuff", 0, CBAF_NORANDOM)
    HTLR O 0 bright A_CPosRefire
	HTLR O 0 bright A_FaceTarget
    HTLR O 0 bright A_PlaySound("chainguy/attack", CHAN_WEAPON) 
	HTLR N 5 bright A_CustomBulletAttack(22.5, 0, 3, random(1,5)*3, "NaziPuff", 0, CBAF_NORANDOM)
    HTLR N 0 bright A_CPosRefire
    Goto Missile+1
 Death:
    BOS2 H 80
    BOS2 IJKL 8 
    BOS2 M 8  A_NoBlocking
    BOS2 N 8
    BOS2 O -1
    Stop
  }
}

// ****************************** Pac Ghosts ********************************

ACTOR Blinky 2201
{
  Health 999999999
  PainChance 0
  Speed 10
  Radius 39
  Height 78
  Mass 400
  +FLOORCLIP
  +FORCEXYBILLBOARD
  +LOOKALLAROUND

//  SeeSound "demon/sight"
//  AttackSound "demon/melee"
  Obituary "%o was haunted by Blinky."
  States
  {
  Spawn:
    BLIN AB 4 A_Look
    Loop
  See:
    BLIN AABB 2 Fast A_Chase
    Loop
  Melee:
    BLIN A 0 Fast A_FaceTarget
    BLIN AB 4 Fast A_SargAttack
    Goto See
  }
}

ACTOR Pinky 2202
{
  Health 999999999
  PainChance 0
  Speed 10
  Radius 39
  Height 78
  Mass 400
  +FLOORCLIP
  +FORCEXYBILLBOARD
  +LOOKALLAROUND

//  SeeSound "demon/sight"
//  AttackSound "demon/melee"
  Obituary "%o was haunted by Pinky."
  States
  {
  Spawn:
    PINK AB 4 A_Look
    Loop
  See:
    PINK AABB 2 Fast A_Chase
    Loop
  Melee:
    PINK A 0 Fast A_FaceTarget
    PINK AB 4 Fast A_SargAttack
    Goto See
  }
}

ACTOR Inky 2203
{
  Health 999999999
  PainChance 0
  Speed 10
  Radius 39
  Height 78
  Mass 400
  +FLOORCLIP
  +FORCEXYBILLBOARD
  +LOOKALLAROUND

//  SeeSound "demon/sight"
//  AttackSound "demon/melee"
  Obituary "%o was haunted by Inky."
  States
  {
  Spawn:
    INKY AB 4 A_Look
    Loop
  See:
    INKY AABB 2 Fast A_Chase
    Loop
  Melee:
    INKY A 0 Fast A_FaceTarget
    INKY AB 4 Fast A_SargAttack
    Goto See
  }
}

ACTOR Clyde 2204
{
  Health 999999999
  PainChance 0
  Speed 10
  Radius 39
  Height 78
  Mass 400
  +FLOORCLIP
  +FORCEXYBILLBOARD
  +LOOKALLAROUND

//  SeeSound "demon/sight"
//  AttackSound "demon/melee"
  Obituary "%o was haunted by Clyde."
  States
  {
  Spawn:
    CLYD AB 4 A_Look
    Loop
  See:
    CLYD AABB 2 Fast A_Chase
    Loop
  Melee:
    CLYD A 0 Fast A_FaceTarget
    CLYD AB 4 Fast A_SargAttack
    Goto See
  }
}

// ##########################################################################
// #                             Dynamic Lights                             #
// ##########################################################################

DisembodiedLight01
{
   DoomEdNum 2029
   SPAWNCEILING
   NOGRAVITY
   Sprite BLNK
   Frames "A"
}

DisembodiedLight02
{
   DoomEdNum 2030
   NOGRAVITY
   Sprite BLNK
   Frames "A"
}

DisembodiedLight03
{
   DoomEdNum 2031
   NOGRAVITY
   Sprite BLNK
   Frames "A"
}

// ##########################################################################
// #                              Secret Blocks                             #
// ##########################################################################

Actor SecretBlock 19200
{
   +SOLID
   Radius 48
   Height 96
   States
   {
   Spawn:
      BLNK A -1
	  Loop
   }
}

Actor BlueWall1 19201
{
   +NOGRAVITY
   States
   {
   Spawn:
      SBBW A -1
	  Loop
   }
}

Actor BlueWall2 19202
{
   +NOGRAVITY
   States
   {
   Spawn:
      SBBW B -1
	  Loop
   }
}

Actor BlueWall3 19203
{
   +NOGRAVITY
   States
   {
   Spawn:
      SBBW C -1
	  Loop
   }
}

Actor BlueWall4 19204
{
   +NOGRAVITY
   States
   {
   Spawn:
      SBBW D -1
	  Loop
   }
}

Actor BlueWall5 19205
{
   +NOGRAVITY
   States
   {
   Spawn:
      SBBW E -1
	  Loop
   }
}

Actor BlueWall6 19206
{
   +NOGRAVITY
   States
   {
   Spawn:
      SBBW F -1
	  Loop
   }
}

// ##########################################################################
// #                              Test Objects                              #
// ##########################################################################


actor TestObject1 4444
{
//[75] Added nazi damage immunity
Damagefactor "Nazi", 0.0
  BloodColor red
  SpawnID 254
//  Obituary "An officer proves he is better than %o."
//  Health 40
//  ReactionTime 10
  Radius 20
  Height 72
  Mass 100
  scale 0.25
  Speed 6
//  PainChance 200
//  SeeSound "officer/sight"
//  AttackSound "grunt/attack"
//  PainSound "grunt/pain"
//  DeathSound "officer/death"
//  ActiveSound "grunt/active"
//  DropItem "9mmClip"
//  Monster
  +FLOORCLIP
  +FORCEXYBILLBOARD
  States
  {
  Spawn:
		MUT1 BCDEFGHIJK 2 A_Wander//A_Look
    loop
//  See:
//    FATT AABBCCDD 3 A_Chase
//    loop
//Changed A_PosAttack to the A_CustomBulletAttackEquivalent as defined in 
//http://zdoom.org/wiki/A_PosAttack and updated it to include the new bulletpuff
// Missile:
//   FATT EF 4 A_FaceTarget
//   FATT G 0 A_PlaySound ("grunt/attack")
//   FATT G 8 A_CustomBulletAttack (22.5, 0, 1, random(1,5) * 3, "NaziPuff", 0, CBAF_NORANDOM)
//   FATT E 4
//   goto See
//  Pain:
//    FATT H 3
//    FATT H 3 A_Pain
//    goto See
//  Death:
//    FATT I 4
//    FATT J 4 A_Scream
//    FATT K 4 A_NoBlocking
//    FATT LM 4
//    FATT N -1
//    stop
  }
}

actor TestObject2 4445
{
//[75] Added nazi damage immunity
  Damagefactor "Nazi", 0.0
  BloodColor red
  SpawnID 254
  Obituary "%o was shot by the Wehrmacht."
  Health 20
  Radius 20
  Height 72
  Mass 100
  Speed 12
  PainChance 200
  SeeSound "grunt/sight"
  AttackSound "grunt/attack"
  PainSound "grunt/pain"
  DeathSound "grunt/death"
  ActiveSound "grunt/active"
  DropItem "9mmClip"
//  Monster
  +FLOORCLIP
  +FORCEXYBILLBOARD
  Scale 0.25
  States
  {
  Spawn:
		OFCR BCDEFGHIJK 3		// A_Look
//		SHAB O 1		// A_Look
    loop
//  See:
//		BJDM ABCDEFGHIJ 3 //A_Chase
//    loop
// Missile:
//   HFIR A 5 A_FaceTarget
//   HFIR B 5 A_FaceTarget
//   HFIR C 0 A_PlaySound ("grunt/attack")
//   HFIR C 8 A_CustomBulletAttack (22.5, 0, 1, random(1,5) * 3, "NaziPuff", 0, CBAF_NORANDOM)
//   HFIR B 8
//   goto See
//  Pain:
//    HPA1 A 1 A_Pain
//	HPA1 BCDEF 1 
//    goto See
//  Death:
//		HDI1 A 3 A_Scream
//		HDI1 B 3 A_NoBlocking
//		HDI1 CDEFGHIJKLMNOP 3
//		HDI1 Q -1
//    stop
  }
}

//Death.Flem:
//    XDeath.Flem:
//PLAY H 0 A_SetBlend("20 99 20", 1, 120)
//    PLAY H 10
//    PLAY I 10 A_PlayerScream
//    PLAY J 10 A_NoBlocking
//PLAY J 0 A_TakeInventory("sound_play", 1)
//    PLAY KLM 10
//PLAY N -1
//    Stop
//in your case it would be Death.Mutant
//give Dr. shabbs' needles 
//Damagetype "Mutant"
//and you're done, pretty much

// Here's from TestModel.pk3

actor GreyStone 7251
{
Scale 1.0
    Radius 48
	Height 96
	+SOLID
    States
    {
        Spawn:
            TEST A -1
            stop
    }
}
actor BlueStone 7252
{
    Radius 48
	Height 96
	+SOLID
    States
    {
        Spawn:
            TEST A -1
            stop
    }
}
actor SlimeStone 7253
{
    Radius 48
	Height 96
	+SOLID
    States
    {
        Spawn:
            TEST A -1
            stop
    }
}
actor SteelBlock 7254
{
    Radius 48
	Height 96
	+SOLID
    States
    {
        Spawn:
            TEST A -1
            stop
    }
}
actor TestActor4
{
    Radius 48
	Height 96
	+SOLID
    States
    {
        Spawn:
            TEST A -1
            stop
    }
}

actor TestCrate1
{
    States
	{
	    Spawn:
		    BLNK A -1
			stop
	}
}

actor TestCrate2
{
    States
	{
	    Spawn:
		    BLNK A -1
			stop
	}
}

actor Bucket
{
    Radius 16
	Height 96
    States
	{
	    Spawn:
		    BLNK A -1
			stop
	}
}

actor Cartwheel
{
    States
	{
	    Spawn:
		    BLNK A -1
			stop
	}
}

//actor Squish
//{
//    Radius 48
//	Height 96
//    States
//    {
 //       Spawn:
//            TEST A -1
//            stop
//    }
//}

