breed[ people1Abatx person1Abatx ] breed [people1Bbatx person1Bbatx] breed [ people3Ceso person3Ceso] breed [ people3Deso person3Deso] breed [ people1Aeso person1Aeso] breed [ people1Beso person1Beso] breed [ people1Ceso person1Ceso] breed [ people1Deso person1Deso] breed [ people3Aeso person3Aeso] breed [ people3Beso person3Beso] breed [ people2Aeso person2Aeso] breed [ people2Beso person2Beso] breed [ people2Ceso person2Ceso] breed [ people4Aeso person4Aeso] breed [ people4Beso person4Beso] breed [ people4Ceso person4Ceso] breed [ people2Abatx person2Abatx] breed [ people2Bbatx person2Bbatx] breed [ professors professor] turtles-own [ direction deskx desky doorx doory location destination previousclass newclass previousdoorx previousdoory previousfloor newfloor sick? immune? timesick incubationperiod timeimmune degree level ] globals [ possibleinfected secondfloorstairsx secondfloorstairsy hour day firstfloorstairsx firstfloorstairsy mainfloorstairsx mainfloorstairsy studentsschedule professorsschedule distancia timetable ; llista dies i hores de cada dia dilluns dilluns1 dilluns2 dilluns3 dilluns4 dilluns5 dilluns6 dimarts dimarts1 dimarts2 dimarts3 dimarts4 dimarts5 dimarts6 dimecres dimecres1 dimecres2 dimecres3 dimecres4 dimecres5 dimecres6 dijous dijous1 dijous2 dijous3 dijous4 dijous5 dijous6 divendres divendres1 divendres2 divendres3 divendres4 divendres5 divendres6 break dayended ; aules aula1Abatx aula1Bbatx aula3Ceso aula3Deso aula1Aeso aula1Beso aula1Ceso aula1Deso aulabiolab aulainformatica2 aulainformatica1 aula3Aeso aula3Beso aulaprofessorat aula2Aeso aula2Beso aula2Ceso auladibuix2 auladibuix1 aulatecnologia aula2Abatx aula2Bbatx aula4Aeso aula4Beso aula4Ceso aulamusica ; departaments depfrancesreligio aulaidiomes depfisicaiquimica depnaturals depdibuixmusica depangles depcastella gimnas depmates aulalabfisicaiquimica depsocials deptecnologia depcatala depllatigrecfilosofia ; llistes horari alumnes horarialumnesdilluns1 horarialumnesdilluns2 horarialumnesdilluns3 horarialumnesdilluns4 horarialumnesdilluns5 horarialumnesdilluns6 horarialumnesdimarts1 horarialumnesdimarts2 horarialumnesdimarts3 horarialumnesdimarts4 horarialumnesdimarts5 horarialumnesdimarts6 horarialumnesdimecres1 horarialumnesdimecres2 horarialumnesdimecres3 horarialumnesdimecres4 horarialumnesdimecres5 horarialumnesdimecres6 horarialumnesdijous1 horarialumnesdijous2 horarialumnesdijous3 horarialumnesdijous4 horarialumnesdijous5 horarialumnesdijous6 horarialumnesdivendres1 horarialumnesdivendres2 horarialumnesdivendres3 horarialumnesdivendres4 horarialumnesdivendres5 horarialumnesdivendres6 ; llistes horari professors horariprofessorsdilluns1 horariprofessorsdilluns2 horariprofessorsdilluns3 horariprofessorsdilluns4 horariprofessorsdilluns5 horariprofessorsdilluns6 horariprofessorsdimarts1 horariprofessorsdimarts2 horariprofessorsdimarts3 horariprofessorsdimarts4 horariprofessorsdimarts5 horariprofessorsdimarts6 horariprofessorsdimecres1 horariprofessorsdimecres2 horariprofessorsdimecres3 horariprofessorsdimecres4 horariprofessorsdimecres5 horariprofessorsdimecres6 horariprofessorsdijous1 horariprofessorsdijous2 horariprofessorsdijous3 horariprofessorsdijous4 horariprofessorsdijous5 horariprofessorsdijous6 horariprofessorsdivendres1 horariprofessorsdivendres2 horariprofessorsdivendres3 horariprofessorsdivendres4 horariprofessorsdivendres5 horariprofessorsdivendres6] to setup clear-all setup-map setup-school setup-timetable setup-turtles update-global-variables let file "provanetlogo26.csv" ;; We check to make sure we actually got a string just in case ;; the user hits the cancel button. if is-string? file [ ;; If the file already exists, we begin by deleting it, otherwise ;; new data would be appended to the old contents. ; if file-exists? file ; [ file-delete file ] file-open file ;; record the initial turtle data ] reset-ticks end to setup-map ; planta segona ask patches [ if pxcor > 9 and pxcor < 91 and pycor = 290 [ set pcolor brown ] if pxcor < -9 and pxcor > -91 and pycor = 290 [ set pcolor brown ] if pxcor > -10 and pxcor < 10 and pycor = 280 [ set pcolor brown ] if pxcor > 9 and pxcor < 91 and pycor = 270 [ set pcolor brown] if pxcor < -9 and pxcor > -91 and pycor = 270 [ set pcolor brown] if pxcor < -9 and pxcor > -91 and pycor = 260 [ set pcolor brown] if pxcor < -9 and pxcor > -91 and pycor = 240 [ set pcolor brown] if pxcor > 35 and pxcor < 91 and pycor = 260 [ set pcolor brown] if pxcor > 25 and pxcor < 91 and pycor = 240 [ set pcolor brown] if pxcor > 25 and pxcor < 41 and pycor = 254 [ set pcolor brown] if pxcor > -10 and pxcor < 26 and pycor = 248 [ set pcolor brown] if pycor < 291 and pycor > 239 and pxcor = -90 [ set pcolor brown ] if pycor < 291 and pycor > 239 and pxcor = 90 [ set pcolor brown] if pycor < 291 and pycor > 269 and pxcor = -70 [ set pcolor brown] if pycor < 291 and pycor > 269 and pxcor = -50 [ set pcolor brown] if pycor < 291 and pycor > 269 and pxcor = -30 [ set pcolor brown] if pycor < 291 and pycor > 269 and pxcor = -10 [ set pcolor brown] if pycor < 291 and pycor > 269 and pxcor = 10 [ set pcolor brown] if pycor < 291 and pycor > 269 and pxcor = 30 [ set pcolor brown] if pycor < 291 and pycor > 269 and pxcor = 50 [ set pcolor brown ] if pycor < 291 and pycor > 269 and pxcor = 70 [ set pcolor brown ] if pycor < 261 and pycor > 239 and pxcor = -80 [ set pcolor brown] if pycor < 261 and pycor > 239 and pxcor = -70 [ set pcolor brown] if pycor < 261 and pycor > 239 and pxcor = -50 [ set pcolor brown] if pycor < 261 and pycor > 239 and pxcor = -40 [ set pcolor brown] if pycor < 261 and pycor > 239 and pxcor = -20 [ set pcolor brown] if pycor < 261 and pycor > 239 and pxcor = -10 [ set pcolor brown] if pycor < 255 and pycor > 239 and pxcor = 25 [ set pcolor brown] if pycor < 261 and pycor > 254 and pxcor = 35 [ set pcolor brown] if pycor < 261 and pycor > 239 and pxcor = 40 [ set pcolor brown] if pycor < 261 and pycor > 239 and pxcor = 60 [ set pcolor brown] if pycor < 261 and pycor > 239 and pxcor = 80 [ set pcolor brown] ; planta primera if pxcor > 9 and pxcor < 91 and pycor = 220 [ set pcolor brown ] if pxcor < -9 and pxcor > -91 and pycor = 220 [ set pcolor brown ] if pxcor > -10 and pxcor < 10 and pycor = 210 [ set pcolor brown ] if pxcor > -91 and pxcor < 91 and pycor = 200 [ set pcolor brown] if pxcor < -9 and pxcor > -91 and pycor = 190 [ set pcolor brown] if pxcor < -19 and pxcor > -91 and pycor = 170 [ set pcolor brown] if pxcor > 40 and pxcor < 91 and pycor = 190 [ set pcolor brown] if pxcor > 25 and pxcor < 91 and pycor = 170 [ set pcolor brown] if pxcor > 25 and pxcor < 41 and pycor = 184 [ set pcolor brown] if pxcor > -20 and pxcor < 26 and pycor = 178 [ set pcolor brown] if pycor < 221 and pycor > 169 and pxcor = -90 [ set pcolor brown ] if pycor < 221 and pycor > 169 and pxcor = 90 [ set pcolor brown] if pycor < 221 and pycor > 199 and pxcor = -70 [ set pcolor brown] if pycor < 221 and pycor > 199 and pxcor = -50 [ set pcolor brown] if pycor < 221 and pycor > 199 and pxcor = -30 [ set pcolor brown] if pycor < 221 and pycor > 199 and pxcor = -10 [ set pcolor brown] if pycor < 221 and pycor > 199 and pxcor = 10 [ set pcolor brown] if pycor < 221 and pycor > 199 and pxcor = 30 [ set pcolor brown] if pycor < 221 and pycor > 199 and pxcor = 50 [ set pcolor brown ] if pycor < 221 and pycor > 199 and pxcor = 70 [ set pcolor brown ] if pycor < 191 and pycor > 169 and pxcor = -80 [ set pcolor brown] if pycor < 191 and pycor > 169 and pxcor = -70 [ set pcolor brown] if pycor < 191 and pycor > 169 and pxcor = -50 [ set pcolor brown] if pycor < 191 and pycor > 169 and pxcor = -30 [ set pcolor brown] if pycor < 191 and pycor > 169 and pxcor = -20 [ set pcolor brown] if pycor < 191 and pycor > 177 and pxcor = -10 [ set pcolor brown] if pycor < 185 and pycor > 169 and pxcor = 25 [ set pcolor brown] ;if pycor < 191 and pycor > 184 and pxcor = 35 [ set pcolor brown] if pycor < 191 and pycor > 169 and pxcor = 40 [ set pcolor brown] if pycor < 191 and pycor > 169 and pxcor = 55 [ set pcolor brown] if pycor < 191 and pycor > 169 and pxcor = 65 [ set pcolor brown] if pycor < 191 and pycor > 169 and pxcor = 80 [ set pcolor brown] ; planta baixa if pxcor > 9 and pxcor < 91 and pycor = 65 [ set pcolor brown ] if pxcor < -9 and pxcor > -91 and pycor = 65 [ set pcolor brown ] if pxcor > 9 and pxcor < 91 and pycor = 45 [ set pcolor brown] if pxcor < -9 and pxcor > -91 and pycor = 45 [ set pcolor brown] if pxcor < -14 and pxcor > -91 and pycor = 35 [ set pcolor brown] if pxcor < -14 and pxcor > -91 and pycor = 15 [ set pcolor brown] if pxcor > 30 and pxcor < 91 and pycor = 35 [ set pcolor brown] if pxcor > 30 and pxcor < 91 and pycor = 15 [ set pcolor brown] if pxcor > 29 and pxcor < 41 and pycor = 29 [ set pcolor brown] if pxcor > -16 and pxcor < 31 and pycor = 21 [ set pcolor brown] if pycor < 66 and pycor > 14 and pxcor = -90 [ set pcolor brown ] if pycor < 66 and pycor > 14 and pxcor = 90 [ set pcolor brown] if pycor < 66 and pycor > 44 and pxcor = -80 [ set pcolor brown] if pycor < 66 and pycor > 44 and pxcor = -50 [ set pcolor brown] if pycor < 66 and pycor > 44 and pxcor = -30 [ set pcolor brown] if pycor < 66 and pycor > 44 and pxcor = -10 [ set pcolor brown] if pycor < 66 and pycor > 44 and pxcor = 10 [ set pcolor brown] if pycor < 66 and pycor > 44 and pxcor = 30 [ set pcolor brown] if pycor < 66 and pycor > 44 and pxcor = 50 [ set pcolor brown ] if pycor < 66 and pycor > 44 and pxcor = 70 [ set pcolor brown ] if pycor < 36 and pycor > 14 and pxcor = -80 [ set pcolor brown] if pycor < 36 and pycor > 14 and pxcor = -70 [ set pcolor brown] if pycor < 36 and pycor > 14 and pxcor = -50 [ set pcolor brown] if pycor < 36 and pycor > 14 and pxcor = -20 [ set pcolor brown] if pycor < 36 and pycor > 14 and pxcor = -15 [ set pcolor brown] if pycor < 36 and pycor > 14 and pxcor = 30 [ set pcolor brown] if pycor < 36 and pycor > 29 and pxcor = 35 [ set pcolor brown] if pycor < 36 and pycor > 14 and pxcor = 40 [ set pcolor brown] if pycor < 36 and pycor > 14 and pxcor = 60 [ set pcolor brown] if pycor < 36 and pycor > 14 and pxcor = 80 [ set pcolor brown] if pycor > 44 and pycor < 66 and pxcor = 80 [ set pcolor brown] if pxcor = 70 and pycor > 14 and pycor < 36 [ set pcolor brown] if pxcor = 50 and pycor > 14 and pycor < 36 [ set pcolor brown] ; planta inferior if pxcor = 10 and pycor > 65 and pycor < 106 [ set pcolor brown] if pxcor = -10 and pycor > 65 and pycor < 126 [ set pcolor brown] if pxcor = 90 and pycor > 65 and pycor < 116 [ set pcolor brown] if pxcor = -65 and pycor > 89 and pycor < 116 [ set pcolor brown] if pycor = 125 and pxcor > -31 and pxcor < 76 [ set pcolor brown] if pycor = 115 and pxcor > 39 and pxcor < 91 [ set pcolor brown] if pycor = 115 and pxcor > -66 and pxcor < -9 [ set pcolor brown] if pycor = 90 and pxcor > -66 and pxcor < -9 [ set pcolor brown] if pxcor = 90 and pycor > 114 and pycor < 161 [ set pcolor brown] if pycor = 115 and pxcor > -91 and pxcor < -64 [ set pcolor brown] if pxcor = -90 and pycor > 114 and pycor < 161 [ set pcolor brown] if pycor = 160 and pxcor > -91 and pxcor < 91 [ set pcolor brown] ; biblioteca if pycor = 105 and pxcor > -11 and pxcor < 11 [ set pcolor brown] if pycor = 112 and pxcor < 28 and pxcor > 16 [ set pcolor brown] if pycor = 88 and pxcor < 28 and pxcor > 16 [ set pcolor brown] if pxcor = 34 and pycor > 94 and pycor < 106 [ set pcolor brown] if pxcor = 11 and pycor = 106 [ set pcolor brown] if pxcor = 12 and pycor = 107 [ set pcolor brown] if pxcor = 13 and pycor = 108 [ set pcolor brown] if pxcor = 14 and pycor = 109 [ set pcolor brown] if pxcor = 15 and pycor = 110 [ set pcolor brown] if pxcor = 16 and pycor = 111 [ set pcolor brown] if pxcor = 17 and pycor = 112 [ set pcolor brown] if pxcor = 28 and pycor = 89 [ set pcolor brown] if pxcor = 29 and pycor = 90 [ set pcolor brown] if pxcor = 30 and pycor = 91 [ set pcolor brown] if pxcor = 31 and pycor = 92 [ set pcolor brown] if pxcor = 32 and pycor = 93 [ set pcolor brown] if pxcor = 33 and pycor = 94 [ set pcolor brown] if pxcor = 34 and pycor = 95 [ set pcolor brown] if pxcor = 28 and pycor = 111 [ set pcolor brown] if pxcor = 29 and pycor = 110[ set pcolor brown] if pxcor = 30 and pycor = 109[ set pcolor brown] if pxcor = 31 and pycor = 108[ set pcolor brown] if pxcor = 32 and pycor = 107[ set pcolor brown] if pxcor = 33 and pycor = 106[ set pcolor brown] if pxcor = 34 and pycor = 105[ set pcolor brown] if pxcor = 11 and pycor = 94 [ set pcolor brown] if pxcor = 12 and pycor = 93 [ set pcolor brown] if pxcor = 13 and pycor = 92 [ set pcolor brown] if pxcor = 14 and pycor = 91 [ set pcolor brown] if pxcor = 15 and pycor = 90 [ set pcolor brown] if pxcor = 16 and pycor = 89 [ set pcolor brown] if pxcor = 17 and pycor = 88 [ set pcolor brown] if pxcor = 10 and pycor < 115 and pycor > 105 [ set pcolor green] if pxcor = 11 and pycor < 115 and pycor > 106 [ set pcolor green] if pxcor = 12 and pycor < 115 and pycor > 107 [ set pcolor green] if pxcor = 13 and pycor < 115 and pycor > 108 [ set pcolor green] if pxcor = 14 and pycor < 115 and pycor > 109 [ set pcolor green] if pxcor = 15 and pycor < 115 and pycor > 110 [ set pcolor green] if pxcor = 16 and pycor < 115 and pycor > 111 [ set pcolor green] if pxcor = 28 and pycor < 115 and pycor > 111 [ set pcolor green] if pxcor = 29 and pycor < 115 and pycor > 110 [ set pcolor green] if pxcor = 30 and pycor < 115 and pycor > 109 [ set pcolor green] if pxcor = 31 and pycor < 115 and pycor > 108 [ set pcolor green] if pxcor = 32 and pycor < 115 and pycor > 107 [ set pcolor green] if pxcor = 33 and pycor < 115 and pycor > 106 [ set pcolor green] if pxcor = 34 and pycor < 115 and pycor > 105 [ set pcolor green] if pxcor = 11 and pycor > 70 and pycor < 94 [ set pcolor green] if pxcor = 12 and pycor > 70 and pycor < 93 [ set pcolor green] if pxcor = 13 and pycor > 70 and pycor < 92 [ set pcolor green] if pxcor = 14 and pycor > 70 and pycor < 91 [ set pcolor green] if pxcor = 15 and pycor > 70 and pycor < 90 [ set pcolor green] if pxcor = 16 and pycor > 70 and pycor < 89 [ set pcolor green] if pxcor = 28 and pycor > 70 and pycor < 89 [ set pcolor green] if pxcor = 29 and pycor > 70 and pycor < 90 [ set pcolor green] if pxcor = 30 and pycor > 70 and pycor < 91 [ set pcolor green] if pxcor = 31 and pycor > 70 and pycor < 92 [ set pcolor green] if pxcor = 32 and pycor > 70 and pycor < 93 [ set pcolor green] if pxcor = 33 and pycor > 70 and pycor < 94 [ set pcolor green] if pxcor = 34 and pycor > 70 and pycor < 95 [ set pcolor green] ; menjador i sala d'actes if pycor = -35 and pxcor > -1 and pxcor < 41 [ set pcolor brown] if pycor = -52 and pxcor > -21 and pxcor < 1 [ set pcolor brown] if pycor = -62 and pxcor > -1 and pxcor < 23 [ set pcolor brown] if pycor = -52 and pxcor > 21 and pxcor < 41 [ set pcolor brown] if pycor = -77 and pxcor > -1 and pxcor < 1 [ set pcolor brown] if pycor = -72 and pxcor > -21 and pxcor < -9 [ set pcolor brown] if pycor = -62 and pxcor > -76 and pxcor < -19 [ set pcolor brown] if pycor = -92 and pxcor > -76 and pxcor < -19 [ set pcolor brown] if pycor = -65 and pxcor > -21 and pxcor < -9 [ set pcolor brown ] if pxcor = -10 and pycor > -66 and pycor < -51 [ set pcolor brown] if pxcor = -20 and pycor > -66 and pycor < -51 [ set pcolor brown] if pxcor = -75 and pycor > -93 and pycor < -61 [ set pcolor brown] if pxcor = -20 and pycor > -93 and pycor < -71 [ set pcolor brown] if pxcor = 0 and pycor > -78 and pycor < -61 [ set pcolor brown] if pxcor = -10 and pycor > -78 and pycor < -72 [ set pcolor brown] if pxcor = 22 and pycor > -63 and pycor < -51 [ set pcolor brown] if pxcor = 0 and pycor > -53 and pycor < -34 [ set pcolor brown] if pxcor = 40 and pycor > -53 and pycor < -34 [ set pcolor brown] ; escales if pycor = 260 and pxcor > -3 and pxcor < 21 [ set pcolor brown] if pycor = 253 and pxcor > -3 and pxcor < 21 [ set pcolor brown] if pxcor = -2 and pycor > 252 and pycor < 261 [ set pcolor brown] if pxcor = 20 and pycor > 253 and pycor < 260 [ set pcolor pink] if pxcor > -2 and pxcor < 4 and pycor > 253 and pycor < 260 [ set pcolor magenta] if pxcor < 21 and pxcor > 18 and pycor > 264 and pycor < 268 [ set pcolor violet] if pycor = 190 and pxcor > -1 and pxcor < 21 [set pcolor brown] if pycor = 183 and pxcor > -1 and pxcor < 19 [ set pcolor brown] if pxcor = 0 and pycor > 182 and pycor < 190 [ set pcolor brown] if pxcor = 20 and pycor > 183 and pycor < 190 [ set pcolor pink] if pxcor > 0 and pxcor < 5 and pycor > 186 and pycor < 190 [ set pcolor magenta] if pxcor > -3 and pxcor < 0 and pycor > 186 and pycor < 190 [ set pcolor violet] if pxcor = 20 and pycor > 183 and pycor < 187 [ set pcolor brown] if pxcor = 0 and pycor > 183 and pycor < 187 [ set pcolor pink] if pxcor > 15 and pxcor < 20 and pycor > 183 and pycor < 187 [ set pcolor magenta] if pxcor > 20 and pxcor < 23 and pycor > 183 and pycor < 187 [ set pcolor violet] if pycor = 35 and pxcor > 2 and pxcor < 24 [ set pcolor brown] if pycor = 28 and pxcor > 2 and pxcor < 24 [ set pcolor brown] if pxcor = 23 and pycor > 28 and pycor < 33 [ set pcolor brown] if pxcor > 1 and pxcor < 5 and pycor > 28 and pycor < 35 [ set pcolor violet] if pxcor > 18 and pxcor < 23 and pycor > 28 and pycor < 32 [ set pcolor magenta] if pxcor = -1 and pycor > 79 and pycor < 100 [ set pcolor brown] if pycor = 99 and pxcor > -11 and pxcor < 0 [ set pcolor brown] if pxcor = -1 and pycor > -95 and pycor < -76 [ set pcolor brown] if pxcor = -10 and pycor > -95 and pycor < -76 [ set pcolor brown] if pycor = -94 and pxcor > -11 and pxcor < 0 [ set pcolor brown] if pxcor > -6 and pxcor < -1 and pycor = 80 [ set pcolor pink] if pxcor > -6 and pxcor < -1 and pycor > 94 and pycor < 99 [ set pcolor magenta] if pxcor > -6 and pxcor < -1 and pycor < -76 and pycor > -79 [ set pcolor violet] if pycor = -77 and pxcor > -10 and pxcor < -5 [ set pcolor pink] if pxcor > -10 and pxcor < -5 and pycor > -94 and pycor < -89 [ set pcolor magenta] if pycor > 78 and pycor < 82 and pxcor > -10 and pxcor < -5 [ set pcolor violet] ;portes if pycor = 270 and pxcor > -74 and pxcor < -70 [ set pcolor blue] if pycor = 270 and pxcor > -54 and pxcor < -50 [ set pcolor blue] if pycor = 270 and pxcor > -34 and pxcor < -30 [ set pcolor blue] if pycor = 270 and pxcor > -14 and pxcor < -10 [ set pcolor blue] if pycor = 270 and pxcor > 26 and pxcor < 30 [ set pcolor blue] if pycor = 270 and pxcor > 30 and pxcor < 34 [ set pcolor blue] if pycor = 270 and pxcor > 50 and pxcor < 54 [ set pcolor blue] if pycor = 270 and pxcor > 70 and pxcor < 74 [ set pcolor blue] if pycor = 260 and pxcor > -74 and pxcor < -70 [ set pcolor blue] if pycor = 260 and pxcor > -54 and pxcor < -50 [ set pcolor blue] if pycor = 260 and pxcor > -24 and pxcor < -20 [ set pcolor blue] if pycor = 260 and pxcor > 40 and pxcor < 44 [ set pcolor blue] if pycor = 260 and pxcor > 60 and pxcor < 64 [ set pcolor blue] if pycor = 260 and pxcor > -44 and pxcor < -40 [ set pcolor blue] if pycor = 260 and pxcor > 80 and pxcor < 84 [ set pcolor blue] if pxcor = -10 and pycor > 97 and pycor < 99 [ set pcolor black] if pycor = 254 and pxcor > 31 and pxcor < 35 [ set pcolor blue] if pycor = 200 and pxcor > -74 and pxcor < -70 [ set pcolor blue] if pycor = 200 and pxcor > -54 and pxcor < -50 [ set pcolor blue] if pycor = 200 and pxcor > -34 and pxcor < -30 [ set pcolor blue] if pycor = 200 and pxcor > -14 and pxcor < -10 [ set pcolor blue] if pycor = 200 and pxcor > 26 and pxcor < 30 [ set pcolor blue] if pycor = 200 and pxcor > 30 and pxcor < 34 [ set pcolor blue] if pycor = 200 and pxcor > 50 and pxcor < 54 [ set pcolor blue] if pycor = 200 and pxcor > 70 and pxcor < 74 [ set pcolor blue] ;if pycor = 200 and pxcor > -10 and pxcor < -6 [ set pcolor blue] if pycor = 190 and pxcor > -74 and pxcor < -70 [ set pcolor blue] if pycor = 190 and pxcor > -54 and pxcor < -50 [ set pcolor blue] if pycor = 190 and pxcor > -30 and pxcor < -28 [ set pcolor blue] if pycor = 190 and pxcor > -34 and pxcor < -30 [ set pcolor blue] if pycor = 190 and pxcor > -24 and pxcor < -20 [ set pcolor blue] if pycor = 190 and pxcor > 40 and pxcor < 44 [ set pcolor blue] if pycor = 190 and pxcor > 55 and pxcor < 59 [ set pcolor blue] if pycor = 190 and pxcor > 65 and pxcor < 69 [ set pcolor blue] if pycor = 190 and pxcor > 80 and pxcor < 84 [ set pcolor blue] if pycor = 190 and pxcor > 53 and pxcor < 55 [ set pcolor blue] if pycor = 190 and pxcor > 63 and pxcor < 65 [ set pcolor blue] if pycor = 184 and pxcor > 31 and pxcor < 35 [ set pcolor blue] if pycor = 45 and pxcor > -84 and pxcor < -80 [ set pcolor blue] if pycor = 45 and pxcor > -54 and pxcor < -50 [ set pcolor blue] if pycor = 45 and pxcor > -34 and pxcor < -30 [ set pcolor blue] if pycor = 45 and pxcor > -14 and pxcor < -10 [ set pcolor blue] ;if pycor = 45 and pxcor > 11 and pxcor < 14 [ set pcolor blue] if pxcor = 10 and pycor > 45 and pycor < 47 [ set pcolor blue] if pycor = 45 and pxcor > 26 and pxcor < 30 [ set pcolor blue] if pycor = 45 and pxcor > 30 and pxcor < 34 [ set pcolor blue] if pycor = 45 and pxcor > 50 and pxcor < 54 [ set pcolor blue] if pycor = 45 and pxcor > 70 and pxcor < 74 [ set pcolor blue] if pycor = 45 and pxcor > 80 and pxcor < 84 [ set pcolor blue] if pycor = 35 and pxcor > 48 and pxcor < 50 [ set pcolor blue] if pycor = 35 and pxcor > 58 and pxcor < 60 [ set pcolor blue] if pycor = 35 and pxcor > -74 and pxcor < -70 [ set pcolor blue] if pycor = 35 and pxcor > -54 and pxcor < -50 [ set pcolor blue] if pycor = 35 and pxcor > -34 and pxcor < -30 [ set pcolor blue] if pycor = 35 and pxcor > 40 and pxcor < 44 [ set pcolor blue] if pycor = 35 and pxcor > 50 and pxcor < 54 [ set pcolor blue] if pycor = 35 and pxcor > 60 and pxcor < 64 [ set pcolor blue] if pycor = 35 and pxcor > 70 and pxcor < 74 [ set pcolor blue] if pycor = 35 and pxcor > 80 and pxcor < 84 [ set pcolor blue] if pxcor = -10 and pycor > 110 and pycor < 114 [set pcolor blue] if pycor = 21 and pxcor > -7 and pxcor < 0 [set pcolor sky] if pycor = 105 and pxcor > 4 and pxcor < 10 [ set pcolor sky] if pxcor = -10 and pycor > 103 and pycor < 105 [ set pcolor black] if pxcor = 40 and pycor > 184 and pycor < 186 [ set pcolor black] ; playground if pycor > -25 and pycor < 15 and pxcor > -90 and pxcor < 90 [ set pcolor green] if pycor = -25 and pxcor > -90 and pxcor < 90 [ set pcolor brown] if pxcor = -90 and pycor > -26 and pycor < 15 [ set pcolor brown] if pxcor = 90 and pycor > -26 and pycor < 15 [ set pcolor brown] if pycor > 14 and pycor < 21 and pxcor > -15 and pxcor < 30 [ set pcolor green] if pycor = 15 and pxcor > -15 and pxcor < 30 [ set pcolor green] if pycor = 15 and pxcor > -7 and pxcor < -3 [ set pcolor green] if pycor < -24 and pycor > -27 and pxcor > -15 and pxcor < 0 [ set pcolor sky + 1] ;playground2 if pycor > 125 and pycor < 160 and pxcor > -90 and pxcor < 90 [ set pcolor green] if pycor > 115 and pycor < 125 and pxcor > -90 and pxcor < 90 [ set pcolor green] if pycor = 125 and pxcor > -90 and pxcor < -30 [ set pcolor green] if pycor = 125 and pxcor > 75 and pxcor < 90 [ set pcolor green] if pycor = 125 and pxcor > 7 and pxcor < 10 [ set pcolor green] if pycor = 125 and pxcor > -35 and pxcor < 8 [ set pcolor green] if pycor = 125 and pxcor > -40 and pxcor < 85 [ set pcolor green] if pycor > 65 and pycor < 115 and pxcor > 34.14 and pxcor < 90 [ set pcolor green] if pycor > 65 and pycor < 87.93 and pxcor > 10 and pxcor < 36 [ set pcolor green] if pycor > 105 and pycor < 116 and pxcor > -10 and pxcor < 10 [ set pcolor green] if pycor > 112.07 and pycor < 116 and pxcor > 9 and pxcor < 40 [ set pcolor green] ;casa if pycor > -53 and pycor < -34 and pxcor = -80 [ set pcolor brown] if pycor = -52 and pxcor > -80 and pxcor < -60 [ set pcolor brown] if pycor = -35 and pxcor > -80 and pxcor < -60 [ set pcolor brown] ] end to setup-school set secondfloorstairsx 20 set secondfloorstairsy 257 set firstfloorstairsx -1 set firstfloorstairsy 188 set mainfloorstairsx 3 set mainfloorstairsy 33 set aula1Abatx [ -68.5 256.5 -52 260 "plantasegona" "1Abatx" -55 250] set aula1Bbatx [ -68.5 288.5 -52 270 "plantasegona" "1Bbatx" -55 280] set aula3Ceso [ -48.5 288.5 -32 270 "plantasegona" "3Ceso" -35 280] set aula3Deso [ -28.5 288.5 -12 270 "plantasegona" "3Deso" -15 280] set aula1Aeso [ 11.5 288.5 28 270 "plantasegona" "1Aeso" 25 280] set aula1Beso [ 31.5 288.5 32 270 "plantasegona" "1Beso" 45 280] set aula1Ceso [ 51.5 288.5 52 270 "plantasegona" "1Ceso" 65 280] set aula1Deso [ 71.5 288.5 72 270 "plantasegona" "1Deso" 85 280] set aulaidiomes [ -88. 288.5 -72 270 "plantasegona" "aulaidiomes" -75 280] set aulabiolab [ 65.5 256.5 62 260 "plantasegona" "biolab" 75 250] set aulainformatica2 [ -88.5 218.5 -72 200 "plantaprimera" "informatica2" -75 210] set aulainformatica1 [ -68.5 218.5 -52 200 "plantaprimera" "informatica1" -55 210] set aula3Aeso [ -48.5 218.5 -32 200 "plantaprimera" "3Aeso" -35 210] set aula3Beso [ -28.5 218.5 -12 200 "plantaprimera" "3Beso" -15 210] set aulaprofessorat [ 11.5 218.5 28 200 "plantaprimera" "professorat"] set aula2Aeso [ 31.5 218.5 32 200 "plantaprimera" "2Aeso" 45 210] set aula2Beso [ 51.5 218.5 52 200 "plantaprimera" "2Beso" 65 210] set aula2Ceso [ 71.5 218.5 72 200 "plantaprimera" "2Ceso" 85 210] set auladibuix2 [ -68.5 186.5 -52 190 "plantaprimera" "dibuix2" -55 180] set auladibuix1 [ -48.5 186.5 -32 190 "plantaprimera" "dibuix1" -35 180] set aulatecnologia [ -68.5 63.5 -52 45 "plantabaixa" "tecnologia" -55 55] set aulalabfisicaiquimica [ -38.5 256.5 -22 260 "plantasegona" "labfisicaiquimica" -25 250] set aula2Abatx [ -48.5 63.5 -32 45 "plantabaixa" "2Abatx" -35 55] set aula2Bbatx [ -28.5 63.5 -12 45 "plantabaixa" "2Bbatx" -15 55] set aula4Aeso [ 11.5 63.5 28 45 "plantabaixa" "4Aeso" 25 55] set aula4Beso [ 31.5 63.5 32 45 "plantabaixa" "4Beso" 45 55] set aula4Ceso [ 51.5 63.5 52 45 "plantabaixa" "4Ceso" 65 55] set aulamusica [ -68.5 31.5 -52 35 "plantabaixa" "musica" -55 25] set gimnas [ -60 112 -10 112 "gimnas" "gimnas" -15 102] set depfisicaiquimica [ 5 5 -41 260 "plantasegona" "fisicaiquimica" -45 250] set depfrancesreligio [ 5 5 34 254 "plantasegona" "francesreligio" 34 248] set depnaturals [ 5 5 41 260 "plantasegona" "depnaturals" 50 250 ] set depdibuixmusica [ 5 5 -21 190 "plantaprimera" "depdibuixmusica" -25 180 ] set depangles [ 5 5 34 184 "plantaprimera" "depangles" 34 178 ] set depcastella [ 5 5 41 190 "plantaprimera" "depcastella" 47 180 ] set depmates [ 5 5 56 190 "plantaprimera" "depmates" 60 180 ] set depsocials [ 5 5 66 190 "plantaprimera" "depsocials" 72 180 ] set deptecnologia [ 5 5 -81 45 "plantabaixa" "deptecnologia" -85 55 ] set depcatala [ 5 5 41 35 "plantabaixa" "depcatala" 45 25 ] set depllatigrecfilosofia [ 5 5 51 35 "plantabaixa" "depllatigrecfilosofia" 55 25] end to setup-timetable set horarialumnesdilluns1 lput aula2Abatx lput aulatecnologia lput aula4Ceso lput aula4Beso lput aula3Deso lput aula3Beso lput aula2Aeso lput aula2Beso lput gimnas lput aula1Beso lput aula1Deso lput aula1Aeso lput aula1Ceso lput aula2Bbatx lput aula3Aeso lput aula3Ceso lput aula1Bbatx lput aula1Abatx [ ] set horariprofessorsdilluns1 lput gimnas lput gimnas lput depmates lput deptecnologia lput depfrancesreligio lput aula3Aeso lput depsocials lput depangles lput depdibuixmusica lput depcastella lput depangles lput aula4Aeso lput deptecnologia lput depfisicaiquimica lput auladibuix2 lput deptecnologia lput aula4Ceso lput aula1Beso lput depmates lput aula1Ceso lput aulatecnologia lput aula2Aeso lput depsocials lput depdibuixmusica lput depcastella lput aulainformatica1 lput aula1Abatx lput depangles lput depsocials lput depsocials lput aula2Beso lput depcatala lput aula1Bbatx lput aula4Beso lput depangles lput aula3Deso lput aula3Ceso lput aula2Abatx lput depmates lput aula4Ceso lput depnaturals lput aula1Deso lput depnaturals lput aula2Bbatx lput aula1Aeso [ ] set dilluns1 lput horarialumnesdilluns1 lput horariprofessorsdilluns1 [ ] set horarialumnesdilluns2 lput aula2Abatx lput aula4Aeso lput aula4Ceso lput aula4Beso lput aula3Deso lput aula3Beso lput auladibuix1 lput aula2Beso lput aula2Ceso lput aula1Beso lput aula1Deso lput aula1Aeso lput aula1Ceso lput aula2Bbatx lput gimnas lput aula3Ceso lput aula1Bbatx lput aula1Abatx [ ] set horariprofessorsdilluns2 lput gimnas lput gimnas lput depmates lput deptecnologia lput aula4Ceso lput aula3Beso lput depsocials lput aula4Aeso lput depdibuixmusica lput aula3Deso lput depangles lput aulatecnologia lput deptecnologia lput aula2Beso lput aula2Ceso lput deptecnologia lput aula1Beso lput auladibuix1 lput depmates lput aula1Deso lput aulatecnologia lput aula1Bbatx lput depsocials lput aula1Beso lput depcastella lput aula1Aeso lput depfisicaiquimica lput depangles lput aula2Bbatx lput depsocials lput depsocials lput depcatala lput depcastella lput aula1aeso lput aula3Ceso lput depcatala lput aula2Abatx lput depnaturals lput depmates lput depllatigrecfilosofia lput aula1Abatx lput aula4Ceso lput depnaturals lput depsocials lput aula1Ceso [ ] set dilluns2 lput horarialumnesdilluns2 lput horariprofessorsdilluns2 [ ] set break lput "break" [ ] set horarialumnesdilluns3 lput aula2Abatx lput aula4Aeso lput aula4Ceso lput gimnas lput aulaidiomes lput aula3Beso lput aula2Aeso lput aula2Beso lput aula2Ceso lput aula1Beso lput aula1Deso lput aula1Aeso lput aula1Ceso lput aula2Bbatx lput aula3Aeso lput aulabiolab lput aula1bbatx lput aula1abatx [ ] set horariprofessorsdilluns3 lput gimnas lput gimnas lput depmates lput deptecnologia lput aula4Aeso lput aula3Deso lput depsocials lput aulaidiomes lput depdibuixmusica lput aula1Deso lput aula1Ceso lput aulatecnologia lput deptecnologia lput depfisicaiquimica lput depdibuixmusica lput deptecnologia lput aula2Aeso lput auladibuix2 lput depmates lput depcatala lput deptecnologia lput depangles lput depsocials lput depdibuixmusica lput depcastella lput depmates lput aula2Abatx lput aula1Abatx lput depsocials lput aula1aeso lput aula2Aeso lput aula4Ceso lput aula2Ceso lput aula2Aeso lput aula3Aeso lput depcatala lput depsocials lput depnaturals lput depmates lput depllatigrecfilosofia lput aulabiolab lput aula4Aeso lput depnaturals lput aula3Beso lput depmates [ ] set dilluns3 lput horarialumnesdilluns3 lput horariprofessorsdilluns3 [ ] set horarialumnesdilluns4 lput aula2Abatx lput aula4Aeso lput aula4Ceso lput aula4Beso lput aula3Deso lput aula3Beso lput gimnas lput aula2Beso lput aula2ceso lput aula1Beso lput aula1Deso lput aula1Aeso lput aula1Ceso lput aula2Bbatx lput aula3Aeso lput aula3Ceso lput aula1Bbatx lput aula1Abatx [ ] set horariprofessorsdilluns4 lput gimnas lput gimnas lput depmates lput deptecnologia lput depfrancesreligio lput aula3Deso lput aula4Aeso lput depangles lput aula1Deso lput aula3Beso lput depangles lput aulatecnologia lput deptecnologia lput depfisicaiquimica lput aula2Beso lput deptecnologia lput depcatala lput depdibuixmusica lput depmates lput depcatala lput deptecnologia lput depangles lput aula2Bbatx lput aula1Aeso lput depcastella lput depmates lput depfisicaiquimica lput aula4Ceso lput aula4Beso lput depsocials lput aula2Ceso lput depcatala lput aula1Abatx lput aula1Beso lput aula3Ceso lput aula2Abatx lput depsocials lput depnaturals lput depmates lput depllatigrecfilosofia lput aulabiolab lput depllatigrecfilosofia lput aula1Ceso lput aula3Aeso lput aula1Bbatx [ ] set dilluns4 lput horarialumnesdilluns4 lput horariprofessorsdilluns4 [ ] set break lput "break" [ ] set horarialumnesdilluns5 lput aula2Abatx lput aula4Aeso lput gimnas lput aula4Beso lput aulatecnologia lput aula3Beso lput aula2Aeso lput aula2Beso lput aula2Ceso lput aula1Beso lput aula1Deso lput aula1Aeso lput aula1Ceso lput aula2Bbatx lput aula3Aeso lput aula3Ceso lput aula1Bbatx lput aula1Abatx [ ] set horariprofessorsdilluns5 lput gimnas lput gimnas lput depmates lput deptecnologia lput depfrancesreligio lput aula2Aeso lput depsocials lput depangles lput depdibuixmusica lput aula3Ceso lput depangles lput aulatecnologia lput deptecnologia lput depfisicaiquimica lput depdibuixmusica lput aula1Aeso lput depcatala lput depcastella lput aula4Aeso lput aula2Ceso lput deptecnologia lput depangles lput aula1Bbatx lput aula1Beso lput depcastella lput aula3Beso lput aula1abatx lput aula4Beso lput depsocials lput depsocials lput depsocials lput depcatala lput aula2Beso lput depangles lput aula2Bbatx lput aula3Aeso lput depsocials lput depnaturals lput aula1Deso lput depllatigrecfilosofia lput depnaturals lput aula2Abatx lput depnaturals lput aula1ceso lput depmates [ ] set dilluns5 lput horarialumnesdilluns5 lput horariprofessorsdilluns5 [ ] set horarialumnesdilluns6 lput aula2Abatx lput aula4Aeso lput aula4Ceso lput aula4Beso lput aula3Deso lput aula3Beso lput aula2Aeso lput aula2Beso lput aula2Ceso lput aula1Beso lput aula1Deso lput aula1Aeso lput aula1Ceso lput aula2Bbatx lput aula3Aeso lput aula3Ceso lput aula1Bbatx lput gimnas [ ] set horariprofessorsdilluns6 lput gimnas lput gimnas lput depmates lput deptecnologia lput depfrancesreligio lput depfisicaiquimica lput aula4Aeso lput depangles lput depdibuixmusica lput aula3Beso lput depangles lput deptecnologia lput aula2Ceso lput aula2Aeso lput depdibuixmusica lput deptecnologia lput depcatala lput depdibuixmusica lput aula4Beso lput aula1Deso lput aula4Ceso lput aula2Beso lput aula1Bbatx lput aula1Ceso lput aula2Bbatx lput aula3Aeso lput depfisicaiquimica lput depangles lput aula3Deso lput aula1Beso lput aula2Bbatx lput depcatala lput depcastella lput depangles lput depangles lput aula3Ceso lput depsocials lput depnaturals lput aula1Abatx lput depllatigrecfilosofia lput depnaturals lput depllatigrecfilosofia lput depnaturals lput depsocials lput aula2Abatx [ ] set dilluns6 lput horarialumnesdilluns6 lput horariprofessorsdilluns6 [ ] set dilluns lput dilluns6 lput dilluns5 lput break lput dilluns4 lput dilluns3 lput break lput dilluns2 lput dilluns1 [ ] set horarialumnesdimarts1 lput aula2Abatx lput aula4Aeso lput aula4Ceso lput aula4Beso lput aula3Deso lput aula3Beso lput aula2Aeso lput aula2Beso lput aula2Ceso lput aula1Beso lput aula1Deso lput aula1Aeso lput aula1Ceso lput aula2Bbatx lput aula3Aeso lput aula3Ceso lput gimnas lput aula1Abatx [ ] set horariprofessorsdimarts1 lput gimnas lput gimnas lput depmates lput deptecnologia lput depfrancesreligio lput depfisicaiquimica lput aula4Aeso lput depangles lput depdibuixmusica lput aula3Ceso lput depangles lput deptecnologia lput aulatecnologia lput aula2Beso lput depdibuixmusica lput aulatecnologia lput depcatala lput depcastella lput depmates lput aula1Deso lput aulatecnologia lput aula2Aeso lput depsocials lput depdibuixmusica lput aula4Beso lput aula3Beso lput depfisicaiquimica lput depangles lput aula2Bbatx lput depsocials lput aula2Ceso lput aula4Ceso lput depcastella lput aulaidiomes lput depangles lput aula3Aeso lput aula2Abatx lput depnaturals lput aula3Deso lput depllatigrecfilosofia lput aula1Abatx lput depllatigrecfilosofia lput aula1Aeso lput aula1Ceso lput depmates [ ] set dimarts1 lput horarialumnesdimarts1 lput horariprofessorsdimarts1 [ ] set horarialumnesdimarts2 lput aula2Abatx lput aula4Aeso lput aula4Ceso lput aula4Beso lput gimnas lput aula3Beso lput aulalabfisicaiquimica lput aula2Beso lput aula2Ceso lput aulabiolab lput aula1Deso lput aula1Aeso lput aula1Ceso lput aula2Bbatx lput aula3Aeso lput aula3Ceso lput aula1Bbatx lput aula1Abatx [ ] set horariprofessorsdimarts2 lput gimnas lput gimnas lput depmates lput deptecnologia lput depfrancesreligio lput depfisicaiquimica lput aula4Aeso lput depangles lput aula2Beso lput aula3Aeso lput depangles lput deptecnologia lput aulatecnologia lput aulalabfisicaiquimica lput depdibuixmusica lput aulatecnologia lput depangles lput depcastella lput depmates lput aula1Deso lput aulatecnologia lput aula2Ceso lput depsocials lput aula1Ceso lput aula4Ceso lput depmates lput depfisicaiquimica lput depangles lput aula4Beso lput depsocials lput depsocials lput depcatala lput aula1Abatx lput aula1Aeso lput depangles lput aula3Beso lput aula1Bbatx lput aula2Abatx lput aula3Ceso lput depllatigrecfilosofia lput depnaturals lput depllatigrecfilosofia lput aulabiolab lput aula2Bbatx lput depmates [ ] set dimarts2 lput horarialumnesdimarts2 lput horariprofessorsdimarts2 [ ] set horarialumnesdimarts3 lput aula2Abatx lput aula4Aeso lput aula4Ceso lput aula4Beso lput aula3Deso lput aula3Beso lput aula2Aeso lput aula2Beso lput aula2Ceso lput aulabiolab lput gimnas lput aula1Aeso lput gimnas lput aula2Bbatx lput aula3Aeso lput aula3Ceso lput aula1Bbatx lput aula1Abatx [ ] set horariprofessorsdimarts3 lput gimnas lput gimnas lput aula4Aeso lput deptecnologia lput depfrancesreligio lput depfisicaiquimica lput depsocials lput depangles lput depdibuixmusica lput aula3Beso lput depangles lput aula3Deso lput aula2Ceso lput depfisicaiquimica lput depdibuixmusica lput deptecnologia lput aula2Beso lput depdibuixmusica lput aula4Beso lput depcatala lput aula4Ceso lput aula2Aeso lput depsocials lput aula1Aeso lput aula2Abatx lput aula3Aeso lput depfisicaiquimica lput depangles lput depsocials lput depsocials lput depsocials lput depcatala lput depcastella lput aulaidiomes lput depangles lput aula3Ceso lput depsocials lput depnaturals lput aula1Abatx lput depllatigrecfilosofia lput aula1Bbatx lput depllatigrecfilosofia lput aulabiolab lput depsocials lput depmates [ ] set dimarts3 lput horarialumnesdimarts3 lput horariprofessorsdimarts3 [ ] set horarialumnesdimarts4 lput aula2Abatx lput gimnas lput aula4Ceso lput aula4Beso lput aula3Deso lput aula3Beso lput aula2Aeso lput aula2Beso lput aula2Ceso lput aula1Beso lput aula1Deso lput aula1Aeso lput aula1Ceso lput aula2Bbatx lput aula3Aeso lput aula3Ceso lput aula1Bbatx lput aula1Abatx [ ] set horariprofessorsdimarts4 lput gimnas lput gimnas lput depmates lput deptecnologia lput depfrancesreligio lput aula3Deso lput depsocials lput depangles lput aula1Deso lput depcastella lput depangles lput aula3Beso lput deptecnologia lput depfisicaiquimica lput depdibuixmusica lput deptecnologia lput depcatala lput aula1Ceso lput aula2Beso lput aula1Aeso lput deptecnologia lput aula2Abatx lput aula1Bbatx lput depdibuixmusica lput aula2Bbatx lput depmates lput aula4Ceso lput aula4beso lput depsocials lput depsocials lput aula2Bbatx lput aula1Abatx lput aula2Ceso lput depangles lput aula3Aeso lput depcatala lput depsocials lput aulabiolab lput depmates lput depllatigrecfilosofia lput aula3Ceso lput depllatigrecfilosofia lput depnaturals lput depsocials lput aula1Beso [ ] set dimarts4 lput horarialumnesdimarts4 lput horariprofessorsdimarts4 [ ] set horarialumnesdimarts5 lput aula2Abatx lput aula4Aeso lput aula4Ceso lput aulabiolab lput aula3Deso lput aula3Beso lput aula2Aeso lput gimnas lput aula2Ceso lput aula1Beso lput aula1Deso lput aula1Aeso lput aula1Ceso lput aula2Bbatx lput aula3Aeso lput aula3Ceso lput aula1Bbatx lput aula1Abatx [ ] set horariprofessorsdimarts5 lput gimnas lput gimnas lput depmates lput deptecnologia lput depfrancesreligio lput depfisicaiquimica lput depsocials lput depangles lput aula2Ceso lput depcastella lput aula1Deso lput deptecnologia lput deptecnologia lput aula1Abatx lput depdibuixmusica lput deptecnologia lput aula3Aeso lput aula1Beso lput aula4Ceso lput aula1Ceso lput aula4Aeso lput depangles lput aula3Deso lput depdibuixmusica lput depcastella lput aula2Abatx lput depfisicaiquimica lput depangles lput depsocials lput depsocials lput aula2Aeso lput depcatala lput depcastella lput aula3Aeso lput aula2Bbatx lput depcatala lput depsocials lput aulabiolab lput aula3Ceso lput depllatigrecfilosofia lput depnaturals lput aula1Bbatx lput depnaturals lput depsocials lput aula1Aeso [ ] set dimarts5 lput horarialumnesdimarts5 lput horariprofessorsdimarts5 [ ] set horarialumnesdimarts6 lput aula2Abatx lput aula4Aeso lput aula4Ceso lput aula4Beso lput aula3Deso lput aula3Beso lput aula2Aeso lput aula2Beso lput aula2Ceso lput aula1Beso lput aula1Deso lput aula1Aeso lput aula1Ceso lput aula2Bbatx lput aula3Aeso lput gimnas lput aula1Bbatx lput gimnas [ ] set horariprofessorsdimarts6 lput gimnas lput gimnas lput depmates lput deptecnologia lput depfrancesreligio lput depfisicaiquimica lput aula4Aeso lput depangles lput depdibuixmusica lput aula3Deso lput depangles lput aula3Aeso lput deptecnologia lput depfisicaiquimica lput depdibuixmusica lput deptecnologia lput aula2Beso lput depdibuixmusica lput depmates lput aula1Beso lput deptecnologia lput depangles lput depsocials lput depdibuixmusica lput depcastella lput depmates lput aula4Beso lput depangles lput aula4Ceso lput depsocials lput depsocials lput aula1Bbatx lput aula2Aeso lput depangles lput aula3beso lput depcatala lput depsocials lput depnaturals lput aula1Deso lput depllatigrecfilosofia lput depnaturals lput aula2Bbatx lput aula1Deso lput depsocials lput aula2Abatx [ ] set dimarts6 lput horarialumnesdimarts6 lput horariprofessorsdimarts6 [ ] set dimarts lput dimarts6 lput dimarts5 lput break lput dimarts4 lput dimarts3 lput break lput dimarts2 lput dimarts1 [ ] set horarialumnesdimecres1 lput aula2Abatx lput aula4Aeso lput aula4Ceso lput gimnas lput aula3Deso lput aulamusica lput aula2Aeso lput aula2Beso lput aula2Ceso lput aula1Beso lput aula1Deso lput aula1Aeso lput aula1Ceso lput aula2Bbatx lput aulamusica lput aula3Ceso lput aula1Bbatx lput aula1Abatx [ ] set horariprofessorsdimecres1 lput gimnas lput gimnas lput depmates lput deptecnologia lput depfrancesreligio lput aula3Deso lput aula4Aeso lput depangles lput aulamusica lput aula1Deso lput depangles lput deptecnologia lput deptecnologia lput depfisicaiquimica lput auladibuix2 lput deptecnologia lput depcatala lput aula1Aeso lput depmates lput aula1Beso lput aulatecnologia lput depangles lput depsocials lput depdibuixmusica lput depcastella lput depmates lput aula1Abatx lput depangles lput depsocials lput depsocials lput depsocials lput aula4Ceso lput aula2Beso lput depangles lput depangles lput depcatala lput aula1Bbatx lput aula2Abatx lput aula1Deso lput depllatigrecfilosofia lput aula3Ceso lput depllatigrecfilosofia lput depnaturals lput depsocials lput aula2Bbatx [ ] set dimecres1 lput horarialumnesdimecres1 lput horariprofessorsdimecres1 [ ] set horarialumnesdimecres2 lput aula2Abatx lput aula4Aeso lput aula4Ceso lput aula4Beso lput aula3Deso lput aula3Beso lput auladibuix1 lput aula2Beso lput aula2Ceso lput gimnas lput aula1Deso lput aula1Aeso lput aula1Ceso lput aula2Bbatx lput aula3Aeso lput aula3Ceso lput aula1Bbatx lput aula1Abatx [ ] set horariprofessorsdimecres2 lput gimnas lput gimnas lput depmates lput deptecnologia lput depfrancesreligio lput aula3Beso lput depsocials lput depangles lput aula1Deso lput depcastella lput depangles lput deptecnologia lput aula2Beso lput depfisicaiquimica lput aula2Ceso lput deptecnologia lput depangles lput auladibuix1 lput aula4Aeso lput depcatala lput deptecnologia lput aula2Abatx lput aula2Bbatx lput aula1Ceso lput aula4Beso lput depmates lput aula4Ceso lput depangles lput depsocials lput depsocials lput depsocials lput depcatala lput aula1Abatx lput depangles lput depangles lput depcatala lput aula3Ceso lput depnaturals lput aula3Deso lput depllatigrecfilosofia lput depnaturals lput depllatigrecfilosofia lput aula1Aeso lput aula3Aeso lput aula1Bbatx [ ] set dimecres2 lput horarialumnesdimecres2 lput horariprofessorsdimecres2 [ ] set horarialumnesdimecres3 lput aula2Abatx lput aula4Aeso lput gimnas lput aula4Beso lput aula3Deso lput aula3Beso lput aula2Aeso lput aula2Beso lput aula2Ceso lput aula1Beso lput aula1Deso lput aula1Aeso lput aula1Ceso lput aula2Bbatx lput aula3Aeso lput aula3Ceso lput aula1Bbatx lput aula1Abatx [ ] set horariprofessorsdimecres3 lput gimnas lput gimnas lput depmates lput deptecnologia lput depfrancesreligio lput aula2Aeso lput depsocials lput depangles lput depdibuixmusica lput aula3Ceso lput aula1Ceso lput deptecnologia lput deptecnologia lput depfisicaiquimica lput depdibuixmusica lput deptecnologia lput depcatala lput depdibuixmusica lput aula2Beso lput aula2Ceso lput deptecnologia lput aula1Bbatx lput depsocials lput aula1Aeso lput depcastella lput aula3Beso lput aula4Beso lput depangles lput aula3Deso lput depsocials lput depsocials lput aula4Aeso lput depcastella lput depangles lput depangles lput aula3Aeso lput depsocials lput depnaturals lput aula1Deso lput depllatigrecfilosofia lput depnaturals lput depllatigrecfilosofia lput aula1Beso lput depsocials lput aula2Abatx [ ] set dimecres3 lput horarialumnesdimecres3 lput horariprofessorsdimecres3 [ ] set horarialumnesdimecres4 lput aula2Abatx lput aula4Aeso lput aula4Ceso lput aula4Beso lput aula3Deso lput aula3Beso lput aula2Aeso lput aula2Beso lput aula2Ceso lput aula1Beso lput aula1Deso lput aula1Aeso lput aula1Ceso lput aula2Bbatx lput aula3Aeso lput aula3Ceso lput aula1Bbatx lput aula1Abatx [ ] set horariprofessorsdimecres4 lput gimnas lput gimnas lput aula4Aeso lput aula1Deso lput depfrancesreligio lput aula3Aeso lput depsocials lput depangles lput aula3Ceso lput depcastella lput aula1Deso lput deptecnologia lput aulatecnologia lput depfisicaiquimica lput aula2Beso lput deptecnologia lput aula1Bbatx lput aula1Ceso lput aula4beso lput aula1Aeso lput deptecnologia lput aula2Ceso lput depsocials lput depdibuixmusica lput depcastella lput aula2Abatx lput aula1Abatx lput depangles lput aula4Ceso lput depsocials lput aula2Aeso lput aula4Beso lput depcastella lput depangles lput aula2Bbatx lput depcatala lput depsocials lput depnaturals lput depmates lput depllatigrecfilosofia lput depnaturals lput aula1Bbatx lput depnaturals lput aula3Beso lput aula1Beso [ ] set dimecres4 lput horarialumnesdimecres4 lput horariprofessorsdimecres4 [ ] set horarialumnesdimecres5 lput aula2Abatx lput aula4Aeso lput aula4Ceso lput aula4Beso lput aula3Deso lput aula3Beso lput aula2Aeso lput aula2Beso lput aulalabfisicaiquimica lput aula1Beso lput aulabiolab lput gimnas lput aula1Ceso lput aula2Bbatx lput aula3Aeso lput aula3Ceso lput aula1Bbatx lput aula1Abatx [ ] set horariprofessorsdimecres5 lput gimnas lput gimnas lput depmates lput aula1Deso lput depfrancesreligio lput depfisicaiquimica lput depsocials lput depangles lput aula1Ceso lput depcastella lput depangles lput deptecnologia lput aulatecnologia lput aulalabfisicaiquimica lput depdibuixmusica lput deptecnologia lput aula3Aeso lput auladibuix2 lput aula4Ceso lput depcatala lput aulatecnologia lput aula2Beso lput aula3Deso lput aula1Beso lput aula2bbatx lput depmates lput aula2Abatx lput depangles lput depsocials lput depsocials lput aula2Aeso lput depcatala lput aula1Bbatx lput aula3Aeso lput depangles lput aula3Deso lput depsocials lput depnaturals lput depmates lput depllatigrecfilosofia lput aula1Abatx lput aula4Aeso lput aulabiolab lput depsocials lput depmates [ ] set dimecres5 lput horarialumnesdimecres5 lput horariprofessorsdimecres5 [ ] set horarialumnesdimecres6 lput aula2Abatx lput aula4Aeso lput aula4Ceso lput aula4Beso lput aula3Deso lput aula3Beso lput gimnas lput aula2Beso lput aula2Ceso lput aula1Beso lput aulabiolab lput aula1Aeso lput aula1Ceso lput aula2Bbatx lput aula3Aeso lput aula3Ceso lput aula1Bbatx lput aula1Abatx [ ] set horariprofessorsdimecres6 lput gimnas lput gimnas lput depmates lput aula1Ceso lput depfrancesreligio lput depfisicaiquimica lput depsocials lput aula3Deso lput depdibuixmusica lput aula3Aeso lput aula1Deso lput aula4Aeso lput deptecnologia lput aulalabfisicaiquimica lput depdibuixmusica lput aula1Beso lput aula4Ceso lput depdibuixmusica lput depmates lput depcatala lput deptecnologia lput aula2Ceso lput depsocials lput depdibuixmusica lput depcastella lput depmates lput depfisicaiquimica lput aula1Abatx lput depsocials lput depsocials lput aula2Beso lput aula1Bbatx lput depcastella lput depangles lput depangles lput aula3Beso lput depsocials lput depnaturals lput aula3Ceso lput aula4Ceso lput depnaturals lput aula2Abatx lput aulabiolab lput aula2Bbatx lput depmates [ ] set dimecres6 lput horarialumnesdimecres6 lput horariprofessorsdimecres6 [ ] set dimecres lput dimecres6 lput dimecres5 lput break lput dimecres4 lput dimecres3 lput break lput dimecres2 lput dimecres1 [ ] set horarialumnesdijous1 lput aula2Abatx lput aula4Aeso lput aula4Ceso lput aula4Beso lput aula3Deso lput aula3Beso lput aula2Aeso lput gimnas lput aula2Ceso lput aula1Beso lput aula1Deso lput aula1Aeso lput aula1Ceso lput aula2Bbatx lput aula3Aeso lput aula3Ceso lput aula1Bbatx lput aula1Abatx [ ] set horariprofessorsdijous1 lput gimnas lput gimnas lput depmates lput deptecnologia lput depfrancesreligio lput aula3Beso lput depsocials lput depangles lput aula3Ceso lput depcastella lput depangles lput deptecnologia lput deptecnologia lput aula2Aeso lput depdibuixmusica lput deptecnologia lput aula1Beso lput depdibuixmusica lput aula4beso lput aula1Deso lput aula4Aeso lput aula2Ceso lput aula1Bbatx lput aula1Beso lput aula2Bbatx lput aula1Aeso lput depfisicaiquimica lput aula4Ceso lput depsocials lput depsocials lput aula2Bbatx lput aula1Abatx lput depcastella lput depangles lput aula3beso lput aula3Deso lput depsocials lput depnaturals lput depmates lput depllatigrecfilosofia lput depnaturals lput aula2abatx lput depnaturals lput aula3Aeso lput aula1Ceso [ ] set dijous1 lput horarialumnesdijous1 lput horariprofessorsdijous1 [ ] set horarialumnesdijous2 lput aula2Abatx lput aula4Aeso lput aula4Ceso lput aula4Beso lput aula3Deso lput aula3Beso lput aula2Aeso lput aula2Beso lput aula2Ceso lput aula1Beso lput aula1Deso lput aula1Aeso lput aula1Ceso lput aula2Bbatx lput aula3Aeso lput gimnas lput aula1Bbatx lput aula1Abatx [ ] set horariprofessorsdijous2 lput gimnas lput gimnas lput depmates lput deptecnologia lput depfrancesreligio lput aula3Beso lput depsocials lput depangles lput depdibuixmusica lput depcastella lput depangles lput aulatecnologia lput deptecnologia lput depfisicaiquimica lput depdibuixmusica lput deptecnologia lput aula2Beso lput aula1ceso lput depmates lput aula1Aeso lput aulatecnologia lput depangles lput depsocials lput depdibuixmusica lput aula4ceso lput depmates lput depfisicaiquimica lput aula4beso lput aula3Deso lput depsocials lput depsocials lput aula4Aeso lput aula2Aeso lput depangles lput depangles lput aula2Bbatx lput aula1Bbatx lput aula2Abatx lput aula1Abatx lput depllatigrecfilosofia lput depnaturals lput aula1Deso lput depnaturals lput aula3Aeso lput aula1Beso [ ] set dijous2 lput horarialumnesdijous2 lput horariprofessorsdijous2 [ ] set horarialumnesdijous3 lput aula2Abatx lput aula4Aeso lput aula4Ceso lput aula4Beso lput aulamusica lput aulatecnologia lput aula2Aeso lput aula2Beso lput aula2Ceso lput aula1Beso lput aula1Deso lput aula1Aeso lput aula1Ceso lput aula2Bbatx lput gimnas lput auladibuix1 lput aula1Bbatx lput aula1Abatx [ ] set horariprofessorsdijous3 lput gimnas lput gimnas lput depmates lput deptecnologia lput depfrancesreligio lput aula2Aeso lput depsocials lput depangles lput aula3Ceso lput depcastella lput depangles lput aulatecnologia lput deptecnologia lput depfisicaiquimica lput depdibuixmusica lput deptecnologia lput depangles lput auladibuix1 lput aula4Aeso lput aula2Ceso lput deptecnologia lput depangles lput aula1Bbatx lput aulamusica lput depcastella lput aula2Abatx lput aula1Abatx lput depangles lput aula2Bbatx lput aula1Beso lput depsocials lput aula4Ceso lput aula2Beso lput aula1Aeso lput aula3beso lput depcatala lput depsocials lput aula4beso lput aula1Deso lput depllatigrecfilosofia lput depnaturals lput depllatigrecfilosofia lput aula1Ceso lput depsocials lput depmates [ ] set dijous3 lput horarialumnesdijous3 lput horariprofessorsdijous3 [ ] set horarialumnesdijous4 lput aula2Abatx lput aula4Aeso lput aula4Ceso lput aula4Beso lput aula3Deso lput aula3Beso lput aula2Aeso lput aula2Beso lput aula2Ceso lput aula1Beso lput aula1Deso lput aula1Aeso lput aula1Ceso lput aula2Bbatx lput aula3Aeso lput aula3Ceso lput aula1Bbatx lput aula1Abatx [ ] set horariprofessorsdijous4 lput gimnas lput gimnas lput depmates lput deptecnologia lput depfrancesreligio lput aula3Aeso lput depsocials lput aula3Deso lput aula1Deso lput depcastella lput depangles lput aula4Aeso lput deptecnologia lput aula2Ceso lput auladibuix2 lput deptecnologia lput aula4Ceso lput aula1Beso lput depmates lput aula1Ceso lput deptecnologia lput aula2Aeso lput depsocials lput depdibuixmusica lput aula2Abatx lput depmates lput aula1Abatx lput depangles lput depsocials lput depsocials lput aula2Beso lput depcatala lput depcastella lput aula4Beso lput aula3Aeso lput depcatala lput aula3Ceso lput depnaturals lput depmates lput aula4Ceso lput aula1Bbatx lput aula2Bbatx lput depnaturals lput aula3Beso lput aula1Aeso [ ] set dijous4 lput horarialumnesdijous4 lput horariprofessorsdijous4 [ ] set horarialumnesdijous5 lput aula2Abatx lput aula4Aeso lput aula4Ceso lput aula4Beso lput gimnas lput aula3Beso lput aula2Aeso lput aula2Beso lput aula2Ceso lput aula1Beso lput aula1Deso lput aula1Aeso lput aula1Ceso lput aula2Bbatx lput aula3Aeso lput aula3Ceso lput aula1Bbatx lput aula1Abatx [ ] set horariprofessorsdijous5 lput gimnas lput gimnas lput depmates lput deptecnologia lput depfrancesreligio lput aula3Aeso lput depsocials lput aula4Aeso lput aula3Beso lput depcastella lput depangles lput aulatecnologia lput deptecnologia lput depfisicaiquimica lput depdibuixmusica lput deptecnologia lput depangles lput aula1Aeso lput aula2Beso lput aula1Beso lput deptecnologia lput depangles lput aula2Bbatx lput depdibuixmusica lput depcastella lput depmates lput aula4Ceso lput depangles lput aula4Beso lput depsocials lput depsocials lput depcatala lput aula2Ceso lput depangles lput aula3Ceso lput aula2Abatx lput depsocials lput depnaturals lput aula1Deso lput depllatigrecfilosofia lput depnaturals lput aula1Abatx lput aula1Deso lput depsocials lput aula1Bbatx [ ] set dijous5 lput horarialumnesdijous5 lput horariprofessorsdijous5 [ ] set horarialumnesdijous6 lput aula2Abatx lput aula4Aeso lput aula4Ceso lput aula4Beso lput aula3Deso lput gimnas lput aula2Aeso lput aula2Beso lput aula2Ceso lput aula1Beso lput aula1Deso lput aula1Aeso lput aula1Ceso lput aula2Bbatx lput aulatecnologia lput aula3Ceso lput aula1Bbatx lput aula1Abatx [ ] set horariprofessorsdijous6 lput gimnas lput gimnas lput depmates lput aula1Deso lput depfrancesreligio lput depfisicaiquimica lput aula4Aeso lput aula3Deso lput depdibuixmusica lput depcastella lput depangles lput aulatecnologia lput deptecnologia lput aula1Abatx lput depdibuixmusica lput deptecnologia lput aula2Aeso lput depdibuixmusica lput aula4Ceso lput depcatala lput deptecnologia lput depangles lput depsocials lput depdibuixmusica lput depcastella lput depmates lput aula2Abatx lput depangles lput depsocials lput depsocials lput aula2Aeso lput aula4Beso lput aula2Ceso lput aula2Aeso lput aula3Aeso lput depcatala lput depsocials lput depsocials lput aula3Ceso lput depllatigrecfilosofia lput depnaturals lput aula1Bbatx lput depnaturals lput depsocials lput aula2Bbatx [ ] set dijous6 lput horarialumnesdijous6 lput horariprofessorsdijous6 [ ] set dijous lput dijous6 lput dijous5 lput break lput dijous4 lput dijous3 lput break lput dijous2 lput dijous1 [ ] set horarialumnesdivendres1 lput aula2Abatx lput aula4Aeso lput aula4Ceso lput aula4Beso lput aula3Deso lput aula3Beso lput aula2Aeso lput aula2Beso lput gimnas lput aula1Beso lput aula1Deso lput aula1Aeso lput aula1Ceso lput aula2Bbatx lput aula3Aeso lput aula3Ceso lput aula1Bbatx lput aula1Abatx [ ] set horariprofessorsdivendres1 lput gimnas lput gimnas lput aula4Aeso lput deptecnologia lput depfrancesreligio lput aula3Aeso lput depsocials lput depangles lput aula1Ceso lput depcastella lput aula1Deso lput deptecnologia lput aula2Aeso lput depfisicaiquimica lput aula2Beso lput deptecnologia lput aula1Bbatx lput depdibuixmusica lput depmates lput depcatala lput aula4Ceso lput depangles lput depsocials lput aula1Aeso lput depcastella lput aula2Abatx lput aula1Abatx lput depangles lput aula2bbatx lput depsocials lput depsocials lput depcatala lput depcastella lput depangles lput aula3Ceso lput depcatala lput depsocials lput aula4Beso lput aula3Deso lput depllatigrecfilosofia lput depnaturals lput aula1Bbatx lput aula1Beso lput aula3Beso lput depmates [ ] set divendres1 lput horarialumnesdivendres1 lput horariprofessorsdivendres1 [ ] set horarialumnesdivendres2 lput aula2Abatx lput gimnas lput aula4Ceso lput aula4Beso lput aula3Deso lput aula3Beso lput auladibuix1 lput aula2Beso lput aula2Ceso lput aula1Beso lput aula1Deso lput aula1Aeso lput aula1Ceso lput aula2Bbatx lput aula3Aeso lput aula3Ceso lput aula1Bbatx lput aula1Abatx [ ] set horariprofessorsdivendres2 lput gimnas lput gimnas lput depmates lput aula1Ceso lput aula1Aeso lput depfisicaiquimica lput depsocials lput depangles lput depdibuixmusica lput aula3Aeso lput aula1Ceso lput deptecnologia lput aulatecnologia lput aula2Ceso lput depdibuixmusica lput deptecnologia lput depangles lput auladibuix1 lput aula4Ceso lput depcatala lput deptecnologia lput aula2Beso lput aula1Bbatx lput aula1Aeso lput aula2Bbatx lput depmates lput aula4Beso lput aula1Abatx lput aula3Deso lput depsocials lput aula2Bbatx lput depcatala lput depcastella lput aula1Beso lput depangles lput aula3Beso lput aula2Abatx lput depnaturals lput aula3Ceso lput depllatigrecfilosofia lput depnaturals lput aula1Deso lput depnaturals lput depsocials lput depmates [ ] set divendres2 lput horarialumnesdivendres2 lput horariprofessorsdivendres2 [ ] set horarialumnesdivendres3 lput aula2Abatx lput aula4Aeso lput aula4ceso lput aula4Beso lput aula3Deso lput aula3Beso lput aula2Aeso lput aulalabfisicaiquimica lput aula2Ceso lput aula1Beso lput aula1Deso lput aula1Aeso lput aulabiolab lput aula2Bbatx lput aula3Aeso lput aula3Ceso lput aula1Bbatx lput gimnas [ ] set horariprofessorsdivendres3 lput gimnas lput gimnas lput depmates lput aula1Ceso lput depfrancesreligio lput aula3Beso lput depsocials lput depangles lput aula1Deso lput depcastella lput depangles lput aula3Ceso lput aulatecnologia lput aulalabfisicaiquimica lput aula2Ceso lput deptecnologia lput depangles lput depdibuixmusica lput aula4Aeso lput depcatala lput deptecnologia lput depangles lput aula2Bbatx lput aula1Beso lput aula4Beso lput depmates lput depfisicaiquimica lput depangles lput aula4Ceso lput aula1Aeso lput aula2Aeso lput depcatala lput depcastella lput depangles lput depangles lput aula3Deso lput depsocials lput depnaturals lput depmates lput depllatigrecfilosofia lput depnaturals lput aula2Abatx lput aulabiolab lput depsocials lput aula1Bbatx [ ] set divendres3 lput horarialumnesdivendres3 lput horariprofessorsdivendres3 [ ] set horarialumnesdivendres4 lput aula2Abatx lput aula4Aeso lput aula4Ceso lput aula4Beso lput aula3Deso lput aula3Beso lput aula2Aeso lput aula2Beso lput aula2Ceso lput aula1Beso lput aula1Deso lput aulaidiomes lput aulabiolab lput aula2Bbatx lput aula3Aeso lput aula3Ceso lput gimnas lput aula1Abatx [ ] set horariprofessorsdivendres4 lput gimnas lput gimnas lput depmates lput deptecnologia lput aula2Aeso lput depfisicaiquimica lput depsocials lput depangles lput depdibuixmusica lput aula3Beso lput aula1Ceso lput deptecnologia lput deptecnologia lput aulalabfisicaiquimica lput auladibuix2 lput aulatecnologia lput depangles lput depdibuixmusica lput depmates lput aula1Deso lput deptecnologia lput aula2Beso lput depsocials lput aula3Deso lput aula4Ceso lput aula3Aeso lput aula1Abatx lput depangles lput aula4Beso lput aula1Beso lput aula2Ceso lput aula4Aeso lput depcastella lput aulaidiomes lput depangles lput aula3Ceso lput depsocials lput depnaturals lput depmates lput depllatigrecfilosofia lput depnaturals lput aula2Bbatx lput aulabiolab lput depsocials lput aula2Abatx [ ] set divendres4 lput horarialumnesdivendres4 lput horariprofessorsdivendres4 [ ] set horarialumnesdivendres5 lput aula2Abatx lput aula4Aeso lput aula4Ceso lput aula4Beso lput aula3Deso lput aula3Beso lput aula2Aeso lput aula2Beso lput aula2Ceso lput aula1Beso lput gimnas lput aulabiolab lput gimnas lput aula2Bbatx lput aula3Aeso lput aula3Ceso lput aula1Bbatx lput aula1Abatx [ ] set horariprofessorsdivendres5 lput gimnas lput gimnas lput depmates lput deptecnologia lput aula3Aeso lput aula2Aeso lput depsocials lput aula4Aeso lput aula3Aeso lput aula3Deso lput depangles lput deptecnologia lput deptecnologia lput depfisicaiquimica lput depdibuixmusica lput aulatecnologia lput aula2Beso lput auladibuix2 lput depmates lput depcatala lput aulatecnologia lput aula1Bbatx lput depsocials lput depdibuixmusica lput depcastella lput depmates lput aula2Abatx lput aula4Ceso lput depsocials lput depsocials lput depsocials lput aula4Beso lput aula2Ceso lput aula1Beso lput aula3Beso lput aula2Bbatx lput aula3Ceso lput depnaturals lput depmates lput depllatigrecfilosofia lput aula1Abatx lput depllatigrecfilosofia lput aulabiolab lput depsocials lput depmates [ ] set divendres5 lput horarialumnesdivendres5 lput horariprofessorsdivendres5 [ ] set horarialumnesdivendres6 lput aula2Abatx lput aula4Aeso lput aula4Ceso lput aula4Beso lput aula3Deso lput aulamusica lput aula2Aeso lput aula2Beso lput aula2Ceso lput gimnas lput aula1Deso lput aulabiolab lput aula1Ceso lput aula2Bbatx lput aulamusica lput aula3Ceso lput aula1Bbatx lput aula1Abatx [ ] set horariprofessorsdivendres6 lput gimnas lput gimnas lput depmates lput deptecnologia lput aula4Ceso lput aula3Deso lput depsocials lput depangles lput aulamusica lput aula1Deso lput depangles lput deptecnologia lput deptecnologia lput depfisicaiquimica lput depdibuixmusica lput deptecnologia lput depangles lput depdibuixmusica lput aula2Beso lput depcatala lput aula4Aeso lput aula2Abatx lput depsocials lput depdibuixmusica lput aula2Bbatx lput depmates lput depfisicaiquimica lput depangles lput depsocials lput depsocials lput depsocials lput depcatala lput aula2Aeso lput aulaidiomes lput depangles lput depcatala lput aula1Bbatx lput depnaturals lput aula1Abatx lput depllatigrecfilosofia lput aula3Ceso lput aula4Ceso lput aulabiolab lput aula1Ceso lput depmates [ ] set divendres6 lput horarialumnesdivendres6 lput horariprofessorsdivendres6 [ ] set divendres lput divendres6 lput divendres5 lput break lput divendres4 lput divendres3 lput break lput divendres2 lput divendres1 [ ] set timetable lput divendres lput dijous lput dimecres lput dimarts lput dilluns [ ] end to setup-turtles set-default-shape turtles "person" create-people1Abatx 30 ask people1Abatx [ set color yellow set newfloor "plantasegona" set immune? false get-healthy set degree "1batx" set level "batx"] create-people1Bbatx 30 ask people1Bbatx [ set color yellow set newfloor "plantasegona" set immune? false get-healthy set degree "1batx" set level "batx"] create-people3Ceso 30 ask people3Ceso [ set color yellow set newfloor "plantasegona" set immune? false get-healthy set degree "3eso" set level "eso"] create-people3Aeso 30 ask people3Aeso [ set color yellow set newfloor "plantaprimera" set immune? false get-healthy set degree "3eso" set level "eso"] create-people2Bbatx 30 ask people2Bbatx [ set color yellow set newfloor "plantabaixa" set immune? false get-healthy set degree "2batx" set level "batx"] create-people1Ceso 30 ask people1Ceso [ set color yellow set newfloor "plantasegona" set immune? false get-healthy set degree "1eso" set level "eso"] create-people1Aeso 30 ask people1Aeso [set color yellow set newfloor "plantasegona" set immune? false get-healthy set degree "1eso" set level "eso"] create-people1Deso 30 ask people1Deso [ set color yellow set newfloor "plantasegona" set immune? false get-healthy set degree "1eso" set level "eso"] create-people1Beso 30 ask people1Beso [ set color yellow set newfloor "plantasegona" set immune? false get-healthy set degree "1eso" set level "eso"] create-people2Ceso 30 ask people2Ceso [ set color yellow set newfloor "plantaprimera" set immune? false get-healthy set degree "2eso" set level "eso"] create-people2Beso 30 ask people2Beso [ set color yellow set newfloor "plantaprimera" set immune? false get-healthy set degree "2eso" set level "eso"] create-people2Aeso 30 ask people2Aeso [ set color yellow set newfloor "plantaprimera" set immune? false get-healthy set degree "2eso" set level "eso"] create-people3Beso 30 ask people3Beso [ set color yellow set newfloor "plantaprimera" set immune? false get-healthy set degree "3eso" set level "eso"] create-people3Deso 30 ask people3Deso [ set color yellow set newfloor "plantasegona" set immune? false get-healthy set degree "3eso" set level "eso"] create-people4Beso 30 ask people4Beso [ set color yellow set newfloor "plantabaixa" set immune? false get-healthy set degree "4eso" set level "eso"] create-people4Ceso 30 ask people4Ceso [ set color yellow set newfloor "plantabaixa" set immune? false get-healthy set degree "4eso" set level "eso"] create-people4Aeso 30 ask people4Aeso [ set color yellow set newfloor "plantabaixa" set immune? false get-healthy set degree "4eso" set level "eso"] create-people2Abatx 30 ask people2Abatx [ set color yellow set newfloor "plantabaixa" set immune? false get-healthy set degree "2batx" set level "batx"] create-professors 45 ask professors [ set color yellow set newfloor "plantasegona" set immune? false get-healthy set degree "cap" set level "cap"] set hour 1000 set day 12000 ask n-of 1 turtles [get-infected set incubationperiod day + random day] ask turtles [set location "house" setxy -70 -42 ] end to get-infected set sick? false set immune? false set color pink set incubationperiod day + random day end to get-infectious set sick? true set immune? false set color red set timesick day * 4 end to get-healthy set sick? false set immune? false set color yellow end to become-immune set sick? false set immune? true set color gray set timeimmune day * 7 end to death set color brown set location "heaven" end to go foreach timetable ; per cada dia de la setmana [ let firsthour (item 0 ?) ; la primera hora del dilluns és el dilluns1 (i això per cada dia, és a dir, la primera hora del dimarts serà el dimarts1,...) set studentsschedule (item 1 firsthour ) ; l'ítem 1 de la primera hora del dilluns és l'horari dels alumnes studentsubication set professorsschedule (item 0 firsthour ) ; l'ítem 0 de la primara hora del dilluns és l'horari dels professors professorsubication ask turtles [set location "house" setxy -70 -42] repeat hour [class tick ; tots comencen a casa i van a classe ] foreach ? ; per cada hora d'un dia [ ifelse ? = break [ havebreakfast repeat hour [ playground update-epidemia ] repeat hour [class update-epidemia ] ] ; si és l'hora de l'esbarjo, van al pati [ set studentsschedule ( item 1 ?) studentsubication set professorsschedule (item 0 ?) professorsubication repeat hour [leaveclass update-epidemia ] ] ; si no toca pati, els alumnes miren dins l'ítem 1 de l'hora que sigui quina classe els toca. ;Els professors fan el mateix però amb l'ítem 0 de cada hora. ; I si han de canviar de classe, fan el "leaveclass". ] gohome repeat hour [ playground tick ] ; al final de cada dia tothom surt de l'escola per anar a casa. tick ] end to professorsubication let firstprofessor 0 foreach professorsschedule [ let professorx (item 6 ?) let professory (item 7 ?) let portax (item 2 ?) let portay (item 3 ?) let destinationclass (item 5 ?) let destinationfloor ( item 4 ?) ask professor ( 540 + firstprofessor) [ set deskx professorx set desky professory set previousdoorx doorx set previousdoory doory set doorx portax set doory portay set previousclass newclass set newclass destinationclass set previousfloor newfloor set newfloor destinationfloor ] set firstprofessor firstprofessor + 1 ] ask professors [ set location "classroom" ] end to studentsubication let x 0 let y 0 let primeralumne 0 foreach studentsschedule [ let primeralumnex (item 0 ? ) let primeralumney (item 1 ?) let portax (item 2 ?) let portay (item 3 ?) let destinationclass (item 5 ?) let destinationfloor ( item 4 ?) repeat 5 [ while [ y < 6] [ ask turtle (y + x * 6 + primeralumne) [ set deskx primeralumnex + x * 3 set desky primeralumney - y * 3 set previousdoorx doorx set previousdoory doory set doorx portax set doory portay set previousclass newclass set newclass destinationclass set previousfloor newfloor set newfloor destinationfloor ] set y y + 1 ] set x x + 1 set y 0 ] set primeralumne primeralumne + 30 set x 0 ] ask turtles [ set location "classroom" ] end to update-epidemia become-infectious infect recover update-global-variables write-to-file tick end to write-to-file if ticks mod 10 = 0 [let susceptibles count turtles with [ color = yellow] let infected count turtles with [ color = pink] let infectious count turtles with [ color = red] let immune count turtles with [ color = gray] let output-line lput immune lput ";" lput infectious lput ";" lput infected lput ";" lput susceptibles [] file-print (output-line ) ] end to update-global-variables ask turtles with [ color = pink ] [ set incubationperiod incubationperiod - 1] ask turtles with [ color = red ] [ set timesick timesick - 1 ] ask turtles with [ color = gray] [ set timeimmune timeimmune - 1] end to become-infectious ask turtles with [ color = pink and incubationperiod < 1] [ get-infectious] end to infect ask turtles with [ color = red and timesick < (day * 3) and timesick > day ] [set possibleinfected min-one-of other turtles [ distance myself ] ask possibleinfected [if color = yellow and (random-float 100) < infectiousness [get-infected]] ] end to recover ask turtles with [color = red and timesick = 0] [ ifelse ((random-float 100) < chance-recover) [become-immune] [death]] ask turtles with [color = gray and timeimmune = 0] [ get-healthy] end to havebreakfast ask turtles [ set destination "menjador" if random 100 > 4 [ set destination "playground" ] ] end to gohome ask turtles [ set destination "casa" ] end to leaveclass ask turtles [ if previousfloor = "plantasegona" and newfloor = "plantasegona" [ if location = "newclassroom" [ facexy deskx desky if distancexy deskx desky < 1.5 [ set location "atdesk" ] ] if location = "middlecorridor" [ facexy doorx doory if xcor > doorx - 1 and xcor < doorx + 1 and ycor > doory - 1 and ycor < doory + 1 [ set location "newclassroom" if doory > desky [set heading 180 fd 1 ] if doory < desky [set heading 360 fd 1 ] ] ] if location = "corridor" [ facexy xcor 265 if ycor > 264 and ycor < 266 [ set location "middlecorridor" ] ] if location = "classroom" [ set heading atan ( previousdoorx - xcor) ( previousdoory - ycor) if pcolor = blue [ set location "corridor" ] ] ] if previousfloor = "plantaprimera" and newfloor = "plantaprimera" [ if location = "newclassroom" [ facexy deskx desky if distancexy deskx desky < 1.5 [ set location "atdesk" ] ] if location = "middlecorridor" [ facexy doorx doory if xcor > doorx - 1 and xcor < doorx + 1 and ycor > doory - 1 and ycor < doory + 1 [ set location "newclassroom" if doory > desky [ set heading 180 fd 1 ] if doory < desky [ set heading 360 fd 1 ] ] ] if location = "corridor" [ facexy xcor 195 if ycor > 194 and ycor < 196 [ set location "middlecorridor" ] ] if location = "classroom" [ set heading atan ( previousdoorx - xcor) ( previousdoory - ycor) if pcolor = blue [ set location "corridor" ] ] ] if newfloor = "plantaprimera" and previousfloor = "plantasegona" [ if location = "newclassroom" [ facexy deskx desky if distancexy deskx desky < 1.5 [ set location "atdesk" ] ] if location = "firstfloor" [ facexy doorx doory if pcolor = blue and xcor > doorx - 1 and xcor < doorx + 1 and ycor > doory - 1 and ycor < doory + 1 [ set location "newclassroom" if doory > desky [ set heading 180 fd 1 ] if doory < desky [ set heading 360 fd 1 ] ] ] if location = "firstfloorstairs" [ set xcor firstfloorstairsx set ycor firstfloorstairsy if pcolor = violet [ set location "firstfloor" ] ] if location = "secondfloorstairs" [ facexy 1 258 if pcolor = magenta [ set location "firstfloorstairs" ] ] if location = "middlecorridor" [ facexy secondfloorstairsx secondfloorstairsy if pcolor = pink and xcor > secondfloorstairsx - 3 and xcor < secondfloorstairsx + 3 and ycor > secondfloorstairsy - 3 and ycor < secondfloorstairsy + 3 [ set location "secondfloorstairs" ] ] if location = "corridor" [ facexy xcor 265 if ycor > 264 and ycor < 266 [ set location "middlecorridor" ] ] if location = "classroom" [ set heading atan ( previousdoorx - xcor) ( previousdoory - ycor) if pcolor = blue [ set location "corridor" ] ] ] if newfloor = "plantasegona" and previousfloor = "plantaprimera" [ if location = "newclassroom" [ facexy deskx desky if distancexy deskx desky < 1.5 [ set location "atdesk" ] ] if location = "newcorridor" [ facexy doorx doory if pcolor = blue and xcor > doorx - 1 and xcor < doorx + 1 and ycor > doory - 1 and ycor < doory + 1 [ set location "newclassroom" if doory > desky [ set heading 180 fd 1 ] if doory < desky [ set heading 360 fd 1 ] ] ] if location = "secondfloorstairs" [ facexy 20 267 if pcolor = violet [ set location "newcorridor" ] ] if location = "firstfloorstairs2" [ set xcor 1 set ycor 255 if pcolor = magenta [ set location "secondfloorstairs" ] ] if location = "middlecorridor" [ facexy 18 184 if pcolor = magenta [ set location "firstfloorstairs2" ] ] if location = "corridor" [ facexy xcor 195 if ycor > 194 and ycor < 196 [ set location "middlecorridor" ] ] if location = "classroom" [ set heading atan ( previousdoorx - xcor) ( previousdoory - ycor) if pcolor = blue [ set location "corridor" ] ] ] if previousfloor = "gimnas" and newfloor = "plantabaixa" [ if location = "newclassroom" [ facexy deskx desky if distancexy deskx desky < 1.5 [ set location "atdesk" ] ] if location = "middlecorridor2" [ facexy doorx doory if xcor > doorx - 1 and xcor < doorx + 1 and ycor > doory - 1 and ycor < doory + 1 [ set location "newclassroom" if doory > desky [ set heading 180 fd 1 ] if doory < desky [ set heading 360 fd 1 ] ] ] if location = "indoors" [ facexy 0 40 if xcor > -2 and xcor < 2 and ycor > 38 and ycor < 42 [ set location "middlecorridor2" ] ] if location = "out" [ facexy 7 105 if pcolor = sky [ set location "indoors" ] ] if location = "classroom" [ set heading atan ( previousdoorx - xcor) ( previousdoory - ycor) if pcolor = blue [ set location "out" ] ] ] if previousfloor = "plantabaixa" and newfloor = "gimnas" [ if location = "newclassroom" [ facexy deskx desky if distancexy deskx desky < 1.5 [ set location "atdesk" ] ] if location = "out" [ facexy doorx doory if pcolor = blue and xcor > doorx - 1 and xcor < doorx + 1 and ycor > doory - 1 and ycor < doory + 1 [ set location "newclassroom" if doorx > deskx [ set heading 270 fd 1 ] ] ] if location = "middlecorridor2" [ facexy 7 105 if pcolor = sky [ set location "out" ] ] if location = "middlecorridor" [ facexy 0 40 if xcor > -2 and xcor < 2 and ycor > 38 and ycor < 42 [ set location "middlecorridor2" ] ] if location = "corridor" [ facexy xcor 40 if ycor > 39 and ycor < 41 [ set location "middlecorridor" ] ] if location = "classroom" [ set heading atan ( previousdoorx - xcor) ( previousdoory - ycor) if pcolor = blue [ set location "corridor" ] ] ] if previousfloor = "plantabaixa" and newfloor = "plantabaixa" [ if location = "newclassroom" [ facexy deskx desky if distancexy deskx desky < 1.5 [ set location "atdesk" ] ] if location = "middlecorridor" [ facexy doorx doory if xcor > doorx - 1 and xcor < doorx + 1 and ycor > doory - 1 and ycor < doory + 1 [ set location "newclassroom" if doory > desky [ set heading 180 fd 1 ] if doory < desky [ set heading 360 fd 1 ] ] ] if location = "corridor" [ facexy xcor 40 if ycor > 39 and ycor < 41 [ set location "middlecorridor" ] ] if location = "classroom" [ set heading atan ( previousdoorx - xcor) ( previousdoory - ycor) if pcolor = blue [ set location "corridor" ] ] ] if newfloor = "plantaprimera" and previousfloor = "gimnas" [ if location = "newclassroom" [ facexy deskx desky if distancexy deskx desky < 1.5 [ set location "atdesk" ] ] if location = "firstfloor" [ facexy doorx doory if pcolor = blue and xcor > doorx - 1 and xcor < doorx + 1 and ycor > doory - 1 and ycor < doory + 1 [ set location "newclassroom" if doory > desky [ set heading 180 fd 1 ] if doory < desky [ set heading 360 fd 1 ] ] ] if location = "mainfloorstairs" [ set xcor 21 set ycor 184 if pcolor = violet [ set location "firstfloor" ] ] if location = "mainfloor" [ facexy 21 29 if pcolor = magenta [ set location "mainfloorstairs" ] ] if location = "indoors" [ facexy mainfloorstairsx mainfloorstairsy if pcolor = violet [ set location "mainfloor" ] ] if location = "out" [ facexy 7 105 if pcolor = sky [ set location "indoors" ] ] if location = "classroom" [ set heading atan ( previousdoorx - xcor) ( previousdoory - ycor) if pcolor = blue [ set location "out" ] ] ] if newfloor = "gimnas" and previousfloor = "plantaprimera" [ if location = "newclassroom" [ facexy deskx desky if distancexy deskx desky < 1.5 [ set location "atdesk" ] ] if location = "out" [ facexy doorx doory if pcolor = blue and xcor > doorx - 1 and xcor < doorx + 1 and ycor > doory - 1 and ycor < doory + 1 [ set location "newclassroom" if doorx > deskx [ set heading 270 fd 1 ] ] ] if location = "mainfloor" [ facexy 7 105 if pcolor = sky [ set location "out" ] ] if location = "mainfloorstairs" [ set xcor mainfloorstairsx set ycor mainfloorstairsy if pcolor = violet [ set location "mainfloor" ] ] if location = "firstfloorstairs2" [ facexy 1 188 if pcolor = magenta [ set location "mainfloorstairs" ] ] if location = "middlecorridor" [ facexy 20 188 if xcor > 18 and xcor < 22 and ycor > 185 and ycor < 190 [ set location "firstfloorstairs2" ] ] if location = "corridor" [ facexy xcor 195 if ycor > 194 and ycor < 196 [ set location "middlecorridor" ] ] if location = "classroom" [ set heading atan ( previousdoorx - xcor) ( previousdoory - ycor) if pcolor = blue [ set location "corridor" ] ] ] if newfloor = "gimnas" and previousfloor = "plantasegona" [ if location = "newclassroom" [ facexy deskx desky if distancexy deskx desky < 1.5 [ set location "atdesk" ] ] if location = "out" [ facexy doorx doory if pcolor = blue and xcor > doorx - 1 and xcor < doorx + 1 and ycor > doory - 1 and ycor < doory + 1 [ set location "newclassroom" if doorx > deskx [ set heading 270 fd 1 ] ] ] if location = "mainfloor" [ facexy 7 105 if pcolor = sky [ set location "out" ] ] if location = "mainfloorstairs" [ set xcor mainfloorstairsx set ycor mainfloorstairsy if pcolor = violet [ set location "mainfloor" ] ] if location = "firstfloorstairs2" [ facexy 1 188 if pcolor = magenta [ set location "mainfloorstairs" ] ] if location = "firstfloor" [ facexy 20 188 if xcor > 18 and xcor < 22 and ycor > 185 and ycor < 190 [ set location "firstfloorstairs2" ] ] if location = "firstfloorstairs" [ set xcor firstfloorstairsx set ycor firstfloorstairsy if pcolor = violet [ set location "firstfloor" ] ] if location = "secondfloorstairs" [ facexy 1 258 if pcolor = magenta [ set location "firstfloorstairs" ] ] if location = "middlecorridor" [ facexy secondfloorstairsx secondfloorstairsy if pcolor = pink and xcor > secondfloorstairsx - 3 and xcor < secondfloorstairsx + 3 and ycor > secondfloorstairsy - 3 and ycor < secondfloorstairsy + 3 [ set location "secondfloorstairs" ] ] if location = "corridor" [ facexy xcor 265 if ycor > 264 and ycor < 266 [ set location "middlecorridor" ] ] if location = "classroom" [ set heading atan ( previousdoorx - xcor) ( previousdoory - ycor) if pcolor = blue [ set location "corridor" ] ] ] if newfloor = "plantabaixa" and previousfloor = "plantasegona" [ if location = "newclassroom" [ facexy deskx desky if distancexy deskx desky < 1.5 [ set location "atdesk" ] ] if location = "mainfloor" [ facexy doorx doory if pcolor = blue and xcor > doorx - 1 and xcor < doorx + 1 and ycor > doory - 1 and ycor < doory + 1 [ set location "newclassroom" if doory > desky [ set heading 180 fd 1 ] if doory < desky [ set heading 360 fd 1 ] ] ] if location = "mainfloorstairs" [ set xcor mainfloorstairsx set ycor mainfloorstairsy if pcolor = violet [ set location "mainfloor" ] ] if location = "firstfloorstairs2" [ facexy 1 188 if pcolor = magenta [ set location "mainfloorstairs" ] ] if location = "firstfloor" [ facexy 20 188 if xcor > 18 and xcor < 22 and ycor > 185 and ycor < 190 [ set location "firstfloorstairs2" ] ] if location = "firstfloorstairs" [ set xcor firstfloorstairsx set ycor firstfloorstairsy if pcolor = violet [ set location "firstfloor" ] ] if location = "secondfloorstairs" [ facexy 1 258 if pcolor = magenta [ set location "firstfloorstairs" ] ] if location = "middlecorridor" [ facexy secondfloorstairsx secondfloorstairsy if pcolor = pink and xcor > secondfloorstairsx - 3 and xcor < secondfloorstairsx + 3 and ycor > secondfloorstairsy - 3 and ycor < secondfloorstairsy + 3 [ set location "secondfloorstairs" ] ] if location = "corridor" [ facexy xcor 265 if ycor > 264 and ycor < 266 [ set location "middlecorridor" ] ] if location = "classroom" [ set heading atan ( previousdoorx - xcor) ( previousdoory - ycor) if pcolor = blue [ set location "corridor" ] ] ] if newfloor = "plantabaixa" and previousfloor = "plantaprimera" [ if location = "newclassroom" [ facexy deskx desky if distancexy deskx desky < 1.5 [ set location "atdesk" ] ] if location = "mainfloor" [ facexy doorx doory if pcolor = blue and xcor > doorx - 1 and xcor < doorx + 1 and ycor > doory - 1 and ycor < doory + 1 [ set location "newclassroom" if doory > desky [ set heading 180 fd 1 ] if doory < desky [ set heading 360 fd 1 ] ] ] if location = "mainfloorstairs" [ set xcor mainfloorstairsx set ycor mainfloorstairsy if pcolor = violet [ set location "mainfloor" ] ] if location = "firstfloorstairs2" [ facexy 1 188 if pcolor = magenta [ set location "mainfloorstairs" ] ] if location = "middlecorridor" [ facexy 20 188 if xcor > 18 and xcor < 22 and ycor > 185 and ycor < 190 [ set location "firstfloorstairs2" ] ] if location = "corridor" [ facexy xcor 195 if ycor > 194 and ycor < 196 [ set location "middlecorridor" ] ] if location = "classroom" [ set heading atan ( previousdoorx - xcor) ( previousdoory - ycor) if pcolor = blue [ set location "corridor" ] ] ] if newfloor = "plantaprimera" and previousfloor = "plantabaixa" [ if location = "newclassroom" [ facexy deskx desky if distancexy deskx desky < 1.5 [ set location "atdesk" ] ] if location = "firstfloor" [ facexy doorx doory if pcolor = blue and xcor > doorx - 1 and xcor < doorx + 1 and ycor > doory - 1 and ycor < doory + 1 [ set location "newclassroom" if doory > desky [ set heading 180 fd 1 ] if doory < desky [ set heading 360 fd 1 ] ] ] if location = "mainfloorstairs" [ set xcor 21 set ycor 184 if pcolor = violet [ set location "firstfloor" ] ] if location = "mainfloor" [ facexy 21 29 if pcolor = magenta [ set location "mainfloorstairs" ] ] if location = "middlecorridor" [ facexy mainfloorstairsx mainfloorstairsy if pcolor = violet [ set location "mainfloor" ] ] if location = "corridor" [ facexy xcor 40 if ycor > 39 and ycor < 41 [ set location "middlecorridor" ] ] if location = "classroom" [ set heading atan ( previousdoorx - xcor) ( previousdoory - ycor) if pcolor = blue [ set location "corridor" ] ] ] if newfloor = "plantasegona" and previousfloor = "plantabaixa" [ if location = "newclassroom" [ facexy deskx desky if distancexy deskx desky < 1.5 [ set location "atdesk" ] ] if location = "newcorridor" [ facexy doorx doory if pcolor = blue and xcor > doorx - 1 and xcor < doorx + 1 and ycor > doory - 1 and ycor < doory + 1 [ set location "newclassroom" if doory > desky [ set heading 180 fd 1 ] if doory < desky [ set heading 360 fd 1 ] ] ] if location = "secondfloorstairs" [ facexy 20 267 if pcolor = violet [ set location "newcorridor" ] ] if location = "firstfloorstairs2" [ set xcor 1 set ycor 255 if pcolor = magenta [ set location "secondfloorstairs" ] ] if location = "firstfloorstairs" [ facexy 18 184 if pcolor = magenta [ set location "firstfloorstairs2" ] ] if location = "firstfloor" [ facexy 0 184 if pcolor = pink [ set location "firstfloorstairs" ] ] if location = "mainfloorstairs" [ set xcor 21 set ycor 184 if pcolor = violet [ set location "firstfloor" ] ] if location = "mainfloor" [ facexy 21 29 if pcolor = magenta [ set location "mainfloorstairs" ] ] if location = "middlecorridor" [ facexy mainfloorstairsx mainfloorstairsy if pcolor = violet [ set location "mainfloor" ] ] if location = "corridor" [ facexy xcor 40 if ycor > 39 and ycor < 41 [ set location "middlecorridor" ] ] if location = "classroom" [ set heading atan ( previousdoorx - xcor) ( previousdoory - ycor) if pcolor = blue [ set location "corridor" ] ] ] if newfloor = "plantasegona" and previousfloor = "gimnas" [ if location = "newclassroom" [ facexy deskx desky if distancexy deskx desky < 1.5 [ set location "atdesk" ] ] if location = "newcorridor" [ facexy doorx doory if pcolor = blue and xcor > doorx - 1 and xcor < doorx + 1 and ycor > doory - 1 and ycor < doory + 1 [ set location "newclassroom" if doory > desky [ set heading 180 fd 1 ] if doory < desky [ set heading 360 fd 1 ] ] ] if location = "secondfloorstairs" [ facexy 20 267 if pcolor = violet [ set location "newcorridor" ] ] if location = "firstfloorstairs2" [ set xcor 1 set ycor 255 if pcolor = magenta [ set location "secondfloorstairs" ] ] if location = "firstfloorstairs" [ facexy 18 184 if pcolor = magenta [ set location "firstfloorstairs2" ] ] if location = "firstfloor" [ facexy 0 184 if pcolor = pink [ set location "firstfloorstairs" ] ] if location = "mainfloorstairs" [ set xcor 21 set ycor 184 if pcolor = violet [ set location "firstfloor" ] ] if location = "mainfloor" [ facexy 21 29 if pcolor = magenta [ set location "mainfloorstairs" ] ] if location = "indoors" [ facexy mainfloorstairsx mainfloorstairsy if pcolor = violet [ set location "mainfloor" ] ] if location = "out" [ facexy 7 105 if pcolor = sky [ set location "indoors" ] ] if location = "classroom" [ set heading atan ( previousdoorx - xcor) ( previousdoory - ycor) if pcolor = blue [ set location "out" ] ] ] ] ask turtles [ set distancia random 2 ifelse newclass = previousclass or location = "atdesk" [ move-turtle ] [ fd distancia while [ pcolor = brown] [ fd distancia * -1 rt random 360 fd 1 ] ] ] end to playground ask turtles [ if location = "playground" and degree = "1batx" [ if (distancexy 30 -15 ) < 5 [ set heading 270 ] if pcolor = sky or pcolor = sky + 1 [ facexy 30 -15 ] ] if location = "playground" and degree != "1batx" [ if (distancexy -30 -15) < 5 [ set heading 100 ] if pcolor = sky or pcolor = sky + 1 [ facexy -30 -15 ] ] if location = "playground2" [ if xcor > -7 and xcor < 3 and ycor > 148 and ycor < 152 [ set heading random 360 ] if pcolor = sky [ facexy -5 150 ] if pcolor = blue [ fd -1 facexy -5 150 ] ] if location = "canteenstairs2" [ set xcor -3 set ycor -78 if pcolor = violet [ set location "canteen" ] ] if location = "frontdoor" or location = "house" [ facexy -70 -42 if xcor < -70 + 3 and xcor > -70 - 3 and ycor < -42 + 3 and ycor > -42 - 3 [ set location "house" ] ] if location = "mainfloor" and level = "batx" and destination = "playground" [ facexy -5 21 if pcolor = sky [ set location "playground" if degree = "1batx" [facexy 30 -15] if degree != "1batx" [ facexy -30 -15] ] ] if location ="atdesk" and newfloor = "gimnas" and destination != "casa" [ set heading atan ( doorx - xcor) ( doory - ycor) if pcolor = blue [ set location "playground2" facexy 5 135 fd 1 ] ] if location = "mainfloor" and level != "batx" and destination = "playground" [ facexy 7 105 if pcolor = sky [ set location "playground2" facexy -5 150 ] ] if location = "canteenstairs" [ facexy -3 98 if pcolor = magenta [ set location "canteenstairs2" ] ] if location = "exit" [ facexy -7 -25 if pcolor = (sky + 1) [ set location "frontdoor" ] ] if location = "mainfloor" and destination = "menjador" [ facexy -3 80 if pcolor = pink [ set location "canteenstairs" facexy -3 98 ] ] if location = "mainfloor" and destination = "casa" and destination != "playground" and destination != "menjador" [ facexy -5 21 if pcolor = sky [ set location "exit" facexy 0 -10 ] ] if location = "indoors" and destination = "casa" [ facexy mainfloorstairsx mainfloorstairsy if pcolor = violet [ set location "mainfloor" ] ] if location = "backdoor" and destination = "casa" [ facexy 7 105 if pcolor = sky [ set location "indoors" ] ] if location = "atdesk" and newfloor = "gimnas" and destination = "casa" and destination != "playground" [ set heading atan ( doorx - xcor) ( doory - ycor) if pcolor = blue [ set location "backdoor" ] ] if location = "mainfloorstairs" [ set xcor mainfloorstairsx set ycor mainfloorstairsy if pcolor = violet [ set location "mainfloor" ] ] if location = "corridor" and newfloor = "plantabaixa" [ facexy mainfloorstairsx mainfloorstairsy if pcolor = violet [ set location "mainfloor" ] ] if location = "firstfloorstairs2" [ facexy 1 188 if pcolor = magenta [ set location "mainfloorstairs" ] ] if location = "firstfloor" [ facexy 20 188 if pcolor = pink [ set location "firstfloorstairs2" ] ] if location = "corridor" and newfloor = "plantaprimera" [ facexy 20 188 if pcolor = pink [ set location "firstfloorstairs2" ] ] if location = "firstfloorstairs" [ set xcor firstfloorstairsx set ycor firstfloorstairsy if pcolor = violet [ set location "firstfloor" ] ] if location = "secondfloorstairs" [ facexy 1 258 if pcolor = magenta [ set location "firstfloorstairs" ] ] if location = "corridor" and newfloor = "plantasegona" [ facexy secondfloorstairsx secondfloorstairsy if pcolor = pink [set location "secondfloorstairs" ] ] if location = "classroom" or location = "atdesk" or location = "newclassroom" and newfloor != "gimnas" [ set heading atan ( doorx - xcor) ( doory - ycor) if pcolor = blue [ set location "corridor" ] ] ] ask turtles [ fd 1 ] ask turtles [ while [ pcolor = brown ] [ fd -1 rt random 360 fd 1 ] ] end to class ask turtles [ if location = "classroom" [ facexy deskx desky ] if location = "corridor" [ facexy doorx doory if pcolor = blue and xcor > doorx - 1 and xcor < doorx + 1 and ycor > doory - 1 and ycor < doory + 1 [ set location "classroom" if doory > desky [set heading 180 fd 1 ] if doory < desky [set heading 360 fd 1 ] ] ] if location = "indoors2" [ facexy 7 105 if pcolor = sky [ set location "playground2" ] ] if location = "playground" and newfloor = "gimnas" [ facexy -5 21 if pcolor = sky [ set location "indoors2" ] ] if location = "playground2" and newfloor = "gimnas" [ facexy doorx doory if pcolor = blue and xcor > doorx - 1 and xcor < doorx + 1 and ycor > doory - 1 and ycor < doory + 1 [ set location "classroom" if doorx > deskx [set heading 270 fd 1 ] ] ] if location = "mainfloor" and newfloor = "plantabaixa" [ facexy doorx doory if pcolor = blue and xcor > doorx - 1 and xcor < doorx + 1 and ycor > doory - 1 and ycor < doory + 1 [ set location "classroom" if doory > desky [set heading 180 fd 1 ] if doory < desky [set heading 360 fd 1 ] ] ] if location = "firstfloor" and newfloor = "plantaprimera" [ facexy doorx doory if pcolor = blue and xcor > doorx - 1 and xcor < doorx + 1 and ycor > doory - 1 and ycor < doory + 1 [ set location "classroom" if doory > desky [set heading 180 fd 1 ] if doory < desky [set heading 360 fd 1 ] ] ] if location = "secondfloorstairs" [ facexy 20 267 if pcolor = violet [ set location "corridor" ] ] if location = "firstfloorstairs2" [ set xcor 1 set ycor 255 if pcolor = magenta [ set location "secondfloorstairs" ] ] if location = "firstfloorstairs" [ facexy 18 184 if pcolor = magenta [ set location "firstfloorstairs2" ] ] if location = "firstfloor" and newfloor = "plantasegona" [ facexy 0 184 if pcolor = pink [ set location "firstfloorstairs" ] ] if location = "mainfloorstairs" [ set xcor 21 set ycor 184 if pcolor = violet [ set location "firstfloor" ] ] if location = "mainfloor" and newfloor != "plantabaixa" [ facexy 21 29 if pcolor = magenta [ set location "mainfloorstairs" ] ] if location = "indoors" [ facexy mainfloorstairsx mainfloorstairsy if pcolor = violet [ set location "mainfloor" ] ] if location = "playground" and newfloor != "gimnas" [ facexy -5 21 if pcolor = sky [ set location "indoors" ] ] if location = "playground2" and newfloor != "gimnas" [ facexy 7 105 if pcolor = sky [ set location "indoors" ] ] if location = "canteenstairs" [ set xcor -7 set ycor 79 if pcolor = violet [ set location "indoors" ] ] if location = "canteenstairs2" [ facexy -7 -92 if pcolor = magenta [ set location "canteenstairs" ] ] if location = "canteen" [ facexy -7 -77 if pcolor = pink [ set location "canteenstairs2" ] ] if location = "house" [ facexy -10 -25 if pcolor = sky + 1 [ set heading 360 fd 1 set location "playground" ] ] ] ask turtles [fd 1 ] ask turtles [ while [ pcolor = brown ] [ fd -1 rt random 360 fd 1 ] ] end to move-turtle if location != "heaven" [ let direccio random 360 right direccio fd .99 if (distancexy deskx desky) > 1.5 or pcolor = brown [ fd -.99 ] ] end to move-turtles ask turtles [move-turtle] end @#$#@#$#@ GRAPHICS-WINDOW 210 10 2833 7854 100 300 13.0 1 10 1 1 1 0 1 0 1 -100 100 -300 300 1 1 1 ticks 30.0 BUTTON 2860 996 3167 1150 setup setup NIL 1 T OBSERVER NIL NIL NIL NIL 1 BUTTON 2863 845 3165 987 go go T 1 T OBSERVER NIL NIL NIL NIL 1 SLIDER 2861 346 3239 379 infectiousness infectiousness 0 100 10 1 1 % HORIZONTAL SLIDER 2871 461 3224 494 chance-recover chance-recover 0 100 100 1 1 % HORIZONTAL PLOT 3571 114 7422 2320 plot 1 time people 0.0 10.0 0.0 10.0 true false "" "" PENS "default" 1.0 0 -1184463 true "" "plot count turtles with [ color = yellow]" "pen-1" 1.0 0 -2064490 true "" "plot count turtles with [ color = pink]" "pen-2" 1.0 0 -2674135 true "" "plot count turtles with [ color = red]" "pen-3" 1.0 0 -7500403 true "" "plot count turtles with [ color = gray]" @#$#@#$#@ ## WHAT IS IT? (a general understanding of what the model is trying to show or explain) ## HOW IT WORKS (what rules the agents use to create the overall behavior of the model) ## HOW TO USE IT (how to use the model, including a description of each of the items in the Interface tab) ## THINGS TO NOTICE (suggested things for the user to notice while running the model) ## THINGS TO TRY (suggested things for the user to try to do (move sliders, switches, etc.) with the model) ## EXTENDING THE MODEL (suggested things to add or change in the Code tab to make the model more complicated, detailed, accurate, etc.) ## NETLOGO FEATURES (interesting or unusual features of NetLogo that the model uses, particularly in the Code tab; or where workarounds were needed for missing features) ## RELATED MODELS (models in the NetLogo Models Library and elsewhere which are of related interest) ## CREDITS AND REFERENCES (a reference to the model's URL on the web if it has one, as well as any other necessary credits, citations, and links) @#$#@#$#@ default true 0 Polygon -7500403 true true 150 5 40 250 150 205 260 250 airplane true 0 Polygon -7500403 true true 150 0 135 15 120 60 120 105 15 165 15 195 120 180 135 240 105 270 120 285 150 270 180 285 210 270 165 240 180 180 285 195 285 165 180 105 180 60 165 15 arrow true 0 Polygon -7500403 true true 150 0 0 150 105 150 105 293 195 293 195 150 300 150 box false 0 Polygon -7500403 true true 150 285 285 225 285 75 150 135 Polygon -7500403 true true 150 135 15 75 150 15 285 75 Polygon -7500403 true true 15 75 15 225 150 285 150 135 Line -16777216 false 150 285 150 135 Line -16777216 false 150 135 15 75 Line -16777216 false 150 135 285 75 bug true 0 Circle -7500403 true true 96 182 108 Circle -7500403 true true 110 127 80 Circle -7500403 true true 110 75 80 Line -7500403 true 150 100 80 30 Line -7500403 true 150 100 220 30 butterfly true 0 Polygon -7500403 true true 150 165 209 199 225 225 225 255 195 270 165 255 150 240 Polygon -7500403 true true 150 165 89 198 75 225 75 255 105 270 135 255 150 240 Polygon -7500403 true true 139 148 100 105 55 90 25 90 10 105 10 135 25 180 40 195 85 194 139 163 Polygon -7500403 true true 162 150 200 105 245 90 275 90 290 105 290 135 275 180 260 195 215 195 162 165 Polygon -16777216 true false 150 255 135 225 120 150 135 120 150 105 165 120 180 150 165 225 Circle -16777216 true false 135 90 30 Line -16777216 false 150 105 195 60 Line -16777216 false 150 105 105 60 car false 0 Polygon -7500403 true true 300 180 279 164 261 144 240 135 226 132 213 106 203 84 185 63 159 50 135 50 75 60 0 150 0 165 0 225 300 225 300 180 Circle -16777216 true false 180 180 90 Circle -16777216 true false 30 180 90 Polygon -16777216 true false 162 80 132 78 134 135 209 135 194 105 189 96 180 89 Circle -7500403 true true 47 195 58 Circle -7500403 true true 195 195 58 circle false 0 Circle -7500403 true true 0 0 300 circle 2 false 0 Circle -7500403 true true 0 0 300 Circle -16777216 true false 30 30 240 cow false 0 Polygon -7500403 true true 200 193 197 249 179 249 177 196 166 187 140 189 93 191 78 179 72 211 49 209 48 181 37 149 25 120 25 89 45 72 103 84 179 75 198 76 252 64 272 81 293 103 285 121 255 121 242 118 224 167 Polygon -7500403 true true 73 210 86 251 62 249 48 208 Polygon -7500403 true true 25 114 16 195 9 204 23 213 25 200 39 123 cylinder false 0 Circle -7500403 true true 0 0 300 dot false 0 Circle -7500403 true true 90 90 120 face happy false 0 Circle -7500403 true true 8 8 285 Circle -16777216 true false 60 75 60 Circle -16777216 true false 180 75 60 Polygon -16777216 true false 150 255 90 239 62 213 47 191 67 179 90 203 109 218 150 225 192 218 210 203 227 181 251 194 236 217 212 240 face neutral false 0 Circle -7500403 true true 8 7 285 Circle -16777216 true false 60 75 60 Circle -16777216 true false 180 75 60 Rectangle -16777216 true false 60 195 240 225 face sad false 0 Circle -7500403 true true 8 8 285 Circle -16777216 true false 60 75 60 Circle -16777216 true false 180 75 60 Polygon -16777216 true false 150 168 90 184 62 210 47 232 67 244 90 220 109 205 150 198 192 205 210 220 227 242 251 229 236 206 212 183 fish false 0 Polygon -1 true false 44 131 21 87 15 86 0 120 15 150 0 180 13 214 20 212 45 166 Polygon -1 true false 135 195 119 235 95 218 76 210 46 204 60 165 Polygon -1 true false 75 45 83 77 71 103 86 114 166 78 135 60 Polygon -7500403 true true 30 136 151 77 226 81 280 119 292 146 292 160 287 170 270 195 195 210 151 212 30 166 Circle -16777216 true false 215 106 30 flag false 0 Rectangle -7500403 true true 60 15 75 300 Polygon -7500403 true true 90 150 270 90 90 30 Line -7500403 true 75 135 90 135 Line -7500403 true 75 45 90 45 flower false 0 Polygon -10899396 true false 135 120 165 165 180 210 180 240 150 300 165 300 195 240 195 195 165 135 Circle -7500403 true true 85 132 38 Circle -7500403 true true 130 147 38 Circle -7500403 true true 192 85 38 Circle -7500403 true true 85 40 38 Circle -7500403 true true 177 40 38 Circle -7500403 true true 177 132 38 Circle -7500403 true true 70 85 38 Circle -7500403 true true 130 25 38 Circle -7500403 true true 96 51 108 Circle -16777216 true false 113 68 74 Polygon -10899396 true false 189 233 219 188 249 173 279 188 234 218 Polygon -10899396 true false 180 255 150 210 105 210 75 240 135 240 house false 0 Rectangle -7500403 true true 45 120 255 285 Rectangle -16777216 true false 120 210 180 285 Polygon -7500403 true true 15 120 150 15 285 120 Line -16777216 false 30 120 270 120 leaf false 0 Polygon -7500403 true true 150 210 135 195 120 210 60 210 30 195 60 180 60 165 15 135 30 120 15 105 40 104 45 90 60 90 90 105 105 120 120 120 105 60 120 60 135 30 150 15 165 30 180 60 195 60 180 120 195 120 210 105 240 90 255 90 263 104 285 105 270 120 285 135 240 165 240 180 270 195 240 210 180 210 165 195 Polygon -7500403 true true 135 195 135 240 120 255 105 255 105 285 135 285 165 240 165 195 line true 0 Line -7500403 true 150 0 150 300 line half true 0 Line -7500403 true 150 0 150 150 pentagon false 0 Polygon -7500403 true true 150 15 15 120 60 285 240 285 285 120 person false 0 Circle -7500403 true true 110 5 80 Polygon -7500403 true true 105 90 120 195 90 285 105 300 135 300 150 225 165 300 195 300 210 285 180 195 195 90 Rectangle -7500403 true true 127 79 172 94 Polygon -7500403 true true 195 90 240 150 225 180 165 105 Polygon -7500403 true true 105 90 60 150 75 180 135 105 plant false 0 Rectangle -7500403 true true 135 90 165 300 Polygon -7500403 true true 135 255 90 210 45 195 75 255 135 285 Polygon -7500403 true true 165 255 210 210 255 195 225 255 165 285 Polygon -7500403 true true 135 180 90 135 45 120 75 180 135 210 Polygon -7500403 true true 165 180 165 210 225 180 255 120 210 135 Polygon -7500403 true true 135 105 90 60 45 45 75 105 135 135 Polygon -7500403 true true 165 105 165 135 225 105 255 45 210 60 Polygon -7500403 true true 135 90 120 45 150 15 180 45 165 90 sheep false 15 Circle -1 true true 203 65 88 Circle -1 true true 70 65 162 Circle -1 true true 150 105 120 Polygon -7500403 true false 218 120 240 165 255 165 278 120 Circle -7500403 true false 214 72 67 Rectangle -1 true true 164 223 179 298 Polygon -1 true true 45 285 30 285 30 240 15 195 45 210 Circle -1 true true 3 83 150 Rectangle -1 true true 65 221 80 296 Polygon -1 true true 195 285 210 285 210 240 240 210 195 210 Polygon -7500403 true false 276 85 285 105 302 99 294 83 Polygon -7500403 true false 219 85 210 105 193 99 201 83 square false 0 Rectangle -7500403 true true 30 30 270 270 square 2 false 0 Rectangle -7500403 true true 30 30 270 270 Rectangle -16777216 true false 60 60 240 240 star false 0 Polygon -7500403 true true 151 1 185 108 298 108 207 175 242 282 151 216 59 282 94 175 3 108 116 108 target false 0 Circle -7500403 true true 0 0 300 Circle -16777216 true false 30 30 240 Circle -7500403 true true 60 60 180 Circle -16777216 true false 90 90 120 Circle -7500403 true true 120 120 60 tree false 0 Circle -7500403 true true 118 3 94 Rectangle -6459832 true false 120 195 180 300 Circle -7500403 true true 65 21 108 Circle -7500403 true true 116 41 127 Circle -7500403 true true 45 90 120 Circle -7500403 true true 104 74 152 triangle false 0 Polygon -7500403 true true 150 30 15 255 285 255 triangle 2 false 0 Polygon -7500403 true true 150 30 15 255 285 255 Polygon -16777216 true false 151 99 225 223 75 224 truck false 0 Rectangle -7500403 true true 4 45 195 187 Polygon -7500403 true true 296 193 296 150 259 134 244 104 208 104 207 194 Rectangle -1 true false 195 60 195 105 Polygon -16777216 true false 238 112 252 141 219 141 218 112 Circle -16777216 true false 234 174 42 Rectangle -7500403 true true 181 185 214 194 Circle -16777216 true false 144 174 42 Circle -16777216 true false 24 174 42 Circle -7500403 false true 24 174 42 Circle -7500403 false true 144 174 42 Circle -7500403 false true 234 174 42 turtle true 0 Polygon -10899396 true false 215 204 240 233 246 254 228 266 215 252 193 210 Polygon -10899396 true false 195 90 225 75 245 75 260 89 269 108 261 124 240 105 225 105 210 105 Polygon -10899396 true false 105 90 75 75 55 75 40 89 31 108 39 124 60 105 75 105 90 105 Polygon -10899396 true false 132 85 134 64 107 51 108 17 150 2 192 18 192 52 169 65 172 87 Polygon -10899396 true false 85 204 60 233 54 254 72 266 85 252 107 210 Polygon -7500403 true true 119 75 179 75 209 101 224 135 220 225 175 261 128 261 81 224 74 135 88 99 wheel false 0 Circle -7500403 true true 3 3 294 Circle -16777216 true false 30 30 240 Line -7500403 true 150 285 150 15 Line -7500403 true 15 150 285 150 Circle -7500403 true true 120 120 60 Line -7500403 true 216 40 79 269 Line -7500403 true 40 84 269 221 Line -7500403 true 40 216 269 79 Line -7500403 true 84 40 221 269 wolf false 0 Polygon -16777216 true false 253 133 245 131 245 133 Polygon -7500403 true true 2 194 13 197 30 191 38 193 38 205 20 226 20 257 27 265 38 266 40 260 31 253 31 230 60 206 68 198 75 209 66 228 65 243 82 261 84 268 100 267 103 261 77 239 79 231 100 207 98 196 119 201 143 202 160 195 166 210 172 213 173 238 167 251 160 248 154 265 169 264 178 247 186 240 198 260 200 271 217 271 219 262 207 258 195 230 192 198 210 184 227 164 242 144 259 145 284 151 277 141 293 140 299 134 297 127 273 119 270 105 Polygon -7500403 true true -1 195 14 180 36 166 40 153 53 140 82 131 134 133 159 126 188 115 227 108 236 102 238 98 268 86 269 92 281 87 269 103 269 113 x false 0 Polygon -7500403 true true 270 75 225 30 30 225 75 270 Polygon -7500403 true true 30 75 75 30 270 225 225 270 @#$#@#$#@ NetLogo 5.0.5 @#$#@#$#@ @#$#@#$#@ 1.0 org.nlogo.sdm.gui.AggregateDrawing 2 org.nlogo.sdm.gui.StockFigure "attributes" "attributes" 1 "FillColor" "Color" 225 225 182 140 210 60 40 org.nlogo.sdm.gui.WrappedStock "" "" 0 org.nlogo.sdm.gui.RateConnection 3 212 206 212 206 212 206 NULL NULL 0 0 0 org.jhotdraw.standard.ChopBoxConnector REF 1 org.jhotdraw.standard.ChopBoxConnector REF 1 org.nlogo.sdm.gui.WrappedRate "" "" REF 2 REF 2 0 @#$#@#$#@ @#$#@#$#@ @#$#@#$#@ default 0.0 -0.2 0 0.0 1.0 0.0 1 1.0 0.0 0.2 0 0.0 1.0 link direction true 0 Line -7500403 true 150 150 90 180 Line -7500403 true 150 150 210 180 @#$#@#$#@ 0 @#$#@#$#@