{"id":4317,"date":"2024-12-13T14:09:33","date_gmt":"2024-12-13T14:09:33","guid":{"rendered":"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2024\/?p=4317"},"modified":"2024-12-13T14:09:33","modified_gmt":"2024-12-13T14:09:33","slug":"twine-if-else-and-variable","status":"publish","type":"post","link":"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2024\/2024\/12\/13\/twine-if-else-and-variable\/","title":{"rendered":"Twine If Else and Variable"},"content":{"rendered":"\n<p>For my variable I made it so that if the player manages to find the picture, it&#8217;ll set their value to &#8220;PICTURE TRUE&#8221; and set a mail icon at the bottom of the page.<\/p>\n\n\n\n<p>When the player clicks it, it&#8217;ll bring them to a hidden page with a message on it.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"563\" height=\"222\" src=\"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2024\/wp-content\/uploads\/sites\/3896\/2024\/12\/variable-2.png\" alt=\"\" class=\"wp-image-4319\" srcset=\"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2024\/wp-content\/uploads\/sites\/3896\/2024\/12\/variable-2.png 563w, https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2024\/wp-content\/uploads\/sites\/3896\/2024\/12\/variable-2-300x118.png 300w\" sizes=\"auto, (max-width: 563px) 100vw, 563px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"705\" height=\"477\" src=\"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2024\/wp-content\/uploads\/sites\/3896\/2024\/12\/variable-1.png\" alt=\"\" class=\"wp-image-4318\" srcset=\"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2024\/wp-content\/uploads\/sites\/3896\/2024\/12\/variable-1.png 705w, https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2024\/wp-content\/uploads\/sites\/3896\/2024\/12\/variable-1-300x203.png 300w\" sizes=\"auto, (max-width: 705px) 100vw, 705px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>For my variable I made it so that if the player manages to find the picture, it&#8217;ll set their value to &#8220;PICTURE TRUE&#8221; and set a mail icon at the bottom of the page. When the player clicks it, it&#8217;ll bring them to a hidden page with a message on it.<\/p>\n","protected":false},"author":8363,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"portfolio_post_id":0,"portfolio_citation":"","portfolio_annotation":"","openlab_post_visibility":"","footnotes":""},"categories":[34],"tags":[],"class_list":["post-4317","post","type-post","status-publish","format-standard","hentry","category-twine","entry"],"_links":{"self":[{"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2024\/wp-json\/wp\/v2\/posts\/4317","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2024\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2024\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2024\/wp-json\/wp\/v2\/users\/8363"}],"replies":[{"embeddable":true,"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2024\/wp-json\/wp\/v2\/comments?post=4317"}],"version-history":[{"count":1,"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2024\/wp-json\/wp\/v2\/posts\/4317\/revisions"}],"predecessor-version":[{"id":4320,"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2024\/wp-json\/wp\/v2\/posts\/4317\/revisions\/4320"}],"wp:attachment":[{"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2024\/wp-json\/wp\/v2\/media?parent=4317"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2024\/wp-json\/wp\/v2\/categories?post=4317"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2024\/wp-json\/wp\/v2\/tags?post=4317"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}