{"action":"created","issue":{"url":"https://api.github.com/repos/Hime-Works/Requests/issues/258","labels_url":"https://api.github.com/repos/Hime-Works/Requests/issues/258/labels{/name}","comments_url":"https://api.github.com/repos/Hime-Works/Requests/issues/258/comments","events_url":"https://api.github.com/repos/Hime-Works/Requests/issues/258/events","html_url":"https://github.com/Hime-Works/Requests/issues/258","id":58031284,"number":258,"title":"Stack Size - Overflow (Inventory Management)","user":{"login":"Roguedeus","id":5641864,"avatar_url":"https://avatars.githubusercontent.com/u/5641864?v=3","gravatar_id":"","url":"https://api.github.com/users/Roguedeus","html_url":"https://github.com/Roguedeus","followers_url":"https://api.github.com/users/Roguedeus/followers","following_url":"https://api.github.com/users/Roguedeus/following{/other_user}","gists_url":"https://api.github.com/users/Roguedeus/gists{/gist_id}","starred_url":"https://api.github.com/users/Roguedeus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Roguedeus/subscriptions","organizations_url":"https://api.github.com/users/Roguedeus/orgs","repos_url":"https://api.github.com/users/Roguedeus/repos","events_url":"https://api.github.com/users/Roguedeus/events{/privacy}","received_events_url":"https://api.github.com/users/Roguedeus/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Hime-Works/Requests/labels/Script%20Ideas","name":"Script Ideas","color":"006b75"}],"state":"open","locked":false,"assignee":{"login":"Roguedeus","id":5641864,"avatar_url":"https://avatars.githubusercontent.com/u/5641864?v=3","gravatar_id":"","url":"https://api.github.com/users/Roguedeus","html_url":"https://github.com/Roguedeus","followers_url":"https://api.github.com/users/Roguedeus/followers","following_url":"https://api.github.com/users/Roguedeus/following{/other_user}","gists_url":"https://api.github.com/users/Roguedeus/gists{/gist_id}","starred_url":"https://api.github.com/users/Roguedeus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Roguedeus/subscriptions","organizations_url":"https://api.github.com/users/Roguedeus/orgs","repos_url":"https://api.github.com/users/Roguedeus/repos","events_url":"https://api.github.com/users/Roguedeus/events{/privacy}","received_events_url":"https://api.github.com/users/Roguedeus/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-02-18T06:10:49Z","updated_at":"2015-02-18T06:20:10Z","closed_at":null,"body":"Currently, there are a lot of scripts that either limit the items stack size, or the total inventory (based on stack count or item size) but they all seem to suffer from the same issue... Loot overflow, is discarded. \r\n\r\nSay you can only have 20 of something, and happen to loot one of that item while already having 20 of it. Say this item is expensive, or rare. \r\n\r\nTo bad... POOF!\r\n\r\nI have a problem with this, and I don't think I'm the only one. However, whats the alternative?\r\n\r\nI am thinking that instead of assigning HARD item 'count' limits in party inventory, it should be interpreted instead as SOFT 'purchase' limits. Thus, if you already have 20 (or more) of an item, you simply won't be able to BUY any more of them. You will, however, be able to LOOT as many as you like. \r\n\r\nIOW, as long as its a script event not tied to normal merchant purchase, an items stack size can get as large as you wish it to. (a hard limit can be assigned via a script constant).\r\n\r\nThis shouldn't be hard to support for crafting (or other 3rd party) mechanics. It might be as simple as, a game switch that can be toggled allowing the next `gain_item` method call to exceed stack size. \r\n\r\nThis may appear arbitrary, but it manages to both limit hoarding via merchants, AND at the same time encourage searching for LOOT in both encounters and chests. (and even quests)\r\n\r\nThoughts?\r\n\r\nNote: As long as only a few methods are aliased, this shouldn't require any fancy GUI changes, or much worry about compatibility. "},"comment":{"url":"https://api.github.com/repos/Hime-Works/Requests/issues/comments/74818888","html_url":"https://github.com/Hime-Works/Requests/issues/258#issuecomment-74818888","issue_url":"https://api.github.com/repos/Hime-Works/Requests/issues/258","id":74818888,"user":{"login":"Roguedeus","id":5641864,"avatar_url":"https://avatars.githubusercontent.com/u/5641864?v=3","gravatar_id":"","url":"https://api.github.com/users/Roguedeus","html_url":"https://github.com/Roguedeus","followers_url":"https://api.github.com/users/Roguedeus/followers","following_url":"https://api.github.com/users/Roguedeus/following{/other_user}","gists_url":"https://api.github.com/users/Roguedeus/gists{/gist_id}","starred_url":"https://api.github.com/users/Roguedeus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Roguedeus/subscriptions","organizations_url":"https://api.github.com/users/Roguedeus/orgs","repos_url":"https://api.github.com/users/Roguedeus/repos","events_url":"https://api.github.com/users/Roguedeus/events{/privacy}","received_events_url":"https://api.github.com/users/Roguedeus/received_events","type":"User","site_admin":false},"created_at":"2015-02-18T06:20:10Z","updated_at":"2015-02-18T06:20:10Z","body":"I am thinking it can be as simple as a bool check for merchant purchase. No secondary inventory is needed.\r\n\r\nDoes the party already meet/exceed normal stack size? - Then prevent purchase. \r\n\r\nA game switch can be used as a flag for the check. As well as for prevention of stack count increase upon looting. The flag is set when the event starts the merchant command.\r\n\r\nWhen not flagged, gaining an item will simply iterate the count like normal. \r\n\r\nIndividual items can also be flagged as having HARD count limits, so looting/purchasing functions normally with them."}}