Bug - Fixed non-Euclidean hoof is a bounty

Code:
> ash "non-Euclidean hoof".to_bounty();

Returned: none
plural =>
type =>
kol_internal_type =>
number => 0
image =>
monster => none
location => none

Surprised me a bit, since this is one of the older legacy bounties.
 

Veracity

Developer
Staff member
The Wiki says:

Removed with the Bounty Hunter revamp on January 14, 2014.
It does seem that the bounty hunter still asks for that, sometimes - but, just like all bounties, it is no longer a real item.

I suspect the issue is this code in DataTypes.parseBountyValue():

Code:
		// All bounties are lower case. If that ever changes, we will
		// need to set up canonical name searching in BountyDataBase
		name = name.toLowerCase();

		if ( name.equals( "none" ) )
		{
			return DataTypes.BOUNTY_INIT;
		}

		// This is a funny way to verify that name is valid
		// Unlike other data types, no fuzzy matching
		String plural = BountyDatabase.getPlural( name );
		if ( plural == null )
		{
			return returnDefault ? DataTypes.BOUNTY_INIT : null;
		}
As it turns out, "non-Euclidean hoof" is the one and only bounty that is not all lower-case.
 
Yeah, that note is present on all the pages for the defunct Quest Items, even though most (all?) of them are now new style bounties. A bit confusing, but technically correct.
 
Top