{"action":"created","issue":{"url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/13649","labels_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/13649/labels{/name}","comments_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/13649/comments","events_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/13649/events","html_url":"https://github.com/CleverRaven/Cataclysm-DDA/issues/13649","id":108164759,"number":13649,"title":"Realistic nutrition","user":{"login":"illusionofchaos","id":5583727,"avatar_url":"https://avatars.githubusercontent.com/u/5583727?v=3","gravatar_id":"","url":"https://api.github.com/users/illusionofchaos","html_url":"https://github.com/illusionofchaos","followers_url":"https://api.github.com/users/illusionofchaos/followers","following_url":"https://api.github.com/users/illusionofchaos/following{/other_user}","gists_url":"https://api.github.com/users/illusionofchaos/gists{/gist_id}","starred_url":"https://api.github.com/users/illusionofchaos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/illusionofchaos/subscriptions","organizations_url":"https://api.github.com/users/illusionofchaos/orgs","repos_url":"https://api.github.com/users/illusionofchaos/repos","events_url":"https://api.github.com/users/illusionofchaos/events{/privacy}","received_events_url":"https://api.github.com/users/illusionofchaos/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/labels/Balance","name":"Balance","color":"fef2c0"},{"url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/labels/Mechanics%20Change","name":"Mechanics Change","color":"5319e7"},{"url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/labels/Suggestion%20(Discuss)","name":"Suggestion (Discuss)","color":"FF3399"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-09-24T16:21:58Z","updated_at":"2015-10-29T18:30:56Z","closed_at":null,"body":"Don't you think that nutrition should be made more realistic?\r\n\r\nThe values of the existing \"nutrition\" and \"quench\" properties can be made optional and be used to reflect changes to the perceived levels of thirst and hunger. But the real nutrition and hydration variables can be represented by two new item parameters - \"calories\" and \"water percentage\" (the percentage of water in the item's weight).\r\n\r\nThe character then should have \"energy\" (in calories) and \"hydration\" (in ml of water) properties, which should affect the body physically, while hunger and thirst should have a psychological effect and give player a rough estimation of real energy and hydration levels. These values can be decreased every turn taking into the account current weather, activity, weight, etc.\r\n\r\nThese properties will also make items' descriptions more realistic. The following:\r\n\r\n```\r\nNutrition: 50\r\nQuench: 12\r\n````\r\n\r\ncan be replaced by\r\n\r\n```\r\n543 Calories\r\nThis item contains 250ml of water.\r\n```\r\n\r\nor (if the water percentage value is negative)\r\n\r\n```\r\nThis item causes dehydration. Your body will lose 500ml of water.\r\n```\r\n\r\nRight now you can survive on zero protein (or the opposite - consume nothing but meat and feel great). This can be fixed by having a full-featured nutrition system that tracks the basic nutrients and vitamins. And the proposed changes can serve as the foundation for such system.\r\n\r\n\r\nAnother proposed change is to provide contents for items like this:\r\n\r\n````\r\n\"contains\" : {\r\n    \"alcohol\":40,\r\n    \"caffeine\":1,\r\n    \"orange juice\":19,\r\n    \"water\":40\r\n}\r\n```\r\n\r\nand process effect, addiction and nutrition for each item recursively.\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/26927121-realistic-nutrition?utm_campaign=plugin&utm_content=tracker%2F146201&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F146201&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/comments/152277252","html_url":"https://github.com/CleverRaven/Cataclysm-DDA/issues/13649#issuecomment-152277252","issue_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/13649","id":152277252,"user":{"login":"Zireael07","id":4525388,"avatar_url":"https://avatars.githubusercontent.com/u/4525388?v=3","gravatar_id":"","url":"https://api.github.com/users/Zireael07","html_url":"https://github.com/Zireael07","followers_url":"https://api.github.com/users/Zireael07/followers","following_url":"https://api.github.com/users/Zireael07/following{/other_user}","gists_url":"https://api.github.com/users/Zireael07/gists{/gist_id}","starred_url":"https://api.github.com/users/Zireael07/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zireael07/subscriptions","organizations_url":"https://api.github.com/users/Zireael07/orgs","repos_url":"https://api.github.com/users/Zireael07/repos","events_url":"https://api.github.com/users/Zireael07/events{/privacy}","received_events_url":"https://api.github.com/users/Zireael07/received_events","type":"User","site_admin":false},"created_at":"2015-10-29T18:30:56Z","updated_at":"2015-10-29T18:30:56Z","body":"@kevingranade commented on another PR that nutrition should relate to calories 1:1. Anyone know a good source on calories as far as our in-game foods are concerned?"}}