|
@@ -1436,42 +1436,42 @@ if $ARGS[0] = 'filter_header':
|
|
|
!! Show only filers
|
|
|
$Headerstring[1] = '<TD>'
|
|
|
if clothingfilter['prost_only'] = 0:
|
|
|
- $Headerstring[1] += '<a href="exec:clothingfilter[''prost_only''] = 1 & clothingfilter[''prost''] = 0 & gt $ward_list_file, ''clothing_list'', $ward_list_store"><img src="images/system/icons/clothing/prostitute_off.png"></a></TD>'
|
|
|
+ $Headerstring[1] += '<a href="exec:clothingfilter[''prost_only''] = 1 & clothingfilter[''prost''] = 0 & gs ''clothing_QV'', ''only_choice'', ''prost_only'' & gt $ward_list_file, ''clothing_list'', $ward_list_store"><img src="images/system/icons/clothing/prostitute_off.png"></a></TD>'
|
|
|
else
|
|
|
$Headerstring[1] += '<a href="exec:clothingfilter[''prost_only''] = 0 & gt $ward_list_file, ''clothing_list'', $ward_list_store"><img src="images/system/icons/clothing/prostitute.png"></a></TD>'
|
|
|
end
|
|
|
|
|
|
$Headerstring[1] += '<TD>'
|
|
|
if clothingfilter['stripper_only'] = 0:
|
|
|
- $Headerstring[1] += '<a href="exec:clothingfilter[''stripper_only''] = 1 & clothingfilter[''stripper''] = 0 & gt $ward_list_file, ''clothing_list'', $ward_list_store"><img src="images/system/icons/clothing/stripper_off.png"></a></TD>'
|
|
|
+ $Headerstring[1] += '<a href="exec:clothingfilter[''stripper_only''] = 1 & clothingfilter[''stripper''] = 0 & gs ''clothing_QV'', ''only_choice'', ''stripper_only'' & gt $ward_list_file, ''clothing_list'', $ward_list_store"><img src="images/system/icons/clothing/stripper_off.png"></a></TD>'
|
|
|
else
|
|
|
$Headerstring[1] += '<a href="exec:clothingfilter[''stripper_only''] = 0 & gt $ward_list_file, ''clothing_list'', $ward_list_store"><img src="images/system/icons/clothing/stripper.png"></a></TD>'
|
|
|
end
|
|
|
|
|
|
$Headerstring[1] += '<TD>'
|
|
|
if clothingfilter['bimbo_only'] = 0:
|
|
|
- $Headerstring[1] += '<a href="exec:clothingfilter[''bimbo_only''] = 1 & clothingfilter[''bimbo''] = 0 & gt $ward_list_file, ''clothing_list'', $ward_list_store"><img src="images/system/icons/clothing/bimbo_off.png"></a></TD>'
|
|
|
+ $Headerstring[1] += '<a href="exec:clothingfilter[''bimbo_only''] = 1 & clothingfilter[''bimbo''] = 0 & gs ''clothing_QV'', ''only_choice'', ''bimbo_only'' & gt $ward_list_file, ''clothing_list'', $ward_list_store"><img src="images/system/icons/clothing/bimbo_off.png"></a></TD>'
|
|
|
else
|
|
|
$Headerstring[1] += '<a href="exec:clothingfilter[''bimbo_only''] = 0 & gt $ward_list_file, ''clothing_list'', $ward_list_store"><img src="images/system/icons/clothing/bimbo.png"></a></TD>'
|
|
|
end
|
|
|
|
|
|
$Headerstring[1] += '<TD>'
|
|
|
if clothingfilter['conservative_only'] = 0:
|
|
|
- $Headerstring[1] += '<a href="exec:clothingfilter[''conservative_only''] = 1 & clothingfilter[''conservative''] = 0 & gt $ward_list_file, ''clothing_list'', $ward_list_store"><img src="images/system/icons/clothing/conservative_off.png"></a></TD>'
|
|
|
+ $Headerstring[1] += '<a href="exec:clothingfilter[''conservative_only''] = 1 & clothingfilter[''conservative''] = 0 & gs ''clothing_QV'', ''only_choice'', ''conservative_only'' & gt $ward_list_file, ''clothing_list'', $ward_list_store"><img src="images/system/icons/clothing/conservative_off.png"></a></TD>'
|
|
|
else
|
|
|
$Headerstring[1] += '<a href="exec:clothingfilter[''conservative_only''] = 0 & gt $ward_list_file, ''clothing_list'', $ward_list_store"><img src="images/system/icons/clothing/conservative.png"></a></TD>'
|
|
|
end
|
|
|
|
|
|
$Headerstring[1] += '<TD>'
|
|
|
if clothingfilter['risque_only'] = 0:
|
|
|
- $Headerstring[1] += '<a href="exec:clothingfilter[''risque_only''] = 1 & clothingfilter[''risque''] = 0 & gt $ward_list_file, ''clothing_list'', $ward_list_store"><img src="images/system/icons/clothing/risque_off.png"></a></TD>'
|
|
|
+ $Headerstring[1] += '<a href="exec:clothingfilter[''risque_only''] = 1 & clothingfilter[''risque''] = 0 & gs ''clothing_QV'', ''only_choice'', ''risque_only'' & gt $ward_list_file, ''clothing_list'', $ward_list_store"><img src="images/system/icons/clothing/risque_off.png"></a></TD>'
|
|
|
else
|
|
|
$Headerstring[1] += '<a href="exec:clothingfilter[''risque_only''] = 0 & gt $ward_list_file, ''clothing_list'', $ward_list_store"><img src="images/system/icons/clothing/risque.png"></a></TD>'
|
|
|
end
|
|
|
|
|
|
$Headerstring[1] += '<TD>'
|
|
|
if clothingfilter['loose_only'] = 0:
|
|
|
- $Headerstring[1] += '<a href="exec:clothingfilter[''loose_only''] = 1 & clothingfilter[''loose''] = 0 & gt $ward_list_file, ''clothing_list'', $ward_list_store"><img src="images/system/icons/clothing/loose_off.png"></a></TD>'
|
|
|
+ $Headerstring[1] += '<a href="exec:clothingfilter[''loose_only''] = 1 & clothingfilter[''loose''] = 0 & gs ''clothing_QV'', ''only_choice'', ''loose_only'' & gt $ward_list_file, ''clothing_list'', $ward_list_store"><img src="images/system/icons/clothing/loose_off.png"></a></TD>'
|
|
|
else
|
|
|
$Headerstring[1] += '<a href="exec:clothingfilter[''loose_only''] = 0 & gt $ward_list_file, ''clothing_list'', $ward_list_store"><img src="images/system/icons/clothing/loose.png"></a></TD>'
|
|
|
end
|
|
@@ -1479,7 +1479,7 @@ if $ARGS[0] = 'filter_header':
|
|
|
if $ARGS[1] ! 'store':
|
|
|
$Headerstring[1] += '<TD>'
|
|
|
if clothingfilter['sport_only'] = 0:
|
|
|
- $Headerstring[1] += '<a href="exec:clothingfilter[''sport_only''] = 1 & clothingfilter[''sport''] = 0 & gt $ward_list_file, ''clothing_list'', $ward_list_store"><img src="images/system/icons/clothing/sport_off.png"></a></TD>'
|
|
|
+ $Headerstring[1] += '<a href="exec:clothingfilter[''sport_only''] = 1 & clothingfilter[''sport''] = 0 & gs ''clothing_QV'', ''only_choice'', ''sport_only'' & gt $ward_list_file, ''clothing_list'', $ward_list_store"><img src="images/system/icons/clothing/sport_off.png"></a></TD>'
|
|
|
else
|
|
|
$Headerstring[1] += '<a href="exec:clothingfilter[''sport_only''] = 0 & gt $ward_list_file, ''clothing_list'', $ward_list_store"><img src="images/system/icons/clothing/sport.png"></a></TD>'
|
|
|
end
|
|
@@ -1487,7 +1487,7 @@ if $ARGS[0] = 'filter_header':
|
|
|
|
|
|
$Headerstring[1] += '<TD>'
|
|
|
if clothingfilter['school_only'] = 0:
|
|
|
- $Headerstring[1] += '<a href="exec:clothingfilter[''school_only''] = 1 & clothingfilter[''school''] = 0 & gt $ward_list_file, ''clothing_list'', $ward_list_store"><img src="images/system/icons/clothing/school_off.png"></a></TD>'
|
|
|
+ $Headerstring[1] += '<a href="exec:clothingfilter[''school_only''] = 1 & clothingfilter[''school''] = 0 & gs ''clothing_QV'', ''only_choice'', ''school_only'' & gt $ward_list_file, ''clothing_list'', $ward_list_store"><img src="images/system/icons/clothing/school_off.png"></a></TD>'
|
|
|
else
|
|
|
$Headerstring[1] += '<a href="exec:clothingfilter[''school_only''] = 0 & gt $ward_list_file, ''clothing_list'', $ward_list_store"><img src="images/system/icons/clothing/school.png"></a></TD>'
|
|
|
end
|
|
@@ -1495,14 +1495,14 @@ if $ARGS[0] = 'filter_header':
|
|
|
if $ARGS[1] ! 'store':
|
|
|
$Headerstring[1] += '<TD>'
|
|
|
if clothingfilter['maid_only'] = 0:
|
|
|
- $Headerstring[1] += '<a href="exec:clothingfilter[''maid_only''] = 1 & clothingfilter[''maid''] = 0 & gt $ward_list_file, ''clothing_list'', $ward_list_store"><img src="images/system/icons/clothing/maid_off.png"></a></TD>'
|
|
|
+ $Headerstring[1] += '<a href="exec:clothingfilter[''maid_only''] = 1 & clothingfilter[''maid''] = 0 & gs ''clothing_QV'', ''only_choice'', ''maid_only'' & gt $ward_list_file, ''clothing_list'', $ward_list_store"><img src="images/system/icons/clothing/maid_off.png"></a></TD>'
|
|
|
else
|
|
|
$Headerstring[1] += '<a href="exec:clothingfilter[''maid_only''] = 0 & gt $ward_list_file, ''clothing_list'', $ward_list_store"><img src="images/system/icons/clothing/maid.png"></a></TD>'
|
|
|
end
|
|
|
|
|
|
$Headerstring[1] += '<TD>'
|
|
|
if clothingfilter['server_only'] = 0:
|
|
|
- $Headerstring[1] += '<a href="exec:clothingfilter[''server_only''] = 1 & clothingfilter[''server''] = 0 & gt $ward_list_file, ''clothing_list'', $ward_list_store"><img src="images/system/icons/clothing/server_off.png"></a></TD>'
|
|
|
+ $Headerstring[1] += '<a href="exec:clothingfilter[''server_only''] = 1 & clothingfilter[''server''] = 0 & gs ''clothing_QV'', ''only_choice'', ''server_only'' & gt $ward_list_file, ''clothing_list'', $ward_list_store"><img src="images/system/icons/clothing/server_off.png"></a></TD>'
|
|
|
else
|
|
|
$Headerstring[1] += '<a href="exec:clothingfilter[''server_only''] = 0 & gt $ward_list_file, ''clothing_list'', $ward_list_store"><img src="images/system/icons/clothing/server.png"></a></TD>'
|
|
|
end
|
|
@@ -1510,7 +1510,7 @@ if $ARGS[0] = 'filter_header':
|
|
|
if $ward_list_file = 'clothing':
|
|
|
$Headerstring[1] += '<TD>'
|
|
|
if clothingfilter['swim_only'] = 0:
|
|
|
- $Headerstring[1] += '<a href="exec:clothingfilter[''swim_only''] = 1 & clothingfilter[''swim''] = 0 & gt $ward_list_file, ''clothing_list'', $ward_list_store"><img src="images/system/icons/clothing/swim_off.png"></a></TD>'
|
|
|
+ $Headerstring[1] += '<a href="exec:clothingfilter[''swim_only''] = 1 & clothingfilter[''swim''] = 0 & gs ''clothing_QV'', ''only_choice'', ''swim_only'' & gt $ward_list_file, ''clothing_list'', $ward_list_store"><img src="images/system/icons/clothing/swim_off.png"></a></TD>'
|
|
|
else
|
|
|
$Headerstring[1] += '<a href="exec:clothingfilter[''swim_only''] = 0 & gt $ward_list_file, ''clothing_list'', $ward_list_store"><img src="images/system/icons/clothing/swim.png"></a></TD>'
|
|
|
end
|
|
@@ -1693,49 +1693,49 @@ if $ARGS[0] = 'shop_filter_header':
|
|
|
!! Show only filers
|
|
|
$Headerstring[1] = '<TD>'
|
|
|
if clothingfilter['prost_only'] = 0:
|
|
|
- $Headerstring[1] += '<a href="exec:clothingfilter[''prost_only''] = 1 & clothingfilter[''prost''] = 0 & gt $loc, $loc_arg"><img src="images/system/icons/clothing/prostitute_off.png"></a></TD>'
|
|
|
+ $Headerstring[1] += '<a href="exec:clothingfilter[''prost_only''] = 1 & clothingfilter[''prost''] = 0 & gs ''clothing_QV'', ''only_choice'', ''prost_only'' & gt $loc, $loc_arg"><img src="images/system/icons/clothing/prostitute_off.png"></a></TD>'
|
|
|
else
|
|
|
$Headerstring[1] += '<a href="exec:clothingfilter[''prost_only''] = 0 & gt $loc, $loc_arg"><img src="images/system/icons/clothing/prostitute.png"></a></TD>'
|
|
|
end
|
|
|
|
|
|
$Headerstring[1] += '<TD>'
|
|
|
if clothingfilter['stripper_only'] = 0:
|
|
|
- $Headerstring[1] += '<a href="exec:clothingfilter[''stripper_only''] = 1 & clothingfilter[''stripper''] = 0 & gt $loc, $loc_arg"><img src="images/system/icons/clothing/stripper_off.png"></a></TD>'
|
|
|
+ $Headerstring[1] += '<a href="exec:clothingfilter[''stripper_only''] = 1 & clothingfilter[''stripper''] = 0 & gs ''clothing_QV'', ''only_choice'', ''stripper_only'' & gt $loc, $loc_arg"><img src="images/system/icons/clothing/stripper_off.png"></a></TD>'
|
|
|
else
|
|
|
$Headerstring[1] += '<a href="exec:clothingfilter[''stripper_only''] = 0 & gt $loc, $loc_arg"><img src="images/system/icons/clothing/stripper.png"></a></TD>'
|
|
|
end
|
|
|
|
|
|
$Headerstring[1] += '<TD>'
|
|
|
if clothingfilter['bimbo_only'] = 0:
|
|
|
- $Headerstring[1] += '<a href="exec:clothingfilter[''bimbo_only''] = 1 & clothingfilter[''bimbo''] = 0 & gt $loc, $loc_arg"><img src="images/system/icons/clothing/bimbo_off.png"></a></TD>'
|
|
|
+ $Headerstring[1] += '<a href="exec:clothingfilter[''bimbo_only''] = 1 & clothingfilter[''bimbo''] = 0 & gs ''clothing_QV'', ''only_choice'', ''bimbo_only'' & gt $loc, $loc_arg"><img src="images/system/icons/clothing/bimbo_off.png"></a></TD>'
|
|
|
else
|
|
|
$Headerstring[1] += '<a href="exec:clothingfilter[''bimbo_only''] = 0 & gt $loc, $loc_arg"><img src="images/system/icons/clothing/bimbo.png"></a></TD>'
|
|
|
end
|
|
|
|
|
|
$Headerstring[1] += '<TD>'
|
|
|
if clothingfilter['conservative_only'] = 0:
|
|
|
- $Headerstring[1] += '<a href="exec:clothingfilter[''conservative_only''] = 1 & clothingfilter[''conservative''] = 0 & gt $loc, $loc_arg"><img src="images/system/icons/clothing/conservative_off.png"></a></TD>'
|
|
|
+ $Headerstring[1] += '<a href="exec:clothingfilter[''conservative_only''] = 1 & clothingfilter[''conservative''] = 0 & gs ''clothing_QV'', ''only_choice'', ''conservative_only'' & gt $loc, $loc_arg"><img src="images/system/icons/clothing/conservative_off.png"></a></TD>'
|
|
|
else
|
|
|
$Headerstring[1] += '<a href="exec:clothingfilter[''conservative_only''] = 0 & gt $loc, $loc_arg"><img src="images/system/icons/clothing/conservative.png"></a></TD>'
|
|
|
end
|
|
|
|
|
|
$Headerstring[1] += '<TD>'
|
|
|
if clothingfilter['risque_only'] = 0:
|
|
|
- $Headerstring[1] += '<a href="exec:clothingfilter[''risque_only''] = 1 & clothingfilter[''risque''] = 0 & gt $loc, $loc_arg"><img src="images/system/icons/clothing/risque_off.png"></a></TD>'
|
|
|
+ $Headerstring[1] += '<a href="exec:clothingfilter[''risque_only''] = 1 & clothingfilter[''risque''] = 0 & gs ''clothing_QV'', ''only_choice'', ''risque_only'' & gt $loc, $loc_arg"><img src="images/system/icons/clothing/risque_off.png"></a></TD>'
|
|
|
else
|
|
|
$Headerstring[1] += '<a href="exec:clothingfilter[''risque_only''] = 0 & gt $loc, $loc_arg"><img src="images/system/icons/clothing/risque.png"></a></TD>'
|
|
|
end
|
|
|
|
|
|
$Headerstring[1] += '<TD>'
|
|
|
if clothingfilter['loose_only'] = 0:
|
|
|
- $Headerstring[1] += '<a href="exec:clothingfilter[''loose_only''] = 1 & clothingfilter[''loose''] = 0 & gt $loc, $loc_arg"><img src="images/system/icons/clothing/loose_off.png"></a></TD>'
|
|
|
+ $Headerstring[1] += '<a href="exec:clothingfilter[''loose_only''] = 1 & clothingfilter[''loose''] = 0 & gs ''clothing_QV'', ''only_choice'', ''loose_only'' & gt $loc, $loc_arg"><img src="images/system/icons/clothing/loose_off.png"></a></TD>'
|
|
|
else
|
|
|
$Headerstring[1] += '<a href="exec:clothingfilter[''loose_only''] = 0 & gt $loc, $loc_arg"><img src="images/system/icons/clothing/loose.png"></a></TD>'
|
|
|
end
|
|
|
|
|
|
$Headerstring[1] += '<TD>'
|
|
|
if clothingfilter['school_only'] = 0:
|
|
|
- $Headerstring[1] += '<a href="exec:clothingfilter[''school_only''] = 1 & clothingfilter[''school''] = 0 & gt $loc, $loc_arg"><img src="images/system/icons/clothing/school_off.png"></a></TD>'
|
|
|
+ $Headerstring[1] += '<a href="exec:clothingfilter[''school_only''] = 1 & clothingfilter[''school''] = 0 & gs ''clothing_QV'', ''only_choice'', ''school_only'' & gt $loc, $loc_arg"><img src="images/system/icons/clothing/school_off.png"></a></TD>'
|
|
|
else
|
|
|
$Headerstring[1] += '<a href="exec:clothingfilter[''school_only''] = 0 & gt $loc, $loc_arg"><img src="images/system/icons/clothing/school.png"></a></TD>'
|
|
|
end
|
|
@@ -1810,5 +1810,27 @@ if $ARGS[0] = 'shop_filter':
|
|
|
end
|
|
|
end
|
|
|
|
|
|
+if $ARGS[0] = 'only_choice':
|
|
|
+ $array_only_choice[0] = 'prost_only'
|
|
|
+ $array_only_choice[1] = 'stripper_only'
|
|
|
+ $array_only_choice[2] = 'bimbo_only'
|
|
|
+ $array_only_choice[3] = 'conservative_only'
|
|
|
+ $array_only_choice[4] = 'risque_only'
|
|
|
+ $array_only_choice[5] = 'loose_only'
|
|
|
+ $array_only_choice[6] = 'school_only'
|
|
|
+ $array_only_choice[7] = 'maid_only'
|
|
|
+ $array_only_choice[8] = 'server_only'
|
|
|
+
|
|
|
+ index = 0
|
|
|
+ amount = ARRSIZE('$array_only_choice')
|
|
|
+ :only_choiceloop
|
|
|
+ if index < amount:
|
|
|
+ if $ARGS[1] ! $array_only_choice[index]:
|
|
|
+ clothingfilter[$array_only_choice[index]] = 0
|
|
|
+ end
|
|
|
+ index += 1
|
|
|
+ jump 'only_choiceloop'
|
|
|
+ end
|
|
|
+end
|
|
|
--- clothing_QV ---------------------------------
|
|
|
|