ACTOR NewPeasant : Peasant replaces Peasant
{
  PainChance 200
  Speed 8
  Radius 20
  Height 56
  Monster
  +FRIENDLY
  -COUNTKILL
  +NOSPLASHALERT
  +FLOORCLIP
  +JUSTHIT
  MinMissileChance 150
  MaxStepHeight 16
  MaxDropoffHeight 32
  Damagetype "Physical"
  SeeSound "peasant/sight"
  AttackSound "peasant/attack"
  PainSound "peasant/pain"
  DeathSound "peasant/death"
  HitObituary "$OB_PEASANT" // "%o should have never picked a fight with a civilian."
  
  Tag "Peasant"
  States
  {
  Spawn:
    PEAS A 0
	PEAS A 0 //A_GiveInventory("EnemyInDisguise",1)
	PEAS A 0 ACS_NamedExecuteAlways("WOC Monster Init",0,56,0)
  Idle:
    PEAS A 0 A_CheckFlag("StandStill",2)
	PEAS A 0 A_Jump(256,2)
    PEAS A 10 A_TurretLook
    Loop
    PEAS AA 5 A_Wander
    PEAS A 0 A_TurretLook
    PEAS BB 5 A_Wander
    PEAS B 0 A_TurretLook
    PEAS CC 5 A_Wander
    PEAS C 0 A_TurretLook
    PEAS DD 5 A_Wander
    PEAS D 0 A_TurretLook
    loop
  See:
    PEAS AABBCCDD 5 A_Wander
    Goto Idle
  Melee:
    PEAS E 10 A_FaceTarget
    PEAS F 8 A_CustomMeleeAttack(ACS_NamedExecuteWithResult("WOC Monster Damage Scale",ACTIVATOR,FRandom(7,12)), "peasant/attack", "", "Physical")
    PEAS E 8
    Goto See
  Pain:
    PEAS O 3
    PEAS O 3 A_Pain
    Goto Melee
  Wound:
    PEAS G 5
    PEAS H 10 A_GetHurt
    PEAS I 6
    Goto Wound+1
  Death:
    PEAS G 5 A_GiveToTarget ("Coin", random(0,3))
    PEAS H 5 A_Scream
    PEAS I 6
    PEAS J 5 A_NoBlocking
    PEAS K 5
    PEAS L 6
    PEAS M 8
    PEAS N 1400
    GIBS U 5
    GIBS V 1400
    Stop
  XDeath:
    GIBS M 0 A_SpawnItem("GIBBER")
    GIBS M 5 A_TossGib
    GIBS N 5 A_XScream
    GIBS O 5 A_NoBlocking
    GIBS PQRS 4 A_TossGib
    Goto Death+8
  }
}

ACTOR NewPeasant1 : NewPeasant replaces Peasant1
{
  Game Strife
  ConversationID 6
  Speed 4
}

ACTOR NewPeasant2 : NewPeasant replaces Peasant2
{
  Game Strife
  ConversationID 7
  Speed 5
}

ACTOR NewPeasant3 : NewPeasant replaces Peasant3
{
  Game Strife
  ConversationID 8
  Speed 5
}

ACTOR NewPeasant4 : NewPeasant replaces Peasant4
{
  Game Strife
  Translation 0
  ConversationID 9
  Speed 7
}

ACTOR NewPeasant5 : NewPeasant replaces Peasant5
{
  Game Strife
  Translation 0
  ConversationID 10
  Speed 7
}

ACTOR NewPeasant6 : NewPeasant replaces Peasant6
{
  Game Strife
  Translation 0
  ConversationID 11
  Speed 7
}

ACTOR NewPeasant7 : NewPeasant replaces Peasant7
{
	Game Strife
	Translation 2
	ConversationID 12
}

ACTOR NewPeasant8 : NewPeasant replaces Peasant8
{
	Game Strife
	Translation 2
	ConversationID 13
}

ACTOR NewPeasant9 : NewPeasant replaces Peasant9
{
	Game Strife
	Translation 2
	ConversationID 14
}

