{"action":"created","issue":{"url":"https://api.github.com/repos/endless-sky/endless-sky/issues/605","labels_url":"https://api.github.com/repos/endless-sky/endless-sky/issues/605/labels{/name}","comments_url":"https://api.github.com/repos/endless-sky/endless-sky/issues/605/comments","events_url":"https://api.github.com/repos/endless-sky/endless-sky/issues/605/events","html_url":"https://github.com/endless-sky/endless-sky/issues/605","id":125198237,"number":605,"title":"standardizing the text files in the data folder","user":{"login":"bobafetthotmail","id":9494179,"avatar_url":"https://avatars.githubusercontent.com/u/9494179?v=3","gravatar_id":"","url":"https://api.github.com/users/bobafetthotmail","html_url":"https://github.com/bobafetthotmail","followers_url":"https://api.github.com/users/bobafetthotmail/followers","following_url":"https://api.github.com/users/bobafetthotmail/following{/other_user}","gists_url":"https://api.github.com/users/bobafetthotmail/gists{/gist_id}","starred_url":"https://api.github.com/users/bobafetthotmail/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobafetthotmail/subscriptions","organizations_url":"https://api.github.com/users/bobafetthotmail/orgs","repos_url":"https://api.github.com/users/bobafetthotmail/repos","events_url":"https://api.github.com/users/bobafetthotmail/events{/privacy}","received_events_url":"https://api.github.com/users/bobafetthotmail/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-06T15:29:28Z","updated_at":"2016-01-06T20:36:15Z","closed_at":null,"body":"I'm slowly learning how the source works, and I had to look at where various things are placed in the datafiles.\r\n\r\nDatafiles are a bit messy, and by looking at commit times it's not really improving over time as data gets added on top.\r\nFor example, **sales.txt** isn't the main place for that stuff, but only the oldest one while other races have that data in their own .txt, some aliens have their ships in Alien Ships (Quarg/Kroath) and some have their own file that contains everything of that race (Pug/Hai).\r\n\r\n\r\nSince the game doesn't seem to really care about the datafile names or where data is declared (if I read the source correctly, all stuff is added to a single big database regardless of its text file name), I propose this new .txt file keeping standard:\r\n\r\n<race-name> <data-content> <additional stuff>\r\n\r\nSo that for example ships.txt becomes **human ships.txt** And the \"free worlds -something-.txt\" becomes **human mission free worlds -something-.txt**\r\n\r\nThe current content of Hai.txt would get split into \r\n**hai government.txt** \r\n**hai ships.txt**\r\n\r\nAnd so on, the same for the content of Alien Outfits and Alien Ships.\r\n\r\nMap.txt gets either split into various \r\n\r\n**general map and planets.txt**\r\n**human map and planets.txt**\r\n**hai map and planets.txt**\r\n\r\nand so on.\r\n\r\nEDIT: I also volunteer to do this."},"comment":{"url":"https://api.github.com/repos/endless-sky/endless-sky/issues/comments/169453716","html_url":"https://github.com/endless-sky/endless-sky/issues/605#issuecomment-169453716","issue_url":"https://api.github.com/repos/endless-sky/endless-sky/issues/605","id":169453716,"user":{"login":"BuildBruh","id":7354370,"avatar_url":"https://avatars.githubusercontent.com/u/7354370?v=3","gravatar_id":"","url":"https://api.github.com/users/BuildBruh","html_url":"https://github.com/BuildBruh","followers_url":"https://api.github.com/users/BuildBruh/followers","following_url":"https://api.github.com/users/BuildBruh/following{/other_user}","gists_url":"https://api.github.com/users/BuildBruh/gists{/gist_id}","starred_url":"https://api.github.com/users/BuildBruh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BuildBruh/subscriptions","organizations_url":"https://api.github.com/users/BuildBruh/orgs","repos_url":"https://api.github.com/users/BuildBruh/repos","events_url":"https://api.github.com/users/BuildBruh/events{/privacy}","received_events_url":"https://api.github.com/users/BuildBruh/received_events","type":"User","site_admin":false},"created_at":"2016-01-06T20:36:15Z","updated_at":"2016-01-06T20:36:15Z","body":"Do it, and send a pull request? (I'd/am  volunteer to help too)"}}