<snapdata remixID="9030467"><project name="Disease Simulation" app="Snap! 5.1, http://snap.berkeley.edu" version="1"><notes></notes><thumbnail>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAYAAAB1ovlvAAALpklEQVR4Xu2dCWxPWx7Hv6Wt7lSLiY6+Co9Qu1qG0RbP2sVWg2FsI5jYxRJLiCUzEaSxvUFEJ4JBEDtl7EoySG2xDap9Wm2V0r5WtaWT33lp03pd7v//v7f3n+d7Eqn8/+f+zv//uZ+ce37nnP+9DkVFRUVgIQGTCDhQQJPIs1lFgAJSBFMJUEBT8bNxCkgHTCVAAU3Fz8YpIB0wlQAFNBU/G6eAdMBUAhTQVPxsnALSAVMJUEBT8bNxCkgHTCVAAU3Fz8YpIB0wlQAFNBU/G6eAdMBUAhTQVPxsnALSAVMJUEBT8bNxCkgHTCVAAU3Fz8YpIB0wlQAFNBU/G6eAdMBUAhTQVPxsnALSAVMJUEBT8bNxCqiTA3OuZmDzvQ86RTMuTK/fu2JxkDdC/FyNa8SCyBTQAlgVVf3hSAoautdEzA8NUNNBh4AGhtj39Gf85Vwa/jO4oV1ISAFtPNkb7r7H6cRcnIlsaGOk6jtcJIx5lIXYQeZ/Zgpo43lf+d93KsKyznVtjFS9hztteY6CaU2qt9FyWqOANp6CqgRs2rQpnj9/jgULFmDNmjUlrW3YsAGzZs2yqfVhw4bh0KFDVsWggFZhs7+DqhIwODgYvXv3RkhIiJLFzc0NIuXGjRsxdepUPHr0CPXr18ebN2/QsWNHjB8/HitWrICLiwsKCgoQHx+P6OhoxMTE4PLly5D7iYaFhSEnJwf37t1Dy5Yt0bp1a1UvKSkJkyZNwvbt27Fjxw64u7tXCIwC2p9LVn2iqgQcOXIk9u3bp2LPmDFD9YJr167F48ePERgYiNTUVLRp0wb379/Hpk2bVD0RcPny5eqvvL506VIcPXpUCebv74/58+erGCLggQMHsHr1apw7dw59+vRBhw4d8OzZM8yZM6fS70MBrTrd9ndQVQJKT5eZmYl27drByclJSRIXF4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oAlSG1E6CA2lmxpgEEKKABUBlSOwEKqJ0VaxpAgAIaAJUhtROggNpZsaYBBCigAVAZUjsBCqidFWsaQIACGgCVIbUToIDaWbGmAQQooAFQGVI7AQqonRVrGkCgQgG3PchCWm6hAU0y5LdGoIGbI6a0Kv8Rtr8S8FhCDoadSsWY5p5o7OX4rbHi9zWAQEJWIXY/ycahgb9DZGP3Mi2UEVAeuPzn2DTERflBHu/OQgJ6EXiZVYDuB5Oxt18DhPi5loQtI6A8dFnKss518enTJ+Tl5anHDsg/Bwd5ED0LCfyaQK1atdQz89LS0rB3794yFXr06IGgoCD1Wmm/iitVKOCtW7dw584dCkjjKiQgHZOzszNGjBih5IuPj0dgYGCZ+unp6UhJSUFERITlAkqvJw3IPz6AhSaWJiBuiBOOjo7w9/dHdHQ0oqKikJ+fXwaUXEWTkpIwYMAAywUU8dzc3FDcxfIUkEDJpdPBQQ3LREJ5ZvLXAsbFxaFnz57qGXoJCQkIDw+3XEBXV1d4eHhA/so1noUEyiPg4+NTImBubi4SExMhD3AMCQlReYTVAop87u7ucHFxoYB0r1wC0gt6e3uX6QHv3r2L0NBQZGZm2iagBJbeTy7BHAPSwIoIfC1g6XrSA8rDvcPCwiy7BKemppZcenn5pXyVEZBOSrJgeYC3dFbFpaioCG/fvoWvr6/2MeDHwiL8o5sPiZOAxQTKmwcMDg5Wz1GWsuj6W7g6Oqh55nLnAUW++jsSsCHYFxNblr92Z/Gn4gEkAGDnwyzMupqB9L82VhKWK6C8eC/jExbfeIfYpFyCIwHdCPTzd8Pf/+CDNr7OZWJyO5ZuiBnIGgL/B+aUG/Ni8VBwAAAAAElFTkSuQmCC</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,iVBORw0KGgoAAAANSUhEUgAAAeAAAAFoCAYAAACPNyggAAAOhUlEQVR4Xu3Vw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ABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICH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ECBAgIAA+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><sprite name="Person" idx="1" x="0" y="0" heading="355" scale="1" volume="100" pan="0" rotation="1" draggable="true" costume="0" color="80,80,80,1" pen="tip" id="8"><costumes><list id="9"><item><costume name="healthy" center-x="11" center-y="12" image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVCAYAAACpF6WWAAABj0lEQVQ4T7XVvU8TcRjA8e9zZ2s6EdqjvTMSWIyDg0wSlybgRiRGdifRKH8BDjbBRf8CNYKL7g5i3MTQRXRzcBAXicYe7bWNC2jS60Oub9diY5Uet93z8vk9l9w9Jwy6SqfOYmoaX01M8fGlyNiPz39rk77JopPFqN8AmQdG+tT8BF2nbqySLuQP53tRRahkHqNyc9ADdPKiT0ju3kLQdixEv51Okqi9Ai7+MxgWvmP/xGXGv1eCUIh69htg9ghgu2UDy70Uop5zH3R5CLDVKg+wCneEqjOBr1+HB1uCKZNCyb6LcC8yVMkJZXsTJRsZKuQFzy4DychQqARo5/2KCj4u1NkGPRPVlCBfgkmfAdeiQ3kueM5V0BfRobLQ/Ew9+z1wIQL4A5Y73URL9gzCxtCoMsuY+7Z7odwGHg4BL2G5j3q3VHBXzlxHZe2/YdFFUrtP/9yn7Ug1fZ6auYLolYG4b7wkXssxWvzYXdv/d9KY2j5HnTlEpvgdm+RX/GSjMVbfIbG3hcFrUu6nfgcfABvqbVU4FG1UAAAAAElFTkSuQmCC" id="10"/></item><item><costume name="sick" center-x="10" center-y="12" image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAVCAYAAABG1c6oAAABlUlEQVQ4T62VPTNrURiF19rxcaIxkWD0musHqNDQoDAaP+BihnsbjdtdBp1K42PGxw/QmBRUNKK6P4BGb4jEaOQkbvYyJ4mII4Qju91rPbPOe979vkSNo3a3G1BXUcYrJp3Ljyysdqlorhe005DGALT7NEmQcchsM9X0z+9/A1T0YR3gr1rJi/faYKrld6W2DFSrIgi5cRD9n4OVVEICeWeM97wrFOXZrGjmGMDgl2Av4hOmwkNloGKZZQh/A8JK/wsrvA0vUB3qRN69qkwbECyEnC4q9jAPcTUg5LWN+sNv1s6f48QD3lTptaCBkx7Q1qF+5Wahom4GkBM0kq+IrpfwHMCP+gBxQcXcbUhTdQGSO1TEHYbRUV2AliOFp6e2zOmX37A/gZBgOjxQBEYe+2D+J76V0jb0867x7GU4xNwZSJuBoOQsb52tV9Om9Ok/Qe1WDKEafAHiJNPhvWfh2wHblu2xxi4aYeIjmiX2jTVLTDd7bVc+VVdAIa23S/J2NJs7WDOms2Cw9hrNTeNzCJnD93bLE8fIi1VhcO8UAAAAAElFTkSuQmCC" id="11"/></item><item><costume name="immune" center-x="11" center-y="12" image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVCAYAAACpF6WWAAABaUlEQVQ4T7XVvy9DURTA8e9JO3WRGKwsYjDU5MciUZsQYZSY/Aj+gPaJqFQifRUz4sfCbkBsKroIm0HiRyJmiYYOJs2R13qvLS+q6XXHc+753Pty7ztXqDI0RRtCE3kCBMijPEuMu9/KxC+pNr3AFDAENPjMeQOOgG2xyHzPV6CqCKtsokxX+wIvL2wRZUYEdWMeqks0EuIYpefPYEm54J1BSZB1QiXU5hSI1AyWCtJi0e+hapMErDpAt9QWi3nRNZr54MkAWCSCtIgmWURYNoYqcVGbcyhcIVMj46AvQKMpEcg6qHe/TMH/ht4DraZ2CTw4p7+HMG4MVfYddAThwCA6WvhN1eYS6DQAX4lFVxFdoY8A6brRPBFZ4Ky8ocwC63XAc2KxUdGlCjtOMYGyUzMsTEqM3R/91A2oTRhIAMPVcFU5FNG4WFyXz/V9Tr4Orx1lAKHj9jE05ha95oJ0h3NRhBOxuPFb+BODw2brLvrYzQAAAABJRU5ErkJggg==" id="12"/></item><item><costume name="doctor" center-x="12" center-y="12.5" image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAWCAYAAAAvg9c4AAADB0lEQVRIS2NkIAbIrBJiYGGQY2Bk5GX4//8zwx+GRwxPwt7h0sqITeL/JAb21qNBhkdfaEVdeSfj9eK7gNzvfyysMLWsTH9+S3B+eKQj9GSbtcS1ZdXW684z5jH8hMljGPq/jUE47mBO8r5nujlPvwrLEvKINPfbx05Sl6cssp8yl7GK4S1IPdzQ//UMTMfe6Si2XvYrPPlSNe7tT15eQgbC5IXZP382F7+9qFp3U7+V0JX7yIZKhR0pKj74Qivt1XcBHmINhKkT4/zwxV7i2qxVNn29YEP/tzMIFh2PS9n22Cj/5kcZaVINhKlX53/y1Ev23ETG/x0M/JfeyZkUHEus2P9MxwUpRMgw+z+Do9SVPYz/2xj8Zlx3c5h90yXy3BslCTJMQtFiJHLvBeP/dob5HRcDNKde9TR48lWYnVJDZbjf/gQZer3hbJhw18UAke9/2bCmW1Is4mT+9R8Upt/qzoazNJ8NYaUsPGFW/2cAGfq/5VwwQ+PZMIY//5lJcRRWtSyMf8GGvpl4xZuz5VwI55sfvBR7X4TjM9j7+5bctpXqvBCocOW9HMURpSP4CBxRlSdeqmo3nw9x3vbYmOIk5SV79gUonWowMDLoN5wLy5p3w8nm8VcRJnIDVpb7zb8kjX1HINm0mUHxxHvVjO4LAXHrHpiT7doghZMvSg02LIIYWs/AwcDOYLrpkWnOpKue3nuf6nGT6lpn6Utf87S3b/WTOz0FUUp1MvAy/GOw3PHYML3/irfbrif6PMSl2/8MbjIXvxTqbN3lIXt+JgMTw3GUJPS/noGHgZPB6M5HidDV9628Ft+yl7v+QZoFl6s1BZ7+iVU7+ChU8dg2Ff4Xqxm+M5xjbGT4glny1zOwMXAwyDAwMJg+/Cpqe+iZpumxl2pKDz6JCnz7zc7CzfKdQZ7n9Tdz8Tu37GWuH1PkeX2IgYHhNMMPhieMjQy/UEp+dNf8b2DgYmAFpwybj9+YHd99YLX8+YtJ/M8fRgYGxv93BXn+rJQW+7WW4TfDDcYGhm/I+gF60iV5IshhQgAAAABJRU5ErkJggg==" id="13"/></item></list></costumes><sounds><list struct="atomic" id="14"></list></sounds><blocks></blocks><variables></variables><scripts><script x="21.0354609929077" y="10"><block s="receiveGo"></block><block s="removeClone"></block></script><script x="45.51063929787233" y="89.53900709219863"><block s="receiveOnClone"></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="Slowing down"/><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="114" y="328.53900709219863"><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><custom-block s="touching doctor?"></custom-block></block><script><block s="doSwitchToCostume"><l>immune</l></block></script></block></script></block></script><script x="448.0000009999999" y="314.37234142553154"><block s="receiveMessage"><l>start</l></block><block s="doForever"><script><block s="doIf"><block s="reportEquals"><block s="getCostumeIdx"></block><l>2</l></block><script><block s="doWait"><l>5</l></block><block s="doIf"><block s="reportAnd"><block s="reportEquals"><block var="heal"/><block s="reportBoolean"><l><bool>true</bool></l></block></block><block s="reportGreaterThan"><block var="Chance of the healing"/><block s="reportRandom"><l>1</l><l>100</l></block></block></block><script><block s="doSwitchToCostume"><l>healthy</l></block><block s="doIf"><block s="reportEquals"><block var="Immunity"/><block s="reportBoolean"><l><bool>true</bool></l></block></block><script><block s="doSwitchToCostume"><l>immune</l></block></script></block></script></block></script></block></script></block></script><script x="422.51063929787233" y="22.159575468084427"><block s="receiveMessage"><l>start</l></block><block s="doForever"><script><block s="doIf"><block s="reportAnd"><block s="reportAnd"><block s="reportEquals"><block s="getCostumeIdx"></block><l>1</l></block><custom-block s="touching infected?"></custom-block></block><block s="reportNot"><custom-block s="touching immune?"></custom-block></block></block><script><block s="doWait"><l>2</l></block><block s="doIf"><block s="reportGreaterThan"><block var="Risk of Infection"/><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></script><script x="887" y="194.53900709219818"><block s="receiveGo"></block><block s="gotoXY"><l>0</l><l>0</l></block><block s="doWait"><l>.5</l></block><block s="doHideVar"><l>Timer</l></block><block s="show"></block><custom-block s="All of the Variables Set"></custom-block><custom-block s="Start Simulation"></custom-block><block s="doBroadcast"><l>start</l></block><block s="doShowVar"><l>Timer</l></block><block s="doForever"><script><custom-block s="Timer"></custom-block><custom-block s="Stop the program if all of the people are infected"></custom-block></script></block></script></scripts></sprite><watcher scope="Person" s="xPosition" style="normal" x="7.062500000001137" y="7.06249999999995" color="74,108,212" hidden="true"/><watcher scope="Person" s="yPosition" style="normal" x="7.062500000001137" y="21.893751412499967" color="74,108,212" hidden="true"/><watcher var="percent infected" style="normal" x="7.062500000001137" y="51.556254237500085" color="243,118,29" hidden="true"/><watcher scope="Stage" s="reportMouseX" style="normal" x="4.237499999999727" y="28.25000847499996" color="4,148,220" hidden="true"/><watcher scope="Stage" s="reportMouseY" style="normal" x="5.650000000000091" y="44.49375988749998" color="4,148,220" hidden="true"/><watcher scope="Stage" s="getTimer" style="normal" x="1.412499999999227" y="3.5312570625000177" color="4,148,220" hidden="true"/><watcher var="Timer" style="normal" x="10" y="10" 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="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>Size of Population</l><l>0</l></block><block s="doUntil"><block s="reportAnd"><custom-block s="%s &lt;= %s"><l>1</l><block var="Size of Population"/></custom-block><custom-block s="%s &lt;= %s"><block var="Size of Population"/><l>200</l></custom-block></block><script><block s="doAsk"><l>Enter number between 1 - 200 for the Population Size </l></block><block s="doSetVar"><l>Size of Population</l><block s="getLastAnswer"></block></block></script></block><block s="doSetVar"><l>Size of Population</l><block s="reportMonadic"><l><option>floor</option></l><block var="Size of Population"/></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>Enter number between 1 - 100 for the Initial Percentage of people infected.</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>Enter a number between 1 - 10 for the Speed at which they move around. (1 is slowest and 10 is fastest)</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="Start Simulation" 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 s="reportDifference"><block var="Size of Population"/><block var="Doctor"/></block></block></block></block><custom-block s="for %upvar = %n to %n %cs"><l>i</l><l>1</l><block var="Size of Population"/><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="doRepeat"><block var="Doctor"/><script><block s="doSwitchToCostume"><l>Doctor</l></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="doRepeat"><block s="reportProduct"><block s="reportQuotient"><block var="People with Vaccination percentage"/><l>100</l></block><block s="reportDifference"><block s="reportDifference"><block var="Size of Population"/><block var="Doctor"/></block><block var="infected count"/></block></block><script><block s="doSwitchToCostume"><l>immune</l></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 the program if all of the people are 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="All of the Variables Set" 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 speed"></custom-block><custom-block s="Set probality of infection"></custom-block><custom-block s="Set Slow down?"></custom-block><custom-block s="heal?"></custom-block><custom-block s="doctor"></custom-block><custom-block s="Vaccination percentage"></custom-block></script></block-definition><block-definition s="Set probality of infection" type="command" category="sensing"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doSetVar"><l>Risk of Infection</l><l>0</l></block><block s="doUntil"><block s="reportAnd"><custom-block s="%s &lt;= %s"><l>1</l><block var="Risk of Infection"/></custom-block><custom-block s="%s &lt;= %s"><block var="Risk of Infection"/><l>100</l></custom-block></block><script><block s="doAsk"><l>Enter a number between 1 - 100 for the Probability of infection.</l></block><block s="doSetVar"><l>Risk of Infection</l><block s="getLastAnswer"></block></block></script></block><block s="doSetVar"><l>Risk of Infection</l><block s="reportMonadic"><l><option>floor</option></l><block var="Risk of Infection"/></block></block></script></block-definition><block-definition s="Set Slow down?" type="command" category="sensing"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doSetVar"><l>Slowing down</l><l>0</l></block><block s="doUntil"><block s="reportOr"><custom-block s="%s &lt;= %s"><block s="reportBoolean"><l><bool>true</bool></l></block><block var="Slowing down"/></custom-block><custom-block s="%s &lt;= %s"><block s="reportBoolean"><l><bool>false</bool></l></block><block var="Slowing down"/></custom-block></block><script><block s="doAsk"><l>Enter yes or no if you want the infected people to slow down in speed.</l></block><block s="doIfElse"><block s="reportEquals"><block s="getLastAnswer"></block><l>yes</l></block><script><block s="doSetVar"><l>Slowing down</l><block s="reportBoolean"><l><bool>true</bool></l></block></block></script><script><block s="doSetVar"><l>Slowing down</l><block s="reportBoolean"><l><bool>false</bool></l></block></block></script></block></script></block></script></block-definition><block-definition s="heal?" type="command" category="sensing"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doSetVar"><l>heal</l><l>0</l></block><block s="doAsk"><l>Do you want people to heal over time? (yes or no)</l></block><block s="doIf"><block s="reportEquals"><block s="getLastAnswer"></block><l>yes</l></block><script><block s="doSetVar"><l>heal</l><block s="reportBoolean"><l><bool>true</bool></l></block></block><block s="doAsk"><l>What probability of healing do you want occur? (Enter a number between 1-100)</l></block><block s="doSetVar"><l>Chance of the healing</l><block s="getLastAnswer"></block></block></script></block><block s="doIf"><block s="reportEquals"><block s="getLastAnswer"></block><l>no</l></block><script><block s="doSetVar"><l>heal</l><block s="reportBoolean"><l><bool>false</bool></l></block></block></script></block></script></block-definition><block-definition s="immunity" type="command" category="sensing"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doSetVar"><l>Immunity</l><block s="reportBoolean"><l><bool>false</bool></l></block></block><block s="doAsk"><l>Would you like people who have been sick and healed to be immune? (yes or no)</l></block><block s="doIf"><block s="reportEquals"><l>yes</l><block s="getLastAnswer"></block></block><script><block s="doSetVar"><l>Immunity</l><block s="reportBoolean"><l><bool>true</bool></l></block></block><block s="doIf"><block s="reportEquals"><l>no</l><block s="getLastAnswer"></block></block><script><block s="doSetVar"><l>Immunity</l><block s="reportBoolean"><l><bool>false</bool></l></block></block></script></block></script></block></script></block-definition><block-definition s="doctor" type="command" category="sensing"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doAsk"><l>How many doctors do you want? Choose from 0 to 3</l></block><block s="doIf"><block s="reportAnd"><custom-block s="%s &lt;= %s"><l>0</l><block s="getLastAnswer"></block></custom-block><custom-block s="%s &lt;= %s"><block s="getLastAnswer"></block><l>3</l></custom-block></block><script><block s="doSetVar"><l>Doctor</l><block s="getLastAnswer"></block></block></script></block></script></block-definition><block-definition s="Vaccination percentage" type="command" category="sensing"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doAsk"><l>Enter a number between 1 - 100 for the percentage of people that you want vaccinated</l></block><block s="doIf"><block s="reportOr"><custom-block s="%s &lt;= %s"><block s="getLastAnswer"></block><l>100</l></custom-block><custom-block s="%s &lt;= %s"><l>1</l><block s="getLastAnswer"></block></custom-block></block><script><block s="doSetVar"><l>People with Vaccination percentage</l><block s="getLastAnswer"></block></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="touching immune?" 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>3</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></blocks><variables><variable name="percent infected"><l>30</l></variable><variable name="heal"><bool>true</bool></variable><variable name="Chance of the healing"><l>10</l></variable><variable name="Doctor"><l>3</l></variable><variable name="Speed"><l>10</l></variable><variable name="Slowing down"><bool>true</bool></variable><variable name="Risk of Infection"><l>20</l></variable><variable name="Size of Population"><l>0</l></variable><variable name="People with Vaccination percentage"><l>40</l></variable><variable name="Immunity"><bool>true</bool></variable><variable name="Timer"><l>57.8</l></variable></variables></project><media name="Disease Simulation" app="Snap! 5.1, http://snap.berkeley.edu" version="1"></media></snapdata>