>] = 0'
PShoQuality = ShoQuality
PShoHeels = ShoHeels
PShoCut = ShoCut
PShoStyle = ShoStyle
!Calculations for shoes beauty, multiplied by natural beauty
if PShoHeels > 0:
if PShoHeels = 1:
PXShoHeels = 25
elseif PShoHeels = 2:
PXShoHeels = 50
elseif PShoHeels = 3:
PXShoHeels = 100
elseif PShoHeels = 4:
PXShoHeels = 150
elseif PShoHeels = 5:
PXShoHeels = 200
elseif PShoHeels = 6:
PXShoHeels = 300
elseif PShoHeels >= 7:
PXShoHeels = 400
end
end
end
if $ARGS[0] = 'filter_header':
!! exclude filters
$Headerstring = ''
if Shofilter['sport'] = 0:
$Headerstring += ' | '
else
$Headerstring += ''
end
$Headerstring += ''
if Shofilter['stripper'] = 0:
$Headerstring += ' | '
else
$Headerstring += ''
end
$Headerstring += ''
if Shofilter['bimbo'] = 0:
$Headerstring += ' | '
else
$Headerstring += ''
end
$Headerstring += ''
if Shofilter['alternative'] = 0:
$Headerstring += ' | '
else
$Headerstring += ''
end
!! sort by filters
$Headerstring += ''
if Shofilter['number'] = 0:
Shofilter['quality'] = 1
$Headerstring += ' | '
else
$Headerstring += ''
end
$Headerstring += ''
if Shofilter['quality'] = 0:
$Headerstring += ' | '
else
$Headerstring += ''
end
!! Show only filers
$Headerstring[1] = ''
if Shofilter['sport_only'] = 0:
$Headerstring[1] += ' | '
else
$Headerstring[1] += ''
end
$Headerstring[1] += ''
if Shofilter['stripper_only'] = 0:
$Headerstring[1] += ' | '
else
$Headerstring[1] += ''
end
$Headerstring[1] += ''
if Shofilter['bimbo_only'] = 0:
$Headerstring[1] += ' | '
else
$Headerstring[1] += ''
end
$Headerstring[1] += ''
if Shofilter['alternative_only'] = 0:
$Headerstring[1] += ' | '
else
$Headerstring[1] += ''
end
$Headerstring[2] = 'Include | | | | Sort by | | '
$Headerstring[3] = 'Only show | '
'<<$Headerstring[2]>>'
'<<$Headerstring>>'
'<<$Headerstring[3]>>'
'<<$Headerstring[1]>>
'
end
if $ARGS[0] = 'shoe_filter':
!!Exclude filters
Shofilter['inc'] = 1
!!filters, if inc set to 0 they will not display
if Shofilter['stripper'] = 1 and ShoStyle = 1:
Shofilter['inc'] = 0
end
!!filters, if inc set to 0 they will not display
if Shofilter['bimbo'] = 1 and ShoStyle = 2:
Shofilter['inc'] = 0
end
!!filters, if inc set to 0 they will not display
if Shofilter['alternative'] = 1 and ShoStyle = 3:
Shofilter['inc'] = 0
end
!!only filters
Shofilter['only'] = 0
!!filters, if only set to 1 they will only display those set
if Shofilter['stripper_only'] = 1 and ShoStyle = 1:
Shofilter['only'] += 1
end
if Shofilter['bimbo_only'] = 1 and ShoStyle = 2:
Shofilter['only'] += 1
end
if Shofilter['alternative_only'] = 1 and ShoStyle = 3:
Shofilter['only'] += 1
end
!!Check total count to make sure it fits all groups selected
if Shofilter['only'] = Shofilter['stripper_only'] + Shofilter['bimbo_only'] + Shofilter['alternative_only']:
Shofilter['only'] = 1
else
Shofilter['only'] = 0
end
end
if $ARGS[0] = 'shop_filter_header':
!! exclude filters
$Headerstring = ''
if Shofilter['stripper'] = 0:
$Headerstring += ' | '
else
$Headerstring += ''
end
$Headerstring += ''
if Shofilter['bimbo'] = 0:
$Headerstring += ' | '
else
$Headerstring += ''
end
$Headerstring += ''
if Shofilter['alternative'] = 0:
$Headerstring += ' | '
else
$Headerstring += ''
end
!! sort by filters
$Headerstring += ''
if Shofilter['number'] = 0:
Shofilter['quality'] = 1
$Headerstring += ' | '
else
$Headerstring += ''
end
$Headerstring += ''
if Shofilter['quality'] = 0:
$Headerstring += ' | '
else
$Headerstring += ''
end
!! Show only filers
$Headerstring[1] = ''
if Shofilter['stripper_only'] = 0:
$Headerstring[1] += ' | '
else
$Headerstring[1] += ''
end
$Headerstring[1] += ''
if Shofilter['bimbo_only'] = 0:
$Headerstring[1] += ' | '
else
$Headerstring[1] += ''
end
$Headerstring[1] += ''
if Shofilter['alternative_only'] = 0:
$Headerstring[1] += ' | '
else
$Headerstring[1] += ''
end
$Headerstring[2] = 'Include | | | Sort by | | '
$Headerstring[3] = 'Only show | '
'<<$Headerstring[2]>>'
'<<$Headerstring>>'
'<<$Headerstring[3]>>'
'<<$Headerstring[1]>>
'
end
if $ARGS[0] = 'shop_filter':
!!Exclude filters
Shofilter['inc'] = 1
!!filters, if inc set to 0 they will not display
if Shofilter['stripper'] = 1 and ShoStyle = 1:
Shofilter['inc'] = 0
end
!!filters, if inc set to 0 they will not display
if Shofilter['bimbo'] = 1 and ShoStyle = 2:
Shofilter['inc'] = 0
end
!!filters, if inc set to 0 they will not display
if Shofilter['alternative'] = 1 and ShoStyle = 3:
Shofilter['inc'] = 0
end
!!only filters
Shofilter['only'] = 0
!!filters, if only set to 1 they will only display those set
if Shofilter['stripper_only'] = 1 and ShoStyle = 1:
Shofilter['only'] += 1
end
if Shofilter['bimbo_only'] = 1 and ShoStyle = 2:
Shofilter['only'] += 1
end
if Shofilter['alternative_only'] = 1 and ShoStyle = 3:
Shofilter['only'] += 1
end
!!Check total count to make sure it fits all groups selected
if Shofilter['only'] = Shofilter['stripper_only'] + Shofilter['bimbo_only'] + Shofilter['alternative_only']:
Shofilter['only'] = 1
else
Shofilter['only'] = 0
end
end
--- shoes ---------------------------------