{"action":"opened","issue":{"url":"https://api.github.com/repos/scrom/Experiments/issues/351","labels_url":"https://api.github.com/repos/scrom/Experiments/issues/351/labels{/name}","comments_url":"https://api.github.com/repos/scrom/Experiments/issues/351/comments","events_url":"https://api.github.com/repos/scrom/Experiments/issues/351/events","html_url":"https://github.com/scrom/Experiments/issues/351","id":107331044,"number":351,"title":"Creatures should be more picky about what they're willing to buy from a player","user":{"login":"scrom","id":409676,"avatar_url":"https://avatars.githubusercontent.com/u/409676?v=3","gravatar_id":"","url":"https://api.github.com/users/scrom","html_url":"https://github.com/scrom","followers_url":"https://api.github.com/users/scrom/followers","following_url":"https://api.github.com/users/scrom/following{/other_user}","gists_url":"https://api.github.com/users/scrom/gists{/gist_id}","starred_url":"https://api.github.com/users/scrom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scrom/subscriptions","organizations_url":"https://api.github.com/users/scrom/orgs","repos_url":"https://api.github.com/users/scrom/repos","events_url":"https://api.github.com/users/scrom/events{/privacy}","received_events_url":"https://api.github.com/users/scrom/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-19T12:58:01Z","updated_at":"2015-09-19T12:58:01Z","closed_at":null,"body":"at the moment, if a creature has money, you can sell them pretty much anything of value.\r\n\r\nI'd like to enhance the creature.willTrade function to take into account a creatures preferences.\r\nIf no preferences are set, they'll only buy objects of type \"treasure\" but it'd useful to list the categories of object a creature buys - e.g. \"junk\", \"tools\" etc.  in their attributes.\r\nThis makes it more interesting figuring out what to sell to whom.\r\n\r\nBeyond this, I'd like to be able to narrow down what some creatures will buy even further to specific objects. E.g. a gallery owner will only buy paintings etc. Maybe I need more object categories but that seems excessive (there's enough already)\r\n"}}