
machine DinoDefecate
{
	default state DinoDefStart
	{
		action SetStandStill()
		action AddRandomAnimation("special", "flicktail", 5.0, 25.0)
		action AddRandomAnimation("special", "call", 30.0, 60.0)
		action AddRandomAnimation("look", "left", 10.0, 25.0)
		action AddRandomAnimation("look", "right", 10.0, 25.0)
		action SetRandomTimerBetween(1, 4.0, 5.0)
		transition
		{
			goto DefecateStartWait
		}
	}

	state DefecateStartWait
	{
		transition IsTimerUp(1)
		{
			goto DefecateInitiate
		}
	}

	state DefecateInitiate
	{
		action DefecateStart()
		transition
		{
			goto DefecateLoopLookStart
		}
	}

	state DefecateLoopLookStart
	{
		transition
		{
			goto DefecateLoop
		}
	}

	state DefecateLoop
	{
		action DefecateUpdate()
		transition
		{
			goto DefecateLoop
		}
	}

;------------------------ Exit States Begin ----------------------
	exitstart state CleanUp
	{
		transition
		{
			goto CleanUpEnd
		}
	}

	exitend state CleanUpEnd
	{
	}
;------------------------ Exit States End ----------------------
}
