{"action":"closed","issue":{"url":"https://api.github.com/repos/scrom/Experiments/issues/354","labels_url":"https://api.github.com/repos/scrom/Experiments/issues/354/labels{/name}","comments_url":"https://api.github.com/repos/scrom/Experiments/issues/354/comments","events_url":"https://api.github.com/repos/scrom/Experiments/issues/354/events","html_url":"https://github.com/scrom/Experiments/issues/354","id":107532945,"number":354,"title":"mission checking needs to support \"creature events\"","user":{"login":"scrom","id":409676,"avatar_url":"https://avatars.githubusercontent.com/u/409676?v=3","gravatar_id":"","url":"https://api.github.com/users/scrom","html_url":"https://github.com/scrom","followers_url":"https://api.github.com/users/scrom/followers","following_url":"https://api.github.com/users/scrom/following{/other_user}","gists_url":"https://api.github.com/users/scrom/gists{/gist_id}","starred_url":"https://api.github.com/users/scrom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scrom/subscriptions","organizations_url":"https://api.github.com/users/scrom/orgs","repos_url":"https://api.github.com/users/scrom/repos","events_url":"https://api.github.com/users/scrom/events{/privacy}","received_events_url":"https://api.github.com/users/scrom/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-21T15:06:35Z","updated_at":"2015-09-21T15:51:57Z","closed_at":"2015-09-21T15:51:57Z","body":"In order to support game plot, we need to support event types associated to a creature and not just time-related.\r\n\r\ne.g. creature x reaches location y.\r\n\r\nThis requires new code in the mission controller and mission checking.\r\nMission checking in particular is currently focused on being player-driven and the player either owning the mission or being in the location of the mission when checking it.\r\nIn most cases we don't want to damage this otherwise the player won't get notified of important events but when a creature needs to reach a location in order to change the state of the game and the player doesn't need to be with them, we need to handle this.\r\n\r\nthe mission file \"jordanreachesmachineroom\" is an example of this.\r\nUntil that point, he doesn't have the hard disk, nor is immune to zombieism (the latter is mostly for game balancing - although I'd give him a vial of antivenom earlier and have it removed and the attributes added later for proper plot consistency)"}}