Can I learn if item can stack from API?

Can I learn if item can stack from API?

in API Development

Posted by: zwei.9073

zwei.9073

I would like to know whether item is stackable (usually crafting material, booster, consumable, upgrade, loot box…) or not (usually weapon or armor piece, some gizmos) or if it is special case (item has charges like salvage kits or gathering tools, but cann not be stacked or split).

Is this possible from API? Inventory/Bank api always shows stack number of at least 1, Item api does not show anything like that.

Can I learn if item can stack from API?

in API Development

Posted by: Lawton Campbell

Lawton Campbell

Web Programmer

AFAIK, not currently. I should dig up that flag and add it to /v2/items.

Can I learn if item can stack from API?

in API Development

Posted by: StevenL.3761

StevenL.3761

Maybe unrelated, but it’s possible to generate chat codes for item stacks up to 255 items for any item type. So it seems that any item is fundamentally stackable.

Can I learn if item can stack from API?

in API Development

Posted by: MegumiAzusa.2918

MegumiAzusa.2918

Maybe unrelated, but it’s possible to generate chat codes for item stacks up to 255 items for any item type. So it seems that any item is fundamentally stackable.

The game just prints the information contained in the code without error checking, even if actually illegal ingame.
Also a simple bool/flag to check if one can stack it is much less work than creating a new class with different inventory handling.

(edited by MegumiAzusa.2918)

Can I learn if item can stack from API?

in API Development

Posted by: StevenL.3761

StevenL.3761

Where I was going is that stack-ability is most likely a setting that can be changed per item. Your app infrastructure would have to take that into account.

Can I learn if item can stack from API?

in API Development

Posted by: zwei.9073

zwei.9073

AFAIK, not currently. I should dig up that flag and add it to /v2/items.

Thank you!

Can I learn if item can stack from API?

in API Development

Posted by: Roy Spector.5781

Roy Spector.5781

Just letting you know this is still needed, in case everyone forgot about it.
Thanks.