{"action":"created","issue":{"url":"https://api.github.com/repos/CorsixTH/CorsixTH/issues/751","labels_url":"https://api.github.com/repos/CorsixTH/CorsixTH/issues/751/labels{/name}","comments_url":"https://api.github.com/repos/CorsixTH/CorsixTH/issues/751/comments","events_url":"https://api.github.com/repos/CorsixTH/CorsixTH/issues/751/events","html_url":"https://github.com/CorsixTH/CorsixTH/issues/751","id":87723115,"number":751,"title":"Detect and warn about levels that contain untreatable diseases","user":{"login":"TheCycoONE","id":823433,"avatar_url":"https://avatars.githubusercontent.com/u/823433?v=3","gravatar_id":"","url":"https://api.github.com/users/TheCycoONE","html_url":"https://github.com/TheCycoONE","followers_url":"https://api.github.com/users/TheCycoONE/followers","following_url":"https://api.github.com/users/TheCycoONE/following{/other_user}","gists_url":"https://api.github.com/users/TheCycoONE/gists{/gist_id}","starred_url":"https://api.github.com/users/TheCycoONE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheCycoONE/subscriptions","organizations_url":"https://api.github.com/users/TheCycoONE/orgs","repos_url":"https://api.github.com/users/TheCycoONE/repos","events_url":"https://api.github.com/users/TheCycoONE/events{/privacy}","received_events_url":"https://api.github.com/users/TheCycoONE/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-12T13:08:37Z","updated_at":"2015-06-12T19:42:31Z","closed_at":null,"body":"Related to #749\r\n\r\nIf a level has a disease but the room to treat the disease is not available e.g.:\r\n#visuals[12] 1 I_PREGNANT\r\n#objects[30].StartAvail.StartStrength.AvailableForLevel 0 12 0 Operating Table\r\n\r\nthen when a patient with that disease seeks treatment (after being diagnosed), the game errors.\r\n\r\nIt would be helpful for level designers (and frustrated players) if this condition was scanned for and warned about up front. I'm open to debate over whether their should be a warning and the affected diseases disabled, or an error dialog and the level refusing to play.\r\n"},"comment":{"url":"https://api.github.com/repos/CorsixTH/CorsixTH/issues/comments/111597190","html_url":"https://github.com/CorsixTH/CorsixTH/issues/751#issuecomment-111597190","issue_url":"https://api.github.com/repos/CorsixTH/CorsixTH/issues/751","id":111597190,"user":{"login":"TheCycoONE","id":823433,"avatar_url":"https://avatars.githubusercontent.com/u/823433?v=3","gravatar_id":"","url":"https://api.github.com/users/TheCycoONE","html_url":"https://github.com/TheCycoONE","followers_url":"https://api.github.com/users/TheCycoONE/followers","following_url":"https://api.github.com/users/TheCycoONE/following{/other_user}","gists_url":"https://api.github.com/users/TheCycoONE/gists{/gist_id}","starred_url":"https://api.github.com/users/TheCycoONE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheCycoONE/subscriptions","organizations_url":"https://api.github.com/users/TheCycoONE/orgs","repos_url":"https://api.github.com/users/TheCycoONE/repos","events_url":"https://api.github.com/users/TheCycoONE/events{/privacy}","received_events_url":"https://api.github.com/users/TheCycoONE/received_events","type":"User","site_admin":false},"created_at":"2015-06-12T19:42:31Z","updated_at":"2015-06-12T19:42:31Z","body":"@MarkL1961  as I said in the other issue, the operating theatre is not buildable in Avatar, because the operating table isn't."}}