{"action":"created","issue":{"url":"https://api.github.com/repos/sayterdarkwynd/FrackinRaces/issues/8","repository_url":"https://api.github.com/repos/sayterdarkwynd/FrackinRaces","labels_url":"https://api.github.com/repos/sayterdarkwynd/FrackinRaces/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/sayterdarkwynd/FrackinRaces/issues/8/comments","events_url":"https://api.github.com/repos/sayterdarkwynd/FrackinRaces/issues/8/events","html_url":"https://github.com/sayterdarkwynd/FrackinRaces/issues/8","id":181300937,"number":8,"title":"Races with modified metabolism don't work correctly with hunger-changing mods.","user":{"login":"Ilazki","id":15647540,"avatar_url":"https://avatars.githubusercontent.com/u/15647540?v=3","gravatar_id":"","url":"https://api.github.com/users/Ilazki","html_url":"https://github.com/Ilazki","followers_url":"https://api.github.com/users/Ilazki/followers","following_url":"https://api.github.com/users/Ilazki/following{/other_user}","gists_url":"https://api.github.com/users/Ilazki/gists{/gist_id}","starred_url":"https://api.github.com/users/Ilazki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ilazki/subscriptions","organizations_url":"https://api.github.com/users/Ilazki/orgs","repos_url":"https://api.github.com/users/Ilazki/repos","events_url":"https://api.github.com/users/Ilazki/events{/privacy}","received_events_url":"https://api.github.com/users/Ilazki/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-06T00:51:15Z","updated_at":"2016-10-23T16:40:41Z","closed_at":null,"body":"As title says:  using Frackin Races with a mod such as [Slow Hunger](https://steamcommunity.com/sharedfiles/filedetails/?id=730867662) doesn't work as expected for races with metabolism passive effects, such as the Apex.  Expected behaviour would be for the races' metabolism to be adjusted as a percentage of the base hunger rate but it appears to be replacing it with predetermined foodDelta values instead. \r\n\r\nSince it's being changed by a passive effect in FR, it doesn't look like something the Slow Hunger maker would be able to fix, so I'm reporting it here."},"comment":{"url":"https://api.github.com/repos/sayterdarkwynd/FrackinRaces/issues/comments/255598845","html_url":"https://github.com/sayterdarkwynd/FrackinRaces/issues/8#issuecomment-255598845","issue_url":"https://api.github.com/repos/sayterdarkwynd/FrackinRaces/issues/8","id":255598845,"user":{"login":"Ilazki","id":15647540,"avatar_url":"https://avatars.githubusercontent.com/u/15647540?v=3","gravatar_id":"","url":"https://api.github.com/users/Ilazki","html_url":"https://github.com/Ilazki","followers_url":"https://api.github.com/users/Ilazki/followers","following_url":"https://api.github.com/users/Ilazki/following{/other_user}","gists_url":"https://api.github.com/users/Ilazki/gists{/gist_id}","starred_url":"https://api.github.com/users/Ilazki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ilazki/subscriptions","organizations_url":"https://api.github.com/users/Ilazki/orgs","repos_url":"https://api.github.com/users/Ilazki/repos","events_url":"https://api.github.com/users/Ilazki/events{/privacy}","received_events_url":"https://api.github.com/users/Ilazki/received_events","type":"User","site_admin":false},"created_at":"2016-10-23T16:40:41Z","updated_at":"2016-10-23T16:40:41Z","body":"A follow up:\r\n\r\nIt looks like you could make work correctly with base *and* hunger mods by using `baseMultiplier` instead of `amount` to modify `foodDelta`.  \r\n\r\nSpecifically, changing line 2 of [metabolism.lua](https://github.com/sayterdarkwynd/FrackinRaces/blob/master/stats/effects/passive/metabolism.lua#L2) to `effect.addStatModifierGroup({{stat = \"foodDelta\", baseMultiplier = 1.06346}})` should keep the food drain consistent with the current value.\r\n\r\n(The base delta is -.0583, you chose -.062 for Apex metabolism, so -.062 / .0583 = 1.06346)\r\n\r\nSimilar changes could be made to other hunger modifying effects to make them work better with hunger mods.  As a bonus the code would be slightly clearer because you're making a clear change (~6% increase) instead of using magic numbers.\r\n\r\n"}}
{"actor":{"display_login":"Ilazki"}}