123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684 |
- # shoes
- menu_off = 1
- !!This is the main file for shoes, like clothes but for your feet.
- if $ARGS[0] = 'totals':
- !!sets the number of items in shoe sets
- if $ARGS[1] = 'gm_shoes':
- total = 30
- elseif $ARGS[1] = 'dolls_shoes':
- total = 120
- elseif $ARGS[1] = 'pussycats_shoes':
- total = 40
- elseif $ARGS[1] = 'scandalicious_shoes':
- total = 80
- elseif $ARGS[1] = 'bomba_shoes':
- total = 40
- elseif $ARGS[1] = 'danilovich_shoes':
- total = 40
- elseif $ARGS[1] = 'eroto_shoes':
- total = 40
- elseif $ARGS[1] = 'moncheri_shoes':
- total = 140
- end
- end
- $shoe_list_line = {
- !! a single line in a shoe list (shoe rack, etc)
- !! ARGS 0 - action type (shoe rack, sell, store, forsale)
- !! ARGS 1 - shoe type
- !! ARGS 2 - shoe index
- gs 'themes', 'clothing'
- $RESULT = '<TR bgcolor='+$temp_bcolor+'>'
- if Enable_clothwidth > 0:
- shoe_temp = Enable_clothwidth - 1
- else
- shoe_temp = 75 & !shoe widdefault to 75
- end
- $RESULT +='<TD><a href="exec:gt ''shoes'', ''view_shoe_item'', ''wardrobe'', ''<<$ARGS[1]>>'', <<ARGS[2]>>"><img src="<<FUNC(''$shoe_image'', $ARGS[1], ARGS[2])>>" width="<<shoe_temp>>"></a></TD>'
- killvar 'shoe_temp'
- gs 'shoe_attributes', $ARGS[1], ARGS[2]
- $RESULT += '<TD><<FUNC(''$shoe_description'', $ARGS[1])>> <<ARGS[2]>></TD>'
- $RESULT += '<TD><<FUNC(''$shoe_description2'', $ARGS[1])>></TD>'
- if ShoBimbo = 1:
- $RESULT += '<TD>Yes</TD>'
- else
- $RESULT += '<TD>No</TD>'
- end
- if ShoStyle2 = 1:
- $RESULT += '<TD>Yes</TD>'
- else
- $RESULT += '<TD>No</TD>'
- end
- $RESULT += '<TD><a href="exec:gt ''shoes'', ''view_shoe_item'', ''wardrobe'', ''<<$ARGS[1]>>'', <<ARGS[2]>>">View</a></TD>'
- $RESULT += '<TD>'
- if sloc ! 1:$RESULT += ' <a href="exec:gt ''shoes'', ''dest1'', ''<<$ARGS[0]>>'', ''<<$ARGS[1]>>'', <<ARGS[2]>>">Storage</a>'
- if sloc ! 0:$RESULT += ' <a href="exec:gt ''shoes'', ''dest0'', ''<<$ARGS[0]>>'', ''<<$ARGS[1]>>'', <<ARGS[2]>>">Wardrobe</a>'
- if sloc ! 2:$RESULT += ' <a href="exec:gt ''shoes'', ''dest2'', ''<<$ARGS[0]>>'', ''<<$ARGS[1]>>'', <<ARGS[2]>>">Unwanted</a>'
- $RESULT += '</TD>'
- }
- if $ARGS[0] = 'dest0':
- *clr
- dynamic '<<$ARGS[2]>>_shoe_s[<<ARGS[3]>>] = 0'
- gt 'shoes', 'view_shoe_list', $ARGS[1]
- end
- if $ARGS[0] = 'dest1':
- *clr
- dynamic '<<$ARGS[2]>>_shoe_s[<<ARGS[3]>>] = 1'
- gt 'shoes', 'view_shoe_list', $ARGS[1]
- end
- if $ARGS[0] = 'dest2':
- *clr
- dynamic '<<$ARGS[2]>>_shoe_s[<<ARGS[3]>>] = 2'
- gt 'shoes', 'view_shoe_list', $ARGS[1]
- end
- if $ARGS[0] = 'view_shoe_list':
- !! ARGS 0 - view_shoe_list
- !! ARGS 1 - action type (wardrobe, storage, unwanted, sell)
- !! ARGS 2 - brothel flag (brothel)
- $regularwornshoetype = ''
- act 'Return':gt 'wardrobe', 'main'
- if $ARGS[1] ! 'sell' :'<center><table border=1><TH><a href="exec:gt ''shoes'', ''view_shoe_list'', ''wardrobe''">Wardrobe </a></TH><TH><a href="exec:gt ''shoes'', ''view_shoe_list'', ''store''">Storage</a></TH><TH><a href="exec:gt ''shoes'', ''view_shoe_list'', ''unwanted''">Unwanted</a></TH></table></center>'
- if $ARGS[1] ! 'sell' :
- '<center><b>Select shoes to wear</b> *Bonus to attractiveness only applied in wardrobe and outdoors.</center>'
- if $shoeworntype ! 'none':
- act 'Remove shoes':
- gs 'shoes', 'strip'
- gt 'shoes', 'view_shoe_list', $ARGS[1]
- end
- end
- end
- if $ARGS[1] = 'wardrobe':
- sloc = 0
- end
- if $ARGS[1] = 'store':
- sloc = 1
- end
- if $ARGS[1] = 'unwanted':
- sloc = 2
- end
- gs 'shoes', 'filter_header', 'store'
- '<center><table border=0 cellspacing=0 cellpadding=5><TH></TH><TH>Shoe</TH><TH>Description</TH><TH>Bimbo</TH><TH>Stripper</TH><TH>Actions</TH>'
- !!To filter just this set
- clo_i = 0
- :loopshoequality_filter
- i = 1
- :loopmoncheri_shoe
- if moncheri_shoe_s[i] = sloc and moncheri_shoe[i] = 1:
- gs 'shoe_attributes', 'moncheri', i
- gs 'shoes', 'shoe_filter'
- !!sort by filter
- if (Shofilter['quality'] = 0 and ShoQuality = clo_i) or Shofilter['number'] = 0:
- if Shofilter['inc'] = 1 and Shofilter['only'] = 1:
- *P dyneval($shoe_list_line, $ARGS[1], 'moncheri', i)
- end
- end
- end
- i += 1
- if i <= ARRSIZE('moncheri_shoe'):jump 'loopmoncheri_shoe'
- i = 1
- :loopcats_shoe
- if cats_shoe_s[i] = sloc and cats_shoe[i] = 1:
- gs 'shoe_attributes', 'cats', i
- gs 'shoes', 'shoe_filter'
- !!sort by filter
- if (Shofilter['quality'] = 0 and ShoQuality = clo_i) or Shofilter['number'] = 0:
- if Shofilter['inc'] = 1 and Shofilter['only'] = 1:
- *P dyneval($shoe_list_line, $ARGS[1], 'cats', i)
- end
- end
- end
- i += 1
- if i <= ARRSIZE('cats_shoe'):jump 'loopcats_shoe'
- i = 1
- :loopbomba_shoe
- if bomba_shoe_s[i] = sloc and bomba_shoe[i] = 1:
- gs 'shoe_attributes', 'bomba', i
- gs 'shoes', 'shoe_filter'
- !!sort by filter
- if (Shofilter['quality'] = 0 and ShoQuality = clo_i) or Shofilter['number'] = 0:
- if Shofilter['inc'] = 1 and Shofilter['only'] = 1:
- *P dyneval($shoe_list_line, $ARGS[1], 'bomba', i)
- end
- end
- end
- i += 1
- if i <= ARRSIZE('bomba_shoe'):jump 'loopbomba_shoe'
- i = 1
- :loopdolls_shoe
- if dolls_shoe_s[i] = sloc and dolls_shoe[i] = 1:
- gs 'shoe_attributes', 'dolls', i
- gs 'shoes', 'shoe_filter'
- !!sort by filter
- if (Shofilter['quality'] = 0 and ShoQuality = clo_i) or Shofilter['number'] = 0:
- if Shofilter['inc'] = 1 and Shofilter['only'] = 1:
- *P dyneval($shoe_list_line, $ARGS[1], 'dolls', i)
- end
- end
- end
- i += 1
- if i <= ARRSIZE('dolls_shoe'):jump 'loopdolls_shoe'
- i = 1
- :loopgm_shoe
- if gm_shoe_s[i] = sloc and gm_shoe[i] = 1:
- gs 'shoe_attributes', 'gm', i
- gs 'shoes', 'shoe_filter'
- !!sort by filter
- if (Shofilter['quality'] = 0 and ShoQuality = clo_i) or Shofilter['number'] = 0:
- if Shofilter['inc'] = 1 and Shofilter['only'] = 1:
- *P dyneval($shoe_list_line, $ARGS[1], 'gm', i)
- end
- end
- end
- i += 1
- if i <= ARRSIZE('gm_shoe'):jump 'loopgm_shoe'
- i = 1
- :looperoto_shoe
- if eroto_shoe_s[i] = sloc and eroto_shoe[i] = 1:
- gs 'shoe_attributes', 'eroto', i
- gs 'shoes', 'shoe_filter'
- !!sort by filter
- if (Shofilter['quality'] = 0 and ShoQuality = clo_i) or Shofilter['number'] = 0:
- if Shofilter['inc'] = 1 and Shofilter['only'] = 1:
- *P dyneval($shoe_list_line, $ARGS[1], 'eroto', i)
- end
- end
- end
- i += 1
- if i <= ARRSIZE('eroto_shoe'):jump 'looperoto_shoe'
- i = 1
- :loopscandalicious_shoe
- if scandalicious_shoe_s[i] = sloc and scandalicious_shoe[i] = 1:
- gs 'shoe_attributes', 'scandalicious', i
- gs 'shoes', 'shoe_filter'
- !!sort by filter
- if (Shofilter['quality'] = 0 and ShoQuality = clo_i) or Shofilter['number'] = 0:
- if Shofilter['inc'] = 1 and Shofilter['only'] = 1:
- *P dyneval($shoe_list_line, $ARGS[1], 'scandalicious', i)
- end
- end
- end
- i += 1
- if i <= ARRSIZE('scandalicious_shoe'):jump 'loopscandalicious_shoe'
- i = 1
- :loopdanilovich_shoe
- if danilovich_shoe_s[i] = sloc and danilovich_shoe[i] = 1:
- gs 'shoe_attributes', 'danilovich', i
- gs 'shoes', 'shoe_filter'
- !!sort by filter
- if (Shofilter['quality'] = 0 and ShoQuality = clo_i) or Shofilter['number'] = 0:
- if Shofilter['inc'] = 1 and Shofilter['only'] = 1:
- *P dyneval($shoe_list_line, $ARGS[1], 'danilovich', i)
- end
- end
- end
- i += 1
- if i <= ARRSIZE('danilovich_shoe'):jump 'loopdanilovich_shoe'
- clo_i += 1
- if Shofilter['quality'] = 0 and clo_i <= 7:
- jump 'loopshoequality_filter'
- end
- '</table></center>'
- killvar '$temp_bcolor'
- end
- if $ARGS[0] = 'moncheri':
- *P FUNC('$attributes_moncheri_shoes', $ARGS[0], ARGS[1])
- elseif $ARGS[0] = 'cats':
- *P FUNC('$attributes_cats_shoes', $ARGS[0], ARGS[1])
- elseif $ARGS[0] = 'bomba':
- *P FUNC('$attributes_bomba_shoes', $ARGS[0], ARGS[1])
- elseif $ARGS[0] = 'dolls':
- *P FUNC('$attributes_dolls_shoes', $ARGS[0], ARGS[1])
- elseif $ARGS[0] = 'gm':
- *P FUNC('$attributes_gm_shoes', $ARGS[0], ARGS[1])
- elseif $ARGS[0] = 'eroto':
- *P FUNC('$attributes_eroto_shoes', $ARGS[0], ARGS[1])
- elseif $ARGS[0] = 'scandalicious':
- *P FUNC('$attributes_scandalicious_shoes', $ARGS[0], ARGS[1])
- elseif $ARGS[0] = 'danilovich':
- *P FUNC('$attributes_danilovich_shoes', $ARGS[0], ARGS[1])
- end
- if $ARGS[0] = 'gym':
- if $regularwornshoetype = '':
- $regularwornshoetype = $shoeworntype
- regularwornshoenumber = shoewornnumber
- end
- '<center><img src="images/locations/city/citycenter/mall/sports.png"></center>'
- i = 1
- :loopdanilovich_shoe2
- if danilovich_shoe[i] = 1 and danilovich_shoe_s[i] = 0:'<a href="exec:gt ''shoes'', ''view_shoe_item'', ''wardrobe'', ''danilovich'', <<i>>"><img src="images/pc/items/danilovich/shoes/<<i>>.jpg" height="250" /></a>'
- i += 1
- if i <= 40:jump 'loopdanilovich_shoe2'
- act 'Return': gt $loc, $loc_arg
- if $shoeworntype ! $regularwornshoetype: gs 'shoes', 'gym2'
- end
- if $ARGS[0] = 'gym2':
- act 'Put your regular shoes back on':
- $shoeworntype = $regularwornshoetype
- shoewornnumber = regularwornshoenumber
- killvar '$regularwornshoetype'
- killvar 'regularwornshoenumber'
- gt 'shoes', 'gym'
- end
- end
- if $ARGS[0] = 'view_shoe_item':
- !! ARGS 0 - view_shoe_item
- !! ARGS 1 = action type (wardrobe, shop, sell)
- !! ARGS 2 - shoes type
- !! ARGS 3 - shoes index
- !! ARGS 4 - price for shop
- cla
- '<center><img src="<<FUNC(''$shoe_image'', $ARGS[2], ARGS[3])>>"></center>'
- gs 'shoe_attributes', $ARGS[2], ARGS[3]
- FUNC('$shoe_description', $ARGS[2]) + '<<ARGS[3]>>'
- *nl
- FUNC('$shoe_description2', $ARGS[2])
- *nl
- if ShoStyle2 = 1: 'This shoe is considered stripper style and most suitable for stripping or whoring.'
- if ShoBimbo = 1: 'This shoe is considered bimbo style and makes your mind drift toward sexual thoughts.'
- if ShoGoth = 1: 'This shoe is considered goth style.'
- if ShoPunk = 1: 'This shoe is considered punk style.'
- if ShoStyle = 1: 'This shoe is considered alternative style and makes you feel more assertive and aggressive.'
- if $ARGS[1] = 'shop':
- if dyneval('RESULT = <<$ARGS[2]>>_shoe[<<ARGS[3]>>]') = 1:
- 'You already own these shoes.'
- act 'Leave': gt $loc, $loc_arg
- else
- price = (ARGS[4] * ((5 * ShoQuality) + 100) / 100) * 1000 / (1250 - Clothingstock[ARGS[3]]) * 3 / 2
- price = price / 50 * 50
- 'Price: <<price>> <b>₽</b>'
- act 'Leave': gt $loc, $loc_arg
- if money < price and karta < price:
- 'You do not have enough money to buy these shoes.'
- else
- if money >= price:
- act 'Buy (cash)':
- h = 0
- if ShoBimbo = 1:h = 10
- if ShoStyle = 5:h = 20
- h += (3 * ShoQuality)
- money -= price
- dynamic '<<$ARGS[2]>>_shoe[<<ARGS[3]>>] = 1'
- gt $loc, $loc_arg
- end
- end
- if karta >= price:
- act 'Buy (card)':
- h = 0
- if ShoBimbo = 1:h = 10
- if ShoStyle = 5:h = 20
- h += (3 * ShoQuality)
- karta -= price
- dynamic '<<$ARGS[2]>>_shoe[<<ARGS[3]>>] = 1'
- gt $loc, $loc_arg
- end
- end
- end
- end
- elseif $ARGS[1] = 'wardrobe':
- if $regularwornshoetype = '':
- act 'Leave in closet':gt 'shoes', 'view_shoe_list', $ARGS[1]
- else
- act 'Return': gt 'shoes', 'gym'
- end
- act 'Wear':
- gs 'shoes', 'wear', $ARGS[2], ARGS[3]
- if $regularwornshoetype = '':
- gt 'wardrobe', 'main'
- else
- gt 'shoes', 'gym'
- end
- end
- elseif $ARGS[1] = 'store' or $ARGS[1] = 'unwanted':
- act 'Return':gt 'shoes', 'view_shoe_list', $ARGS[1]
- end
- end
- if $ARGS[0] = 'strip':
- if $shoeworntype = 'none': exit
- $lastwornshoetype = $shoeworntype
- lastwornshoenumber = shoewornnumber
- $shoeworntype = 'none'
- shoewornnumber = 0
- ShoQuality = 0
- ShoHeels = 0
- ShoCut = 0
- ShoStyle = 0
- ShoStyle2 = 0
- ShoBimbo = 0
- ShoGoth = 0
- ShoPunk = 0
- PShoQuality = 0
- PShoHeels = 0
- PShoCut = 0
- PShoStyle = 0
- PShoStyle2 = 0
- PShoBimbo = 0
- PShoGoth = 0
- PShoPunk = 0
- gs 'outfit', 'set_tags'
- end
- if $ARGS[0] = 'setup':
- end
- if $ARGS[0] = 'wear':
- !! ARGS 0 - action
- !! ARGS 1 - shoe type name / last worn
- !! ARGS 2 - shoe index
- if $ARGS[1] = 'last_worn':
- $shoeworntype = $lastwornshoetype
- shoewornnumber = lastwornshoenumber
- else
- $shoeworntype = $ARGS[1]
- shoewornnumber = ARGS[2]
- end
- if $shoeworntype = 'none':
- PShoQuality = 0
- PShoCut = 0
- PShoHeels = 0
- PShoStyle = 0
- PShoBimbo = 0
- PShoGoth = 0
- PShoPunk = 0
- exit
- end
- gs 'shoe_attributes', $ARGS[1], ARGS[2]
- dynamic '<<$ARGS[1]>>_shoe_s[<<ARGS[2]>>] = 0'
- PShoQuality = ShoQuality
- PShoHeels = ShoHeels
- PShoCut = ShoCut
- PShoStyle = ShoStyle
- PShoStyle2 = Shostyle2
- PShoBimbo = ShoBimbo
- PShoGoth = ShoGoth
- PShoPunk = ShoPunk
- gs 'outfit', 'set_tags'
- !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':
- $temp_loc1 = 'shoes'
- $temp_loc2 = 'view_shoe_list'
- $temp_loc3 = ''
- gs 'shoes', 'filter_header_base', 'home'
- killvar '$temp_loc1'
- killvar '$temp_loc2'
- killvar '$temp_loc3'
- end
- if $ARGS[0] = 'shop_filter_header':
- $temp_loc1 = $loc
- $temp_loc2 = $loc_arg
- $temp_loc3 = ''
- gs 'shoes', 'filter_header_base', 'store'
- killvar '$temp_loc1'
- killvar '$temp_loc2'
- killvar '$temp_loc3'
- end
- if $ARGS[0] = 'filter_header_base':
- !! sort by filters
- temp_count[0] = 1
- $Headerstring[0] = '<TD>'
- if Shofilter['number'] = 0:
- Shofilter['quality'] = 1
- $Headerstring[0] += '<img src="images/system/icons/clothing/number.png"></TD>'
- else
- $Headerstring[0] += '<a href="exec:Shofilter[''number''] = 0 & Shofilter[''quality''] = 1 & gt ''<<$temp_loc1>>'', ''<<$temp_loc2>>'', ''<<$temp_loc3>>''"><img src="images/system/icons/clothing/number_off.png"></a></TD>'
- end
- temp_count[0] += 1
- $Headerstring[0] += '<TD>'
- if Shofilter['quality'] = 0:
- $Headerstring[0] += '<img src="images/system/icons/clothing/quality.png"></TD>'
- else
- $Headerstring[0] += '<a href="exec:Shofilter[''number''] = 1 & Shofilter[''quality''] = 0 & gt ''<<$temp_loc1>>'', ''<<$temp_loc2>>'', ''<<$temp_loc3>>''"><img src="images/system/icons/clothing/quality_off.png"></a></TD>'
- end
- !! exclude filters
- $Headerstring[1] = ''
- temp_count[1] = 0
- !! ONLY filter header
- if $ARGS[1] ! 'store':
- temp_count[1] += 1
- $Headerstring[1] += '<TD>'
- if Shofilter['sport'] = 0:
- $Headerstring[1] += '<a href="exec:Shofilter[''sport''] = 1 & Shofilter[''sport_only''] = 0 & gt ''<<$temp_loc1>>'', ''<<$temp_loc2>>'', ''<<$temp_loc3>>''"><img src="images/system/icons/clothing/sport.png"></a></TD>'
- else
- $Headerstring[1] += '<a href="exec:Shofilter[''sport''] = 0 & gt ''<<$temp_loc1>>'', ''<<$temp_loc2>>'', ''<<$temp_loc3>>''"><img src="images/system/icons/clothing/sport_off.png"></a></TD>'
- end
- end
- temp_count[1] += 1
- $Headerstring[1] += '<TD>'
- if Shofilter['stripper'] = 0:
- $Headerstring[1] += '<a href="exec:Shofilter[''stripper''] = 1 & Shofilter[''stripper_only''] = 0 & gt ''<<$temp_loc1>>'', ''<<$temp_loc2>>'', ''<<$temp_loc3>>''"><img src="images/system/icons/clothing/stripper.png"></a></TD>'
- else
- $Headerstring[1] += '<a href="exec:Shofilter[''stripper''] = 0 & gt ''<<$temp_loc1>>'', ''<<$temp_loc2>>'', ''<<$temp_loc3>>''"><img src="images/system/icons/clothing/stripper_off.png"></a></TD>'
- end
- temp_count[1] += 1
- $Headerstring[1] += '<TD>'
- if Shofilter['bimbo'] = 0:
- $Headerstring[1] += '<a href="exec:Shofilter[''bimbo''] = 1 & Shofilter[''bimbo_only''] = 0 & gt ''<<$temp_loc1>>'', ''<<$temp_loc2>>'', ''<<$temp_loc3>>''"><img src="images/system/icons/clothing/bimbo.png"></a></TD>'
- else
- $Headerstring[1] += '<a href="exec:Shofilter[''bimbo''] = 0 & gt ''<<$temp_loc1>>'', ''<<$temp_loc2>>'', ''<<$temp_loc3>>''"><img src="images/system/icons/clothing/bimbo_off.png"></a></TD>'
- end
- temp_count[1] += 1
- $Headerstring[1] += '<TD>'
- if Shofilter['alternative'] = 0:
- $Headerstring[1] += '<a href="exec:Shofilter[''alternative''] = 1 & Shofilter[''alternative_only''] = 0 & gt ''<<$temp_loc1>>'', ''<<$temp_loc2>>'', ''<<$temp_loc3>>''"><img src="images/system/icons/clothing/alternative.png"></a></TD>'
- else
- $Headerstring[1] += '<a href="exec:Shofilter[''alternative''] = 0 & gt ''<<$temp_loc1>>'', ''<<$temp_loc2>>'', ''<<$temp_loc3>>''"><img src="images/system/icons/clothing/alternative_off.png"></a></TD>'
- end
- !! Show only filers
- $Headerstring[2] = ''
- temp_count[2] = 0
- !! ONLY filter header
- if $ARGS[1] ! 'store':
- temp_count[2] += 1
- $Headerstring[2] += '<TD>'
- if Shofilter['sport_only'] = 0:
- $Headerstring[2] += '<a href="exec:Shofilter[''sport_only''] = 1 & Shofilter[''sport''] = 0 & gt ''<<$temp_loc1>>'', ''<<$temp_loc2>>'', ''<<$temp_loc3>>''"><img src="images/system/icons/clothing/sport_off.png"></a></TD>'
- else
- $Headerstring[2] += '<a href="exec:Shofilter[''sport_only''] = 0 & gt ''<<$temp_loc1>>'', ''<<$temp_loc2>>'', ''<<$temp_loc3>>''"><img src="images/system/icons/clothing/sport.png"></a></TD>'
- end
- end
- temp_count[2] += 1
- $Headerstring[2] += '<TD>'
- if Shofilter['stripper_only'] = 0:
- $Headerstring[2] += '<a href="exec:Shofilter[''stripper_only''] = 1 & Shofilter[''stripper''] = 0 & gt ''<<$temp_loc1>>'', ''<<$temp_loc2>>'', ''<<$temp_loc3>>''"><img src="images/system/icons/clothing/stripper_off.png"></a></TD>'
- else
- $Headerstring[2] += '<a href="exec:Shofilter[''stripper_only''] = 0 & gt ''<<$temp_loc1>>'', ''<<$temp_loc2>>'', ''<<$temp_loc3>>''"><img src="images/system/icons/clothing/stripper.png"></a></TD>'
- end
- temp_count[2] += 1
- $Headerstring[2] += '<TD>'
- if Shofilter['bimbo_only'] = 0:
- $Headerstring[2] += '<a href="exec:Shofilter[''bimbo_only''] = 1 & Shofilter[''bimbo''] = 0 & gt ''<<$temp_loc1>>'', ''<<$temp_loc2>>'', ''<<$temp_loc3>>''"><img src="images/system/icons/clothing/bimbo_off.png"></a></TD>'
- else
- $Headerstring[2] += '<a href="exec:Shofilter[''bimbo_only''] = 0 & gt ''<<$temp_loc1>>'', ''<<$temp_loc2>>'', ''<<$temp_loc3>>''"><img src="images/system/icons/clothing/bimbo.png"></a></TD>'
- end
- temp_count[2] += 1
- $Headerstring[2] += '<TD>'
- if Shofilter['alternative_only'] = 0:
- $Headerstring[2] += '<a href="exec:Shofilter[''alternative_only''] = 1 & Shofilter[''alternative''] = 0 & gt ''<<$temp_loc1>>'', ''<<$temp_loc2>>'', ''<<$temp_loc3>>''"><img src="images/system/icons/clothing/alternative_off.png"></a></TD>'
- else
- $Headerstring[2] += '<a href="exec:Shofilter[''alternative_only''] = 0 & gt ''<<$temp_loc1>>'', ''<<$temp_loc2>>'', ''<<$temp_loc3>>''"><img src="images/system/icons/clothing/alternative.png"></a></TD>'
- end
- $Headerstring[3] = ''
- $Headerstring[5] = ''
- temp_shoes_i = 0
- :headerstring_loop1
- $Headerstring[3] += '<td></td>'
- $Headerstring[5] += '<td></td>'
- temp_shoes_i += 1
- if temp_shoes_i < temp_count[1] / 2: jump 'headerstring_loop1'
- $Headerstring[3] += '<th>Sort by</th>'
- $Headerstring[5] += '<th>Include</th>'
- $Headerstring[4] = ''
- temp_shoes_i = 0
- :headerstring_loop2
- $Headerstring[4] += '<td></td>'
- temp_shoes_i += 1
- if temp_shoes_i < temp_count[1] / 2 - temp_count[0] / 2: jump 'headerstring_loop2'
- $Headerstring[6] = ''
- temp_shoes_i = 0
- :headerstring_loop3
- $Headerstring[6] += '<td></td>'
- temp_shoes_i += 1
- if temp_shoes_i < temp_count[2] / 2: jump 'headerstring_loop3'
- $Headerstring[6] += '<th>Only show</th>'
- $temp_table = '<center><table>'
- $temp_table += '<tr>' + $Headerstring[3] + '</tr>'
- $temp_table += '<tr>' + $Headerstring[4] + $Headerstring[0] + '</tr>'
- $temp_table += '<tr>' + $Headerstring[5] + '</tr>'
- $temp_table += '<tr>' + $Headerstring[1] + '</tr>'
- $temp_table += '<tr>' + $Headerstring[6] + '</tr>'
- $temp_table += '<tr>' + $Headerstring[2] + '</tr>'
- $temp_table += '</table></center>'
- '<<$temp_table>>'
- killvar 'temp_table'
- killvar 'headerstring'
- killvar 'temp_shoes_i'
- killvar 'temp_count'
- end
- if $ARGS[0] = 'shoe_filter': gs 'shoes', 'filter_base'
- if $ARGS[0] = 'shop_filter': gs 'shoes', 'filter_base'
- if $ARGS[0] = 'filter_base':
- !!Exclude filters
- Shofilter['inc'] = 1
- !!filters, if inc set to 0 they will not display
- if Shofilter['stripper'] = 1 and ShoStyle2 = 1:
- Shofilter['inc'] = 0
- exit
- end
- if Shofilter['bimbo'] = 1 and ShoBimbo = 1:
- Shofilter['inc'] = 0
- exit
- end
- if Shofilter['alternative'] = 1 and ShoStyle = 1:
- Shofilter['inc'] = 0
- exit
- end
- if Shofilter['sport'] = 1 and ShoStyle2 = 2:
- Shofilter['inc'] = 0
- exit
- end
- !!only filters
- Shofilter['only'] = 1
- !!filters, if only set to 1 they will only display those set
- if Shofilter['stripper_only'] = 1 and ShoStyle2 ! 1:
- Shofilter['only'] = 0
- exit
- end
- if Shofilter['bimbo_only'] = 1 and ShoBimbo ! 1:
- Shofilter['only'] = 0
- exit
- end
- if Shofilter['alternative_only'] = 1 and ShoStyle ! 2:
- Shofilter['only'] = 0
- exit
- end
- if Shofilter['sport_only'] = 1 and ShoStyle2 ! 2:
- Shofilter['only'] = 0
- exit
- end
- end
- --- shoes ---------------------------------
|