Sgrup5.qsrc 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. # Sgrup5
  2. *clr & cla
  3. gs 'themes', 'food_menu'
  4. gs 'stat'
  5. $textgrup = ''
  6. act 'Leave':gt 'gschool_lessons', 'short_break'
  7. if $loc = 'gschool_grounds' or $loc = 'gschool_lunch':
  8. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/lunch/peremena<<urand>>.jpg"></center>'
  9. 'You decide to spend your break in a classroom. As you enter, you find several of your classmates already sitting there: the smart kids decided to get an early start on their homework assignments, while the outcasts are mostly hiding away from everyone else, hoping that no one will pick on them today.'
  10. end
  11. *nl
  12. count1 = 0
  13. i = 0
  14. '<center><table cellspacing="3">'
  15. :markgruploop
  16. i += 1
  17. if count1 = 6 : $textgrup += '<tr>'
  18. if grupTipe[i] = 5:count1 += 1 & $textgrup += '' + '<td bgcolor=<<$bcolor2>> align="center"><img height="100" src="images/characters/pavlovsk/school/head/<<i>>.jpg"><br>' + $npcGo[i]
  19. if count1 < 6 and grupTipe[i] = 5 :
  20. $textgrup += '</td>'
  21. elseif count1 = 6 and grupTipe[i] = 5:
  22. $textgrup +='</td></tr><tr>' & count1 = 0
  23. end
  24. if i < ARRSIZE('school_static_num'):jump 'markgruploop'
  25. '<<$textgrup>>'
  26. --- Sgrup5 ---------------------------------