{"action":"opened","issue":{"url":"https://api.github.com/repos/jpcsupplies/Economy_mod/issues/117","repository_url":"https://api.github.com/repos/jpcsupplies/Economy_mod","labels_url":"https://api.github.com/repos/jpcsupplies/Economy_mod/issues/117/labels{/name}","comments_url":"https://api.github.com/repos/jpcsupplies/Economy_mod/issues/117/comments","events_url":"https://api.github.com/repos/jpcsupplies/Economy_mod/issues/117/events","html_url":"https://github.com/jpcsupplies/Economy_mod/issues/117","id":132861593,"number":117,"title":"Additional integer field for player records","user":{"login":"jpcsupplies","id":13939039,"avatar_url":"https://avatars.githubusercontent.com/u/13939039?v=3","gravatar_id":"","url":"https://api.github.com/users/jpcsupplies","html_url":"https://github.com/jpcsupplies","followers_url":"https://api.github.com/users/jpcsupplies/followers","following_url":"https://api.github.com/users/jpcsupplies/following{/other_user}","gists_url":"https://api.github.com/users/jpcsupplies/gists{/gist_id}","starred_url":"https://api.github.com/users/jpcsupplies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpcsupplies/subscriptions","organizations_url":"https://api.github.com/users/jpcsupplies/orgs","repos_url":"https://api.github.com/users/jpcsupplies/repos","events_url":"https://api.github.com/users/jpcsupplies/events{/privacy}","received_events_url":"https://api.github.com/users/jpcsupplies/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-11T00:45:03Z","updated_at":"2016-02-11T00:45:03Z","closed_at":null,"body":"Can you add an additional integer to the account namespace for players (in a way that wont break existing server player balance data)\r\n\r\nsomething like account.mission\r\n\r\nI need a way to track a players progression through any missions we setup.\r\n\r\nI was just looking at some of Geneticus's groups - and I notice he is in a story making group..   \r\n\r\nLong story short, it gave me an idea for using the mission system in a sort of choose your own adventure sort of way, but I need a persistent field to record what step (analog to \"page number\" in a book or \"room number\" in a MUD server) the player is up to in the story mission.\r\n\r\nProbably work something like this but I will need some help fine tuning:\r\nData:\r\nMissions.xml  (basically a list of locations and a story-like description of what happens there)\r\nMission number (integer)  eg.  10\r\nDescription (string) eg. Mission window: \"After selling everything to pay for the trip and hopping on the next freighter to ramblers frontier, you find yourself fresh off the boat at the Blue mining Inc Jupiter facility.  you have nothing but 100 credits in your pocket, a space suit, some tools and some high hopes. At this point you can try to make some money mining for blue mining inc, or try to get a lift to the new trade outpost under construciton on IO\"\r\nConditions (array) (ie go to location X,   take item Y to location X, pay extra bonus etc)\r\nGPS ?? (array)  (list of GPS points that get created on the commencement of this mission)\r\nbranches (array) list of missions that branch from this point \r\n\r\naccounts:\r\naccounts.mission (integer)  cross references to \r\n=========\r\nSample data\r\nMission number 1\r\nDescription \"After selling everything to pay for the trip and hopping on the next freighter to ramblers frontier, you find yourself fresh off the boat at the Blue mining Inc Jupiter facility.  you have nothing but 100 credits in your pocket, a space suit, some tools and some high hopes. At this point you can try to make some money mining for blue mining inc, or try to get a lift to the new trade outpost under construciton on IO to look for work there\"\r\nConditions:  \r\nA: Joins Blue mining faction, triggered by player joining faction ID \"BLU\", reward: 50 credits, branch: mission 2\r\nB: Doesn't join Blue mining faction, triggered by Traveling to Omega base GPS location, branch: mission 10\r\nMission display:   \r\nJoin Blue Mining Faction OR travel to Omega base\r\nCreate GPS points:\r\nA In front of the LCD that tells you to join BLU mining to access station.\r\nB Omega Base\r\n=============\r\n\r\nMission number 2\r\nDescription \"Blue mining happily offers you work, advances you 50 credits for equipment and requests you mine some nearby asteroids for ore. You can sell this ore directly to Blue mining using the /sell  command.\"\r\n(it could specify a particular ore the market is short of too)\r\nConditions: \r\nA: mines/sells 5000 of ore to Blue mining. Reward: 500 credits branch:  mission 3\r\nCreate GPS points:\r\nA Three nearby asteroids (if we use the \"particular ore\" logic, and we have a working \"scan report\" system database  #114  generate the 3 nearest recorded asteroids as GPS points)\r\n\r\n============\r\nMission number 3  \r\nEtc\r\n============\r\nMission number 10\r\nDescription \"After what feels like an epic journey, you arrive at Omega base.  You should apply for a job here from Zannador - request to join the XXXXX faction\"\r\nConditions: \r\nA:  Joins Zannadors faction.  Reward: 500 credits, branch: mission 11\r\nB: Is rejected from Zannadors faction. Reward: 50 credits, branch: mission 20\r\nCreate GPS points:\r\nA Omega Station - Zannadors office.\r\n\r\n===========\r\nMission number 11\r\nMission number 20\r\netc\r\n============\r\n\r\n\r\n\r\n"}}