{"action":"created","issue":{"url":"https://api.github.com/repos/minetest/minetest/issues/2911","labels_url":"https://api.github.com/repos/minetest/minetest/issues/2911/labels{/name}","comments_url":"https://api.github.com/repos/minetest/minetest/issues/2911/comments","events_url":"https://api.github.com/repos/minetest/minetest/issues/2911/events","html_url":"https://github.com/minetest/minetest/pull/2911","id":94932131,"number":2911,"title":"Allow random menu images for subgames","user":{"login":"Amaz1","id":4390945,"avatar_url":"https://avatars.githubusercontent.com/u/4390945?v=3","gravatar_id":"","url":"https://api.github.com/users/Amaz1","html_url":"https://github.com/Amaz1","followers_url":"https://api.github.com/users/Amaz1/followers","following_url":"https://api.github.com/users/Amaz1/following{/other_user}","gists_url":"https://api.github.com/users/Amaz1/gists{/gist_id}","starred_url":"https://api.github.com/users/Amaz1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Amaz1/subscriptions","organizations_url":"https://api.github.com/users/Amaz1/orgs","repos_url":"https://api.github.com/users/Amaz1/repos","events_url":"https://api.github.com/users/Amaz1/events{/privacy}","received_events_url":"https://api.github.com/users/Amaz1/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/minetest/minetest/labels/@%20Client%20/%20Audiovisuals","name":"@ Client / Audiovisuals","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-14T12:14:34Z","updated_at":"2015-07-15T17:32:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/minetest/minetest/pulls/2911","html_url":"https://github.com/minetest/minetest/pull/2911","diff_url":"https://github.com/minetest/minetest/pull/2911.diff","patch_url":"https://github.com/minetest/minetest/pull/2911.patch"},"body":"This allows subgames to put images into the menu folder, and one of them shall be chosen at random, depending on how many are placed in the folder (under 9).\r\n\r\nThe images must follow a naming schedule along the lines of:\r\n<game>/menu\r\n    -background.png\r\n    -background.png.1\r\n    -background.png.2\r\n    -background.png.3\r\n    and so on up to 9\r\n(ofc, background.png can be replaced by overlay.png)\r\nI based it on the sound naming scheme.\r\n\r\nIt also works for header.png apparently."},"comment":{"url":"https://api.github.com/repos/minetest/minetest/issues/comments/121687495","html_url":"https://github.com/minetest/minetest/pull/2911#issuecomment-121687495","issue_url":"https://api.github.com/repos/minetest/minetest/issues/2911","id":121687495,"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":"2015-07-15T17:32:11Z","updated_at":"2015-07-15T17:32:11Z","body":"-1. I feel this is not needed enough to justify extra code and complexity. Most subgame devs will find 1 image enough. It's natural to have a single image that associates with a project, more is overkill."}}