MichealRein
Member
Did I do it right, now?
is the way that items are listed (1 item with internal id 1, if I'm reading properly), a single item being off would make you potentially have 2966 of an item instead of 1 of item 2966, etc. Actually, hmm... best thing to do would probably be trying to do a full printout of your items, in order, to see where it starts to fail. Optimally with a debug log as well. I'll need to think about how best to get that listing... is this wrong in your main inventory tab as well as the others? If so, we can probably just do a quick get_inventory and compare that to the debug log..."1":"1",
That should tell us the 'pretty' version of what's in your inventory. Something that's a bit more odd, but should give us something we can compare directly to the debug log:ash get_inventory();
If that works the way it appears to be for me, you should end up with something that we can directly compare and see what's different... Copy-paste the results of that one as well, please.ashq string list = "{"; boolean first = true; foreach it in get_inventory() { if (item_amount(it) > 0) { if (first) first = false; else list += ","; list += "\""+to_int(it)+"\":\""+item_amount(it)+"\""; } } list += "}"; print_html(list);
since you mentioned that as one of the problem items. It's possible that it's just showing you how many you can buy... the possible, not current. Which is the way it's supposed to work, I believe...ash available_amount($item[mulligan stew])
On a briefly aftercore character, they do have more than 20 meat.> available_amount mugcake
Returned: 0
> npc_price mugcake
Returned: 20
Why?You're welcome, but I think it's still a bug?
OK. Next time it happens, show us a screen shot, please. Until then...Well my original problem was that it said that I actually had the thousands, and not just that I could get them.
I'm going to have to go with this explanation.Or maybe I'm just crazy.
...it made me think you didn't know what you looking at, since the Cookable, Mixable, and Create tabs do not show you "how many items you have". They show you "how many items you can create". None of the items you listed are "items you can create".For the thousands of items, they're in the food/booze/spleen tabs of item manager. As well as the Cookable, Mixable, and Create tabs.
For example, it says that I have 343 extra greasy sliders, 261 cups of mulligan stew, and 7810 brown sugar cane.