{"action":"created","issue":{"url":"https://api.github.com/repos/minetest/minetest/issues/3449","labels_url":"https://api.github.com/repos/minetest/minetest/issues/3449/labels{/name}","comments_url":"https://api.github.com/repos/minetest/minetest/issues/3449/comments","events_url":"https://api.github.com/repos/minetest/minetest/issues/3449/events","html_url":"https://github.com/minetest/minetest/pull/3449","id":121839245,"number":3449,"title":"Display custom metedata description instead of node name in tooltip.","user":{"login":"sofar","id":1880041,"avatar_url":"https://avatars.githubusercontent.com/u/1880041?v=3","gravatar_id":"","url":"https://api.github.com/users/sofar","html_url":"https://github.com/sofar","followers_url":"https://api.github.com/users/sofar/followers","following_url":"https://api.github.com/users/sofar/following{/other_user}","gists_url":"https://api.github.com/users/sofar/gists{/gist_id}","starred_url":"https://api.github.com/users/sofar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sofar/subscriptions","organizations_url":"https://api.github.com/users/sofar/orgs","repos_url":"https://api.github.com/users/sofar/repos","events_url":"https://api.github.com/users/sofar/events{/privacy}","received_events_url":"https://api.github.com/users/sofar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":24,"created_at":"2015-12-12T07:30:27Z","updated_at":"2016-01-01T15:33:04Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/minetest/minetest/pulls/3449","html_url":"https://github.com/minetest/minetest/pull/3449","diff_url":"https://github.com/minetest/minetest/pull/3449.diff","patch_url":"https://github.com/minetest/minetest/pull/3449.patch"},"body":"Allows items that have a max_stacks = 1 to be \"named\". I intend to make a \"name tag\" module implementing arbitrary item naming. And for the purpose of this patch I've used my \"key\" mod to show that multiple items with the same craftitem name can have different descriptions showing in the tooltip. The screenshots show that the 3 keys have a description that's set by the key mod.\r\n\r\n![key 1]\r\n(http://i.imgur.com/rCvtJBb.png)\r\n![key 2]\r\n(http://i.imgur.com/Zaeo7OM.png)\r\n![key 3]\r\n(http://i.imgur.com/gMZRff0.png)\r\n\r\nThe deserialization code is \"somewhat\" robust. Should likely also \"cache\" the description tag if found."},"comment":{"url":"https://api.github.com/repos/minetest/minetest/issues/comments/168313211","html_url":"https://github.com/minetest/minetest/pull/3449#issuecomment-168313211","issue_url":"https://api.github.com/repos/minetest/minetest/issues/3449","id":168313211,"user":{"login":"rubenwardy","id":2122943,"avatar_url":"https://avatars.githubusercontent.com/u/2122943?v=3","gravatar_id":"","url":"https://api.github.com/users/rubenwardy","html_url":"https://github.com/rubenwardy","followers_url":"https://api.github.com/users/rubenwardy/followers","following_url":"https://api.github.com/users/rubenwardy/following{/other_user}","gists_url":"https://api.github.com/users/rubenwardy/gists{/gist_id}","starred_url":"https://api.github.com/users/rubenwardy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubenwardy/subscriptions","organizations_url":"https://api.github.com/users/rubenwardy/orgs","repos_url":"https://api.github.com/users/rubenwardy/repos","events_url":"https://api.github.com/users/rubenwardy/events{/privacy}","received_events_url":"https://api.github.com/users/rubenwardy/received_events","type":"User","site_admin":false},"created_at":"2016-01-01T15:33:04Z","updated_at":"2016-01-01T15:33:04Z","body":"I think the best way is to change item metadata into a key value store."}}