{"action":"created","issue":{"url":"https://api.github.com/repos/seishun/node-steam-trade/issues/57","labels_url":"https://api.github.com/repos/seishun/node-steam-trade/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/seishun/node-steam-trade/issues/57/comments","events_url":"https://api.github.com/repos/seishun/node-steam-trade/issues/57/events","html_url":"https://github.com/seishun/node-steam-trade/issues/57","id":61913946,"number":57,"title":"Stackable items (at least Spiral Knights, maybe others) don't work at all","user":{"login":"Exxion","id":9827785,"avatar_url":"https://avatars.githubusercontent.com/u/9827785?v=3","gravatar_id":"","url":"https://api.github.com/users/Exxion","html_url":"https://github.com/Exxion","followers_url":"https://api.github.com/users/Exxion/followers","following_url":"https://api.github.com/users/Exxion/following{/other_user}","gists_url":"https://api.github.com/users/Exxion/gists{/gist_id}","starred_url":"https://api.github.com/users/Exxion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Exxion/subscriptions","organizations_url":"https://api.github.com/users/Exxion/orgs","repos_url":"https://api.github.com/users/Exxion/repos","events_url":"https://api.github.com/users/Exxion/events{/privacy}","received_events_url":"https://api.github.com/users/Exxion/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-03-15T22:43:32Z","updated_at":"2015-11-05T19:44:07Z","closed_at":null,"body":"The amount property of the item (both in offerChanged and themAssets) is always the total number the  person offering the item has, not the number they offered (unless they offered all they had, of course).\r\n\r\nAlso, Crowns and Energy (from Spiral Knights) don't trigger offerChanged when the partner adds or removes them and they don't show up in themAssets at all.\r\n\r\nFinally, trades seem to silently end at random when offering SK items, though this may just be due to my connection or something.\r\n\r\nEDIT: Forgot to mention that changing the number of offered items doesn't emit offerChanged. It also doesn't update the amount property, but I guess that was implied by the rest of the issue report."},"comment":{"url":"https://api.github.com/repos/seishun/node-steam-trade/issues/comments/154169534","html_url":"https://github.com/seishun/node-steam-trade/issues/57#issuecomment-154169534","issue_url":"https://api.github.com/repos/seishun/node-steam-trade/issues/57","id":154169534,"user":{"login":"seishun","id":988441,"avatar_url":"https://avatars.githubusercontent.com/u/988441?v=3","gravatar_id":"","url":"https://api.github.com/users/seishun","html_url":"https://github.com/seishun","followers_url":"https://api.github.com/users/seishun/followers","following_url":"https://api.github.com/users/seishun/following{/other_user}","gists_url":"https://api.github.com/users/seishun/gists{/gist_id}","starred_url":"https://api.github.com/users/seishun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seishun/subscriptions","organizations_url":"https://api.github.com/users/seishun/orgs","repos_url":"https://api.github.com/users/seishun/repos","events_url":"https://api.github.com/users/seishun/events{/privacy}","received_events_url":"https://api.github.com/users/seishun/received_events","type":"User","site_admin":false},"created_at":"2015-11-05T19:44:07Z","updated_at":"2015-11-05T19:44:07Z","body":"So, there are a couple of issues you pointed out.\r\n\r\n* Unable to know the stackable amount the user has offered.\r\n\r\nI could tweak the `amount` property of the item in `themAssets` unless you can suggest some other way.\r\n\r\n* Unable to know anything about currencies the user has offered.\r\n\r\nSee my previous response:\r\n\r\n>Yeah, currencies are not supported. I wonder if inserting them at the front of themAssets like in the trade window would work (although the property name would be technically wrong - assets and currencies are different).\r\n\r\nI would like to get your opinion on this.\r\n\r\nDid I miss anything else?"}}