{"action":"opened","number":529,"pull_request":{"url":"https://api.github.com/repos/SFTtech/openage/pulls/529","id":63477539,"html_url":"https://github.com/SFTtech/openage/pull/529","diff_url":"https://github.com/SFTtech/openage/pull/529.diff","patch_url":"https://github.com/SFTtech/openage/pull/529.patch","issue_url":"https://api.github.com/repos/SFTtech/openage/issues/529","number":529,"state":"open","locked":false,"title":"new savefile format with working triggers","user":{"login":"timohaas","id":10377071,"avatar_url":"https://avatars.githubusercontent.com/u/10377071?v=3","gravatar_id":"","url":"https://api.github.com/users/timohaas","html_url":"https://github.com/timohaas","followers_url":"https://api.github.com/users/timohaas/followers","following_url":"https://api.github.com/users/timohaas/following{/other_user}","gists_url":"https://api.github.com/users/timohaas/gists{/gist_id}","starred_url":"https://api.github.com/users/timohaas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timohaas/subscriptions","organizations_url":"https://api.github.com/users/timohaas/orgs","repos_url":"https://api.github.com/users/timohaas/repos","events_url":"https://api.github.com/users/timohaas/events{/privacy}","received_events_url":"https://api.github.com/users/timohaas/received_events","type":"User","site_admin":false},"body":"hi,\r\n\r\nI tried to specify a new savefile format with triggers.\r\nfor information look at doc/map-format.md\r\n\r\nTODO:\r\nsave Triggers when save a game(only loading them is supported for now)\r\nwith this generic trigger approach it is possible to implement nearly everything (example: relics gold,technologies)\r\nrelics:\r\ncondition: player-has relic => 0.2Gold/s\r\n\r\nbut before further implemantation, i would like your thoughts on this.","created_at":"2016-03-19T20:15:33Z","updated_at":"2016-03-19T20:15:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SFTtech/openage/pulls/529/commits","review_comments_url":"https://api.github.com/repos/SFTtech/openage/pulls/529/comments","review_comment_url":"https://api.github.com/repos/SFTtech/openage/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SFTtech/openage/issues/529/comments","statuses_url":"https://api.github.com/repos/SFTtech/openage/statuses/171d70406aeca9d61feec701fdb33b169d5c2ec6","head":{"label":"timohaas:save-map-to-json","ref":"save-map-to-json","sha":"171d70406aeca9d61feec701fdb33b169d5c2ec6","user":{"login":"timohaas","id":10377071,"avatar_url":"https://avatars.githubusercontent.com/u/10377071?v=3","gravatar_id":"","url":"https://api.github.com/users/timohaas","html_url":"https://github.com/timohaas","followers_url":"https://api.github.com/users/timohaas/followers","following_url":"https://api.github.com/users/timohaas/following{/other_user}","gists_url":"https://api.github.com/users/timohaas/gists{/gist_id}","starred_url":"https://api.github.com/users/timohaas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timohaas/subscriptions","organizations_url":"https://api.github.com/users/timohaas/orgs","repos_url":"https://api.github.com/users/timohaas/repos","events_url":"https://api.github.com/users/timohaas/events{/privacy}","received_events_url":"https://api.github.com/users/timohaas/received_events","type":"User","site_admin":false},"repo":{"id":54116766,"name":"openage","full_name":"timohaas/openage","owner":{"login":"timohaas","id":10377071,"avatar_url":"https://avatars.githubusercontent.com/u/10377071?v=3","gravatar_id":"","url":"https://api.github.com/users/timohaas","html_url":"https://github.com/timohaas","followers_url":"https://api.github.com/users/timohaas/followers","following_url":"https://api.github.com/users/timohaas/following{/other_user}","gists_url":"https://api.github.com/users/timohaas/gists{/gist_id}","starred_url":"https://api.github.com/users/timohaas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timohaas/subscriptions","organizations_url":"https://api.github.com/users/timohaas/orgs","repos_url":"https://api.github.com/users/timohaas/repos","events_url":"https://api.github.com/users/timohaas/events{/privacy}","received_events_url":"https://api.github.com/users/timohaas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/timohaas/openage","description":"Free (as in freedom) open source clone of the Age of Empires II engine :rocket:","fork":true,"url":"https://api.github.com/repos/timohaas/openage","forks_url":"https://api.github.com/repos/timohaas/openage/forks","keys_url":"https://api.github.com/repos/timohaas/openage/keys{/key_id}","collaborators_url":"https://api.github.com/repos/timohaas/openage/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/timohaas/openage/teams","hooks_url":"https://api.github.com/repos/timohaas/openage/hooks","issue_events_url":"https://api.github.com/repos/timohaas/openage/issues/events{/number}","events_url":"https://api.github.com/repos/timohaas/openage/events","assignees_url":"https://api.github.com/repos/timohaas/openage/assignees{/user}","branches_url":"https://api.github.com/repos/timohaas/openage/branches{/branch}","tags_url":"https://api.github.com/repos/timohaas/openage/tags","blobs_url":"https://api.github.com/repos/timohaas/openage/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/timohaas/openage/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/timohaas/openage/git/refs{/sha}","trees_url":"https://api.github.com/repos/timohaas/openage/git/trees{/sha}","statuses_url":"https://api.github.com/repos/timohaas/openage/statuses/{sha}","languages_url":"https://api.github.com/repos/timohaas/openage/languages","stargazers_url":"https://api.github.com/repos/timohaas/openage/stargazers","contributors_url":"https://api.github.com/repos/timohaas/openage/contributors","subscribers_url":"https://api.github.com/repos/timohaas/openage/subscribers","subscription_url":"https://api.github.com/repos/timohaas/openage/subscription","commits_url":"https://api.github.com/repos/timohaas/openage/commits{/sha}","git_commits_url":"https://api.github.com/repos/timohaas/openage/git/commits{/sha}","comments_url":"https://api.github.com/repos/timohaas/openage/comments{/number}","issue_comment_url":"https://api.github.com/repos/timohaas/openage/issues/comments{/number}","contents_url":"https://api.github.com/repos/timohaas/openage/contents/{+path}","compare_url":"https://api.github.com/repos/timohaas/openage/compare/{base}...{head}","merges_url":"https://api.github.com/repos/timohaas/openage/merges","archive_url":"https://api.github.com/repos/timohaas/openage/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/timohaas/openage/downloads","issues_url":"https://api.github.com/repos/timohaas/openage/issues{/number}","pulls_url":"https://api.github.com/repos/timohaas/openage/pulls{/number}","milestones_url":"https://api.github.com/repos/timohaas/openage/milestones{/number}","notifications_url":"https://api.github.com/repos/timohaas/openage/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/timohaas/openage/labels{/name}","releases_url":"https://api.github.com/repos/timohaas/openage/releases{/id}","deployments_url":"https://api.github.com/repos/timohaas/openage/deployments","created_at":"2016-03-17T12:40:04Z","updated_at":"2016-03-17T12:40:05Z","pushed_at":"2016-03-19T20:05:42Z","git_url":"git://github.com/timohaas/openage.git","ssh_url":"git@github.com:timohaas/openage.git","clone_url":"https://github.com/timohaas/openage.git","svn_url":"https://github.com/timohaas/openage","homepage":"http://openage.sft.mx","size":5607,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"SFTtech:master","ref":"master","sha":"87f5a6e1d23f7b673e7c8acb39ef946bfc9c014f","user":{"login":"SFTtech","id":1783325,"avatar_url":"https://avatars.githubusercontent.com/u/1783325?v=3","gravatar_id":"","url":"https://api.github.com/users/SFTtech","html_url":"https://github.com/SFTtech","followers_url":"https://api.github.com/users/SFTtech/followers","following_url":"https://api.github.com/users/SFTtech/following{/other_user}","gists_url":"https://api.github.com/users/SFTtech/gists{/gist_id}","starred_url":"https://api.github.com/users/SFTtech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SFTtech/subscriptions","organizations_url":"https://api.github.com/users/SFTtech/orgs","repos_url":"https://api.github.com/users/SFTtech/repos","events_url":"https://api.github.com/users/SFTtech/events{/privacy}","received_events_url":"https://api.github.com/users/SFTtech/received_events","type":"Organization","site_admin":false},"repo":{"id":14095175,"name":"openage","full_name":"SFTtech/openage","owner":{"login":"SFTtech","id":1783325,"avatar_url":"https://avatars.githubusercontent.com/u/1783325?v=3","gravatar_id":"","url":"https://api.github.com/users/SFTtech","html_url":"https://github.com/SFTtech","followers_url":"https://api.github.com/users/SFTtech/followers","following_url":"https://api.github.com/users/SFTtech/following{/other_user}","gists_url":"https://api.github.com/users/SFTtech/gists{/gist_id}","starred_url":"https://api.github.com/users/SFTtech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SFTtech/subscriptions","organizations_url":"https://api.github.com/users/SFTtech/orgs","repos_url":"https://api.github.com/users/SFTtech/repos","events_url":"https://api.github.com/users/SFTtech/events{/privacy}","received_events_url":"https://api.github.com/users/SFTtech/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SFTtech/openage","description":"Free (as in freedom) open source clone of the Age of Empires II engine :rocket:","fork":false,"url":"https://api.github.com/repos/SFTtech/openage","forks_url":"https://api.github.com/repos/SFTtech/openage/forks","keys_url":"https://api.github.com/repos/SFTtech/openage/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SFTtech/openage/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SFTtech/openage/teams","hooks_url":"https://api.github.com/repos/SFTtech/openage/hooks","issue_events_url":"https://api.github.com/repos/SFTtech/openage/issues/events{/number}","events_url":"https://api.github.com/repos/SFTtech/openage/events","assignees_url":"https://api.github.com/repos/SFTtech/openage/assignees{/user}","branches_url":"https://api.github.com/repos/SFTtech/openage/branches{/branch}","tags_url":"https://api.github.com/repos/SFTtech/openage/tags","blobs_url":"https://api.github.com/repos/SFTtech/openage/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SFTtech/openage/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SFTtech/openage/git/refs{/sha}","trees_url":"https://api.github.com/repos/SFTtech/openage/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SFTtech/openage/statuses/{sha}","languages_url":"https://api.github.com/repos/SFTtech/openage/languages","stargazers_url":"https://api.github.com/repos/SFTtech/openage/stargazers","contributors_url":"https://api.github.com/repos/SFTtech/openage/contributors","subscribers_url":"https://api.github.com/repos/SFTtech/openage/subscribers","subscription_url":"https://api.github.com/repos/SFTtech/openage/subscription","commits_url":"https://api.github.com/repos/SFTtech/openage/commits{/sha}","git_commits_url":"https://api.github.com/repos/SFTtech/openage/git/commits{/sha}","comments_url":"https://api.github.com/repos/SFTtech/openage/comments{/number}","issue_comment_url":"https://api.github.com/repos/SFTtech/openage/issues/comments{/number}","contents_url":"https://api.github.com/repos/SFTtech/openage/contents/{+path}","compare_url":"https://api.github.com/repos/SFTtech/openage/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SFTtech/openage/merges","archive_url":"https://api.github.com/repos/SFTtech/openage/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SFTtech/openage/downloads","issues_url":"https://api.github.com/repos/SFTtech/openage/issues{/number}","pulls_url":"https://api.github.com/repos/SFTtech/openage/pulls{/number}","milestones_url":"https://api.github.com/repos/SFTtech/openage/milestones{/number}","notifications_url":"https://api.github.com/repos/SFTtech/openage/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SFTtech/openage/labels{/name}","releases_url":"https://api.github.com/repos/SFTtech/openage/releases{/id}","deployments_url":"https://api.github.com/repos/SFTtech/openage/deployments","created_at":"2013-11-03T22:35:23Z","updated_at":"2016-03-19T03:35:22Z","pushed_at":"2016-03-19T02:08:00Z","git_url":"git://github.com/SFTtech/openage.git","ssh_url":"git@github.com:SFTtech/openage.git","clone_url":"https://github.com/SFTtech/openage.git","svn_url":"https://github.com/SFTtech/openage","homepage":"http://openage.sft.mx","size":7544,"stargazers_count":4898,"watchers_count":4898,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":442,"mirror_url":null,"open_issues_count":130,"forks":442,"open_issues":130,"watchers":4898,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SFTtech/openage/pulls/529"},"html":{"href":"https://github.com/SFTtech/openage/pull/529"},"issue":{"href":"https://api.github.com/repos/SFTtech/openage/issues/529"},"comments":{"href":"https://api.github.com/repos/SFTtech/openage/issues/529/comments"},"review_comments":{"href":"https://api.github.com/repos/SFTtech/openage/pulls/529/comments"},"review_comment":{"href":"https://api.github.com/repos/SFTtech/openage/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SFTtech/openage/pulls/529/commits"},"statuses":{"href":"https://api.github.com/repos/SFTtech/openage/statuses/171d70406aeca9d61feec701fdb33b169d5c2ec6"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":16,"additions":27968,"deletions":62,"changed_files":25}}