Bläddra i källkod

[fixed] I got no strings but I can dance. However, these variables couldn't now being treated like the indices they are

Kevin_Smarts 2 år sedan
förälder
incheckning
e9de36106b
1 ändrade filer med 6 tillägg och 6 borttagningar
  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_grupTipe['A<<i>>'] ! '' or npc_grupTipe['A<<i>>'] ! '6') and npc_gender['A<<i>>'] = 1:
+				if hotcat_rating['A<<i>>'] = j and npc_grupTipe['A<<i>>'] > 0 and npc_grupTipe['A<<i>>'] < 6 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_grupTipe['A<<i>>'] ! '' or npc_grupTipe['A<<i>>'] ! '6') and npc_gender['A<<i>>'] = 1:
+			if fu_count < 6 and hotcat_rating['A<<i>>'] = j and npc_grupTipe['A<<i>>'] > 0 and npc_grupTipe['A<<i>>'] < 6 and npc_gender['A<<i>>'] = 1:
 				$fu_text += '</td>'
-			elseif fu_count = 6 and hotcat_rating['A<<i>>'] = j and (npc_grupTipe['A<<i>>'] ! '' or npc_grupTipe['A<<i>>'] ! '6') and npc_gender['A<<i>>'] = 1:
+			elseif fu_count = 6 and hotcat_rating['A<<i>>'] = j and npc_grupTipe['A<<i>>'] > 0 and npc_grupTipe['A<<i>>'] < 6 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_grupTipe['A<<i>>'] ! '' or npc_grupTipe['A<<i>>'] ! '6') and npc_gender['A<<i>>'] = 0:
+			if hotcat_rating['A<<i>>'] = j and npc_grupTipe['A<<i>>'] > 0 and npc_grupTipe['A<<i>>'] < 6 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_grupTipe['A<<i>>'] ! '' or npc_grupTipe['A<<i>>'] ! '6') and npc_gender['A<<i>>'] = 0:
+			if ho_count < 6 and hotcat_rating['A<<i>>'] = j and npc_grupTipe['A<<i>>'] > 0 and npc_grupTipe['A<<i>>'] < 6 and npc_gender['A<<i>>'] = 0:
 				$ho_text += '</td>'
-			elseif ho_count = 6 and hotcat_rating['A<<i>>'] = j and (npc_grupTipe['A<<i>>'] ! '' or npc_grupTipe['A<<i>>'] ! '6') and npc_gender['A<<i>>'] = 0:
+			elseif ho_count = 6 and hotcat_rating['A<<i>>'] = j and npc_grupTipe['A<<i>>'] > 0 and npc_grupTipe['A<<i>>'] < 6 and npc_gender['A<<i>>'] = 0:
 				$ho_text +='</td></tr><tr>' & ho_count = 0
 			end
 			i += 1