{"action":"created","issue":{"url":"https://api.github.com/repos/Segs/Segs/issues/136","repository_url":"https://api.github.com/repos/Segs/Segs","labels_url":"https://api.github.com/repos/Segs/Segs/issues/136/labels{/name}","comments_url":"https://api.github.com/repos/Segs/Segs/issues/136/comments","events_url":"https://api.github.com/repos/Segs/Segs/issues/136/events","html_url":"https://github.com/Segs/Segs/issues/136","id":271772584,"number":136,"title":"Handle Location and Plaque events correctly","user":{"login":"nemerle","id":96597,"avatar_url":"https://avatars1.githubusercontent.com/u/96597?v=4","gravatar_id":"","url":"https://api.github.com/users/nemerle","html_url":"https://github.com/nemerle","followers_url":"https://api.github.com/users/nemerle/followers","following_url":"https://api.github.com/users/nemerle/following{/other_user}","gists_url":"https://api.github.com/users/nemerle/gists{/gist_id}","starred_url":"https://api.github.com/users/nemerle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nemerle/subscriptions","organizations_url":"https://api.github.com/users/nemerle/orgs","repos_url":"https://api.github.com/users/nemerle/repos","events_url":"https://api.github.com/users/nemerle/events{/privacy}","received_events_url":"https://api.github.com/users/nemerle/received_events","type":"User","site_admin":false},"labels":[{"id":28453034,"url":"https://api.github.com/repos/Segs/Segs/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-11-07T10:02:05Z","updated_at":"2017-11-07T19:58:17Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"### Expected behavior\r\nReplicate the original game logic here : this needs more information \r\n### Actual behavior/symptoms\r\nServer only prints debug info whenever a Location or Plague is visited\r\n"},"comment":{"url":"https://api.github.com/repos/Segs/Segs/issues/comments/342603336","html_url":"https://github.com/Segs/Segs/issues/136#issuecomment-342603336","issue_url":"https://api.github.com/repos/Segs/Segs/issues/136","id":342603336,"user":{"login":"nemerle","id":96597,"avatar_url":"https://avatars1.githubusercontent.com/u/96597?v=4","gravatar_id":"","url":"https://api.github.com/users/nemerle","html_url":"https://github.com/nemerle","followers_url":"https://api.github.com/users/nemerle/followers","following_url":"https://api.github.com/users/nemerle/following{/other_user}","gists_url":"https://api.github.com/users/nemerle/gists{/gist_id}","starred_url":"https://api.github.com/users/nemerle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nemerle/subscriptions","organizations_url":"https://api.github.com/users/nemerle/orgs","repos_url":"https://api.github.com/users/nemerle/repos","events_url":"https://api.github.com/users/nemerle/events{/privacy}","received_events_url":"https://api.github.com/users/nemerle/received_events","type":"User","site_admin":false},"created_at":"2017-11-07T19:58:17Z","updated_at":"2017-11-07T19:58:17Z","author_association":"CONTRIBUTOR","body":"Great work broxen, thanks.\r\nAs for badges/location visited LUA side events, I was actually thinking of implementing those, basically on map server startup, the server would load a \"specific_map_name/locations.lua\" file, where we have location_name\r\n```lua\r\nlocations_dict = {}\r\nlocations_dict[0x12345678] = \"Atlas statue\"\r\n\r\nfunction location_visited(location_name_hash,x,y,z)\r\n  client.admin_chat_message(\"You have visited\"..locations_dict[location_name_hash])\r\nend\r\n```\r\nAs for badges, I think we're going to have to postpone it until we move to I2 :)"}}
{"actor":{"display_login":"nemerle"}}