{"action":"closed","issue":{"url":"https://api.github.com/repos/RimWorldCCLTeam/CommunityCoreLibrary/issues/38","labels_url":"https://api.github.com/repos/RimWorldCCLTeam/CommunityCoreLibrary/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/RimWorldCCLTeam/CommunityCoreLibrary/issues/38/comments","events_url":"https://api.github.com/repos/RimWorldCCLTeam/CommunityCoreLibrary/issues/38/events","html_url":"https://github.com/RimWorldCCLTeam/CommunityCoreLibrary/issues/38","id":110730240,"number":38,"title":"HelpDefs are not generated when defs of different classes have identical names.","user":{"login":"Karel-Kroeze","id":6831612,"avatar_url":"https://avatars.githubusercontent.com/u/6831612?v=3","gravatar_id":"","url":"https://api.github.com/users/Karel-Kroeze","html_url":"https://github.com/Karel-Kroeze","followers_url":"https://api.github.com/users/Karel-Kroeze/followers","following_url":"https://api.github.com/users/Karel-Kroeze/following{/other_user}","gists_url":"https://api.github.com/users/Karel-Kroeze/gists{/gist_id}","starred_url":"https://api.github.com/users/Karel-Kroeze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Karel-Kroeze/subscriptions","organizations_url":"https://api.github.com/users/Karel-Kroeze/orgs","repos_url":"https://api.github.com/users/Karel-Kroeze/repos","events_url":"https://api.github.com/users/Karel-Kroeze/events{/privacy}","received_events_url":"https://api.github.com/users/Karel-Kroeze/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-09T20:25:53Z","updated_at":"2015-10-16T20:39:40Z","closed_at":"2015-10-16T20:39:40Z","body":"For example, the Hospital Bed has a building (which is resolved and created first), and an identically named research def.\r\n\r\nThe first will create a helpdef, the second will not - the research def will simply not generate a helpdef.\r\n\r\nThe offending bit of code is;\r\n```\r\nvar helpDef = helpDefs.Find( h => (\r\n    (.keyDef == thingDef.defName )\r\n) );\r\n```\r\nwhich is called in each and every helpdef resolver, and in essence only checks by the 'generating' defs name, not it's type."}}