123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175 |
- :: gschool
- <<set $here = 'gschool'>>
- <<set $ARGS = $location_var[$here]>>
- <<if $location_var[$here][0] == 'schedule'>>
- <<if $q.school.period == 0>>
- <<if $time.weekday == 1>>
- <b>Next period</b>: Math
- <</if>>
- <<if $time.weekday == 2>>
- <b>Next period</b>: English
- <</if>>
- <<if $time.weekday == 3>>
- <b>Next period</b>: Math
- <</if>>
- <<if $time.weekday == 4>>
- <b>Next period</b>: English
- <</if>>
- <<if $time.weekday == 5>>
- <b>Next period</b>: Math
- <</if>>
- <!-- !'8.00 - 8.45'-->
- <<elseif $q.school.period == 1>>
- <<if $time.weekday == 1>>
- <b>Next period</b>: Russian
- <</if>>
- <<if $time.weekday == 2>>
- <b>Next period</b>: Geography
- <</if>>
- <<if $time.weekday == 3>>
- <b>Next period</b>: Russian
- <</if>>
- <<if $time.weekday == 4>>
- <b>Next period</b>: Geography
- <</if>>
- <<if $time.weekday == 5>>
- <b>Next period</b>: Russian
- <</if>>
- <!-- !'8.50 - 9.35'-->
- <<elseif $q.school.period == 2>>
- <b>Next</b>: Morning break
- <!-- !'9.35 - 9.55'-->
- <<elseif $q.school.period == 3>>
- <<if $time.weekday == 1>>
- <b>Next period</b>: Literature
- <</if>>
- <<if $time.weekday == 2>>
- <b>Next period</b>: Science
- <</if>>
- <<if $time.weekday == 3>>
- <b>Next period</b>: Biology
- <</if>>
- <<if $time.weekday == 4>>
- <b>Next period</b>: Science
- <</if>>
- <<if $time.weekday == 5>>
- <b>Next period</b>: Literature
- <</if>>
- <!-- !'9.55 - 10.40'-->
- <<elseif $q.school.period == 4>>
- <<if $time.weekday == 1>>
- <b>Next period</b>: Art
- <</if>>
- <<if $time.weekday == 2>>
- <b>Next period</b>: Shop
- <</if>>
- <<if $time.weekday == 3>>
- <b>Next period</b>: History
- <</if>>
- <<if $time.weekday == 4>>
- <b>Next period</b>: Shop
- <</if>>
- <<if $time.weekday == 5>>
- <b>Next period</b>: Art
- <</if>>
- <!-- !'10.45 - 11.30'-->
- <<elseif $q.school.period == 5>>
- <b>Next</b>: Lunch break
- <!-- !'11.30 - 12.25'-->
- <<elseif $q.school.period == 6>>
- <<if $time.weekday == 1>>
- <b>Next period</b>: Biology
- <</if>>
- <<if $time.weekday == 2>>
- <b>Next period</b>: Computer
- <</if>>
- <<if $time.weekday == 3>>
- <b>Next period</b>: Computer
- <</if>>
- <<if $time.weekday == 4>>
- <b>Next period</b>: Computer
- <</if>>
- <<if $time.weekday == 5>>
- <b>Next period</b>: History
- <</if>>
- <!-- !'12.25 - 13.10'-->
- <<elseif $q.school.period == 7>>
- <<if $time.weekday == 1>>
- <b>Next period</b>: P.E.
- <</if>>
- <<if $time.weekday == 2>>
- <b>Next period</b>: Music
- <</if>>
- <<if $time.weekday == 3>>
- <b>Next period</b>: P.E.
- <</if>>
- <<if $time.weekday == 4>>
- <b>Next period</b>: Music
- <</if>>
- <<if $time.weekday == 5>>
- <b>Next period</b>: P.E.
- <</if>>
- <!-- !'13.15 - 15.00'-->
- <</if>>
- <</if>>
- <<if $location_var[$here][0] == 'weekly grade update'>>
- <<if $time.isSchoolHoliday == 0 and $time.weekday == 1 and getvar("$SchoolAtestat") == 0>>
- <<if getvar("$q.school.homeworkLeft") > 0 and getvar("$petka['homework']") == 1>>
- <<run $q.school.func('homework','yes' $q.school.homeworkLeft 2 'A6')>>
- <</if>>
- <<run $pc.traitSet('nerd_lernHome',0)>>
- <<run $pc.traitDec('nerd_points',$q.school.homeworkLeft)>>
- <<if getvar("$q.school.homeworkLeft") == 0>>
- <<run $pc.traitInc('nerd_points',$pc.trait('nerd_lernHome'))>>
- <<if $pc.trait('nerd_lernHome') < 5>>
- <<run $pc.traitInc('nerd_lernHome',1)>>
- <</if>>
- <</if>>
- <<set $q.school.homeworkLeft = 0>>
- <<if getvar("$class['first_grade_check']") > 0>>
- <<gs 'grades' 'calculate_grade' 'school'>>
- <<gs 'grades' 'assing_grade_description' 'school'>>
- <<else>>
- <<set $i = 0>>
- <<warn 'JUMP MARKER ENCOUNTERED: :grade_loop'>>
- <<setinit $class['school_'+$class_list_name[$i]+'_weekly_grade_gain'] = 0>>
- <<set $i += 1>>
- <<if ARRSIZE('class_list_institution') > $i>>
- <<warn 'JUMP COMMAND ENCOUNTERED: jump grade_loop'>>
- <</if>>
- <</if>>
- <</if>>
- <</if>>
|