{"action":"created","issue":{"url":"https://api.github.com/repos/tgstation/tgstation/issues/20860","repository_url":"https://api.github.com/repos/tgstation/tgstation","labels_url":"https://api.github.com/repos/tgstation/tgstation/issues/20860/labels{/name}","comments_url":"https://api.github.com/repos/tgstation/tgstation/issues/20860/comments","events_url":"https://api.github.com/repos/tgstation/tgstation/issues/20860/events","html_url":"https://github.com/tgstation/tgstation/pull/20860","id":181813559,"number":20860,"title":"[BUGFIXING/TESTING] FLIGHTPACKS (AKA cooler, better, and technological wings with a unique gimmick!)","user":{"login":"kevinz000","id":2003111,"avatar_url":"https://avatars.githubusercontent.com/u/2003111?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinz000","html_url":"https://github.com/kevinz000","followers_url":"https://api.github.com/users/kevinz000/followers","following_url":"https://api.github.com/users/kevinz000/following{/other_user}","gists_url":"https://api.github.com/users/kevinz000/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinz000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinz000/subscriptions","organizations_url":"https://api.github.com/users/kevinz000/orgs","repos_url":"https://api.github.com/users/kevinz000/repos","events_url":"https://api.github.com/users/kevinz000/events{/privacy}","received_events_url":"https://api.github.com/users/kevinz000/received_events","type":"User","site_admin":false},"labels":[{"id":149581322,"url":"https://api.github.com/repos/tgstation/tgstation/labels/Feature","name":"Feature","color":"009800","default":false},{"id":260619936,"url":"https://api.github.com/repos/tgstation/tgstation/labels/Ready%20for%20Review","name":"Ready for Review","color":"ffdfa2","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":67,"created_at":"2016-10-08T08:40:33Z","updated_at":"2016-11-24T07:20:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/tgstation/tgstation/pulls/20860","html_url":"https://github.com/tgstation/tgstation/pull/20860","diff_url":"https://github.com/tgstation/tgstation/pull/20860.diff","patch_url":"https://github.com/tgstation/tgstation/pull/20860.patch"},"body":"# FLIGHTPACKS: ADVANCED BACK MOUNTED JETPACK THAT CAN ALLOW A HUMAN USER TO FLY.\r\n## MANY THANKS TO @Lexorion FOR THE AWESOME SPRITES :D\r\n### ADDS A NEW PROC: on_mob_move(direction, mob) called each time on every object inside a mob when it moves. REFACTORS FLYING TO A BITFLAG VAR CALLED MOVEMENT_TYPE THAT IS ON ALL MOBS, MIGHT BE BUGGY.\r\n\r\nWhether this requires a fuel source would be best determined by a testmerge or server testing. This already takes up two slots to use, and three-four slots to use properly, and one of these includes your back slot. Seems weak enough to me but meh. Also, hard to control while in fast speeds. Kek.\r\n\r\nFlightpacks are a technological counterpart to angel wings. They require you to put on the flight hardsuit, shoes, and flightpack before you can start flying around. This would require your exosuit, shoes, and back slots. The flightsuit and helmet are tesla-protected, protects from vaccum, and all parts of the system are acid-proof. Also, the hardsuit portion of it has minor armor and fire resistance (Don't know how much it is yes).\r\nThe \"unique\" features of these are:\r\nWhen toggled on, the user can fly around. Floor-based things like slips and lava will no longer affect the user (Glass tables still do to make @Shadowlight213 happy.). The user can freely fly over tables as they're now in the air.\r\nThere is a mechanic I've added called momentum. This is increased by the user moving with the suit in a certain direction, and will cause the user to drift around if they stop moving in that direction, to simulate the kinetic energy of vehicle travelling at high speeds. Also, at high speeds, the user is able to crash into objects, people, and walls, taking minor damage and sending the offending object flying if it is not anchored into the floor. Momentum is reduced by a variety of factors, and it is reduced each time the user drifts because of it. The flightpack does this by being processed by Goofball's fastprocess subsystem, which should trigger 5 times a second. Drifting is what triggers decay of the momentum, s you only lose this kinetic energy when you drift from it.\r\nThere are three power settings changeable by the user, 10, 20, and 30.\r\nThe current default values are:\r\nStabilizers if on decays 20 momentum per drift\r\nIf the user is anchored to the ground by gravity, 4 momentum is decayed per drift.\r\nHaving above 30 air pressure decays 4 momentum per drift.\r\n2 momentum is passive decayed regardless.\r\nThere are toggleable stabilizers on the flightpack, which make it easier to fly around without losing control.\r\nThere are also toggleable airbrakes, for when precision flying is required, and not just speed.\r\n:cl: Mekhi Anderson\r\nrscadd: Flight gear has been added to science.\r\nrscadd: Flight systems are multi-part, multi-step, and fully user assembled! Robotics can print out a flight suit, which is a hardsuit with mounting ports for flight gear and a high luminence helmet, a flight pack to attach to the suit to allow flight, and shoes to attach for extra functions(tm)!\r\nrscadd: Flightpacks are NOT your regular jetpacks. They work differently and react realistically to momentum physics. Use at your own risk.\r\nexperimental: This may or may not be a good idea.\r\nbugfix: Anything that is flying now has an animated floating at rest.\r\n:cl:\r\n\r\nIn the future I may or may not make the flight system not linked to a specific back mounted item so people can use it for other things too. But for now that's too much effort :)\r\n"},"comment":{"url":"https://api.github.com/repos/tgstation/tgstation/issues/comments/262706894","html_url":"https://github.com/tgstation/tgstation/pull/20860#issuecomment-262706894","issue_url":"https://api.github.com/repos/tgstation/tgstation/issues/20860","id":262706894,"user":{"login":"kevinz000","id":2003111,"avatar_url":"https://avatars.githubusercontent.com/u/2003111?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinz000","html_url":"https://github.com/kevinz000","followers_url":"https://api.github.com/users/kevinz000/followers","following_url":"https://api.github.com/users/kevinz000/following{/other_user}","gists_url":"https://api.github.com/users/kevinz000/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinz000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinz000/subscriptions","organizations_url":"https://api.github.com/users/kevinz000/orgs","repos_url":"https://api.github.com/users/kevinz000/repos","events_url":"https://api.github.com/users/kevinz000/events{/privacy}","received_events_url":"https://api.github.com/users/kevinz000/received_events","type":"User","site_admin":false},"created_at":"2016-11-24T07:20:36Z","updated_at":"2016-11-24T07:20:36Z","body":"Fixed."}}
{"actor":{"display_login":"kevinz000"}}