I am not sure exactly what is happening here, and I think this might have to do with the fact that to_item() can take lots of argument types, and sometimes items can start with [itemid] numbers... but this does not give the result I expect:

> ash to_item("[consumables]");

Returned: [0]
name =>
plural => nulls
descid =>
image =>
smallimage =>
levelreq => 0
quality =>
adventures =>
muscle =>
mysticality =>
moxie =>
fullness => 0
inebriety => 0
spleen => 0
minhp => 0
maxhp => 0
minmp => 0
maxmp => 0
dailyusesleft => 0
notes =>
quest => false
gift => false
tradeable => false
discardable => false
combat => false
combat_reusable => false
usable => false
reusable => false
multi => false
fancy => false
candy => false
candy_type => none
chocolate => false
seller => none
buyer => none
name_length => 0
noob_skill => none
tcrs_name =>