Sgrup.qsrc 949 B

123456789101112131415161718192021222324252627282930313233
  1. # Sgrup
  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/lunch.jpg"></center>'
  9. 'You stay in the cafeteria where some of the teachers are eating or watching over the kids making sure there is no trouble.'
  10. end
  11. *nl
  12. i = 0
  13. '<center><table cellspacing="3">'
  14. :markgruploop
  15. i += 1
  16. if count1 = 6 : $textgrup += '<tr>'
  17. if grupTipe[i] = 6:count1 += 1 & $textgrup += '' + '<td bgcolor=<<$bcolor2>> align="center"><img height="100" src="images/characters/pavlovsk/school/head/<<i>>.jpg"><br>' + $npcGo[i]
  18. if count1< 6 and grupTipe[i] = 6 :
  19. $textgrup += '</td>'
  20. elseif count1 = 6 and grupTipe[i] = 6:
  21. $textgrup +='</td></tr><tr>' & count1 = 0
  22. end
  23. if i < ARRSIZE('school_static_num'):jump 'markgruploop'
  24. '<<$textgrup>>'
  25. --- Sgrup ---------------------------------