Sgrup2.qsrc 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. # Sgrup2
  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/school.jpg"></center>'
  9. 'When the break finally comes, the girls wander through the hallways of the school, gossiping about pretty much everyone they know. The guys are standing around in small groups, some of them sneaking off to have a smoke behind the school building. The cool kids are hanging out in one area, and on the other side of the hallway the sporty kids are talking about their upcoming competitions.'
  10. end
  11. *nl
  12. gs 'gschool_lessons', 'npc_data'
  13. $textgrup = ''
  14. count1 = 0
  15. i = 1
  16. '<center><table cellspacing="3">'
  17. :gruploop
  18. if count1 = 6 : $textgrup += '<tr>'
  19. if grupTipe[i] = 2 and schoolenable[i] = 1:
  20. count1 += 1
  21. $textgrup += '' + '<td bgcolor=<<$bcolor2>> align="center"><img height="100" src="images/pc/npc_headshots/<<i>>.jpg"><br>' + $npcGo[i]
  22. end
  23. if count1< 6 and grupTipe[i] = 2:
  24. $textgrup += '</td>'
  25. elseif count1 = 6 and grupTipe[i] = 2:
  26. $textgrup +='</td></tr><tr>' & count1 = 0
  27. end
  28. i += 1
  29. if i <= maxnpcs:jump 'gruploop'
  30. '<<$textgrup>>'
  31. --- Sgrup2 ---------------------------------