//===========================================================================
//
// Rat (As annoying as seen in Dusk)
//
//===========================================================================
ACTOR Rat 500//replaces wolfensteinss
{
	//$Category Doosk Monsters/Meme
	//$Sprite RATAA0
	//$Title maicraf player (Rat)
	//$Color 6
	Game Doom
	SpawnID 116
	Health 30
	PainChance 0
	+QUICKTORETALIATE

	+NOPAIN
	Speed 5
	Radius 10
	Height 12
	Mass 400
	Monster
	+FLOORCLIP
	SeeSound "ratamaicraftero/sight"
//	AttackSound "ratamaicraftero/melee"
	PainSound "ratamaicraftero/pain"
	DeathSound "monster/explodegore"
	ActiveSound "ratamaicraftero/active"
	Obituary "$RAT1_DTH"

	Scale 0.25
	States
	{
	Spawn:
        RATA A 0 A_StopSoundEx("soundslot5")
		RATA A 10 A_Look
		Loop
	See:
        CWGA A 0 A_PlaySoundEx("ratamaicraftero/loop","soundslot5",1)
        RATA A 1 A_Chase
		Loop

	Melee:
//        RATA A 0 A_StopSoundEx("soundslot5")
//TNT1 A 0 A_PlaySound("ratamaicraftero/melee")
		RATA A 35 A_CustomMeleeAttack(2 * random(1,5)) // Does not make any sound when missing
		Goto See

	Pain:
		RATA A 0 A_Pain
		RATA A 2
		Goto See
	Death:
        RATA A 0 A_StopSoundEx("soundslot5")
		RATA A 0 A_ScreamAndUnblock

RATA A 0 A_SpawnDebris("Dusk_GenericGib", 1, 1.1, 1.1)//A_SpawnItemEx("Dusk_GibGenerator",0,0,0,0,0,0,0,128)

		TNT1 A 1
		Stop




	}
}



//Extra large rat. Seems to be a big maicraf player.
ACTOR OneAsMany //replaces wolfensteinss
{
	Game Doom
	SpawnID 116
	Health 500
	PainChance 0

	+NOPAIN
	Speed 5
	Radius 16
	Height 20
	Mass 400
	Monster
	+FLOORCLIP
	SeeSound "ratamaicraftero/boss_sight"
//	AttackSound "ratamaicraftero/melee"
	PainSound "ratamaicraftero/pain"
	DeathSound "monster/explodegore"
	ActiveSound "ratamaicraftero/active"
	Obituary "$RAT2_DTH"

	Scale 0.5
	States
	{
	Spawn:
        RATA A 0 A_StopSoundEx("soundslot5")
		RATA A 10 A_Look
		Loop
	See:
        CWGA A 0 A_PlaySoundEx("ratamaicraftero/loop","soundslot5",1)
        RATA A 1 A_Chase
		Loop

	Melee:
		RATA A 35 A_CustomMeleeAttack(10 * random(1,4))
		Goto See

	Pain:
		RATA A 0 A_Pain
		RATA A 2
		Goto See
	Death:
        RATA A 0 A_StopSoundEx("soundslot5")
		RATA A 0 A_ScreamAndUnblock

RATA A 0 A_SpawnDebris("Dusk_GenericGib", 1, 1.1, 1.1)//A_SpawnItemEx("Dusk_GibGenerator",0,0,0,0,0,0,0,128)

		TNT1 A 1
		Stop




	}
}





//Free Civvie =P
ACTOR Cancer_Mouse //500
{
	Game Doom
	Health 100
	PainChance 0
	+QUICKTORETALIATE

	+NOPAIN
	Speed 7
	Radius 10
	Height 12
	Mass 400
	Monster
	+FLOORCLIP
	SeeSound "ratamaicraftero/sight"
//	AttackSound "ratamaicraftero/melee"
	PainSound "ratamaicraftero/pain"
	DeathSound "monster/explodegore"
	ActiveSound "ratamaicraftero/active"
	Obituary "$RAT3_DTH"

	Scale 0.25
	States
	{
	Spawn:
        CMOU A 0 A_StopSoundEx("soundslot5")
		CMOU A 10 A_Look
		Loop
	See:
        CWGA A 0 A_PlaySoundEx("ratamaicraftero/loop","soundslot5",1)
        CMOU A 1 A_Chase
		Loop

	Melee:
//        CMOU A 0 A_StopSoundEx("soundslot5")
//TNT1 A 0 A_PlaySound("ratamaicraftero/melee")
		CMOU A 35 A_CustomMeleeAttack(4 * random(1,4))
		Goto See

	Pain:
		CMOU A 0 A_Pain
		CMOU A 2
		Goto See
	Death:
        CMOU A 0 A_StopSoundEx("soundslot5")
		CMOU A 0 A_ScreamAndUnblock

CMOU A 0 A_SpawnDebris("Dusk_GenericGib", 1, 1.1, 1.1)//A_SpawnItemEx("Dusk_GibGenerator",0,0,0,0,0,0,0,128)

		TNT1 A 1
		Stop




	}
}

