bumcheekcity
Active member
I think it would be helpful if mafia auto-used chewing gum on a string when you select to get clovers from the hermit (as many as needed).
public static final int getAcquirableWorthlessItemCount()
{
int count = HermitRequest.getWorthlessItemCount( true );
if ( Preferences.getBoolean( "autoSatisfyWithNPCs" ) )
{
int cost = InventoryManager.currentWorthlessItemCost();
count += KoLCharacter.getAvailableMeat() / cost;
}
return count;
}
(my_path() != "Way of the Surprising Fist" && my_meat() > 2000 && !in_bad_moon() && hermit(5, $item[ten-leaf clover]));
> prefref autoSat
autoSatisfyWithCloset (global, now 'false', default false)
autoSatisfyWithCoinmasters (global, now 'true', default false)
autoSatisfyWithMall (global, now 'true', default false)
autoSatisfyWithNPCs (global, now 'true', default false)
autoSatisfyWithStash (global, now 'false', default false)
autoSatisfyWithStorage (global, now 'true', default true)
> inv worthless
> hermit * clover
Visiting the Hermit...
[color=red]The hermit kept his stuff.[/color]
> hermit * clover
Visiting the Hermit...
Purchasing hermit permit (1 @ 100)...
You acquire an item: hermit permit
You spent 100 Meat
Purchases complete.
Visiting the Hermit...
You acquire ten-leaf clover (2)
Using 2 ten-leaf clover...
You acquire disassembled clover (2)
Finished using 2 ten-leaf clover.
Hermit successfully looted!
Hermit successfully looted!
> hermit * clover
Visiting the Hermit...
The hermit kept his stuff.
> hermit 1 clover
Purchasing chewing gum on a string (1 @ 50)...
You acquire an item: chewing gum on a string
You spent 50 Meat
Purchases complete.
Using 1 chewing gum on a string...
You acquire an item: pasta spoon
Finished using 1 chewing gum on a string.
Purchasing chewing gum on a string (1 @ 50)...
You acquire an item: chewing gum on a string
You spent 50 Meat
Purchases complete.
Using 1 chewing gum on a string...
You acquire an item: worthless trinket
Finished using 1 chewing gum on a string.
Visiting the Hermit...
You acquire an item: ten-leaf clover
Using 1 ten-leaf clover...
You acquire an item: disassembled clover
Finished using 1 ten-leaf clover.
Hermit successfully looted!
Confirmed by visiting the hermit manually that he had three clovers (I was in Ronin).
I had one worthless gewgaw and one worthless knicknack.
Code:> hermit * clover Visiting the Hermit... Purchasing hermit permit (1 @ 100)... You acquire an item: hermit permit You spent 100 Meat Purchases complete. Visiting the Hermit... You acquire ten-leaf clover (2) Using 2 ten-leaf clover... You acquire disassembled clover (2) Finished using 2 ten-leaf clover. Hermit successfully looted! Hermit successfully looted! > hermit * clover Visiting the Hermit... The hermit kept his stuff. > hermit 1 clover Purchasing chewing gum on a string (1 @ 50)... You acquire an item: chewing gum on a string You spent 50 Meat Purchases complete. Using 1 chewing gum on a string... You acquire an item: pasta spoon Finished using 1 chewing gum on a string. Purchasing chewing gum on a string (1 @ 50)... You acquire an item: chewing gum on a string You spent 50 Meat Purchases complete. Using 1 chewing gum on a string... You acquire an item: worthless trinket Finished using 1 chewing gum on a string. Visiting the Hermit... You acquire an item: ten-leaf clover Using 1 ten-leaf clover... You acquire an item: disassembled clover Finished using 1 ten-leaf clover. Hermit successfully looted!
Interesting. It seems the case is that looking for all the clovers causes the problem. I'm happy to note this and accept it if it's considered not to be a bug. I assume I can always just write "hermit 5 clover" and get them all.