# gschool_groups
!2021/05/02
gs 'themes', 'food_menu'
!npc_grupTipe[i] - social group
!1 - popular
!2 - jocks
!3 - nerds
!4 - Gopnik
!5 - outcasts
!6 - teachers
!1-5 use $npcGoSchool
!6 use $npcGo
if $ARGS[0] = 'teachers':
killvar '$teach_text'
killvar 'teach_count'
i = 1
'
'
:teach_loop
if teach_count = 6 : $teach_text += ''
if npc_grupTipe['A<>'] = 6 and schoolenable['A<>'] = 1:
teach_count += 1
$teach_text += '' + '> align="center"> ' + iif($ARGS[1] = 'journal', '<<$npc_usedname[''A<>'']>>', $npcGo['A<>'])
end
if teach_count< 6 and npc_grupTipe['A<>'] = 6:
$teach_text += ' | '
elseif teach_count = 6 and npc_grupTipe['A<>'] = 6:
$teach_text +='
' & teach_count = 0
end
i += 1
if i <= aarraynumber:jump 'teach_loop'
'<<$teach_text>>'
'
'
killvar 'i'
end
if $ARGS[0] = 'nerds':
killvar '$nerd_text'
killvar 'nerd_count'
i = 1
''
:nerd_loop
if nerd_count = 6 : $nerd_text += ''
if npc_grupTipe['A<>'] = 3 and schoolenable['A<>'] = 1:
nerd_count += 1
$nerd_text += '' + '> align="center"> ' + iif($ARGS[1] = 'journal', '<<$npc_usedname[''A<>'']>>', $npcGoSchool['A<>'])
end
if nerd_count< 6 and npc_grupTipe['A<>'] = 3:
$nerd_text += ' | '
elseif nerd_count = 6 and npc_grupTipe['A<>'] = 3:
$nerd_text +='
' & nerd_count = 0
end
i += 1
if i <= aarraynumber:jump 'nerd_loop'
'<<$nerd_text>>'
'
'
killvar 'i'
end
if $ARGS[0] = 'jocks':
killvar '$jock_text'
killvar 'jock_count'
i = 1
''
:jock_loop
if jock_count = 6 : $jock_text += ''
if npc_grupTipe['A<>'] = 2 and schoolenable['A<>'] = 1:
jock_count += 1
$jock_text += '' + '> align="center"> ' + iif($ARGS[1] = 'journal', '<<$npc_usedname[''A<>'']>>', $npcGoSchool['A<>'])
end
if jock_count< 6 and npc_grupTipe['A<>'] = 2:
$jock_text += ' | '
elseif jock_count = 6 and npc_grupTipe['A<>'] = 2:
$jock_text +='
' & jock_count = 0
end
i += 1
if i <= aarraynumber:jump 'jock_loop'
'<<$jock_text>>'
'
'
killvar 'i'
end
if $ARGS[0] = 'popular':
killvar '$pop_text'
killvar 'pop_count'
i = 1
''
:pop_loop
if pop_count = 6 : $pop_text += ''
if npc_grupTipe['A<>'] = 1 and schoolenable['A<>'] = 1:
pop_count += 1
$pop_text += '' + '> align="center"> ' + iif($ARGS[1] = 'journal', '<<$npc_usedname[''A<>'']>>', $npcGoSchool['A<>'])
end
if pop_count< 6 and npc_grupTipe['A<>'] = 1:
$pop_text += ' | '
elseif pop_count = 6 and npc_grupTipe['A<>'] = 1:
$pop_text +='
' & pop_count = 0
end
i += 1
if i <= aarraynumber:jump 'pop_loop'
'<<$pop_text>>'
'
'
killvar 'i'
end
if $ARGS[0] = 'gopniks':
killvar '$gop_text'
killvar 'gop_count'
i = 1
''
:gop_loop
if gop_count = 6 : $gop_text += ''
if npc_grupTipe['A<>'] = 4 and schoolenable['A<>'] = 1:
gop_count += 1
$gop_text += '' + '> align="center"> ' + iif($ARGS[1] = 'journal', '<<$npc_usedname[''A<>'']>>', $npcGoSchool['A<>'])
end
if gop_count< 6 and npc_grupTipe['A<>'] = 4:
$gop_text += ' | '
elseif gop_count = 6 and npc_grupTipe['A<>'] = 4:
$gop_text +='
' & gop_count = 0
end
i += 1
if i <= aarraynumber:jump 'gop_loop'
'<<$gop_text>>'
'
'
killvar 'i'
end
if $ARGS[0] = 'outcasts':
killvar '$oc_text'
killvar 'oc_count'
i = 1
''
:oc_loop
if oc_count = 6 : $oc_text += ''
if npc_grupTipe['A<>'] = 5 and schoolenable['A<>'] = 1:
oc_count += 1
$oc_text += '' + '> align="center"> ' + iif($ARGS[1] = 'journal', '<<$npc_usedname[''A<>'']>>', $npcGoSchool['A<>'])
end
if oc_count< 6 and npc_grupTipe['A<>'] = 5:
$oc_text += ' | '
elseif oc_count = 6 and npc_grupTipe['A<>'] = 5:
$oc_text +='
' & oc_count = 0
end
i += 1
if i <= aarraynumber:jump 'oc_loop'
'<<$oc_text>>'
'
'
killvar 'i'
end
if $ARGS[0] = 'fuckornot':
killvar '$fu_text'
killvar '$fu_count'
j = 11
''
:fu_loop_2
j -= 1
i = 1
:fu_loop
if fu_count = 6 : $fu_text += ''
if hotcat = j and hotcat_rating_set = 0:
fu_count += 1
hotcat_rating_set = 1
if player_avatar = 1:
$fu_text += '' + '> align="center"> ' + '<<$pcs_nickname>>, <>/10'
else
$fu_text += '' + '> align="center"> ' + '<<$pcs_nickname>>, <>/10'
end
elseif hotcat ! j or hotcat_rating_set = 1:
if hotcat_rating['A<>'] = j and npc_grupTipe['A<>'] > 0 and npc_grupTipe['A<>'] < 6 and npc_gender['A<>'] = 1:
fu_count += 1
$fu_text += '' + '> align="center"> ' + '<<$npc_usedname[''A<>'']>>, <>'']>>/10'
end
end
if fu_count < 6 and hotcat_rating['A<>'] = j and npc_grupTipe['A<>'] > 0 and npc_grupTipe['A<>'] < 6 and npc_gender['A<>'] = 1:
$fu_text += ' | '
elseif fu_count = 6 and hotcat_rating['A<>'] = j and npc_grupTipe['A<>'] > 0 and npc_grupTipe['A<>'] < 6 and npc_gender['A<>'] = 1:
$fu_text +=' | |
' & fu_count = 0
end
if hotcat ! j or hotcat_rating_set = 1: i += 1
if i <= aarraynumber:jump 'fu_loop'
if j > 1: jump 'fu_loop_2'
'<<$fu_text>>'
'
'
killvar 'hotcat_rating_set'
killvar 'i'
killvar 'j'
end
if $ARGS[0] = 'hotornot':
killvar '$ho_text'
killvar '$ho_count'
j = 11
''
:ho_loop_2
j -= 1
i = 1
:ho_loop
if ho_count = 6 : $ho_text += ''
if hotcat_rating['A<>'] = j and npc_grupTipe['A<>'] > 0 and npc_grupTipe['A<>'] < 6 and npc_gender['A<>'] = 0:
ho_count += 1
$ho_text += '' + '> align="center"> ' + '<<$npc_usedname[''A<>'']>>, <>'']>>/10'
end
if ho_count < 6 and hotcat_rating['A<>'] = j and npc_grupTipe['A<>'] > 0 and npc_grupTipe['A<>'] < 6 and npc_gender['A<>'] = 0:
$ho_text += ' | '
elseif ho_count = 6 and hotcat_rating['A<>'] = j and npc_grupTipe['A<>'] > 0 and npc_grupTipe['A<>'] < 6 and npc_gender['A<>'] = 0:
$ho_text +='
' & ho_count = 0
end
i += 1
if i <= aarraynumber:jump 'ho_loop'
if j > 1: jump 'ho_loop_2'
'<<$ho_text>>'
'
'
killvar 'i'
killvar 'j'
end
--- gschool_groups ---------------------------------