{"action":"created","issue":{"url":"https://api.github.com/repos/d3athrow/vgstation13/issues/9959","repository_url":"https://api.github.com/repos/d3athrow/vgstation13","labels_url":"https://api.github.com/repos/d3athrow/vgstation13/issues/9959/labels{/name}","comments_url":"https://api.github.com/repos/d3athrow/vgstation13/issues/9959/comments","events_url":"https://api.github.com/repos/d3athrow/vgstation13/issues/9959/events","html_url":"https://github.com/d3athrow/vgstation13/issues/9959","id":153602291,"number":9959,"title":"can_stand bug (the one where you punch yourself to fix it)","user":{"login":"gbasood","id":2076607,"avatar_url":"https://avatars.githubusercontent.com/u/2076607?v=3","gravatar_id":"","url":"https://api.github.com/users/gbasood","html_url":"https://github.com/gbasood","followers_url":"https://api.github.com/users/gbasood/followers","following_url":"https://api.github.com/users/gbasood/following{/other_user}","gists_url":"https://api.github.com/users/gbasood/gists{/gist_id}","starred_url":"https://api.github.com/users/gbasood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gbasood/subscriptions","organizations_url":"https://api.github.com/users/gbasood/orgs","repos_url":"https://api.github.com/users/gbasood/repos","events_url":"https://api.github.com/users/gbasood/events{/privacy}","received_events_url":"https://api.github.com/users/gbasood/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/d3athrow/vgstation13/labels/Bug%20/%20Fix","name":"Bug / Fix","color":"FFCC33"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2016-05-07T16:07:27Z","updated_at":"2016-05-25T19:21:13Z","closed_at":null,"body":"[09:06:24] Kammerjunk/(Ginger Beach) (JMP): I have no idea why it happens, but it can make Asimov medborgs a bit of a bother post-cloning\r\n[09:06:25] Pseudonym/(Nestachack) (JMP): can_stand = (canstand_l && canstand_r)\r\n[09:06:27] Pseudonym/(Nestachack) (JMP): seems like \r\n[09:06:38] Pseudonym/(Nestachack) (JMP): legcode might be poop\r\n[09:06:50] Diethyl/(Adam Savato) (JMP): I has been happening for a long while now.\r\n[09:06:55] Diethyl/(Adam Savato) (JMP): it*\r\n[09:07:10] Pseudonym/(Nestachack) (JMP): canstand_r and canstand_l are set based on if r/l_leg/foot is_usable returns true\r\n[09:07:25] Pseudonym/(Nestachack) (JMP): it's updated on handle_organs\r\n\r\nunder the `handle_organs` proc in modules\\organs\\organ.dm:\r\n```DM\r\n\tvar/canstand_l = 1\r\n\tvar/canstand_r = 1\r\n\tvar/legispeg_l = 0\r\n\tvar/legispeg_r = 0\r\n\tvar/hasleg_l =   1 //Have left leg\r\n\tvar/hasleg_r =   1 //Have right leg\r\n\tvar/hasarm_l =   1 //Have left arm\r\n\tvar/hasarm_r =   1 //Have right arm\r\n\t//var/datum/organ/external/E = organs_by_name[\"l_foot\"]\r\n\tvar/datum/organ/external/E\r\n\tE = organs_by_name[\"l_leg\"]\r\n\tif(!E.is_usable()) //The leg is missing, that's going to throw a wrench into our plans\r\n\t\tcanstand_l = 0\r\n\t\thasleg_l = 0\r\n\tlegispeg_l = E.is_peg() //Need to check this here for the feet\r\n\r\n\tE = organs_by_name[\"r_leg\"]\r\n\tif(!E.is_usable())\r\n\t\tcanstand_r = 0\r\n\t\thasleg_r = 0\r\n\tlegispeg_r = E.is_peg()\r\n\r\n\t//We can stand if we're on a peg leg, otherwise same logic.\r\n\tE = organs_by_name[\"l_foot\"]\r\n\tif(!E.is_usable() && !legispeg_l)\r\n\t\tcanstand_l = 0\r\n\tE = organs_by_name[\"r_foot\"]\r\n\tif(!E.is_usable() && !legispeg_r)\r\n\t\tcanstand_r = 0\r\n\tE = organs_by_name[\"l_arm\"]\r\n\tif(!E.is_usable())\r\n\t\thasarm_l = 0\r\n\tE = organs_by_name[\"r_arm\"]\r\n\tif(!E.is_usable())\r\n\t\thasarm_r = 0\r\n\r\n\t//Can stand if we have both of our legs (with leg and foot parts present, or an entire pegleg)\r\n\t//Has limbs to move around if at least one arm or leg is at least partially there\r\n\tcan_stand = (canstand_l && canstand_r)\r\n```\r\nSo IN THEORY either handle_organs calls aren't happening when they should\r\nOR\r\nis_usable is fucky"},"comment":{"url":"https://api.github.com/repos/d3athrow/vgstation13/issues/comments/221679072","html_url":"https://github.com/d3athrow/vgstation13/issues/9959#issuecomment-221679072","issue_url":"https://api.github.com/repos/d3athrow/vgstation13/issues/9959","id":221679072,"user":{"login":"Probe1","id":8550416,"avatar_url":"https://avatars.githubusercontent.com/u/8550416?v=3","gravatar_id":"","url":"https://api.github.com/users/Probe1","html_url":"https://github.com/Probe1","followers_url":"https://api.github.com/users/Probe1/followers","following_url":"https://api.github.com/users/Probe1/following{/other_user}","gists_url":"https://api.github.com/users/Probe1/gists{/gist_id}","starred_url":"https://api.github.com/users/Probe1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Probe1/subscriptions","organizations_url":"https://api.github.com/users/Probe1/orgs","repos_url":"https://api.github.com/users/Probe1/repos","events_url":"https://api.github.com/users/Probe1/events{/privacy}","received_events_url":"https://api.github.com/users/Probe1/received_events","type":"User","site_admin":false},"created_at":"2016-05-25T19:21:13Z","updated_at":"2016-05-25T19:21:13Z","body":"@clusterfack you have to tell us what to check.  You assume we 1.  know checking VV will help and 2.  know what variable will control it.  Make a memo in game with details on what to do and someone will check it out.  "}}
{"actor":{"display_login":"Probe1"}}