{"action":"created","issue":{"url":"https://api.github.com/repos/ldtteam/minecolonies/issues/2800","repository_url":"https://api.github.com/repos/ldtteam/minecolonies","labels_url":"https://api.github.com/repos/ldtteam/minecolonies/issues/2800/labels{/name}","comments_url":"https://api.github.com/repos/ldtteam/minecolonies/issues/2800/comments","events_url":"https://api.github.com/repos/ldtteam/minecolonies/issues/2800/events","html_url":"https://github.com/ldtteam/minecolonies/pull/2800","id":351790814,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA5Mjk0Nzkw","number":2800,"title":"Citizen - Happiness - /Bug fix #2799","user":{"login":"bob0bob","id":30982580,"node_id":"MDQ6VXNlcjMwOTgyNTgw","avatar_url":"https://avatars1.githubusercontent.com/u/30982580?v=4","gravatar_id":"","url":"https://api.github.com/users/bob0bob","html_url":"https://github.com/bob0bob","followers_url":"https://api.github.com/users/bob0bob/followers","following_url":"https://api.github.com/users/bob0bob/following{/other_user}","gists_url":"https://api.github.com/users/bob0bob/gists{/gist_id}","starred_url":"https://api.github.com/users/bob0bob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bob0bob/subscriptions","organizations_url":"https://api.github.com/users/bob0bob/orgs","repos_url":"https://api.github.com/users/bob0bob/repos","events_url":"https://api.github.com/users/bob0bob/events{/privacy}","received_events_url":"https://api.github.com/users/bob0bob/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-18T04:58:51Z","updated_at":"2018-08-18T05:02:50Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/ldtteam/minecolonies/pulls/2800","html_url":"https://github.com/ldtteam/minecolonies/pull/2800","diff_url":"https://github.com/ldtteam/minecolonies/pull/2800.diff","patch_url":"https://github.com/ldtteam/minecolonies/pull/2800.patch"},"body":"On the citizen windows, there is now a \"next\" and \"previous\" button on the gui. This will allow you to toggle between the main view and the happiness view.\r\n\r\nThe Happiness view allows you to view the different modifiers that affect that citizens happiness. Each value has a color to it.\r\n\"RED\" means has a negative affect on their happiness\r\n\"YELLOW\" means that it has no affect on their happiness\r\n\"GREEN\" means it has a positive affect on their happiness\r\n\r\nAlso, BUG. The no fields modifier was not checking to make sure they are a \"FARMER\" and was applying it to every citizen. That is why most citizen couldn't get above a value of 6.0\r\n\r\nThis window shows all modifiers and some of the modifiers will not apply to that citizen. Those values will be always \"YELLOW\" meaning no affect.\r\n\r\nHaving everything \"YELLOW\" will get you a value of 8. to get higher you need some in green.\r\n\r\nCloses #\r\nCloses #\r\nCloses #\r\n\r\n# Changes proposed in this pull request:\r\n-\r\n-\r\n-\r\n\r\nReview please\r\n"},"comment":{"url":"https://api.github.com/repos/ldtteam/minecolonies/issues/comments/414032683","html_url":"https://github.com/ldtteam/minecolonies/pull/2800#issuecomment-414032683","issue_url":"https://api.github.com/repos/ldtteam/minecolonies/issues/2800","id":414032683,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDAzMjY4Mw==","user":{"login":"codacy-bot","id":19940114,"node_id":"MDQ6VXNlcjE5OTQwMTE0","avatar_url":"https://avatars1.githubusercontent.com/u/19940114?v=4","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"created_at":"2018-08-18T05:02:50Z","updated_at":"2018-08-18T05:02:50Z","author_association":"NONE","body":"\n![Codacy](https://app.codacy.com/assets/images/favicon.png) Here is an overview of what got changed by this pull request:\n\n\n```diff\n\nIssues\n======\n- Added 5\n           \n\nComplexity increasing per file\n==============================\n- src/main/java/com/minecolonies/coremod/entity/citizenhandlers/CitizenHappinessHandler.java  1\n         \n```\n\n\nSee the complete overview on [Codacy](https://app.codacy.com/app/Minecolonies/minecolonies/pullRequest?prid=2062274&bid=8444775)\n        "}}
{"actor":{"display_login":"codacy-bot"}}