Unified targetting at stores
Posted: Mon Oct 05, 2015 5:28 am
As they say: log is worth thousand words!
At the very least if the input is "2.axe" it should then reject it as invalid target, not just extract the "2" and purchase that.
I am not sure how feasible it is to fix code wise, but having two different ways of targetting for appraise and buy is just, well, nonsense and another learning curve for new players (and apparently not so new ones) to climb over. And one that can be very expensive for them, especially since we have to way to sell the item back, other than hoping to find a player who will buy it off our hands.li
[##] [Price Qty ] Item
[ 1] [ 135 --- ] a weighty blunt woodcutter's axe, handle wrapped in leather
[ 2] [ 19 --- ] a durable wooden shield sporting a colorful heraldic symbol
[ 3] [ 190 --- ] a simple but large wooden bed topped with a rag-stuffed mattress
[ 4] [ 114 --- ] a sturdily made four-legged table crafted of pale wood
[ 5] [ 28 --- ] a wooden practice flail, round leather head thickly stuffed
[ 6] [ 28 --- ] a small wooden practice dagger with a careful, even balance
[ 7] [ 28 --- ] a slim wooden practice sword crafted with a wide crossguard
[ 8] [ 28 --- ] a weighty wooden practice axe with a mighty, crescent blade
[ 9] [ 28 --- ] a durable wooden practice staff with a leather-wrapped grip
[10] [ 28 --- ] a leather-gripped practice polearm topped with a dummy head
[11] [ 28 --- ] a sturdy wooden practice mace topped by a padded round head
[12] [ 380 --- ] a cabinet crafted from a wooden enclosure and a hinged door
[13] [ 23 --- ] a four-legged chair with a large seat and straight armrests
Type 'appraise shop <object>' to appraise an item before purchase.
<prompt>
appraise shop axe
Otois carefully considers a weighty blunt woodcutter's axe, handle wrapped in leather.
This 'a weighty blunt woodcutter's axe, handle wrapped in leather' is a kind of wand.
It weighs around 3 pounds.
You estimate its value at 150 silver.
It looks to be in excellent condition.
It appears to be made of iron.
It has about 5 uses remaining.
<prompt>
appraise shop 2.axe
Otois carefully considers a weighty wooden practice axe with a mighty, crescent blade.
This 'a weighty wooden practice axe with a mighty, crescent blade' is a kind of weapon.
It weighs around 3 pounds.
You estimate its value at 30 silver.
It looks to be in excellent condition.
It appears to be made of wood.
This weapon is a type of axe.
Damage is substandard.
It appears to be of poor quality.
<prompt>
buy 2.axe
Otois buys a durable wooden shield sporting a colorful heraldic symbol for 19 silver.
At the very least if the input is "2.axe" it should then reject it as invalid target, not just extract the "2" and purchase that.