>] = 0'
PBraMaterial = BraMaterial
PBraType = BraType
PBraFun = BraFun
PBraQuality = BraQuality
PBraThinness = BraThinness
PBraCover = BraCover
gs 'clothing', 'exposure_calc'
end
if $ARGS[0] = 'wear_last_worn':
!!contingency
if $lastwornbratype = '': $lastwornbratype = 'none'
gs 'bras', 'wear', $lastwornbratype, lastwornbranumber
end
if $ARGS[0] = 'filter_header':
!!Exclude filters
$Headerstring = ''
if clothingfilter['sport'] = 0:
$Headerstring += ' | '
else
$Headerstring += ''
end
!!sort by filters
$Headerstring += ''
if clothingfilter['number'] = 0:
clothingfilter['quality'] = 1 & clothingfilter['inhibition'] = 1
$Headerstring += ' | '
else
$Headerstring += ''
end
$Headerstring += ''
if clothingfilter['quality'] = 0:
$Headerstring += ' | '
else
$Headerstring += ''
end
!! Show only filers
$Headerstring[1] = ''
if clothingfilter['sport_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] = 'bra_filter':
!!Exclude filters
clothingfilter['inc'] = 1
!!filters, if inc set to 0 they will not display
if clothingfilter['sport'] = 1 and BraFun = 2:
clothingfilter['inc'] = 0
end
!!only filters
clothingfilter['only'] = 0
!!filters, if only set to 1 they will only display those set
if clothingfilter['sport_only'] = 1 and BraFun = 2:
clothingfilter['only'] = 1
end
if clothingfilter['only'] = clothingfilter['sport_only']:
clothingfilter['only'] = 1
else
clothingfilter['only'] = 0
end
end
if $ARGS[0] = 'shop_filter_header':
!! sort by filters
$Headerstring = ''
if clothingfilter['number'] = 0:
clothingfilter['quality'] = 1
$Headerstring += ' | '
else
$Headerstring += ''
end
$Headerstring += ''
if clothingfilter['quality'] = 0:
$Headerstring += ' | '
else
$Headerstring += ''
end
$Headerstring[2] = 'Sort by | '
'<<$Headerstring[2]>>'
'<<$Headerstring>>
'
end
if $ARGS[0] = 'shop_filter':
end
--- bras ---------------------------------