123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158 |
- # gschool_groups
- gs 'themes', 'food_menu'
- !npc_grupTipe[i] - social group
- !1 - popular
- !2 - jocks
- !3 - nerds
- !4 - Gopnik
- !5 - outcasts
- !6 - teachers
- if $ARGS[0] = 'teachers':
- killvar '$teach_text'
- killvar 'teach_count'
- i = 1
- '<center><table cellspacing="3">'
- :teach_loop
- if teach_count = 6 : $teach_text += '<tr>'
- if npc_grupTipe['A<<i>>'] = 6 and schoolenable['A<<i>>'] = 1:
- teach_count += 1
- $teach_text += '' + '<td bgcolor=<<$bcolor2>> align="center"><img height="100" src="images/pc/npc_headshots/<<i>>.jpg"><br>' + $npcGo['A<<i>>']
- end
- if teach_count< 6 and npc_grupTipe['A<<i>>'] = 6:
- $teach_text += '</td>'
- elseif teach_count = 6 and npc_grupTipe['A<<i>>'] = 6:
- $teach_text +='</td></tr><tr>' & teach_count = 0
- end
- i += 1
- if i <= aarraynumber:jump 'teach_loop'
- '<<$teach_text>>'
- '</table></center>'
- end
- if $ARGS[0] = 'nerds':
- killvar '$nerd_text'
- killvar 'nerd_count'
- i = 1
- '<center><table cellspacing="3">'
- :nerd_loop
- if nerd_count = 6 : $nerd_text += '<tr>'
- if npc_grupTipe['A<<i>>'] = 3 and schoolenable['A<<i>>'] = 1:
- nerd_count += 1
- $nerd_text += '' + '<td bgcolor=<<$bcolor2>> align="center"><img height="100" src="images/pc/npc_headshots/<<i>>.jpg"><br>' + $npcGoSchool['A<<i>>']
- end
- if nerd_count< 6 and npc_grupTipe['A<<i>>'] = 3:
- $nerd_text += '</td>'
- elseif nerd_count = 6 and npc_grupTipe['A<<i>>'] = 3:
- $nerd_text +='</td></tr><tr>' & nerd_count = 0
- end
- i += 1
- if i <= aarraynumber:jump 'nerd_loop'
- '<<$nerd_text>>'
- '</table></center>'
- end
- if $ARGS[0] = 'jocks':
- killvar '$jock_text'
- killvar 'jock_count'
- i = 1
- '<center><table cellspacing="3">'
- :jock_loop
- if jock_count = 6 : $jock_text += '<tr>'
- if npc_grupTipe['A<<i>>'] = 2 and schoolenable['A<<i>>'] = 1:
- jock_count += 1
- $jock_text += '' + '<td bgcolor=<<$bcolor2>> align="center"><img height="100" src="images/pc/npc_headshots/<<i>>.jpg"><br>' + $npcGoSchool['A<<i>>']
- end
- if jock_count< 6 and npc_grupTipe['A<<i>>'] = 2:
- $jock_text += '</td>'
- elseif jock_count = 6 and npc_grupTipe['A<<i>>'] = 2:
- $jock_text +='</td></tr><tr>' & jock_count = 0
- end
- i += 1
- if i <= aarraynumber:jump 'jock_loop'
- '<<$jock_text>>'
- '</table></center>'
- end
- if $ARGS[0] = 'popular':
- killvar '$pop_text'
- killvar 'pop_count'
- i = 1
- '<center><table cellspacing="3">'
- :pop_loop
- if pop_count = 6 : $pop_text += '<tr>'
- if npc_grupTipe['A<<i>>'] = 1 and schoolenable['A<<i>>'] = 1:
- pop_count += 1
- $pop_text += '' + '<td bgcolor=<<$bcolor2>> align="center"><img height="100" src="images/pc/npc_headshots/<<i>>.jpg"><br>' + $npcGoSchool['A<<i>>']
- end
- if pop_count< 6 and npc_grupTipe['A<<i>>'] = 1:
- $pop_text += '</td>'
- elseif pop_count = 6 and npc_grupTipe['A<<i>>'] = 1:
- $pop_text +='</td></tr><tr>' & pop_count = 0
- end
- i += 1
- if i <= aarraynumber:jump 'pop_loop'
- '<<$pop_text>>'
- '</table></center>'
- end
- if $ARGS[0] = 'gopniks':
- killvar '$gop_text'
- killvar 'gop_count'
- i = 1
- '<center><table cellspacing="3">'
- :gop_loop
- if gop_count = 6 : $gop_text += '<tr>'
- if npc_grupTipe['A<<i>>'] = 4 and schoolenable['A<<i>>'] = 1:
- gop_count += 1
- $gop_text += '' + '<td bgcolor=<<$bcolor2>> align="center"><img height="100" src="images/pc/npc_headshots/<<i>>.jpg"><br>' + $npcGoSchool['A<<i>>']
- end
- if gop_count< 6 and npc_grupTipe['A<<i>>'] = 4:
- $gop_text += '</td>'
- elseif gop_count = 6 and npc_grupTipe['A<<i>>'] = 4:
- $gop_text +='</td></tr><tr>' & gop_count = 0
- end
- i += 1
- if i <= aarraynumber:jump 'gop_loop'
- '<<$gop_text>>'
- '</table></center>'
- end
- if $ARGS[0] = 'outcasts':
- killvar '$oc_text'
- killvar 'oc_count'
- i = 1
- '<center><table cellspacing="3">'
- :oc_loop
- if oc_count = 6 : $oc_text += '<tr>'
- if npc_grupTipe['A<<i>>'] = 5 and schoolenable['A<<i>>'] = 1:
- oc_count += 1
- $oc_text += '' + '<td bgcolor=<<$bcolor2>> align="center"><img height="100" src="images/pc/npc_headshots/<<i>>.jpg"><br>' + $npcGoSchool['A<<i>>']
- end
- if oc_count< 6 and npc_grupTipe['A<<i>>'] = 5:
- $oc_text += '</td>'
- elseif oc_count = 6 and npc_grupTipe['A<<i>>'] = 5:
- $oc_text +='</td></tr><tr>' & oc_count = 0
- end
- i += 1
- if i <= aarraynumber:jump 'oc_loop'
- '<<$oc_text>>'
- '</table></center>'
- end
- --- gschool_groups ---------------------------------
|