1
0

Sgrup.qsrc 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # Sgrup
  2. !! Obsolete?
  3. *clr & cla
  4. gs 'themes', 'food_menu'
  5. gs 'stat'
  6. $textgrup = ''
  7. act 'Leave':gt 'gschool_lessons', 'short_break'
  8. if $loc = 'gschool_grounds' or $loc = 'gschool_lunch':
  9. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/lunch/lunch.jpg"></center>'
  10. 'You stay in the cafeteria where some of the teachers are eating or watching over the kids making sure there is no trouble.'
  11. end
  12. *nl
  13. !!Can probably be removed
  14. !!gs 'gschool_lessons', 'npc_data'
  15. $textgrup = ''
  16. count1 = 0
  17. i = 1
  18. '<center><table cellspacing="3">'
  19. :gruploop
  20. if count1 = 6 : $textgrup += '<tr>'
  21. if npc_grupTipe['A<<i>>'] = 6 and schoolenable['A<<i>>'] = 1:
  22. count1 += 1
  23. $textgrup += '' + '<td bgcolor=<<$bcolor2>> align="center"><img height="100" src="images/pc/npc_headshots/<<i>>.jpg"><br>' + $npcGo['A<<i>>']
  24. end
  25. if count1< 6 and npc_grupTipe['A<<i>>'] = 6:
  26. $textgrup += '</td>'
  27. elseif count1 = 6 and npc_grupTipe['A<<i>>'] = 6:
  28. $textgrup +='</td></tr><tr>' & count1 = 0
  29. end
  30. i += 1
  31. if i <= aarraynumber:jump 'gruploop'
  32. '<<$textgrup>>'
  33. --- Sgrup ---------------------------------