{"action":"created","issue":{"url":"https://api.github.com/repos/minetest/minetest_game/issues/1291","repository_url":"https://api.github.com/repos/minetest/minetest_game","labels_url":"https://api.github.com/repos/minetest/minetest_game/issues/1291/labels{/name}","comments_url":"https://api.github.com/repos/minetest/minetest_game/issues/1291/comments","events_url":"https://api.github.com/repos/minetest/minetest_game/issues/1291/events","html_url":"https://github.com/minetest/minetest_game/pull/1291","id":178583251,"number":1291,"title":"Default: Generalise and optimise grass spread function","user":{"login":"paramat","id":3686677,"avatar_url":"https://avatars.githubusercontent.com/u/3686677?v=3","gravatar_id":"","url":"https://api.github.com/users/paramat","html_url":"https://github.com/paramat","followers_url":"https://api.github.com/users/paramat/followers","following_url":"https://api.github.com/users/paramat/following{/other_user}","gists_url":"https://api.github.com/users/paramat/gists{/gist_id}","starred_url":"https://api.github.com/users/paramat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paramat/subscriptions","organizations_url":"https://api.github.com/users/paramat/orgs","repos_url":"https://api.github.com/users/paramat/repos","events_url":"https://api.github.com/users/paramat/events{/privacy}","received_events_url":"https://api.github.com/users/paramat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-09-22T11:21:43Z","updated_at":"2016-09-26T17:24:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/minetest/minetest_game/pulls/1291","html_url":"https://github.com/minetest/minetest_game/pull/1291","diff_url":"https://github.com/minetest/minetest_game/pull/1291.diff","patch_url":"https://github.com/minetest/minetest_game/pull/1291.patch"},"body":"Credit to tenplus1 for the suggestion to generalise for mod use.\r\nMods can add mod nodes to 'group:spreads_on_dirt' enabling the\r\nfunction to work with mod nodes.\r\n\r\nRemoving 'dirt_with_grass' etc. from 'neighbors' stops the ABM action\r\nrunning everywhere and constantly, on the dirt nodes immediately below\r\nthe surface nodes. Now the action only runs in the rare case of a dirt\r\nnode with neighbouring air, grass decorations or snow.\r\n/////////////////////////////////////////////////////\r\n\r\nPartly derived from #1286 and including the optimisation i discovered during that discussion.\r\nSimple change that keeps the existing features.\r\nThanks to tenplus1."},"comment":{"url":"https://api.github.com/repos/minetest/minetest_game/issues/comments/249637274","html_url":"https://github.com/minetest/minetest_game/pull/1291#issuecomment-249637274","issue_url":"https://api.github.com/repos/minetest/minetest_game/issues/1291","id":249637274,"user":{"login":"paramat","id":3686677,"avatar_url":"https://avatars.githubusercontent.com/u/3686677?v=3","gravatar_id":"","url":"https://api.github.com/users/paramat","html_url":"https://github.com/paramat","followers_url":"https://api.github.com/users/paramat/followers","following_url":"https://api.github.com/users/paramat/following{/other_user}","gists_url":"https://api.github.com/users/paramat/gists{/gist_id}","starred_url":"https://api.github.com/users/paramat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paramat/subscriptions","organizations_url":"https://api.github.com/users/paramat/orgs","repos_url":"https://api.github.com/users/paramat/repos","events_url":"https://api.github.com/users/paramat/events{/privacy}","received_events_url":"https://api.github.com/users/paramat/received_events","type":"User","site_admin":false},"created_at":"2016-09-26T17:24:59Z","updated_at":"2016-09-26T17:24:59Z","body":"Updatd to use a group."}}
{"actor":{"display_login":"paramat"}}