{"action":"created","issue":{"url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/23136","repository_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA","labels_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/23136/labels{/name}","comments_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/23136/comments","events_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/23136/events","html_url":"https://github.com/CleverRaven/Cataclysm-DDA/issues/23136","id":302516443,"number":23136,"title":"Combine cash cards into a stack that displays their total value and number of cards.","user":{"login":"kevingranade","id":860276,"avatar_url":"https://avatars0.githubusercontent.com/u/860276?v=4","gravatar_id":"","url":"https://api.github.com/users/kevingranade","html_url":"https://github.com/kevingranade","followers_url":"https://api.github.com/users/kevingranade/followers","following_url":"https://api.github.com/users/kevingranade/following{/other_user}","gists_url":"https://api.github.com/users/kevingranade/gists{/gist_id}","starred_url":"https://api.github.com/users/kevingranade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevingranade/subscriptions","organizations_url":"https://api.github.com/users/kevingranade/orgs","repos_url":"https://api.github.com/users/kevingranade/repos","events_url":"https://api.github.com/users/kevingranade/events{/privacy}","received_events_url":"https://api.github.com/users/kevingranade/received_events","type":"User","site_admin":false},"labels":[{"id":28557868,"url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/labels/Easy-fix","name":"Easy-fix","color":"02e10c","default":false},{"id":43880624,"url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/labels/Information%20/%20Interface","name":"Information / Interface","color":"00FF80","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-06T00:24:27Z","updated_at":"2018-03-07T19:59:03Z","closed_at":null,"author_association":"OWNER","body":"Game version:\r\n944cc2b\r\nOperating system:\r\nALL\r\nTiles or curses:\r\nALL\r\nMods active:\r\nNA\r\n### Expected behavior\r\nCash cards merge into a single stack that displays the total value.\r\n### Actual behavior\r\nCash cards each have an inventory entry, obscuring the number and value of cards as well as cluttering the inventory.\r\n### Steps to reproduce the behavior\r\nGet a bunch of cash cards.\r\nMarvel at the spam.\r\n\r\nShould be fairly simple, just update\r\nhttps://github.com/CleverRaven/Cataclysm-DDA/blob/master/src/item.cpp#L497\r\nto make cash cards stack, and update\r\nhttps://github.com/CleverRaven/Cataclysm-DDA/blob/master/src/item.cpp#L2380\r\nto traverse the stack and print the total value."},"comment":{"url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/comments/371264966","html_url":"https://github.com/CleverRaven/Cataclysm-DDA/issues/23136#issuecomment-371264966","issue_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/23136","id":371264966,"user":{"login":"Beetlecat","id":2371787,"avatar_url":"https://avatars1.githubusercontent.com/u/2371787?v=4","gravatar_id":"","url":"https://api.github.com/users/Beetlecat","html_url":"https://github.com/Beetlecat","followers_url":"https://api.github.com/users/Beetlecat/followers","following_url":"https://api.github.com/users/Beetlecat/following{/other_user}","gists_url":"https://api.github.com/users/Beetlecat/gists{/gist_id}","starred_url":"https://api.github.com/users/Beetlecat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Beetlecat/subscriptions","organizations_url":"https://api.github.com/users/Beetlecat/orgs","repos_url":"https://api.github.com/users/Beetlecat/repos","events_url":"https://api.github.com/users/Beetlecat/events{/privacy}","received_events_url":"https://api.github.com/users/Beetlecat/received_events","type":"User","site_admin":false},"created_at":"2018-03-07T19:59:03Z","updated_at":"2018-03-07T19:59:03Z","author_association":"NONE","body":"A very \"simple\" idea, but the QOL return is high. Our inventory slot/letters will be thankful."}}
{"actor":{"display_login":"Beetlecat"}}