{"action":"created","comment":{"url":"https://api.github.com/repos/tgstation/-tg-station/pulls/comments/34858963","id":34858963,"diff_hunk":"@@ -148,4 +148,48 @@\n /obj/structure/sign/directions/evac\r\n \tname = \"escape arm\"\r\n \tdesc = \"A direction sign, pointing out which way the escape shuttle dock is.\"\r\n-\ticon_state = \"direction_evac\"\n\\ No newline at end of file\n+\ticon_state = \"direction_evac\"\r\n+\r\n+/obj/structure/sign/safetyboard //64 by 32 pixels, takes two tiles\r\n+\tname = \"Station Safety Sign\"\r\n+\tdesc = \"Only you can prevent station spaghettification.\"\r\n+\ticon = 'icons/obj/safetyboards.dmi'\r\n+\ticon_state = \"major_accident\"\r\n+\tvar/value\r\n+\tvar/record\r\n+\tvar/record_desc = \" The gold trim signifies that we've reached the current record for safety, no pressure!\"\r\n+\r\n+/obj/structure/sign/safetyboard/New()\r\n+\twhile(ticker.current_state < GAME_STATE_PLAYING)\r\n+\t\tsleep(10)\r\n+\tif(ticker.persist && !value)\r\n+\t\tvalue \t= ticker.persist.last_singulo_release\r\n+\t\trecord \t= ticker.persist.record_singulo_release\r\n+\r\n+\tvar/icon/I\r\n+\tif(value == 0)\r\n+\t\tI = icon('icons/obj/safetyboards.dmi',\"X0-red\")\r\n+\t\toverlays += I\r\n+\t\treturn\r\n+\telse if(value < 10)\r\n+\t\tI = icon('icons/obj/safetyboards.dmi',\"X[value]\")\r\n+\t\toverlays += I\r\n+\telse\r\n+\t\tvar/ones = value - round(value/10)*10 //round() is floor() (WHY?)\r","path":"code/game/objects/structures/signs.dm","position":33,"original_position":33,"commit_id":"0982e235abe5325f573a9c1fff8875b11b7c1cc9","original_commit_id":"0982e235abe5325f573a9c1fff8875b11b7c1cc9","user":{"login":"RemieRichards","id":4043781,"avatar_url":"https://avatars.githubusercontent.com/u/4043781?v=3","gravatar_id":"","url":"https://api.github.com/users/RemieRichards","html_url":"https://github.com/RemieRichards","followers_url":"https://api.github.com/users/RemieRichards/followers","following_url":"https://api.github.com/users/RemieRichards/following{/other_user}","gists_url":"https://api.github.com/users/RemieRichards/gists{/gist_id}","starred_url":"https://api.github.com/users/RemieRichards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RemieRichards/subscriptions","organizations_url":"https://api.github.com/users/RemieRichards/orgs","repos_url":"https://api.github.com/users/RemieRichards/repos","events_url":"https://api.github.com/users/RemieRichards/events{/privacy}","received_events_url":"https://api.github.com/users/RemieRichards/received_events","type":"User","site_admin":false},"body":"if you wanted just \"round\" you probably meant ```round(myInt,1)```","created_at":"2015-07-17T02:58:30Z","updated_at":"2015-07-17T02:58:30Z","html_url":"https://github.com/tgstation/-tg-station/pull/10663#discussion_r34858963","pull_request_url":"https://api.github.com/repos/tgstation/-tg-station/pulls/10663","_links":{"self":{"href":"https://api.github.com/repos/tgstation/-tg-station/pulls/comments/34858963"},"html":{"href":"https://github.com/tgstation/-tg-station/pull/10663#discussion_r34858963"},"pull_request":{"href":"https://api.github.com/repos/tgstation/-tg-station/pulls/10663"}}},"pull_request":{"url":"https://api.github.com/repos/tgstation/-tg-station/pulls/10663","id":40195663,"html_url":"https://github.com/tgstation/-tg-station/pull/10663","diff_url":"https://github.com/tgstation/-tg-station/pull/10663.diff","patch_url":"https://github.com/tgstation/-tg-station/pull/10663.patch","issue_url":"https://api.github.com/repos/tgstation/-tg-station/issues/10663","number":10663,"state":"open","locked":false,"title":"Days [shifts] since singularity broke free","user":{"login":"Incoming5643","id":4176358,"avatar_url":"https://avatars.githubusercontent.com/u/4176358?v=3","gravatar_id":"","url":"https://api.github.com/users/Incoming5643","html_url":"https://github.com/Incoming5643","followers_url":"https://api.github.com/users/Incoming5643/followers","following_url":"https://api.github.com/users/Incoming5643/following{/other_user}","gists_url":"https://api.github.com/users/Incoming5643/gists{/gist_id}","starred_url":"https://api.github.com/users/Incoming5643/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Incoming5643/subscriptions","organizations_url":"https://api.github.com/users/Incoming5643/orgs","repos_url":"https://api.github.com/users/Incoming5643/repos","events_url":"https://api.github.com/users/Incoming5643/events{/privacy}","received_events_url":"https://api.github.com/users/Incoming5643/received_events","type":"User","site_admin":false},"body":"As thought up in this forum topic https://tgstation13.org/phpBB/viewtopic.php?f=5&t=4137\r\n\r\nAdds an amazingly barebones persistence system to carry vars between rounds without use of the database. For now this only caries the sign, which tracks how many rounds the sign has survived without getting eaten by a loose singularity.\r\n\r\nThe sign gains a little gold trim to brag about and tempt fate if the singulo safety record reaches the server all time record.","created_at":"2015-07-17T02:33:26Z","updated_at":"2015-07-17T02:58:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3917bfd8aad00da0647c8b77401c740657d9e83d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tgstation/-tg-station/pulls/10663/commits","review_comments_url":"https://api.github.com/repos/tgstation/-tg-station/pulls/10663/comments","review_comment_url":"https://api.github.com/repos/tgstation/-tg-station/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tgstation/-tg-station/issues/10663/comments","statuses_url":"https://api.github.com/repos/tgstation/-tg-station/statuses/0982e235abe5325f573a9c1fff8875b11b7c1cc9","head":{"label":"Incoming5643:the_persistance_of_memery","ref":"the_persistance_of_memery","sha":"0982e235abe5325f573a9c1fff8875b11b7c1cc9","user":{"login":"Incoming5643","id":4176358,"avatar_url":"https://avatars.githubusercontent.com/u/4176358?v=3","gravatar_id":"","url":"https://api.github.com/users/Incoming5643","html_url":"https://github.com/Incoming5643","followers_url":"https://api.github.com/users/Incoming5643/followers","following_url":"https://api.github.com/users/Incoming5643/following{/other_user}","gists_url":"https://api.github.com/users/Incoming5643/gists{/gist_id}","starred_url":"https://api.github.com/users/Incoming5643/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Incoming5643/subscriptions","organizations_url":"https://api.github.com/users/Incoming5643/orgs","repos_url":"https://api.github.com/users/Incoming5643/repos","events_url":"https://api.github.com/users/Incoming5643/events{/privacy}","received_events_url":"https://api.github.com/users/Incoming5643/received_events","type":"User","site_admin":false},"repo":{"id":11689768,"name":"-tg-station","full_name":"Incoming5643/-tg-station","owner":{"login":"Incoming5643","id":4176358,"avatar_url":"https://avatars.githubusercontent.com/u/4176358?v=3","gravatar_id":"","url":"https://api.github.com/users/Incoming5643","html_url":"https://github.com/Incoming5643","followers_url":"https://api.github.com/users/Incoming5643/followers","following_url":"https://api.github.com/users/Incoming5643/following{/other_user}","gists_url":"https://api.github.com/users/Incoming5643/gists{/gist_id}","starred_url":"https://api.github.com/users/Incoming5643/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Incoming5643/subscriptions","organizations_url":"https://api.github.com/users/Incoming5643/orgs","repos_url":"https://api.github.com/users/Incoming5643/repos","events_url":"https://api.github.com/users/Incoming5643/events{/privacy}","received_events_url":"https://api.github.com/users/Incoming5643/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Incoming5643/-tg-station","description":"/tg/'s SS13 branch","fork":true,"url":"https://api.github.com/repos/Incoming5643/-tg-station","forks_url":"https://api.github.com/repos/Incoming5643/-tg-station/forks","keys_url":"https://api.github.com/repos/Incoming5643/-tg-station/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Incoming5643/-tg-station/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Incoming5643/-tg-station/teams","hooks_url":"https://api.github.com/repos/Incoming5643/-tg-station/hooks","issue_events_url":"https://api.github.com/repos/Incoming5643/-tg-station/issues/events{/number}","events_url":"https://api.github.com/repos/Incoming5643/-tg-station/events","assignees_url":"https://api.github.com/repos/Incoming5643/-tg-station/assignees{/user}","branches_url":"https://api.github.com/repos/Incoming5643/-tg-station/branches{/branch}","tags_url":"https://api.github.com/repos/Incoming5643/-tg-station/tags","blobs_url":"https://api.github.com/repos/Incoming5643/-tg-station/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Incoming5643/-tg-station/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Incoming5643/-tg-station/git/refs{/sha}","trees_url":"https://api.github.com/repos/Incoming5643/-tg-station/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Incoming5643/-tg-station/statuses/{sha}","languages_url":"https://api.github.com/repos/Incoming5643/-tg-station/languages","stargazers_url":"https://api.github.com/repos/Incoming5643/-tg-station/stargazers","contributors_url":"https://api.github.com/repos/Incoming5643/-tg-station/contributors","subscribers_url":"https://api.github.com/repos/Incoming5643/-tg-station/subscribers","subscription_url":"https://api.github.com/repos/Incoming5643/-tg-station/subscription","commits_url":"https://api.github.com/repos/Incoming5643/-tg-station/commits{/sha}","git_commits_url":"https://api.github.com/repos/Incoming5643/-tg-station/git/commits{/sha}","comments_url":"https://api.github.com/repos/Incoming5643/-tg-station/comments{/number}","issue_comment_url":"https://api.github.com/repos/Incoming5643/-tg-station/issues/comments{/number}","contents_url":"https://api.github.com/repos/Incoming5643/-tg-station/contents/{+path}","compare_url":"https://api.github.com/repos/Incoming5643/-tg-station/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Incoming5643/-tg-station/merges","archive_url":"https://api.github.com/repos/Incoming5643/-tg-station/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Incoming5643/-tg-station/downloads","issues_url":"https://api.github.com/repos/Incoming5643/-tg-station/issues{/number}","pulls_url":"https://api.github.com/repos/Incoming5643/-tg-station/pulls{/number}","milestones_url":"https://api.github.com/repos/Incoming5643/-tg-station/milestones{/number}","notifications_url":"https://api.github.com/repos/Incoming5643/-tg-station/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Incoming5643/-tg-station/labels{/name}","releases_url":"https://api.github.com/repos/Incoming5643/-tg-station/releases{/id}","created_at":"2013-07-26T16:18:28Z","updated_at":"2014-04-22T03:30:34Z","pushed_at":"2015-07-17T02:32:31Z","git_url":"git://github.com/Incoming5643/-tg-station.git","ssh_url":"git@github.com:Incoming5643/-tg-station.git","clone_url":"https://github.com/Incoming5643/-tg-station.git","svn_url":"https://github.com/Incoming5643/-tg-station","homepage":"","size":520441,"stargazers_count":0,"watchers_count":0,"language":"DM","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"tgstation:master","ref":"master","sha":"ed1d1c1919a4cddeafc17412b6751ab757cc4aba","user":{"login":"tgstation","id":1363778,"avatar_url":"https://avatars.githubusercontent.com/u/1363778?v=3","gravatar_id":"","url":"https://api.github.com/users/tgstation","html_url":"https://github.com/tgstation","followers_url":"https://api.github.com/users/tgstation/followers","following_url":"https://api.github.com/users/tgstation/following{/other_user}","gists_url":"https://api.github.com/users/tgstation/gists{/gist_id}","starred_url":"https://api.github.com/users/tgstation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgstation/subscriptions","organizations_url":"https://api.github.com/users/tgstation/orgs","repos_url":"https://api.github.com/users/tgstation/repos","events_url":"https://api.github.com/users/tgstation/events{/privacy}","received_events_url":"https://api.github.com/users/tgstation/received_events","type":"Organization","site_admin":false},"repo":{"id":3234987,"name":"-tg-station","full_name":"tgstation/-tg-station","owner":{"login":"tgstation","id":1363778,"avatar_url":"https://avatars.githubusercontent.com/u/1363778?v=3","gravatar_id":"","url":"https://api.github.com/users/tgstation","html_url":"https://github.com/tgstation","followers_url":"https://api.github.com/users/tgstation/followers","following_url":"https://api.github.com/users/tgstation/following{/other_user}","gists_url":"https://api.github.com/users/tgstation/gists{/gist_id}","starred_url":"https://api.github.com/users/tgstation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgstation/subscriptions","organizations_url":"https://api.github.com/users/tgstation/orgs","repos_url":"https://api.github.com/users/tgstation/repos","events_url":"https://api.github.com/users/tgstation/events{/privacy}","received_events_url":"https://api.github.com/users/tgstation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tgstation/-tg-station","description":"the /tg/station branch of SS13","fork":false,"url":"https://api.github.com/repos/tgstation/-tg-station","forks_url":"https://api.github.com/repos/tgstation/-tg-station/forks","keys_url":"https://api.github.com/repos/tgstation/-tg-station/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tgstation/-tg-station/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tgstation/-tg-station/teams","hooks_url":"https://api.github.com/repos/tgstation/-tg-station/hooks","issue_events_url":"https://api.github.com/repos/tgstation/-tg-station/issues/events{/number}","events_url":"https://api.github.com/repos/tgstation/-tg-station/events","assignees_url":"https://api.github.com/repos/tgstation/-tg-station/assignees{/user}","branches_url":"https://api.github.com/repos/tgstation/-tg-station/branches{/branch}","tags_url":"https://api.github.com/repos/tgstation/-tg-station/tags","blobs_url":"https://api.github.com/repos/tgstation/-tg-station/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tgstation/-tg-station/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tgstation/-tg-station/git/refs{/sha}","trees_url":"https://api.github.com/repos/tgstation/-tg-station/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tgstation/-tg-station/statuses/{sha}","languages_url":"https://api.github.com/repos/tgstation/-tg-station/languages","stargazers_url":"https://api.github.com/repos/tgstation/-tg-station/stargazers","contributors_url":"https://api.github.com/repos/tgstation/-tg-station/contributors","subscribers_url":"https://api.github.com/repos/tgstation/-tg-station/subscribers","subscription_url":"https://api.github.com/repos/tgstation/-tg-station/subscription","commits_url":"https://api.github.com/repos/tgstation/-tg-station/commits{/sha}","git_commits_url":"https://api.github.com/repos/tgstation/-tg-station/git/commits{/sha}","comments_url":"https://api.github.com/repos/tgstation/-tg-station/comments{/number}","issue_comment_url":"https://api.github.com/repos/tgstation/-tg-station/issues/comments{/number}","contents_url":"https://api.github.com/repos/tgstation/-tg-station/contents/{+path}","compare_url":"https://api.github.com/repos/tgstation/-tg-station/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tgstation/-tg-station/merges","archive_url":"https://api.github.com/repos/tgstation/-tg-station/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tgstation/-tg-station/downloads","issues_url":"https://api.github.com/repos/tgstation/-tg-station/issues{/number}","pulls_url":"https://api.github.com/repos/tgstation/-tg-station/pulls{/number}","milestones_url":"https://api.github.com/repos/tgstation/-tg-station/milestones{/number}","notifications_url":"https://api.github.com/repos/tgstation/-tg-station/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tgstation/-tg-station/labels{/name}","releases_url":"https://api.github.com/repos/tgstation/-tg-station/releases{/id}","created_at":"2012-01-21T17:32:47Z","updated_at":"2015-07-16T22:03:38Z","pushed_at":"2015-07-17T02:42:34Z","git_url":"git://github.com/tgstation/-tg-station.git","ssh_url":"git@github.com:tgstation/-tg-station.git","clone_url":"https://github.com/tgstation/-tg-station.git","svn_url":"https://github.com/tgstation/-tg-station","homepage":"http://www.tgstation13.org/","size":722667,"stargazers_count":232,"watchers_count":232,"language":"DM","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":789,"mirror_url":null,"open_issues_count":908,"forks":789,"open_issues":908,"watchers":232,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tgstation/-tg-station/pulls/10663"},"html":{"href":"https://github.com/tgstation/-tg-station/pull/10663"},"issue":{"href":"https://api.github.com/repos/tgstation/-tg-station/issues/10663"},"comments":{"href":"https://api.github.com/repos/tgstation/-tg-station/issues/10663/comments"},"review_comments":{"href":"https://api.github.com/repos/tgstation/-tg-station/pulls/10663/comments"},"review_comment":{"href":"https://api.github.com/repos/tgstation/-tg-station/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tgstation/-tg-station/pulls/10663/commits"},"statuses":{"href":"https://api.github.com/repos/tgstation/-tg-station/statuses/0982e235abe5325f573a9c1fff8875b11b7c1cc9"}}}}