<snapdata remixID="8982688"><project name="Disease Simulation" app="Snap! 5.1, http://snap.berkeley.edu" version="1"><notes></notes><thumbnail>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAYAAAB1ovlvAAALjUlEQVR4Xu2cCXBNWRrH/y+LJAhZCMGkEVRbSqNQwlQhPU1rW4mdsg1laUvZ2lL2UqZ1N23tboJR9n3sS9lLKaYUQ9AoBEkGjUgQRBbJ1HdUXnmSGOf1ee8m/G9VKnnvfuc79/3eL+fe75z7ni07Ozsb3EjAIgI2CmgReXarCFBAimApAQpoKX52TgHpgKUEKKCl+Nk5BaQDlhKggJbiZ+cUkA5YSoACWoqfnVNAOmApAQpoKX52TgHpgKUEKKCl+Nk5BaQDlhKggJbiZ+cUkA5YSoACWoqfnVNAOmApAQpoKX52TgHpgKUEKKCl+Nk5BaQDlhKggJbiZ+cUkA5YSoACWoqfnVNAOmApAbcJuOXmC/x4LhkXEtMsfcHv67yUryci/+KHFV+GwNfTVmCP82M6MLcIGL46DvINNP/6pizqlPYpsPyS07Lw8/knmH0uGU8HVUZRL0ro6jfL5QJeSUpHg83/xYvBlV39Wozl33g9Bd+dSkJC38+M5WSivAm4XMAhxx+hcVlf9Prcv1C9B96/xCJjaHihOubCeLAuF7DuxgSs+aoMagUXyZPPhg0b0L17d/u+JUuWYPDgwXj58iVWrlyJoUOH2vft3bsXrVu3RmxsLLZt24by5cujZ8+e2tylfXj4++WigNpYnWpguYBNmzZFtWrVsGnTJhw6dAidO3eGt7c3QkNDcfPmTUyePBnDhw9HSkoKvv32W6xevRoiYpMmTbBgwQKMGjUKISEh6jl5fO7cOXTq1Aki9p07dxAUFGTfd/ToUZw9exbVq1dXEleunP9lAQV0yiftRgVGQBn5fvrpJ/z666/YuXOnGt1q166tHh8/fhwjR47E9OnT7QIePHgQDRo0QGBgINq0aYPSpUujUaNG2LFjB/r27WuPe3ffunXrMGnSJMTHx78XFgXUdsmpBgVSwJMnT6JFixZ48uQJ6tevD/kS15kzZ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DGkTKhDgEKqEOLscYJUEDjSJlQhwAF1KHFWOMEKKBxpEyoQ4AC6tBirHECFNA4UibUIUABdWgx1jgBCmgcKRPqEKCAOrQYa5wABTSOlAl1CFBAHVqMNU6AAhpHyoQ6BCigDi3GGidAAY0jZUIdAhRQhxZjjROggMaRMqEOAQqoQ4uxxglQQONImVCHAAXUocVY4wQooHGkTKhDIJeA++Neot2e+zo5GEsCH0RgV5tQtPqsqEOsg4DZAIr8EouMoeEflJBBJKBDwPuXWKQPDYftrUYOAvY59ACNQ/0wqFYJnbyMJYEPIrD08jOcup+KVV+Vscc7CCiG5ox+V69eRWpqKmw2m/rx8PD4oE4Y9GkQECc8PT3h4+OD8PA3Z8zExETljGzZ2dnKm/T0dMTExCAqKko9/7Zj8vj/ClikSBF4eXmpznKS5iDm4zeQP0UeOQOTt7c3wsLCFIL4+HhkZGTk+g+MjIxEXFycvoCvX7+Gr6+vslwk5EYCbxPIOTOGhISopxMSEtSIJ9vp06cRERGh/nZaQGlctGhRJSEFpHx5ERAJg4KCco2A0dHRGDhw4J8TUE67fn5+FJDuvZdAYGCgwwi4aNEizJkzx37adXoEzDn9ynWgyMiNBPIikCOgkWvAZ4Mqw8/LhpSUFPj7+5M4CXwwgdjYWNy+fdsh/u7du8ojqYJTM7NRYukth3lmhyp47vknuPw4HSv/9uaikhsJmCTQ7/BD1AougjF1A+xpcy3FyTzNP78MQa/POfqZhP+p51pzLQV/P/Iw1ypbnjcjiITcSMA0gbyWeP8HTQmK842wCbEAAAAASUVORK5CYII=</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+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQIC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IECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+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><sprite name="Person" idx="1" x="-172.17269969284462" y="-1.5706847251436784" heading="341" scale="1" volume="100" pan="0" rotation="1" draggable="true" costume="4" color="80,80,80,1" pen="tip" id="8"><costumes><list id="9"><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="10"/></item><item><costume name="sick" center-x="9" center-y="9" image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAkElEQVQ4T2NkwAr+M71hkPiLTUqE4QUzAwPjP3Q5RnSBNwzi/7EbjioqwvASRS8Kh1hDYEYiGwY3iFRD0A0DG0SuIciGUc8gSl0DcxXjqEEE0yj1Yo2q6YiX4brwfQaHNwTdj0WBIsMBkc8Mmm+pm0VgFpGaprBmWoSrcZdFiLyFWSZhlEfIwYDuQvQyCFktACGSOB34Az5xAAAAAElFTkSuQmCC" id="11"/></item><item><costume name="immune" center-x="10" center-y="10.5" image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAVCAYAAABG1c6oAAABYUlEQVQ4T62VK0wDQRCGv+WR1CIIKQZzcIXgSFAUAwYQlXhSEh4aHBXF4XkkbfBIBChqKKoJjkCvNCQYmlCBpAnQJXvtcdz1wtHtrdud+b/9M5mdFYStKgZfxO20fmoYVP+SiMCgxSywDqSAYV9OHTgHcpiU/PpOoMUhsBVmvB0/wmT7d64LfGaIhn1z8p8wJ61IjBRjvKkDF2hxBSx0CXPSC5gsusAyWQR7mrCWTLJPgozgiRE+qHnc6pElg8QFFXaQHOgxfCrBrqC32vl9FBTwNaDXdA3XFbAZQf0cA1LV8B1JTNeSRydoKIf3wGQkQHhQwByQjgiYV8Al4DIi4HLr6Vlca7xhv4ciJvMOcA4o9ugyicmNOxwqbCA51oIKNpngxDtt1K7MGoJ8F30pkaRJcOoY6Rywj0zRJAOshrg9o48s43bb/azgL0CF7zAYYAXBDDDaVrwgueWTC6aD/5ZvfptNn448Z3EAAAAASUVORK5CYII=" id="12"/></item><item><costume name="doctor" center-x="10" center-y="11" image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAWCAYAAADAQbwGAAABgElEQVQ4T9WVPS9DYRTHf+cyWSQGSatCL2IgYSIWCTYhwm7yEnwCBoSFT4B4WdglQmwquggTCQPqlmhvEwmJxcQ90quaVhpvvYuzPTn/83vOPznPeYRvwopTi1DqypR7s4yLr0okV9KyaQWGELpRirM0whPKNrBi+gl/rs8CqiLRBEvA8Hedp/LLQR8jIuiHPg08u6OkqJAdlJYfwt5lwuHzC1315Ty+H1MRTbCnSvuvYCmxCKGgj440MGozpzD+F1iG1fmgnwmxbCqAm3xgGbWVEokxaRjMegF0HKaSHR6AOyZeRFisOA8IJV7QUB6THaZnyAvo/wBeAjVe2AWukpbXgX6PgBsSsek1YNMLoAN97lu2bI6Apjyhx6afZhcYidFmGITyAToO7dUB9tPb5jrGqBgs/AWqDmNVARaz1pdrPc4AwuqvoMqgWcZaxtbJLrdiNCDMIPR8CVa2UKbNAKeZupx/SlJwm6Du1aFThEYFf8qOrcpJgcFuhY/zXBe+AbGdccymhqfhAAAAAElFTkSuQmCC" id="13"/></item></list></costumes><sounds><list struct="atomic" id="14"></list></sounds><blocks></blocks><variables></variables><scripts><script x="30" y="30"><block s="receiveGo"></block><block s="doWait"><l>.1</l></block><block s="doHideVar"><l>timer</l></block><block s="show"></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="30" y="287"><block s="receiveGo"></block><block s="removeClone"></block></script><script x="30" y="358"><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="reportAnd"><block s="reportEquals"><block s="getCostumeIdx"></block><l>2</l></block><block s="reportEquals"><block var="infected slowdown"/><block s="reportBoolean"><l><bool>true</bool></l></block></block></block><script><block s="forward"><block s="reportQuotient"><block var="speed"/><l>10</l></block></block><block s="bounceOffEdge"></block></script><script><block s="forward"><block s="reportQuotient"><block var="speed"/><l>5</l></block></block><block s="bounceOffEdge"></block></script></block></script></block></script><script x="30" y="610"><block s="receiveMessage"><l>start</l></block><block s="doForever"><script><custom-block s="infected probability"></custom-block><custom-block s="Healing probability"></custom-block><custom-block s="healing timer"></custom-block><custom-block s="doctor to infected"></custom-block></script></block></script></scripts></sprite><watcher scope="Person" s="xPosition" style="normal" x="10" y="10" color="74,108,212" hidden="true"/><watcher scope="Person" s="yPosition" style="normal" x="10" y="31.000001999999995" color="74,108,212" hidden="true"/><watcher var="population size" style="normal" x="10" y="52.000003999999976" color="243,118,29" hidden="true"/><watcher var="percent infected" style="normal" x="10" y="73.00000599999998" color="243,118,29" hidden="true"/><watcher var="speed" style="normal" x="10" y="94.00000799999998" color="243,118,29" hidden="true"/><watcher scope="Stage" s="reportMouseX" style="normal" x="6" y="40.00001199999997" color="4,148,220" hidden="true"/><watcher scope="Stage" s="reportMouseY" style="normal" x="8" y="63.000013999999965" color="4,148,220" hidden="true"/><watcher scope="Stage" s="getTimer" style="normal" x="2" y="5.000009999999975" color="4,148,220" hidden="true"/><watcher var="timer" style="normal" x="4" y="7.000009999999975" color="243,118,29" hidden="true"/><watcher var="infection probability" style="normal" x="5" y="32.000009999999975" color="243,118,29" hidden="true"/><watcher var="infected slowdown" style="normal" x="10" y="115.00000999999997" color="243,118,29" hidden="true"/><watcher var="Infection timer" style="normal" x="10" y="139.00001199999988" color="243,118,29" hidden="true"/><watcher var="healing probability" style="normal" x="10" y="160.00001399999988" color="243,118,29" hidden="true"/><watcher var="healing check" style="normal" x="10" y="181.00001599999996" color="243,118,29" hidden="true"/><watcher var="probability check" style="normal" x="10" y="202.00001799999995" color="243,118,29" hidden="true"/><watcher var="time check" style="normal" x="10" y="223.00001999999995" color="243,118,29" hidden="true"/><watcher var="immune check" style="normal" x="10" y="247.00002199999994" color="243,118,29" hidden="true"/><watcher var="doctor check" style="normal" x="10" y="268.00002399999977" color="243,118,29" hidden="true"/><watcher var="doctor count" style="normal" x="10" y="289.00002599999993" color="243,118,29" hidden="true"/><watcher var="percent vaccinated" style="normal" x="10" y="310.00002799999976" color="243,118,29" hidden="true"/><watcher var="initial vaccinated" style="normal" x="10" y="331.00002999999975" color="243,118,29" hidden="true"/><watcher var="vaccinated count" style="normal" x="10" y="338.99999799999983" color="243,118,29" hidden="true"/></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="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>vaccinated 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><block s="doSetVar"><l>initial vaccinated</l><block s="reportRound"><block s="reportProduct"><block s="reportQuotient"><block var="percent vaccinated"/><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="doIfElse"><block s="reportLessThan"><block var="vaccinated count"/><block var="initial vaccinated"/></block><script><block s="doSwitchToCostume"><l>immune</l></block><block s="doChangeVar"><l>vaccinated count</l><l>1</l></block></script><script><block s="doSwitchToCostume"><l>healthy</l></block></script></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="doRepeat"><block var="doctor count"/><script><block s="doIf"><block s="reportEquals"><block var="doctor check"/><block s="reportBoolean"><l><bool>true</bool></l></block></block><script><block s="doSwitchToCostume"><l>doctor</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></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><custom-block s="set population size"></custom-block><custom-block s="Set percent infected"></custom-block><custom-block s="Set percent vaccinated"></custom-block><custom-block s="Set speed"></custom-block><custom-block s="Set infection probability"></custom-block><custom-block s="Set infected slowdown"></custom-block><custom-block s="Set infection healing?"></custom-block><custom-block s="Set immunity"></custom-block><custom-block s="Set Doctors"></custom-block></script></block-definition><block-definition s="Set infection probability" type="command" category="sensing"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doSetVar"><l>infection probability</l><l>-1</l></block><block s="doUntil"><block s="reportAnd"><custom-block s="%s &lt;= %s"><l>0</l><block var="infection probability"/></custom-block><custom-block s="%s &lt;= %s"><block var="infection probability"/><l>100</l></custom-block></block><script><block s="doAsk"><l>Probability that infection will occur? (Enter a number between 1 and 100)</l></block><block s="doSetVar"><l>infection probability</l><block s="getLastAnswer"></block></block></script></block><block s="doSetVar"><l>infection probability</l><block s="reportMonadic"><l><option>floor</option></l><block var="infection probability"/></block></block></script></block-definition><block-definition s="Set infected slowdown" type="command" category="sensing"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doSetVar"><l>infected slowdown</l><l></l></block><block s="doUntil"><block s="reportEquals"><block var="infected slowdown"/><block s="reportOr"><block s="reportBoolean"><l><bool>true</bool></l></block><block s="reportBoolean"><l><bool>false</bool></l></block></block></block><script><block s="doAsk"><l>Would you like infected to slow down? (please enter "true" or "false")</l></block><block s="doIf"><block s="reportEquals"><block s="getLastAnswer"></block><l>true</l></block><script><block s="doSetVar"><l>infected slowdown</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block><block s="doIf"><block s="reportEquals"><block s="getLastAnswer"></block><l>false</l></block><script><block s="doSetVar"><l>infected slowdown</l><block s="reportBoolean"><l><bool>false</bool></l></block></block></script></block></script></block></script></block-definition><block-definition s="Set infection healing?" type="command" category="sensing"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doSetVar"><l>healing check</l><l></l></block><block s="doSetVar"><l>probability check</l><l></l></block><block s="doSetVar"><l>time check</l><l></l></block><block s="doAsk"><l>Would you like the infected patients to heal? (Answer "yes" or  "no")</l></block><block s="doIfElse"><block s="reportEquals"><block s="getLastAnswer"></block><l>yes</l></block><script><block s="doSetVar"><l>healing check</l><block s="reportBoolean"><l><bool>true</bool></l></block></block><block s="doAsk"><l>do you want them to be healed over time or by probability? (Answer "time" or "probability")</l></block><block s="doIf"><block s="reportEquals"><block s="getLastAnswer"></block><l>time</l></block><script><block s="doSetVar"><l>time check</l><block s="reportBoolean"><l><bool>true</bool></l></block></block><block s="doSetVar"><l>probability check</l><block s="reportBoolean"><l><bool>false</bool></l></block></block><block s="doAsk"><l>How long do you want it to take? (Answer a number 1 to 10)</l></block><block s="doSetVar"><l>Infection timer</l><block s="getLastAnswer"></block></block></script></block><block s="doIf"><block s="reportEquals"><block s="getLastAnswer"></block><l>probability</l></block><script><block s="doSetVar"><l>time check</l><block s="reportBoolean"><l><bool>false</bool></l></block></block><block s="doSetVar"><l>probability check</l><block s="reportBoolean"><l><bool>true</bool></l></block></block><block s="doAsk"><l>What do you want the probability to be (Answer a number 0 to 100)</l></block><block s="doSetVar"><l>healing probability</l><block s="getLastAnswer"></block></block></script></block></script><script><block s="doSetVar"><l>healing check</l><block s="reportBoolean"><l><bool>false</bool></l></block></block></script></block></script></block-definition><block-definition s="Healing probability" type="command" category="control"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doIf"><block s="reportAnd"><block s="reportAnd"><block s="reportEquals"><block s="getCostumeIdx"></block><l>2</l></block><block s="reportEquals"><block var="healing check"/><block s="reportBoolean"><l><bool>true</bool></l></block></block></block><block s="reportEquals"><block var="probability check"/><block s="reportBoolean"><l><bool>true</bool></l></block></block></block><script><block s="doIf"><block s="reportListContainsItem"><block s="reportNumbers"><l>0</l><block var="healing probability"/></block><block s="reportRandom"><l>1</l><l>100</l></block></block><script><block s="doIfElse"><block s="reportEquals"><block var="immune check"/><block s="reportBoolean"><l><bool>true</bool></l></block></block><script><block s="doSwitchToCostume"><l>immune</l></block></script><script><block s="doSwitchToCostume"><l>healthy</l></block></script></block></script></block></script></block></script></block-definition><block-definition s="healing timer" type="command" category="control"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doIf"><block s="reportAnd"><block s="reportAnd"><block s="reportEquals"><block s="getCostumeIdx"></block><l>2</l></block><block s="reportAnd"><block s="reportEquals"><block var="healing check"/><block s="reportBoolean"><l><bool>true</bool></l></block></block><block s="reportEquals"><block var="time check"/><block s="reportBoolean"><l><bool>true</bool></l></block></block></block></block><block s="reportEquals"><block s="reportModulus"><block var="timer"/><block var="Infection timer"/></block><l>0</l></block></block><script><block s="doWait"><l>2</l></block><block s="doIfElse"><block s="reportEquals"><block var="immune check"/><block s="reportBoolean"><l><bool>true</bool></l></block></block><script><block s="doSwitchToCostume"><l>immune</l></block></script><script><block s="doSwitchToCostume"><l>healthy</l></block></script></block></script></block></script></block-definition><block-definition s="infected probability" type="command" category="control"><header></header><code></code><translations></translations><inputs></inputs><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"><block s="reportListContainsItem"><block s="reportNumbers"><l>0</l><block var="infection probability"/></block><block s="reportRandom"><l>1</l><l>100</l></block></block><script><block s="doSwitchToCostume"><l>sick</l></block></script></block></script></block></script></block-definition><block-definition s="Set immunity" type="command" category="sensing"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doSetVar"><l>immune check</l><l></l></block><block s="doAsk"><l>Would you like those who heal to become immune? (Answer "yes" or "no")</l></block><block s="doIfElse"><block s="reportEquals"><block s="getLastAnswer"></block><l>yes</l></block><script><block s="doSetVar"><l>immune check</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script><script><block s="doSetVar"><l>immune check</l><block s="reportBoolean"><l><bool>false</bool></l></block></block></script></block></script></block-definition><block-definition s="Set Doctors" type="command" category="sensing"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doSetVar"><l>doctor check</l><l></l></block><block s="doSetVar"><l>doctor count</l><l>0</l></block><block s="doAsk"><l>Do you want to add doctors? (Answer "yes" or "no")</l></block><block s="doIf"><block s="reportEquals"><block s="getLastAnswer"></block><l>yes</l></block><script><block s="doSetVar"><l>doctor check</l><block s="reportBoolean"><l><bool>true</bool></l></block></block><block s="doAsk"><l>How many doctors do you want? (Answer a number 1 to 3</l></block><block s="doIf"><block s="reportOr"><block s="reportOr"><block s="reportEquals"><block s="getLastAnswer"></block><l>1</l></block><block s="reportEquals"><block s="getLastAnswer"></block><l>2</l></block></block><block s="reportEquals"><block s="getLastAnswer"></block><l>3</l></block></block><script><block s="doSetVar"><l>doctor count</l><block s="getLastAnswer"></block></block></script></block></script></block></script></block-definition><block-definition s="doctor to infected" type="command" category="control"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doIf"><block s="reportAnd"><block s="reportEquals"><block s="getCostumeIdx"></block><l>2</l></block><custom-block s="touching doctor"></custom-block></block><script><block s="doSwitchToCostume"><l>immune</l></block></script></block></script></block-definition><block-definition s="touching doctor" 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>4</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="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="Set percent vaccinated" type="command" category="sensing"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doSetVar"><l>percent vaccinated</l><l>0</l></block><block s="doUntil"><block s="reportAnd"><custom-block s="%s &lt;= %s"><l>1</l><block var="percent vaccinated"/></custom-block><custom-block s="%s &lt;= %s"><block var="percent vaccinated"/><l>100</l></custom-block></block><script><block s="doAsk"><l>Initial Percent Vaccinated (Enter a number between 1 and 100)</l></block><block s="doSetVar"><l>percent vaccinated</l><block s="getLastAnswer"></block></block></script></block><block s="doSetVar"><l>percent vaccinated</l><block s="reportMonadic"><l><option>floor</option></l><block var="percent vaccinated"/></block></block></script></block-definition></blocks><variables><variable name="population size"><l>10</l></variable><variable name="percent infected"><l>0</l></variable><variable name="speed"><l>5</l></variable><variable name="timer"><l>32.3</l></variable><variable name="infection probability"><l>10</l></variable><variable name="infected slowdown"><bool>true</bool></variable><variable name="Infection timer"><l>10</l></variable><variable name="healing probability"><l>1</l></variable><variable name="healing check"><bool>true</bool></variable><variable name="probability check"><bool>false</bool></variable><variable name="time check"><bool>true</bool></variable><variable name="immune check"><bool>true</bool></variable><variable name="doctor check"><bool>true</bool></variable><variable name="doctor count"><l>3</l></variable><variable name="percent vaccinated"><l>10</l></variable><variable name="initial vaccinated"><l>20</l></variable><variable name="vaccinated count"><l>20</l></variable></variables></project><media name="Disease Simulation" app="Snap! 5.1, http://snap.berkeley.edu" version="1"></media></snapdata>