#include "Actors/monsters/frenzyup_misc.txt"
#include "Actors/gameobjects/fpatch_armor.dec"

#include "Actors/projectiles/frenzy_monsterproj.txt"
#include "Actors/weapons/frenzy_healnstock.txt"
//#include "weaptw.txt"
//#include "bfgfix.txt"
//#include "turfix.txt"
//#include "waves.txt"

ACTOR ZombieFodder : sfFastZombie replaces sfFastZombie
{
  Health 15 // Just a futile resistance
  Radius 10
  Height 56
  Speed 17
  PainChance 256
  Monster
  +FLOORCLIP +FASTER +FASTMELEE
  -THRUSPECIES // [Samu] Just to ease you the presure of running while those bastards destroys the core.
  SeeSound "ZombieFodder/sight"
  PainSound "ZombieFodder/pain"
  DeathSound "ZombieFodder/death"
  ActiveSound "ZombieFodder/active"
  Obituary "%o joins the zombies."
  
  States
  {
  Spawn:
    ZFOD AB 10 A_Look
    Loop
  See:
    ZFOD AABBCCDD 2 A_Chase
    Loop
  Melee:
    ZFOD EF 8 A_FaceTarget
    ZFOD G 8 A_SargAttack
    Goto See
  Pain:
    ZFOD H 2
    ZFOD H 2 A_Pain
    Goto See
  Death:
	POSS A 0 A_SpawnItem ("splatEmitter_Lite" , 0, 0, 0, 0)
	POSS N 2 A_Scream
	NULL A 0 A_SpawnItemEx("ClassicCreditBoom", 0, 0, 0, 0, 0, 0, 0, 0, 235)
	POSS N 5 ACS_Execute(500, 0, 16, 0)
	POSS O 5 A_NoBlocking
	POSS PQRST 5
	POSS U 650
  DeathFade:
	POSS U 2 A_FadeOut(0.1)
	goto DeathFade
  Raise:
    ZFOD L 5
    ZFOD KJI 5
    Goto See
  }
}