ACTOR NewPeasant10 : NewPeasant replaces Peasant10
{
	Game Strife
	Translation 1
	ConversationID 15
}

ACTOR NewPeasant11 : NewPeasant replaces Peasant11
{
	Game Strife
	Translation 1
	ConversationID 16
}

ACTOR NewPeasant12 : NewPeasant replaces Peasant12
{
	Game Strife
	Translation 1
	ConversationID 17
}

ACTOR NewPeasant13 : NewPeasant replaces Peasant13
{
	Game Strife
	Translation 3
	ConversationID 18
}

ACTOR NewPeasant14 : NewPeasant replaces Peasant14
{
	Game Strife
	Translation 3
	ConversationID 19
}

ACTOR NewPeasant15 : NewPeasant replaces Peasant15
{
	Game Strife
	Translation 3
	ConversationID 20
}

ACTOR NewPeasant16 : NewPeasant replaces Peasant16
{
	Game Strife
	Translation 5
	ConversationID 21
}

ACTOR NewPeasant17 : NewPeasant replaces Peasant17
{
	Game Strife
	Translation 5
	ConversationID 22
}

ACTOR NewPeasant18 : NewPeasant replaces Peasant18
{
	Game Strife
	Translation 5
	ConversationID 23
}

ACTOR NewPeasant19 : NewPeasant replaces Peasant19
{
	Game Strife
	Translation 4
	ConversationID 24
}

ACTOR NewPeasant20 : NewPeasant replaces Peasant20
{
	Game Strife
	Translation 4
	ConversationID 25
}

ACTOR NewPeasant21 : NewPeasant replaces Peasant21
{
	Game Strife
	Translation 4
	ConversationID 26
}

ACTOR NewPeasant22 : NewPeasant replaces Peasant22
{
	Game Strife
	Translation 6
	ConversationID 27
}

ACTOR NewBeggar : Beggar replaces Beggar
{
	Damagetype "Physical"
	Health 40
	States
	{
	Spawn:
	    BEGR A 0
		BEGR A 0 A_GiveInventory("EnemyInDisguise",1)
	    BEGR A 0 ACS_NamedExecuteAlways("WOC Monster Init",0,56,0)
    Idle:
		BEGR A 10 A_Look
		Loop
	See:
		BEGR AABBCC 4 A_Wander
		Loop
	Melee:
		BEGR D 8
		BEGR D 8 A_CustomMeleeAttack(ACS_NamedExecuteWithResult("WOC Monster Damage Scale",ACTIVATOR,FRandom(7,12)), "beggar/attack", "", "Physical")
		BEGR E 1 A_Chase
		BEGR D 8 A_SentinelRefire
		Loop
	Pain:
		BEGR A 3 A_Pain
		BEGR A 3 A_Chase
		Goto Melee
	Death:
		BEGR F 4
		BEGR G 4 A_Scream
		BEGR H 4
		BEGR I 4 A_NoBlocking
		BEGR JKLM 4
		BEGR N -1
		Stop
	XDeath:
		BEGR F 5 A_TossGib
		GIBS M 5 A_TossGib
		GIBS N 5 A_XScream
		GIBS O 5 A_NoBlocking
		GIBS PQRST 4 A_TossGib
		GIBS U 5
		GIBS V 1400
		Stop
	}
}
			

// Beggars -----------------------------------------------------------------

ACTOR NewBeggar1 : NewBeggar replaces Beggar1
{
	Game Strife
	ConversationID 38, 37, 38
}


ACTOR NewBeggar2 : NewBeggar replaces Beggar2
{
	Game Strife
	ConversationID 39, 38, 39
}


ACTOR NewBeggar3 : NewBeggar replaces Beggar3
{
	Game Strife
	ConversationID 40, 39, 40
}


ACTOR NewBeggar4 : NewBeggar replaces Beggar4
{
	Game Strife
	ConversationID 41, 40, 41
}


ACTOR NewBeggar5 : NewBeggar replaces Beggar5
{
	Game Strife
	ConversationID 42, 41, 42
}