Explorar o código

[fixed] Added check for being in school to hot or not from bgkjdgbizgblzdgbr

Kevin_Smarts %!s(int64=3) %!d(string=hai) anos
pai
achega
9d57422bba
Modificáronse 1 ficheiros con 6 adicións e 6 borrados
  1. 6 6
      locations/gschool_groups.qsrc

+ 6 - 6
locations/gschool_groups.qsrc

@@ -183,14 +183,14 @@ if $ARGS[0] = 'fuckornot':
 					$fu_text += '' + '<td bgcolor=<<$bcolor2>> align="center"><img  height="100" src="<<FUNC(''$face_image'')>>"><br>' + '<<$pcs_nickname>>, <<hotcat>>/10'
 				end
 			elseif hotcat ! j or hotcat_rating_set = 1:
-				if hotcat_rating['A<<i>>'] = j and npc_gender['A<<i>>'] = 1:
+				if hotcat_rating['A<<i>>'] = j and npc_grupTipe['A<<i>>'] ! '' and npc_gender['A<<i>>'] = 1:
 					fu_count += 1
 					$fu_text += '' + '<td bgcolor=<<$bcolor2>> align="center"><img  height="100" src="images/characters/shared/headshots_main/<<i>>.jpg"><br>' + '<<$npc_usedname[''A<<i>>'']>>, <<hotcat_rating[''A<<i>>'']>>/10'
 				end
 			end
-			if fu_count < 6 and hotcat_rating['A<<i>>'] = j and npc_gender['A<<i>>'] = 1:
+			if fu_count < 6 and hotcat_rating['A<<i>>'] = j and npc_grupTipe['A<<i>>'] ! '' and npc_gender['A<<i>>'] = 1:
 				$fu_text += '</td>'
-			elseif fu_count = 6 and hotcat_rating['A<<i>>'] = j and npc_gender['A<<i>>'] = 1:
+			elseif fu_count = 6 and hotcat_rating['A<<i>>'] = j and npc_grupTipe['A<<i>>'] ! '' and npc_gender['A<<i>>'] = 1:
 				$fu_text +='</td></tr><tr>' & fu_count = 0
 			end
 			if hotcat ! j or hotcat_rating_set = 1: i += 1
@@ -215,13 +215,13 @@ if $ARGS[0] = 'hotornot':
 		:ho_loop
 			if ho_count = 6 : $ho_text += '<tr>'
 			
-			if hotcat_rating['A<<i>>'] = j and npc_gender['A<<i>>'] = 0:
+			if hotcat_rating['A<<i>>'] = j and npc_grupTipe['A<<i>>'] ! '' and npc_gender['A<<i>>'] = 0:
 				ho_count += 1
 				$ho_text += '' + '<td bgcolor=<<$bcolor2>> align="center"><img  height="100" src="images/characters/shared/headshots_main/<<i>>.jpg"><br>' + '<<$npc_usedname[''A<<i>>'']>>, <<hotcat_rating[''A<<i>>'']>>/10'
 			end
-			if ho_count < 6 and hotcat_rating['A<<i>>'] = j and npc_gender['A<<i>>'] = 0:
+			if ho_count < 6 and hotcat_rating['A<<i>>'] = j and npc_grupTipe['A<<i>>'] ! '' and npc_gender['A<<i>>'] = 0:
 				$ho_text += '</td>'
-			elseif ho_count = 6 and hotcat_rating['A<<i>>'] = j and npc_gender['A<<i>>'] = 0:
+			elseif ho_count = 6 and hotcat_rating['A<<i>>'] = j and npc_grupTipe['A<<i>>'] ! '' and npc_gender['A<<i>>'] = 0:
 				$ho_text +='</td></tr><tr>' & ho_count = 0
 			end
 			i += 1