<snapdata remixID="9027226"><project name="Disease Simulation" app="Snap! 5.1, http://snap.berkeley.edu" version="1"><notes></notes><thumbnail>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAYAAAB1ovlvAAAJ4klEQVR4Xu2dS2xU1xnH/3PnaePngMGObdlgAoojkADzSitckIhKqhayIMKilptN1RWbZJcFyiabSEiJUivqIt20SUqhpSlEEIFEqHiDiwhxQJiHjbGD7cHMeDyvO/fe6jtjjz2EeOwRzsx3+x0JmRmfc8//fP+fz+M7lsdhWZYFKRKBPEXAIQDmKfLSrYpAGsBEIoFbt26htrYWmqY99/AMDQ3B7/dj0aJFz/3Z8kC+EVAA6rqOs2fPKvgcDgdoVc72NdbfjQfH/oh4cHjG0S9cvATLf9+JiG5ieHgYdXV1qK+v5xsxUf5cI6AAvHLlCoqKitSD7927h5KSEjVbOZ3OH+2st/NNbCn5PvV9zQn3z96EFeiFo6oJ+tcfZ7QLv/4RAqVN6r3y8nIFoRSJQHoJfvjwIWiJpNLZ2angGx0dRTgcVjBu2LABFy5cUMvnmjVrsGLFCjz4sA3bFkdS/NU0w92yG1Z8HM6GdYh+0gEYiXSEg7/5AEPFjep1TU0NqqurJfoSgak9YE9PDwKBgHrj4MGDagk2DAMVFRUKmFgsBo/Hg2g0ih07dmBsbAyPPu5IA+gorYLn1bfhcHmA4krEP98HKxpKh/jxrw5g0JtadmmZlxlQ6JuMgFqCr127hidPnqSX3KqqKgXd9AxNcXGxmhGTySTowKIfehsbfIOziuTwzk70G+Wqrs/nw/r162fVTirZPwLpU/DRo0fVDFdZWakOINlKdYkbrrtnslWDo7wGIxUv4fHjx+r5u3fvztpGKvz/RCAjD0j7vosXL4JOxc8qT5+O5xKmtWvXquVXikRgegSemYju6upCQ0PDjKfgQgkj/bDcv39flvVCMWSOOn4A4KlTpxR8+SqUDvruX50Id5+GZZozynj5l+3Qml9VdSh9tH379nzJln5zjEAGgLT8lpaWZiSiKUfY0tKSNTE9U+L68uXLaoaavoT39v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uXwDk7iBz/QIgcwO5yxcAuTvIXL8AyNxA7vIFQO4OMtcvADI3kLt8AZC7g8z1C4DMDeQuXwDk7iBz/QIgcwO5yxcAuTvIXL8AyNxA7vIFQO4OMtcvADI3kLt8AZC7g8z1C4DMDeQuXwDk7iBz/QIgcwO5yxcAuTvIXL8AyNxA7vIFQO4OMtcvADI3kLt8AZC7g8z1C4DMDeQuXwDk7iBz/QIgcwO5yxcAuTvIXL8AyNxA7vIFQO4OMtcvADI3kLv8/wFNHs/kd1BCBgAAAABJRU5ErkJggg==</thumbnail><stage name="Stage" width="480" height="360" costume="0" color="255,255,255,1" tempo="60" threadsafe="false" volume="100" pan="0" lines="round" ternary="true" codify="false" inheritance="true" sublistIDs="false" scheduled="false" id="1"><pentrails>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeAAAAFoCAYAAACPNyggAAAOhUlEQVR4Xu3VwQkAAAjEMN1/abewn7jAQRC64wgQIECAAIF3gX1fNEiAAAECBAiMAHsCAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQIHLFxAWmhEwHPAAAAAElFTkSuQmCC</pentrails><costumes><list struct="atomic" id="2"></list></costumes><sounds><list struct="atomic" id="3"></list></sounds><variables></variables><blocks></blocks><scripts></scripts><sprites><watcher scope="Person" s="xPosition" style="normal" x="9.85416666666606" y="9.854166666666686" color="74,108,212" hidden="true"/><watcher scope="Person" s="yPosition" style="normal" x="9.85416666666606" y="30.547918637500004" color="74,108,212" hidden="true"/><watcher var="population size" style="normal" x="9.85416666666606" y="51.241670608333266" color="243,118,29" hidden="true"/><watcher var="percent infected" style="normal" x="9.85416666666606" y="71.93542257916661" color="243,118,29" hidden="true"/><watcher var="speed" style="normal" x="9.85416666666606" y="92.62917454999996" color="243,118,29" hidden="true"/><watcher scope="Stage" s="reportMouseX" style="normal" x="5.912500000000364" y="39.41667849166666" color="4,148,220" hidden="true"/><watcher scope="Stage" s="reportMouseY" style="normal" x="7.883333333333326" y="62.08126379583324" color="4,148,220" hidden="true"/><watcher scope="Stage" s="getTimer" style="normal" x="1.9708333333335304" y="4.9270931874999775" color="4,148,220" hidden="true"/><watcher var="timer" style="normal" x="3.941666666667061" y="6.897926520833309" color="243,118,29"/><watcher var="percent chance" style="normal" x="3.941666666667061" y="44.34375985416665" color="243,118,29" hidden="true"/><watcher var="number infected" style="normal" x="96.5708333333331" y="6.897926520833309" color="243,118,29" hidden="true"/><watcher var="infected speed" style="normal" x="9.85416666666606" y="113.32292652083328" color="243,118,29" hidden="true"/><watcher var="heal method" style="normal" x="9.85416666666606" y="134.01667849166657" color="243,118,29" hidden="true"/><watcher var="heal method chance percent" style="normal" x="9.85416666666606" y="157.66668046249995" color="243,118,29" hidden="true"/><watcher var="doctor" style="normal" x="9.85416666666606" y="178.36043243333327" color="243,118,29" hidden="true"/><watcher var="vaccinated" style="normal" x="10" y="10" color="243,118,29" hidden="true"/><sprite name="doctor" idx="2" x="83.20533067321412" y="17.41583538493677" heading="329" scale="1" volume="100" pan="0" rotation="1" draggable="true" costume="1" color="0,8.772000000000007,219.29999999999998,1" pen="tip" id="24"><costumes><list id="25"><item><costume name="doc 1" center-x="22.5" center-y="22.5" image="data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjAiIGlkPSJMYXllcl8xIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjQ1cHgiIGhlaWdodD0iNDVweCIg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IyMi41IiBjeT0iMjIuNSIgcj0iMjIuNSIvPgogIDwvZz4KPC9zdmc+" id="28"/></item></list></costumes><sounds><list struct="atomic" id="29"></list></sounds><blocks></blocks><variables></variables><scripts><script x="22" y="103.99999999999989"><block s="receiveGo"></block><block s="hide"></block></script><script x="349.00000099999966" y="533.8333343333293"><block s="show"></block></script><script x="10" y="10"><block s="receiveMessage"><l>start</l></block><custom-block s="set doctor"></custom-block></script><script x="256.9999999999997" y="41.999999999999716"><block s="receiveOnClone"></block><block s="setHeading"><block s="reportRandom"><l>0</l><l>360</l></block></block><block s="doForever"><script><block s="forward"><block s="reportQuotient"><block var="speed"/><l>5</l></block></block><block s="bounceOffEdge"></block></script></block></script><script x="39" y="189.0000000000024"><block s="receiveMessage"><l>start</l></block><block s="setHeading"><block s="reportRandom"><l>0</l><l>360</l></block></block><block s="doForever"><script><block s="forward"><block s="reportQuotient"><block var="speed"/><l>5</l></block></block><block s="bounceOffEdge"></block></script></block></script></scripts></sprite><watcher var="clones vaccinated" style="normal" x="10" y="31.000001999999995" color="243,118,29"/><sprite name="Person" idx="1" x="-212.8449596279503" y="121.4233323363576" heading="147" scale="1" volume="100" pan="0" rotation="1" draggable="true" hidden="true" costume="1" color="80,80,80,1" pen="tip" id="71"><costumes><list id="72"><item><costume name="healthy" center-x="8" center-y="9" image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAASCAYAAABSO15qAAABGUlEQVQ4T+2UIU/DUBCAv1ugXUJQEIIgQWFY+w9ICAbUsKhhh0JNYFAIECgUs0xhccwMEn7BWkCgSBDLgiWhD7IjLVt5zYDQap57d/d9ebm8O2HsaMnhdkvQFWBxmH5U5MZQOQcZ2IjYF5dgF9gHZsfFSeQZOIjwT0b5VOAQnAnUfgAzYYWWwd+Og4nAJTgF6n+BrZpmhL8jLmEV9CInPCyXTXEJroDVYgKuY4EWhBPsX/DZAwNMFmzkm5TpHiqyV0Qg6JFMcz9jeL8D5nJK+g4Ty6OvvA5c5hRsRPjtdJjKhGsKTdCl30XyIFB/xeukw/QFJLugIQxqIF5WpKFSahkqx/ZOyOwDG5ginDfoQhxzkKcXvN53L/sABJxNPpw+6pgAAAAASUVORK5CYII=" id="73"/></item><item><costume name="sick" center-x="9" center-y="9" image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAkElEQVQ4T2NkwAr+M71hkPiLTUqE4QUzAwPjP3Q5RnSBNwzi/7EbjioqwvASRS8Kh1hDYEYiGwY3iFRD0A0DG0SuIciGUc8gSl0DcxXjqEEE0yj1Yo2q6YiX4brwfQaHNwTdj0WBIsMBkc8Mmm+pm0VgFpGaprBmWoSrcZdFiLyFWSZhlEfIwYDuQvQyCFktACGSOB34Az5xAAAAAElFTkSuQmCC" id="74"/></item><item><costume name="immune" center-x="9" center-y="9" image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAkElEQVQ4T2NkwAr+M71hkPiLTUqE4QUzAwPjP3Q5RnSBNwzi/7EbjioqwvASRS8Kh1hDYEYiGwY3iFRD0A0DG0SuIciGUc8gSl0DcxXjqEEE0yj1Yo2q6YiX4brwfQaHNwTdj0WBIsMBkc8Mmm+pm0VgFpGaprBmWoSrcZdFiLyFWSZhlEfIwYDuQvQyCFktACGSOB34Az5xAAAAAElFTkSuQmCC" id="75"/></item><item><costume name="vaccinated" center-x="8" center-y="9" image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAASCAYAAABSO15qAAABGUlEQVQ4T+2UIU/DUBCAv1ugXUJQEIIgQWFY+w9ICAbUsKhhh0JNYFAIECgUs0xhccwMEn7BWkCgSBDLgiWhD7IjLVt5zYDQap57d/d9ebm8O2HsaMnhdkvQFWBxmH5U5MZQOQcZ2IjYF5dgF9gHZsfFSeQZOIjwT0b5VOAQnAnUfgAzYYWWwd+Og4nAJTgF6n+BrZpmhL8jLmEV9CInPCyXTXEJroDVYgKuY4EWhBPsX/DZAwNMFmzkm5TpHiqyV0Qg6JFMcz9jeL8D5nJK+g4Ty6OvvA5c5hRsRPjtdJjKhGsKTdCl30XyIFB/xeukw/QFJLugIQxqIF5WpKFSahkqx/ZOyOwDG5ginDfoQhxzkKcXvN53L/sABJxNPpw+6pgAAAAASUVORK5CYII=" id="76"/></item></list></costumes><sounds><list struct="atomic" id="77"></list></sounds><blocks></blocks><variables></variables><scripts><script x="35" y="30"><block s="receiveGo"></block><block s="doWait"><l>.1</l></block><block s="setEffect"><l><option>color</option></l><l>0</l></block><block s="doHideVar"><l>timer</l></block><block s="show"></block><block s="doSetVar"><l>clones vaccinated</l><l>0</l></block><custom-block s="set variables for simulation"></custom-block><custom-block s="initialize sim"></custom-block><block s="doBroadcast"><l>start</l></block><block s="doShowVar"><l>timer</l></block><block s="doForever"><script><custom-block s="update timer"></custom-block><custom-block s="Stop everything if everyone is infected"></custom-block></script></block></script><script x="424.03546099290725" y="15.46099290780171"><block s="receiveGo"></block><block s="removeClone"></block></script><script x="157" y="39.799999999999955"><custom-block s="set doctor"></custom-block></script><script x="367.0780141843966" y="75.96453900709298"><block s="receiveMessage"><l>start</l></block><block s="setHeading"><block s="reportRandom"><l>0</l><l>360</l></block></block><block s="doForever"><script><block s="doIfElse"><block s="reportEquals"><block s="getCostumeIdx"></block><l>1</l></block><script><block s="forward"><block s="reportProduct"><l>2</l><block s="reportQuotient"><block var="speed"/><l>5</l></block></block></block><block s="bounceOffEdge"></block></script><script><block s="forward"><block s="reportProduct"><l>2</l><block s="reportQuotient"><block var="infected speed"/><l>5</l></block></block></block><block s="bounceOffEdge"></block></script></block></script></block></script><script x="31.51063929787233" y="333.6205683758891"><block s="receiveMessage"><l>start</l></block><block s="doUntil"><block s="reportEquals"><block var="clones vaccinated"/><block var="vaccinated"/></block><script><block s="doIf"><block s="reportEquals"><block s="getCostumeIdx"></block><l>1</l></block><script><block s="doSwitchToCostume"><l>vaccinated</l></block><block s="changeEffect"><l><option>color</option></l><l>150</l></block><block s="doChangeVar"><l>clones vaccinated</l><l>1</l></block></script></block></script></block><block s="doForever"><script><block s="doIf"><block s="reportAnd"><block s="reportEquals"><block s="getCostumeIdx"></block><l>1</l></block><custom-block s="touching infected?"></custom-block></block><script><block s="doIf"><custom-block s="%s &lt;= %s"><block s="reportRandom"><l>1</l><l>100</l></block><block var="percent chance"/></custom-block><script><block s="doSwitchToCostume"><l>sick</l></block><custom-block s="for %upvar = %n to %n %cs"><l>i</l><l>1</l><block var="population size"/><script><block s="doIf"><block s="reportEquals"><block var="heal method"/><block s="reportBoolean"><l><bool>true</bool></l></block></block><script><block s="doIf"><custom-block s="%s &lt;= %s"><block s="reportRandom"><l>1</l><l>100</l></block><l>50</l></custom-block><script><block s="doIf"><block s="reportAnd"><block s="reportEquals"><block s="getCostumeIdx"></block><l>2</l></block><block s="reportEquals"><block var="heal method"/><block s="reportBoolean"><l><bool>true</bool></l></block></block></block><script><block s="doSwitchToCostume"><l>healthy</l></block><custom-block s="set immune"></custom-block></script></block></script></block></script></block></script></custom-block></script></block><block s="doFor"><l>i</l><l>1</l><block var="number infected"/><script><block s="doIf"><block s="reportAnd"><block s="reportEquals"><block s="getCostumeIdx"></block><l>2</l></block><block s="reportEquals"><block var="heal method"/><block s="reportBoolean"><l><bool>false</bool></l></block></block></block><script><block s="doIf"><block s="reportEquals"><block s="reportModulus"><block s="getTimer"></block><l>3</l></block><l>0</l></block><script><block s="doSwitchToCostume"><l>healthy</l></block><custom-block s="set immune"></custom-block></script></block></script></block></script></block><block s="doIf"><block s="reportAnd"><block s="reportEquals"><block s="getCostumeIdx"></block><l>2</l></block><custom-block s="touching infected?"></custom-block></block><script><block s="doSwitchToCostume"><l>healthy</l></block><custom-block s="set immune"></custom-block></script></block></script></block></script></block></script><script x="30" y="1115.620568375889"><block s="receiveMessage"><l>start</l></block><block s="doForever"><script><block s="doIf"><block s="reportAnd"><block s="reportEquals"><block s="getCostumeIdx"></block><l>2</l></block><block s="reportTouchingObject"><l>doctor</l></block></block><script><block s="doSwitchToCostume"><l>healthy</l></block><custom-block s="set immune"></custom-block></script></block></script></block></script></scripts></sprite></sprites></stage><hidden></hidden><headers></headers><code></code><blocks><block-definition s="label %&apos;text&apos; of size %&apos;size&apos;" type="command" category="pen"><comment x="0" y="0" w="90" collapsed="false">LABEL will stamp text on the stage at the given font size. The direction of the text is the direction the sprite is facing, and color will match the pen color.</comment><header></header><code></code><translations></translations><inputs><input type="%txt">Hello!</input><input type="%n">12</input></inputs><script><block s="doRun"><block s="reportJSFunction"><list><l>text</l><l>size</l></list><l>var stage = this.parentThatIsA(StageMorph),&#xD;    context = stage.penTrails().getContext(&apos;2d&apos;),&#xD;    rotation = radians(this.direction() - 90),&#xD;    trans = new Point(&#xD;      this.center().x - stage.left(),&#xD;      this.center().y - stage.top()&#xD;    ),&#xD;    isWarped = this.Warped,&#xD;    len,&#xD;    pos;&#xD;&#xD;if (isWarped) {endWarp(); }&#xD;context.save();&#xD;context.font = size + &apos;px monospace&apos;;&#xD;context.textAlign = &apos;left&apos;;&#xD;context.textBaseline = &apos;alphabetic&apos;;&#xD;context.fillStyle = this.color.toString();&#xD;len = context.measureText(text).width;&#xD;trans = trans.multiplyBy(1 / stage.scale);&#xD;context.translate(trans.x, trans.y);&#xD;context.rotate(rotation);&#xD;context.fillText(text, 0, 0);&#xD;context.translate(-trans.x, -trans.y);&#xD;context.restore();&#xD;pos = new Point(&#xD;  len * Math.sin(radians(this.direction())),&#xD;  len * Math.cos(radians(this.direction())));&#xD;pos = pos.add(new Point(this.xPosition(), this.yPosition()));&#xD;this.gotoXY(pos.x, pos.y, false);&#xD;this.changed();&#xD;if (isWarped) {this.startWarp(); }&#xD;stage.changed();</l></block><list><block var="text"/><block var="size"/></list></block></script></block-definition><block-definition s="empty? %&apos;data&apos;" type="predicate" category="lists"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doReport"><block s="reportEquals"><block var="data"/><block s="reportNewList"><list></list></block></block></block></script></block-definition><block-definition s="keep items such that %&apos;pred&apos; from %&apos;data&apos;" type="reporter" category="lists"><header></header><code></code><translations></translations><inputs><input type="%predRing"></input><input type="%l"></input></inputs><script><block s="doWarp"><script><block s="doIf"><custom-block s="empty? %l"><block var="data"/></custom-block><script><block s="doReport"><block s="reportNewList"><list></list></block></block></script></block><block s="doIfElse"><block s="evaluate"><block var="pred"/><list><block s="reportListItem"><l>1</l><block var="data"/></block></list></block><script><block s="doReport"><block s="reportCONS"><block s="reportListItem"><l>1</l><block var="data"/></block><custom-block s="keep items such that %predRing from %l"><block var="pred"/><block s="reportCDR"><block var="data"/></block></custom-block></block></block></script><script><block s="doReport"><custom-block s="keep items such that %predRing from %l"><block var="pred"/><block s="reportCDR"><block var="data"/></block></custom-block></block></script></block></script></block></script></block-definition><block-definition s="combine with %&apos;function&apos; items of %&apos;data&apos;" type="reporter" category="lists"><header></header><code></code><translations></translations><inputs><input type="%repRing"></input><input type="%l"></input></inputs><script><block s="doWarp"><script><block s="doIf"><custom-block s="empty? %l"><block s="reportCDR"><block var="data"/></block></custom-block><script><block s="doReport"><block s="reportListItem"><l>1</l><block var="data"/></block></block></script></block><block s="doReport"><block s="evaluate"><block var="function"/><list><block s="reportListItem"><l>1</l><block var="data"/></block><custom-block s="combine with %repRing items of %l"><block var="function"/><block s="reportCDR"><block var="data"/></block></custom-block></list></block></block></script></block></script></block-definition><block-definition s="if %&apos;test&apos; then %&apos;true&apos; else %&apos;false&apos;" type="reporter" category="control"><header></header><code></code><translations></translations><inputs><input type="%b"></input><input type="%anyUE"></input><input type="%anyUE"></input></inputs><script><block s="doIfElse"><block var="test"/><script><block s="doReport"><block s="evaluate"><block var="true"/><list></list></block></block></script><script><block s="doReport"><block s="evaluate"><block var="false"/><list></list></block></block></script></block></script></block-definition><block-definition s="for %&apos;i&apos; = %&apos;start&apos; to %&apos;end&apos; %&apos;action&apos;" type="command" category="control"><header></header><code></code><translations></translations><inputs><input type="%upvar"></input><input type="%n">1</input><input type="%n">10</input><input type="%cs"></input></inputs><script><block s="doDeclareVariables"><list><l>step</l><l>tester</l></list></block><block s="doIfElse"><block s="reportGreaterThan"><block var="start"/><block var="end"/></block><script><block s="doSetVar"><l>step</l><l>-1</l></block><block s="doSetVar"><l>tester</l><block s="reifyReporter"><autolambda><block s="reportLessThan"><block var="i"/><block var="end"/></block></autolambda><list></list></block></block></script><script><block s="doSetVar"><l>step</l><l>1</l></block><block s="doSetVar"><l>tester</l><block s="reifyReporter"><autolambda><block s="reportGreaterThan"><block var="i"/><block var="end"/></block></autolambda><list></list></block></block></script></block><block s="doSetVar"><l>i</l><block var="start"/></block><block s="doUntil"><block s="evaluate"><block var="tester"/><list></list></block><script><block s="doRun"><block var="action"/><list></list></block><block s="doChangeVar"><l>i</l><block var="step"/></block></script></block></script></block-definition><block-definition s="join words %&apos;words&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%mult%txt"></input></inputs><script><block s="doWarp"><script><block s="doIf"><custom-block s="empty? %l"><block s="reportCDR"><block var="words"/></block></custom-block><script><block s="doReport"><block s="reportListItem"><l>1</l><block var="words"/></block></block></script></block><block s="doIf"><block s="reportEquals"><l></l><block s="reportListItem"><l>1</l><block var="words"/></block></block><script><block s="doReport"><custom-block s="join words %mult%txt"><block s="reportCDR"><block var="words"/></block></custom-block></block></script></block><block s="doIf"><block s="reportEquals"><l></l><block s="reportListItem"><l>2</l><block var="words"/></block></block><script><block s="doReport"><custom-block s="join words %mult%txt"><block s="reportCONS"><block s="reportListItem"><l>1</l><block var="words"/></block><block s="reportCDR"><block s="reportCDR"><block var="words"/></block></block></block></custom-block></block></script></block><block s="doReport"><block s="reportJoinWords"><list><block s="reportListItem"><l>1</l><block var="words"/></block><l> </l><custom-block s="join words %mult%txt"><block s="reportCDR"><block var="words"/></block></custom-block></list></block></block></script></block></script><scripts><script x="229.000003" y="196.77778077777774"><block s="reportJoinWords"><list><l></l><l></l></list></block></script></scripts></block-definition><block-definition s="list $arrowRight sentence %&apos;data&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doWarp"><script><block s="doReport"><custom-block s="join words %mult%txt"><block var="data"/></custom-block></block></script></block></script></block-definition><block-definition s="sentence $arrowRight list %&apos;text&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%txt"></input></inputs><script><block s="doWarp"><script><block s="doReport"><block s="reportTextSplit"><block var="text"/><l><option>whitespace</option></l></block></block></script></block></script></block-definition><block-definition s="catch %&apos;tag&apos; %&apos;action&apos;" type="command" category="control"><header></header><code></code><translations></translations><inputs><input type="%upvar"></input><input type="%cs"></input></inputs><script><block s="doCallCC"><block s="reifyScript"><script><block s="doSetVar"><l>tag</l><block var="cont"/></block><block s="doRun"><block var="action"/><list></list></block></script><list><l>cont</l></list></block></block><custom-block s="ignore %s"><l>3</l></custom-block></script></block-definition><block-definition s="throw %&apos;cont&apos;" type="command" category="control"><header></header><code></code><translations></translations><inputs><input type="%s">catchtag</input></inputs><script><block s="doRun"><block var="cont"/><list></list></block></script></block-definition><block-definition s="catch %&apos;tag&apos; %&apos;value&apos;" type="reporter" category="control"><header></header><code></code><translations></translations><inputs><input type="%upvar"></input><input type="%anyUE"></input></inputs><script><block s="doCallCC"><block s="reifyScript"><script><block s="doSetVar"><l>tag</l><block var="cont"/></block><block s="doReport"><block s="evaluate"><block var="value"/><list></list></block></block></script><list><l>cont</l></list></block></block></script></block-definition><block-definition s="throw %&apos;tag&apos; %&apos;value&apos;" type="command" category="control"><header></header><code></code><translations></translations><inputs><input type="%s">catchtag</input><input type="%s"></input></inputs><script><block s="doRun"><block var="tag"/><list><block var="value"/></list></block></script></block-definition><block-definition s="for each %&apos;item&apos; of %&apos;data&apos; %&apos;action&apos;" type="command" category="lists"><header></header><code></code><translations></translations><inputs><input type="%upvar"></input><input type="%l"></input><input type="%cs"></input></inputs><script><block s="doUntil"><custom-block s="empty? %l"><block var="data"/></custom-block><script><block s="doSetVar"><l>item</l><block s="reportListItem"><l>1</l><block var="data"/></block></block><block s="doRun"><block var="action"/><list><block s="reportListItem"><l>1</l><block var="data"/></block></list></block><block s="doSetVar"><l>data</l><block s="reportCDR"><block var="data"/></block></block></script></block></script></block-definition><block-definition s="if %&apos;test&apos; do %&apos;action&apos; and pause all $pause-1-255-220-0" type="command" category="control"><header></header><code></code><translations></translations><inputs><input type="%boolUE"></input><input type="%cs"></input></inputs><script><block s="doDeclareVariables"><list><l>breakpoint</l></list></block><block s="doIf"><block s="evaluate"><block var="test"/><list></list></block><script><block s="doSetVar"><l>breakpoint</l><block var="test"/></block><block s="doShowVar"><l>breakpoint</l></block><block s="doRun"><block var="action"/><list></list></block><block s="doPauseAll"></block><block s="doHideVar"><l></l></block></script></block></script></block-definition><block-definition s="word $arrowRight list %&apos;word&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%txt"></input></inputs><script><block s="doWarp"><script><block s="doReport"><block s="reportTextSplit"><block var="word"/><l><option>letter</option></l></block></block></script></block></script></block-definition><block-definition s="ignore %&apos;x&apos;" type="command" category="control"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs></block-definition><block-definition s="list $arrowRight word %&apos;list&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doWarp"><script><block s="doReport"><block s="reportJoinWords"><block var="list"/></block></block></script></block></script></block-definition><block-definition s="%&apos;x&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doReport"><block var="x"/></block></script></block-definition><block-definition s="numbers from %&apos;from&apos; to %&apos;to&apos;" type="reporter" category="lists"><header></header><code></code><translations></translations><inputs><input type="%n">1</input><input type="%n">10</input></inputs><script><block s="doIf"><block s="reportGreaterThan"><block var="from"/><block var="to"/></block><script><block s="doReport"><block s="reportNewList"><list></list></block></block></script></block><block s="doReport"><block s="reportCONS"><block var="from"/><custom-block s="numbers from %n to %n"><block s="reportSum"><block var="from"/><l>1</l></block><block var="to"/></custom-block></block></block></script></block-definition><block-definition s="map %&apos;func&apos; over %&apos;data&apos;" type="reporter" category="lists"><header></header><code></code><translations></translations><inputs><input type="%repRing"></input><input type="%l"></input></inputs><script><block s="doIf"><custom-block s="empty? %l"><block var="data"/></custom-block><script><block s="doReport"><block var="data"/></block></script></block><block s="doReport"><block s="reportCONS"><block s="evaluate"><block var="func"/><list><block s="reportListItem"><l>1</l><block var="data"/></block></list></block><custom-block s="map %repRing over %l"><block var="func"/><block s="reportCDR"><block var="data"/></block></custom-block></block></block></script></block-definition><block-definition s="random x position" type="reporter" category="motion"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doReport"><block s="reportRandom"><l>-230</l><l>230</l></block></block></script></block-definition><block-definition s="random y position" type="reporter" category="motion"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doReport"><block s="reportRandom"><l>-170</l><l>170</l></block></block></script></block-definition><block-definition s="touching infected?" type="predicate" category="sensing"><header></header><code></code><translations></translations><inputs></inputs><script><custom-block s="for each %upvar of %l %cs"><l>item</l><block s="reportGet"><l><option>neighbors</option></l></block><script><block s="doIf"><block s="reportAnd"><block s="reportEquals"><block s="reportAttributeOf"><l><option>costume #</option></l><block var="item"/></block><l>2</l></block><block s="reportLessThan"><block s="reportRelationTo"><l><option>distance</option></l><block var="item"/></block><l>15</l></block></block><script><block s="doChangeVar"><l>number infected</l><l>1</l></block><block s="doReport"><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block></script></custom-block><block s="doReport"><block s="reportBoolean"><l><bool>false</bool></l></block></block></script></block-definition><block-definition s="update timer" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doSetVar"><l>timer</l><block s="getTimer"></block></block></script></block-definition><block-definition s="set population size" type="command" category="sensing"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doSetVar"><l>population size</l><l>0</l></block><block s="doUntil"><block s="reportAnd"><custom-block s="%s &lt;= %s"><l>1</l><block var="population size"/></custom-block><custom-block s="%s &lt;= %s"><block var="population size"/><l>200</l></custom-block></block><script><block s="doAsk"><l>Population Size? (Enter a number between 1 and 200)</l></block><block s="doSetVar"><l>population size</l><block s="getLastAnswer"></block></block></script></block><block s="doSetVar"><l>population size</l><block s="reportMonadic"><l><option>floor</option></l><block var="population size"/></block></block></script></block-definition><block-definition s="%&apos;a&apos; &lt;= %&apos;b&apos;" type="predicate" category="operators"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input></inputs><script><block s="doReport"><block s="reportOr"><block s="reportLessThan"><block var="a"/><block var="b"/></block><block s="reportEquals"><block var="a"/><block var="b"/></block></block></block></script></block-definition><block-definition s="Set percent infected" type="command" category="sensing"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doSetVar"><l>percent infected</l><l>0</l></block><block s="doUntil"><block s="reportAnd"><custom-block s="%s &lt;= %s"><l>1</l><block var="percent infected"/></custom-block><custom-block s="%s &lt;= %s"><block var="percent infected"/><l>100</l></custom-block></block><script><block s="doAsk"><l>Initial Percent Infected (Enter a number between 1 and 100)</l></block><block s="doSetVar"><l>percent infected</l><block s="getLastAnswer"></block></block></script></block><block s="doSetVar"><l>percent infected</l><block s="reportMonadic"><l><option>floor</option></l><block var="percent infected"/></block></block></script></block-definition><block-definition s="Set speed" type="command" category="sensing"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doSetVar"><l>speed</l><l>0</l></block><block s="doUntil"><block s="reportAnd"><custom-block s="%s &lt;= %s"><l>1</l><block var="speed"/></custom-block><custom-block s="%s &lt;= %s"><block var="speed"/><l>10</l></custom-block></block><script><block s="doAsk"><l>Speed that people will move around? (Enter a number between 1 and 10)</l></block><block s="doSetVar"><l>speed</l><block s="getLastAnswer"></block></block></script></block><block s="doSetVar"><l>speed</l><block s="reportMonadic"><l><option>floor</option></l><block var="speed"/></block></block></script></block-definition><block-definition s="initialize sim" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doDeclareVariables"><list><l>initial infected</l><l>infected count</l></list></block><block s="doSetVar"><l>infected count</l><l>0</l></block><block s="doSetVar"><l>initial infected</l><block s="reportRound"><block s="reportProduct"><block s="reportQuotient"><block var="percent infected"/><l>100</l></block><block var="population size"/></block></block></block><custom-block s="for %upvar = %n to %n %cs"><l>i</l><l>1</l><block var="population size"/><script><block s="doIfElse"><block s="reportLessThan"><block var="infected count"/><block var="initial infected"/></block><script><block s="doSwitchToCostume"><l>sick</l></block><block s="doChangeVar"><l>infected count</l><l>1</l></block></script><script><block s="doSwitchToCostume"><l>healthy</l></block></script></block><block s="gotoXY"><custom-block s="random x position"></custom-block><custom-block s="random y position"></custom-block></block><block s="createClone"><l><option>myself</option></l></block></script></custom-block><block s="hide"></block><block s="doResetTimer"></block></script></block-definition><block-definition s="Stop everything if everyone is infected" type="command" category="other"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doIf"><block s="reportNot"><block s="reportListContainsItem"><custom-block s="map %repRing over %l"><block s="reifyReporter"><autolambda><block s="reportAttributeOf"><l><option>costume #</option></l><l></l></block></autolambda><list></list></block><block s="reportGet"><l><option>clones</option></l></block></custom-block><l>1</l></block></block><script><block s="doPauseAll"></block></script></block></script></block-definition><block-definition s="set variables for simulation" type="command" category="sensing"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doSetVar"><l>percent infected</l><l>0</l></block><custom-block s="set population size"></custom-block><custom-block s="Set percent infected"></custom-block><custom-block s="Set speed"></custom-block><custom-block s="set percent chance"></custom-block><custom-block s="set infected peoples speed"></custom-block><custom-block s="set heal method"></custom-block><custom-block s="set vaccinated"></custom-block></script></block-definition><block-definition s="set percent chance" type="command" category="sensing"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doSetVar"><l>percent chance</l><l>0</l></block><block s="doUntil"><block s="reportAnd"><custom-block s="%s &lt;= %s"><l>1</l><block var="percent chance"/></custom-block><custom-block s="%s &lt;= %s"><block var="percent chance"/><l>100</l></custom-block></block><script><block s="doAsk"><l>What is the probability of being infected? (0 to 100)</l></block><block s="doSetVar"><l>percent chance</l><block s="getLastAnswer"></block></block></script></block><block s="doSetVar"><l>percent chance</l><block s="reportMonadic"><l><option>floor</option></l><block var="percent chance"/></block></block></script></block-definition><block-definition s="set infected peoples speed" type="command" category="sensing"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doSetVar"><l>infected speed</l><block s="reportBoolean"><l><bool>false</bool></l></block></block><block s="doAsk"><l>Do you want to slow the speed of the infected poeple? (Type yes or no)</l></block><block s="doIfElse"><block s="reportEquals"><block s="getLastAnswer"></block><l>yes</l></block><script><block s="doSetVar"><l>infected speed</l><block s="reportDifference"><block var="speed"/><l>0.9</l></block></block><block s="doReport"><block s="reportBoolean"><l><bool>true</bool></l></block></block></script><script><block s="doSetVar"><l>infected speed</l><block var="speed"/></block><block s="doReport"><block s="reportBoolean"><l><bool>false</bool></l></block></block></script></block></script></block-definition><block-definition s="set heal method" type="command" category="sensing"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doSetVar"><l>heal method</l><l></l></block><block s="doAsk"><l>Would you like to heal by chance or by time? Type &apos;chance&apos; or &apos;time&apos;</l></block><block s="doIfElse"><block s="reportEquals"><block s="getLastAnswer"></block><l>chance</l></block><script><block s="doSetVar"><l>heal method</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script><script><block s="doSetVar"><l>heal method</l><block s="reportBoolean"><l><bool>false</bool></l></block></block></script></block><block s="doStopThis"><l><option>this block</option></l></block></script></block-definition><block-definition s="set doctor" type="command" category="sensing"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doSetVar"><l>doctor</l><l></l></block><block s="doAsk"><l>how many doctors do you want? (0-3)</l></block><block s="doIfElse"><block s="reportEquals"><block s="getLastAnswer"></block><l>0</l></block><script><block s="hide"></block></script><script><block s="show"></block><block s="doRepeat"><block s="reportDifference"><block s="getLastAnswer"></block><l>1</l></block><script><block s="createClone"><l>doctor</l></block></script></block></script></block></script></block-definition><block-definition s="set immune" type="command" category="sensing"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doSwitchToCostume"><l>immune</l></block><block s="changeEffect"><l><option>color</option></l><l>170</l></block></script></block-definition><block-definition s="set vaccinated" type="command" category="sensing"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doAsk"><l>What percent do you want to be vaccinated (0-100)?</l></block><block s="doSetVar"><l>vaccinated</l><block s="reportProduct"><block s="reportQuotient"><block s="getLastAnswer"></block><l>100</l></block><block var="population size"/></block></block></script></block-definition></blocks><variables><variable name="population size"><l>50</l></variable><variable name="percent infected"><l>40</l></variable><variable name="speed"><l>10</l></variable><variable name="timer"><l>58</l></variable><variable name="percent chance"><l>30</l></variable><variable name="number infected"><l>1553</l></variable><variable name="infected speed"><l>10</l></variable><variable name="heal method"><bool>false</bool></variable><variable name="heal method chance percent"><l>0</l></variable><variable name="doctor"><l></l></variable><variable name="vaccinated"><l>20</l></variable><variable name="clones vaccinated"><l>20</l></variable></variables></project><media name="Disease Simulation" app="Snap! 5.1, http://snap.berkeley.edu" version="1"></media></snapdata>