{"action":"closed","issue":{"url":"https://api.github.com/repos/jpcsupplies/Economy_mod/issues/32","labels_url":"https://api.github.com/repos/jpcsupplies/Economy_mod/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/jpcsupplies/Economy_mod/issues/32/comments","events_url":"https://api.github.com/repos/jpcsupplies/Economy_mod/issues/32/events","html_url":"https://github.com/jpcsupplies/Economy_mod/issues/32","id":106163213,"number":32,"title":"TODO: allow players to buy items from the server","user":{"login":"jpcsupplies","id":13939039,"avatar_url":"https://avatars.githubusercontent.com/u/13939039?v=3","gravatar_id":"","url":"https://api.github.com/users/jpcsupplies","html_url":"https://github.com/jpcsupplies","followers_url":"https://api.github.com/users/jpcsupplies/followers","following_url":"https://api.github.com/users/jpcsupplies/following{/other_user}","gists_url":"https://api.github.com/users/jpcsupplies/gists{/gist_id}","starred_url":"https://api.github.com/users/jpcsupplies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpcsupplies/subscriptions","organizations_url":"https://api.github.com/users/jpcsupplies/orgs","repos_url":"https://api.github.com/users/jpcsupplies/repos","events_url":"https://api.github.com/users/jpcsupplies/events{/privacy}","received_events_url":"https://api.github.com/users/jpcsupplies/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/jpcsupplies/Economy_mod/milestones/2","html_url":"https://github.com/jpcsupplies/Economy_mod/milestones/Alpha%20Release","labels_url":"https://api.github.com/repos/jpcsupplies/Economy_mod/milestones/2/labels","id":1302443,"number":2,"title":"Alpha Release","description":"Criteria\r\n* Price table - buy (back) price always higher than sell (to server) price.\r\n* allow items to be sold and removed from players inventory (or ship) based on buy/sell price table\r\n* allow items to be purchased and added to players inventory (or ship) based on buy/sell price table\r\n* allow players to trade items (/sell) directly to each other","creator":{"login":"jpcsupplies","id":13939039,"avatar_url":"https://avatars.githubusercontent.com/u/13939039?v=3","gravatar_id":"","url":"https://api.github.com/users/jpcsupplies","html_url":"https://github.com/jpcsupplies","followers_url":"https://api.github.com/users/jpcsupplies/followers","following_url":"https://api.github.com/users/jpcsupplies/following{/other_user}","gists_url":"https://api.github.com/users/jpcsupplies/gists{/gist_id}","starred_url":"https://api.github.com/users/jpcsupplies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpcsupplies/subscriptions","organizations_url":"https://api.github.com/users/jpcsupplies/orgs","repos_url":"https://api.github.com/users/jpcsupplies/repos","events_url":"https://api.github.com/users/jpcsupplies/events{/privacy}","received_events_url":"https://api.github.com/users/jpcsupplies/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":5,"state":"open","created_at":"2015-09-12T14:22:51Z","updated_at":"2015-10-04T05:48:23Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-09-12T14:32:44Z","updated_at":"2015-10-04T05:48:23Z","closed_at":"2015-10-04T05:48:23Z","body":"Basically the reverse of selling.\r\n\r\nItem gets added to your inventory, value gets deducted from your bank balance\r\n\r\nfunds also should be paid to the npc charater too\r\n\r\nshould also track the amount sold for later global market"}}