Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Items stack listing #233

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

SeRi0uS007
Copy link

Capability to list stacked items and math formulas to correctly display the price for such items.

"My Market Count" example
"My Market Count" example
"Sell All" example
"Sell All" example

Unfortunately, I couldn't find a good solution to fix the ugliest line to find the amount of items.

const amount = Number(unsafeWindow.g_rgAssets[appid][contextid][assetid].amount);

If we take a pure HTML string, it will cause problems with items that have a number at the beginning of the name.

@SeRi0uS007
Copy link
Author

I would also like to add that this feature has been working for me for months without any issues!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant