From 5f8e4fec37efe01f6b1b327b764373a2894dcce3 Mon Sep 17 00:00:00 2001 From: Emma <35468679+emmAtk13@users.noreply.github.com> Date: Sun, 29 Mar 2020 20:41:05 -0400 Subject: [PATCH] updates logic --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 0917799..d5b2bd1 100644 --- a/index.html +++ b/index.html @@ -122,7 +122,7 @@ tw-link.visited:hover [Well let's take a look inside the...] (set: $hostchoice1 to (either: "purple bag", "orange bag")) -(if: $hostchoice1 is "purple bag" and $set is "false")[(if: $hostchoice1 is "purple bag" and $purplebag is "good potion")[(set: $hostchoice1 to "green bag")(set: $set to "true")$hostchoice1] (if: $hostchoice1 is "purple bag" and $purplebag is "bad potion")[(set: $set to "true")$hostchoice1]](if: $hostchoice1 is "orange bag" and $set is "false")[(if: $hostchoice1 is "orange bag" and $orangebag is "good potion")[(set: $hostchoice1 to "green bag")(set: $set to "true")$hostchoice1] (if: $hostchoice1 is "orange bag" and $orangebag is "bad potion")[(set: $set to "true")$hostchoice1]] +(if: $hostchoice1 is "purple bag" and $set is "false")[(if: $hostchoice1 is "purple bag" and $purplebag is "good potion")[(set: $hostchoice1 to "orange bag")(set: $set to "true")$hostchoice1] (if: $hostchoice1 is "purple bag" and $purplebag is "bad potion")[(set: $set to "true")$hostchoice1]](if: $hostchoice1 is "orange bag" and $set is "false")[(if: $hostchoice1 is "orange bag" and $orangebag is "good potion")[(set: $hostchoice1 to "purple bag")(set: $set to "true")$hostchoice1] (if: $hostchoice1 is "orange bag" and $orangebag is "bad potion")[(set: $set to "true")$hostchoice1]] (if: $hostchoice1 is "purple bag")[<img src="https://i.imgur.com/OP11vSu.png" alt="purple bag open" height="300" width="300" />](else:)[<img src="https://i.imgur.com/OLfHmc9.png" alt="orange bag open" height="300" width="300" />]