Bug Command "hatter filthy" not working as expected

Zeferis

New member
Using the command "hatter filthy" in cli results in mafia attempting to equip a filthy poultice and failing instead of equipping a filthy knitted dread sack
Tested in ver 12219
 

Bale

Minion
Fuzzy matching is fuzzy. Not a bug.

Try "hatter filthy knitted"
 
Last edited:

lostcalpolydude

Developer
Staff member
Actually, there is code that is clearly meant to make it only match hat names. It's complicated enough that I have no idea why that isn't working. At a glance it seems simple enough to make it only match equipment at least ,by replacing
Code:
ItemFinder.setMatchType( ItemFinder.ANY_MATCH );
with
Code:
ItemFinder.setMatchType( ItemFinder.EQUIP_MATCH );
in HatterCommand. That wouldn't help with figuring out why the hats-only filtering fails though.
 

roippi

Developer
I really, really, cannot stress enough how important it is to provide the actual CLI output when you report a bug. I would rather people provide absolutely zero explanation and just copy/paste CLI output, rather than provide explanation with no CLI output.

Anyway,

Code:
> hatter filthy

Using 1 "DRINK ME" potion...
You acquire an effect: Down the Rabbit Hole (duration: 20 Adventures)
Finished using 1 "DRINK ME" potion.
Refreshing closet...
Examining consumables in closet...
Examining equipment in closet...
Examining miscellaneous items in closet...
Updating inventory...
Failed to equip filthy poultice.
 
Top