Feature - Implemented List item on failed purchase attempt

Theraze

Active member
If you try to buy an item and don't have enough meat, you get a message like this:
> buy abridged dictionary

You are not yet out of ronin, and are unable to buy this item from a NPC store.

> my_meat

Returned: 564
This gets especially confusing when the message comes up in a script, like this:
Conditions satisfied after 17 adventures.
Internal checkpoint created.
Putting on outfit: Swashbuckling Getup
Equipment changed.
You are not yet out of ronin, and are unable to buy this item from a NPC store.
If it's not too difficult, any change instead of saying "this item" it could give the item's name?
 
Last edited:

lostcalpolydude

Developer
Staff member
In BuyCommand.java it should just be changing
Code:
"You are not yet out of ronin, and are unable to buy this item from a NPC store."
to
Code:
"You are not yet out of ronin, and are unable to buy " + match.getName() + " from a NPC store."
I think.
 
Top