{"action":"created","issue":{"url":"https://api.github.com/repos/endless-sky/endless-sky/issues/3381","repository_url":"https://api.github.com/repos/endless-sky/endless-sky","labels_url":"https://api.github.com/repos/endless-sky/endless-sky/issues/3381/labels{/name}","comments_url":"https://api.github.com/repos/endless-sky/endless-sky/issues/3381/comments","events_url":"https://api.github.com/repos/endless-sky/endless-sky/issues/3381/events","html_url":"https://github.com/endless-sky/endless-sky/issues/3381","id":280332200,"number":3381,"title":"\"Linger\" behaviors for NPC ships","user":{"login":"tehhowch","id":20871346,"avatar_url":"https://avatars3.githubusercontent.com/u/20871346?v=4","gravatar_id":"","url":"https://api.github.com/users/tehhowch","html_url":"https://github.com/tehhowch","followers_url":"https://api.github.com/users/tehhowch/followers","following_url":"https://api.github.com/users/tehhowch/following{/other_user}","gists_url":"https://api.github.com/users/tehhowch/gists{/gist_id}","starred_url":"https://api.github.com/users/tehhowch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tehhowch/subscriptions","organizations_url":"https://api.github.com/users/tehhowch/orgs","repos_url":"https://api.github.com/users/tehhowch/repos","events_url":"https://api.github.com/users/tehhowch/events{/privacy}","received_events_url":"https://api.github.com/users/tehhowch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-12-08T00:52:41Z","updated_at":"2017-12-08T00:56:00Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Figured I'd poll the community to see what, if any, consensus there is on what it should look like for an NPC to spend extra time in a system, outside of combat.\r\n\r\nCurrently, ships enter a system, decide if they want to land on a planet or jump, and then do that, immediately. There are a tiny handful of alternate behaviors:\r\n - surveillance (scan other ships, scan stellar objects, unload drones and jump away)\r\n - swarming (flit between any ships in the system)\r\n - mining (mine asteroids for a bit)\r\n\r\nOne issue brought up previously is that ES has a very high turnover on NPCs, and the lack of various behaviors is generally the root cause of this, as ships without one of those 3 behaviors have only one thing they can do: travel.\r\n\r\nIn #2990 @elyssaen and I introduce a \"survey\" behavior (which is exactly equivalent to the \"scan stellar objects behavior\" of surveillance ships), to increase the amount of time that our travelling NPCs spend in a system, but extending that specific behavior to all ships is probably not the greatest plan (it would look pretty weird to watch a bunch of Merchant Bulk Freighters traveling between the moons in a system).\r\n\r\nIf we reduce the turnover rate some, by requiring NPCs to do at least something in a system (i.e. we don't let them jump immediately), what kinds of things should NPCs do?"},"comment":{"url":"https://api.github.com/repos/endless-sky/endless-sky/issues/comments/350140628","html_url":"https://github.com/endless-sky/endless-sky/issues/3381#issuecomment-350140628","issue_url":"https://api.github.com/repos/endless-sky/endless-sky/issues/3381","id":350140628,"user":{"login":"tehhowch","id":20871346,"avatar_url":"https://avatars3.githubusercontent.com/u/20871346?v=4","gravatar_id":"","url":"https://api.github.com/users/tehhowch","html_url":"https://github.com/tehhowch","followers_url":"https://api.github.com/users/tehhowch/followers","following_url":"https://api.github.com/users/tehhowch/following{/other_user}","gists_url":"https://api.github.com/users/tehhowch/gists{/gist_id}","starred_url":"https://api.github.com/users/tehhowch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tehhowch/subscriptions","organizations_url":"https://api.github.com/users/tehhowch/orgs","repos_url":"https://api.github.com/users/tehhowch/repos","events_url":"https://api.github.com/users/tehhowch/events{/privacy}","received_events_url":"https://api.github.com/users/tehhowch/received_events","type":"User","site_admin":false},"created_at":"2017-12-08T00:56:00Z","updated_at":"2017-12-08T00:56:00Z","author_association":"CONTRIBUTOR","body":"One possibility is to have ships first decide to rendezvous at a randomly chosen point in a system. Ships with no parent would enter a system, pick a point randomly (equally probable to be anywhere within that system's habitable radius), and then only jump out after having traveled to that point. Ships with a parent would naturally follow their parent, and would get ready to jump when the parent had picked its position and arrived there."}}
{"actor":{"display_login":"tehhowch"}}