{"action":"closed","issue":{"url":"https://api.github.com/repos/scrom/Experiments/issues/451","labels_url":"https://api.github.com/repos/scrom/Experiments/issues/451/labels{/name}","comments_url":"https://api.github.com/repos/scrom/Experiments/issues/451/comments","events_url":"https://api.github.com/repos/scrom/Experiments/issues/451/events","html_url":"https://github.com/scrom/Experiments/issues/451","id":113178766,"number":451,"title":"if creatures have beenwaiting in a location for > 4 ticks and player enters, all creatures leave","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":[{"url":"https://api.github.com/repos/scrom/Experiments/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/scrom/Experiments/labels/please%20test","name":"please test","color":"eb6420"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-24T19:36:52Z","updated_at":"2015-10-26T08:52:02Z","closed_at":"2015-10-26T08:52:02Z","body":"The intent was that if a creature had been in the same location as the player with no interaction for 4 ticks, they would wander off.\r\nIt does say it overrides any existing delays but it's not quite right.\r\n\r\nWhen a player enters the room, a delay around the player being there should start and run for ~4 ticks. (probably more than 4 now time has been rebalanced.\r\n\r\nThe problematic code is in creature.calculateAndUpdateDelay"}}