Among all the item attributes we record in tradeitems.txt, it looks like the two "secondary use" attributes users don't have access to is "fancy" and "candy".
Here is a patch that adds those two boolean fields to item proxy records:
The patch also adds two ASH function:
I didn't commit straight away because I'm not sure we want to use both methods: should I stick to proxy record, or ASH functions?
Here is a patch that adds those two boolean fields to item proxy records:
Code:
> ash $item[ coconut shell ]
Returned: coconut shell
plural => coconut shells
descid => 330145487
image => coconut.gif
levelreq => 0
quality =>
adventures =>
muscle =>
mysticality =>
moxie =>
fullness => 0
inebriety => 0
spleen => 0
notes =>
combat => false
reusable => false
usable => false
multi => false
fancy => true
candy => false
bounty => none
bounty_count => 0
seller => none
buyer => none
The patch also adds two ASH function:
Code:
boolean is_fancy( item )
boolean is_candy( item )
I didn't commit straight away because I'm not sure we want to use both methods: should I stick to proxy record, or ASH functions?