Shouldn't that be "set slimelingFullness = 0", RT?
// Estimate Slimeling charges
if ( id == FamiliarPool.SLIMELING )
{
// round down for now, since we don't know how this
// really works
if( !item.getItemName().startsWith("basic meat ") && !item.getItemName().startsWith("dense meat ") )
{
float charges = item.getCount() * EquipmentDatabase.getPower( item.getItemId() ) / 10.0F;
Preferences.setFloat( "slimelingFullness", Preferences.getFloat( "slimelingFullness" ) + charges );
useString += " (estimated " + charges + " charges)";
}
else
Preferences.setInt("slimeStacks", Preferences.getFloat( "slimeStacks" ) + item.getCount() )
}
// "[slimeling] leaps on your opponent, sliming it for XX damage. It's inspiring!"
if ( responseText.indexOf( "leaps on your opponent" ) != -1 )
{
float fullness = Math.max( Preferences.getFloat( "slimelingFullness" ) - 1.0F, 0.0F );
Preferences.setFloat("slimelingFullness", fullness );
}
// "[slimeling] shudders, makes some gurgling noises, and expels a big glob of... something."
if ( responseText.indexOf( "makes some gurgling noises" ) != -1 )
{
float stacks = Preferences.getInt( "slimeStacks" ) - 1;
Preferences.setInt("slimeStacks", stacks );
}
What I observed when working on my Familiar Feeder was that items made from dense meat stacks gave MP, not slime stacks.I think it just also needs to check for "dense meat ".
Tracing back several steps, so it would include all the items made from "basic meat [...]" items.Would this be tracing back several steps, or just as a direct component?