Actor Midas_Statue_Peasant : Midas_Statue
{
	Tag "Peasant Statue"
	States
	{
	Spawn:
		PEAS O 1
		Goto Super::Cycle
	Death:
	Crash:
		TNT1 A 0 A_SetUserVar("User_GoldRange",10)
		TNT1 A 0 A_SetUserVar("User_GoldAmount",6)
		TNT1 A 0 A_SetUserVar("User_GoldCounter1",8)
		TNT1 A 0 A_SetUserVar("User_GoldCounter2",0)
		Goto Super::DeathInit
	MidasReward:
		TNT1 A 0 A_JumpIf(GetCVar("GC_MoneyShare"),2)
		TNT1 A 0 A_GiveToTarget("Dosh",15)
		Stop
		TNT1 A 0 ACS_NamedExecuteAlways("MoneySharing",0,15)
		Stop
	}
}

Actor Midas_Statue_Rebel : Midas_Statue
{
	Tag "Rebel Statue"
	States
	{
	Spawn:
		HMN1 O 1
		Goto Super::Cycle
	Death:
	Crash:
		TNT1 A 0 A_SetUserVar("User_GoldRange",10)
		TNT1 A 0 A_SetUserVar("User_GoldAmount",6)
		TNT1 A 0 A_SetUserVar("User_GoldCounter1",8)
		TNT1 A 0 A_SetUserVar("User_GoldCounter2",0)
		Goto Super::DeathInit
	MidasReward:
		TNT1 A 0 A_JumpIf(GetCVar("GC_MoneyShare"),2)
		TNT1 A 0 A_GiveToTarget("Dosh",15)
		Stop
		TNT1 A 0 ACS_NamedExecuteAlways("MoneySharing",0,15)
		Stop
	}
}

Actor Midas_Statue_Beggar : Midas_Statue
{
	Tag "Beggar Statue"
	States
	{
	Spawn:
		BEGR A 1
		Goto Super::Cycle
	Death:
	Crash:
		TNT1 A 0 A_SetUserVar("User_GoldRange",10)
		TNT1 A 0 A_SetUserVar("User_GoldAmount",6)
		TNT1 A 0 A_SetUserVar("User_GoldCounter1",8)
		TNT1 A 0 A_SetUserVar("User_GoldCounter2",0)
		Goto Super::DeathInit
	MidasReward:
		TNT1 A 0 A_JumpIf(GetCVar("GC_MoneyShare"),2)
		TNT1 A 0 A_GiveToTarget("Dosh",15)
		Stop
		TNT1 A 0 ACS_NamedExecuteAlways("MoneySharing",0,15)
		Stop
	}
}

Actor Midas_Statue_Macil : Midas_Statue
{
	Tag "Macil gone Gold"
	States
	{
	Spawn:
		LEAD Y 1
		Goto Super::Cycle
	Death:
	Crash:
		TNT1 A 0 A_SetUserVar("User_GoldRange",14)
		TNT1 A 0 A_SetUserVar("User_GoldAmount",12)
		TNT1 A 0 A_SetUserVar("User_GoldCounter1",12)
		TNT1 A 0 A_SetUserVar("User_GoldCounter2",8)
		Goto Super::DeathInit
	MidasReward:
		TNT1 A 0 A_JumpIf(GetCVar("GC_MoneyShare"),2)
		TNT1 A 0 A_GiveToTarget("Dosh",15)
		Stop
		TNT1 A 0 ACS_NamedExecuteAlways("MoneySharing",0,15)
		Stop
	}
}