{"action":"created","issue":{"url":"https://api.github.com/repos/minetest/minetest/issues/3370","repository_url":"https://api.github.com/repos/minetest/minetest","labels_url":"https://api.github.com/repos/minetest/minetest/issues/3370/labels{/name}","comments_url":"https://api.github.com/repos/minetest/minetest/issues/3370/comments","events_url":"https://api.github.com/repos/minetest/minetest/issues/3370/events","html_url":"https://github.com/minetest/minetest/issues/3370","id":116933325,"number":3370,"title":"Add aliases for textures","user":{"login":"0-afflatus","id":7130479,"avatar_url":"https://avatars.githubusercontent.com/u/7130479?v=3","gravatar_id":"","url":"https://api.github.com/users/0-afflatus","html_url":"https://github.com/0-afflatus","followers_url":"https://api.github.com/users/0-afflatus/followers","following_url":"https://api.github.com/users/0-afflatus/following{/other_user}","gists_url":"https://api.github.com/users/0-afflatus/gists{/gist_id}","starred_url":"https://api.github.com/users/0-afflatus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0-afflatus/subscriptions","organizations_url":"https://api.github.com/users/0-afflatus/orgs","repos_url":"https://api.github.com/users/0-afflatus/repos","events_url":"https://api.github.com/users/0-afflatus/events{/privacy}","received_events_url":"https://api.github.com/users/0-afflatus/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/minetest/minetest/labels/Feature%20request","name":"Feature request","color":"207de5"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2015-11-14T15:34:25Z","updated_at":"2016-07-28T20:54:17Z","closed_at":null,"body":"Due to having reorganised the contents of default into separate mods for my sub-game, I still need to keep some old textures in default for compatibility with 3rd party mods.\r\n\r\nIt would be so much cleaner to be able to create aliases for the texture image files. Ideally this would be by allowing minetest.register_alias() to accept filenames as well as node names."},"comment":{"url":"https://api.github.com/repos/minetest/minetest/issues/comments/236022084","html_url":"https://github.com/minetest/minetest/issues/3370#issuecomment-236022084","issue_url":"https://api.github.com/repos/minetest/minetest/issues/3370","id":236022084,"user":{"login":"pithydon","id":18400998,"avatar_url":"https://avatars.githubusercontent.com/u/18400998?v=3","gravatar_id":"","url":"https://api.github.com/users/pithydon","html_url":"https://github.com/pithydon","followers_url":"https://api.github.com/users/pithydon/followers","following_url":"https://api.github.com/users/pithydon/following{/other_user}","gists_url":"https://api.github.com/users/pithydon/gists{/gist_id}","starred_url":"https://api.github.com/users/pithydon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pithydon/subscriptions","organizations_url":"https://api.github.com/users/pithydon/orgs","repos_url":"https://api.github.com/users/pithydon/repos","events_url":"https://api.github.com/users/pithydon/events{/privacy}","received_events_url":"https://api.github.com/users/pithydon/received_events","type":"User","site_admin":false},"created_at":"2016-07-28T20:54:16Z","updated_at":"2016-07-28T20:54:16Z","body":"I think this should not be in the lua files at all, but instead in a alias.txt that can be place in the texture folder of a mod or a texture pack.\r\nA mod alias should only be used if a texture file with the same name is not found.\r\nTexture pack aliases should override mod aliases and textures."}}
{"actor":{"display_login":"pithydon"}}