123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089 |
- # clothing
- menu_off = 1
- $clothing_list_line = {
- !! a single line in a clothing list (wardrobe, etc)
- !! ARGS 0 - action type (wardrobe, sell, resize, store, forsale)
- !! ARGS 1 - clothing type
- !! ARGS 2 - clothing index
- gs 'themes', 'clothing', 1
- $RESULT = '<TR bgcolor='+$bgcolor+'>'
- if Enable_clothwidth > 0:
- clothing_temp = Enable_clothwidth - 1
- else
- clothing_temp = 150 & !clothing widdefault to 150
- end
- $RESULT +='<TD><a href="exec:gt ''clothing'', ''view_clothing_item'', ''<<$ARGS[0]>>'', ''<<$ARGS[1]>>'', <<ARGS[2]>>"><img src="<<FUNC(''$clothing_image'', $ARGS[1], ARGS[2])>>" width="<<clothing_temp>>"><p><<$ARGS[1]>> outfit</p></a></TD>'
- killvar 'clothing_temp'
- gs 'clothing_attributes', $ARGS[1], ARGS[2]
- if $ARGS[1] ! 'gm_school' or ARGS[2] ! 6:
- $RESULT += '<TD>' + dyneval '$RESULT += <<$ARGS[1]>>_h[<<ARGS[2]>>]' + '</TD>'
- if $ARGS[1] ! 'exercise' and $ARGS[1] ! 'coat' and CloStyle ! 5:
- $RESULT += '<TD>' + dyneval '$RESULT += <<$ARGS[1]>>_b[<<ARGS[2]>>]' + '</TD>'
- else
- $RESULT += '<TD></TD>'
- end
- else
- $RESULT += '<TD colspan="2"></TD>'
- end
- if $ARGS[1] = 'misc_outfits' and ARGS[2] = 1:
- $RESULT += '<TD>A hessian sack the hunters gave you.</TD>'
- elseif $ARGS[1] ! 'coat' and $ARGS[1] ! 'swimwear' and $ARGS[1] ! 'beach':
- gs 'clothing_descriptions'
- $RESULT += '<TD><<FUNC(''$short_description'', $ARGS[1])>> <<ARGS[2]>><br/><br/><<$description>></TD>'
- else
- $RESULT += '<TD>' + FUNC('$clothing_name', $ARGS[1], ARGS[2]) + '</TD>'
- end
- if CloBimbo = 1:
- $RESULT += '<TD>Yes</TD>'
- else
- $RESULT += '<TD>No</TD>'
- end
- if CloStyle = 4:
- $RESULT += '<TD>Yes</TD>'
- else
- $RESULT += '<TD>No</TD>'
- end
- $RESULT += '<TD><a href="exec:gt ''clothing'', ''view_clothing_item'', ''<<$ARGS[0]>>'', ''<<$ARGS[1]>>'', <<ARGS[2]>>">View</a>'
- if $ARGS[0] ! 'sell' and $ARGS[0] ! 'resize':
- if StoryLine = 1 and SchoolAtestat = 0 and SchoolBlock = 0 and $ARGS[1] = 'gm_school' and ARGS[2] = 6:
- $RESULT += ' <a href="exec:gs ''clothing'', ''wear'', ''<<$ARGS[1]>>'', <<ARGS[2]>> & gt ''clothing'', ''view_clothing_list'', ''wardrobe'', ''<<$ward_list_store>>''">Wear</a></TD>'
- elseif ($ARGS[1] ! 'coat' and $ARGS[1] ! 'swimwear' and $ARGS[1] ! 'beach') and dyneval('RESULT = <<$ARGS[1]>>_h[<<ARGS[2]>>]') > 0:
- if $ARGS[1] ! 'exercise' and CloStyle ! 5 and (dyneval('RESULT = <<$ARGS[1]>>_b[<<ARGS[2]>>]') < (pcs_hips - 8) or dyneval('RESULT = <<$ARGS[1]>>_b[<<ARGS[2]>>]') > (pcs_hips + 8)) or (ARRPOS('$CloLosTyp', $ARGS[1]) ! -1 and ARRPOS('CloLosNum',ARGS[2]) ! -1):
- $RESULT += '</TD>'
- else
- $RESULT += ' <a href="exec:gs ''clothing'', ''wear'', ''<<$ARGS[1]>>'', <<ARGS[2]>> & gt ''clothing'', ''view_clothing_list'', ''wardrobe'', ''<<$ward_list_store>>''">Wear</a></TD>'
- end
- else
- $RESULT += '</TD>'
- end
- $RESULT += '<TD>'
- if cloc ! 1:$RESULT += ' <a href="exec:gt ''clothing'', ''dest1'', ''<<$ARGS[0]>>'', ''<<$ARGS[1]>>'', <<ARGS[2]>> ">Storage</a><BR>'
- if cloc ! 0:$RESULT += ' <a href="exec:gt ''clothing'', ''dest0'', ''<<$ARGS[0]>>'', ''<<$ARGS[1]>>'', <<ARGS[2]>> ">Wardrobe</a><BR>'
- if $ARGS[1] ! 'gm_school' or ARGS[2] ! 6:
- if cloc ! 2:$RESULT += ' <a href="exec:gt ''clothing'', ''dest2'', ''<<$ARGS[0]>>'', ''<<$ARGS[1]>>'', <<ARGS[2]>> ">Unwanted</a>'
- end
- $RESULT += '</TD>'
- end
- }
- !!cloc, 0 = wardrobe, 1 = storage, 2 = unwanted
- if $ARGS[0] = 'dest0':
- *clr
- dynamic '<<$ARGS[2]>>_s[<<ARGS[3]>>] = 0'
- gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>', '<<$ward_list_store>>'
- end
- if $ARGS[0] = 'dest1':
- *clr
- dynamic '<<$ARGS[2]>>_s[<<ARGS[3]>>] = 1'
- gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>', '<<$ward_list_store>>'
- end
- if $ARGS[0] = 'dest2':
- *clr
- dynamic '<<$ARGS[2]>>_s[<<ARGS[3]>>] = 2'
- gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>', '<<$ward_list_store>>'
- end
- if $ARGS[0] = 'view_clothing_list':
- !! ARGS 0 - view_clothing_list
- !! ARGS 1 - action type (wardrobe, sell, resize, store, unwanted)
- !! ARGS 2 - Shop name (kats, moncheri, gm, fashionista, sexshop, exhibitshop, dolls, sports)
-
- if $pursepantytype ! '' or $pursebratype ! '' and $ARGS[1] ! 'resize' and $ARGS[1] ! 'sell':
- '<center><b>You put the '+iif($pursepantytype ! '','panties','')+iif($pursepantytype ! '' and $pursebratype ! '',' and ','')+iif($pursebratype ! '','bra','')+' from your purse back in the wardrobe.</b></center><br>'
- killvar '$pursepantytype' & killvar 'pursepantynumber'
- killvar '$pursebratype' & killvar 'pursebranumber'
- end
-
- if $ARGS[1] = 'wardrobe':
- $ward_list_page = $ARGS[1]
- '<h3><center><b><font color="maroon">Wardrobe list</font></b></center></h3>'
- elseif $ARGS[1] = 'store':
- $ward_list_page = $ARGS[1]
- '<h3><center><b><font color="maroon">Stored clothing list</font></b></center></h3>'
- elseif $ARGS[1] = 'unwanted':
- $ward_list_page = $ARGS[1]
- '<h3><center><b><font color="maroon">Unwanted clothing list</font></b></center></h3>'
- elseif $ARGS[1] = 'sell':
- $ward_list_page = $ARGS[1]
- '<h3><center><b><font color="maroon">Choose an item to sell</font></b></center></h3>'
- end
- if $ARGS[2] = 'gm' or $ARGS[2] = 'gm_outfits' or $ARGS[2] = 'gm_dress' or $ARGS[2] = 'gm_office' or $ARGS[2] = 'gm_school' or $ARGS[2] = 'gm_uniform':
- !'<center><b><font color="maroon">Viewing clothes from G&M</font></b></center>'
- '<center><img src="images/locations/city/citycenter/mall/gm.png"></center>'
- elseif $ARGS[2] = 'kats':
- !'<center><b><font color="maroon">Viewing clothes from PussyKats</font></b></center>'
- '<center><img src="images/locations/city/citycenter/mall/pussycat.png"></center>'
- elseif $ARGS[2] = 'fashionista':
- !'<center><b><font color="maroon">Viewing clothes from Fashionista</font></b></center>'
- '<center><img src="images/locations/city/citycenter/mall/fashionista.png"></center>'
- elseif $ARGS[2] = 'moncheri':
- !'<center><b><font color="maroon">Viewing clothes from Mon Cheri</font></b></center>'
- '<center><img src="images/locations/city/citycenter/mall/moncheri.png"></center>'
- elseif $ARGS[2] = 'sexshop':
- !'<center><b><font color="maroon">Viewing clothes from the sex shop</font></b></center>'
- '<center><img src="images/locations/city/citycenter/sexshop/shop_name.png"></center>'
- elseif $ARGS[2] = 'exhibitshop':
- !'<center><b><font color="maroon">Viewing clothes from the Exhibitionist shop</font></b></center>'
- '<center><img src="images/locations/oldtown/exhibitshop/shop_name.png"></center>'
- elseif $ARGS[2] = 'dolls':
- !'<center><b><font color="maroon">Viewing clothes from Patchwork Dolls</font></b></center>'
- '<center><img src="images/locations/city/island/dolls.png"></center>'
- elseif $ARGS[2] = 'sports':
- !'<center><b><font color="maroon">Viewing sportswear from Danilovich</font></b></center>'
- '<center><img src="images/locations/city/citycenter/mall/sports.png"></center>'
- elseif $ARGS[2] = 'beach':
- !'<center><b><font color="maroon">Viewing clothes from Scandalicious</font></b></center>'
- '<center><img src="images/locations/city/citycenter/mall/scandalicious.png"></center>'
- else
- '<center><b><font color="maroon">Click on a shop name to view clothes from that shop</font></b></center>'
- if $wloc = 'wardrobe':
- act 'Return': killvar '$ward_list_store' & gt 'wardrobe', 'start'
- elseif $ARGS[1] = 'sell' or $ARGS[1] = 'resize':
- act 'Leave': killvar '$ward_list_store' & gt $loc, $loc_arg
- else
- act 'Leave': killvar '$ward_list_store' & gt $loc, $loc_arg
- end
- end
- *nl
- if $ARGS[1] ! 'sell':
- $clothing_header = '<center><table border=1>'
- if $ARGS[1] ! 'wardrobe': $clothing_header += '<TH><a href="exec:gt ''clothing'', ''view_clothing_list'', ''wardrobe'', ''<<$ward_list_store>>''">Switch to wardrobe list</a></TH>'
- $clothing_header += '<TH><a href="exec:gt ''clothing_QV'', ''list'', ''<<$ward_list_store>>''">Switch to icons</a></TH>'
- if $ARGS[1] ! 'store': $clothing_header += '<TH><a href="exec:gt ''clothing'', ''view_clothing_list'', ''store'', ''<<$ward_list_store>>''">Switch to stored clothing list</a></TH>'
- if $ARGS[1] ! 'unwanted': $clothing_header += '<TH><a href="exec:gt ''clothing'', ''view_clothing_list'', ''unwanted'', ''<<$ward_list_store>>''">Switch to unwanted clothing list</a></TH></center>'
- $clothing_header
- if $ARGS[1] = 'wardrobe':
- '<center>These are the clothes that are currently available for you to wear.</center><br>'
- elseif $ARGS[1] = 'store':
- '<center>These are the clothes you have stored that do not show up in your wardrobe list and cannot be sold at the market.</center><br>'
- elseif $ARGS[1] = 'unwanted':
- '<center>These are the clothes you''ve marked to be sold at the market.</center><br>'
- end
- end
- if $ARGS[2] = '':
- '<center><a href="exec:$ward_list_store = ''gm'' & gt ''clothing'', ''view_clothing_list'', ''<<$ARGS[1]>>'', ''gm''"><img src="images/locations/city/citycenter/mall/gm.png"></a></center>'
- if ARRSIZE('misc_outfits') > 0:'<center><a href="exec:$ward_list_store = ''misc'' & gt ''clothing'', ''view_clothing_list'', ''<<$ward_list_page>>'', ''misc''"><img src="images/pc/items/misc/misc.png"></a></center>'
- if ARRSIZE('cats_outfits') > 0 or ARRSIZE('cats_dress') > 0:'<center><a href="exec:$ward_list_store = ''kats'' & gt ''clothing'', ''view_clothing_list'', ''<<$ward_list_page>>'', ''kats''"><img src="images/locations/city/citycenter/mall/pussycat.png"></a></center>'
- if ARRSIZE('flamingos_outfits') > 0 or ARRSIZE('flamingos_dress') > 0:'<center><a href="exec:$ward_list_store = ''flamingos'' & gt ''clothing'', ''view_clothing_list'', ''<<$ward_list_page>>'', ''flamingos''"><img src="images/locations/city/island/flamingos/shop_name.png"></a></center>'
- if ARRSIZE('coco_outfits') > 0 or ARRSIZE('coco_dress') > 0:'<center><a href="exec:$ward_list_store = ''coco'' & gt ''clothing'', ''view_clothing_list'', ''<<$ward_list_page>>'', ''coco''"><img src="images/locations/pavlovsk/coco/shop_name.png"></a></center>'
- if ARRSIZE('fashionista') > 0:'<center><a href="exec:$ward_list_store = ''fashionista'' & gt ''clothing'', ''view_clothing_list'', ''<<$ward_list_page>>'', ''fashionista''"><img src="images/locations/city/citycenter/mall/fashionista.png"></a></center>'
- if ARRSIZE('moncheri') > 0:'<center><a href="exec:$ward_list_store = ''moncheri'' & gt ''clothing'', ''view_clothing_list'', ''<<$ward_list_page>>'', ''moncheri''"><img src="images/locations/city/citycenter/mall/moncheri.png"></a></center>'
- if ARRSIZE('beach') > 0:'<center><a href="exec:$ward_list_store = ''scandalicious'' & gt ''clothing'', ''view_clothing_list'', ''<<$ward_list_page>>'', ''scandalicious''"><img src="images/locations/city/citycenter/mall/scandalicious.png"></a></center>'
- if ARRSIZE('fancy_burlesque') > 0:'<center><a href="exec:$ward_list_store = ''fancypancy'' & gt ''clothing'', ''view_clothing_list'', ''<<$ward_list_page>>'', ''fancypancy''"><img src="images/locations/oldtown/fancypancy/shop_name.png"></a></center>'
- if ARRSIZE('fetish') > 0:'<center><a href="exec:$ward_list_store = ''sexshop'' & gt ''clothing'', ''view_clothing_list'', ''<<$ward_list_page>>'', ''sexshop''"><img src="images/locations/city/citycenter/sexshop/shop_name.png"></a></center>'
- if ARRSIZE('exhibit') > 0:'<center><a href="exec:$ward_list_store = ''exhibitshop'' & gt ''clothing'', ''view_clothing_list'', ''<<$ward_list_page>>'', ''exhibitshop''"><img src="images/locations/oldtown/exhibitshop/shop_name.png"></a></center>'
- if ARRSIZE('dolls_outfits') > 0 or ARRSIZE('dolls_dress') > 0:'<center><a href="exec:$ward_list_store = ''dolls'' & gt ''clothing'', ''view_clothing_list'', ''<<$ward_list_page>>'', ''dolls''"><img src="images/locations/city/island/dolls.png"></a></center>'
- if ARRSIZE('bomba_outfits') > 0 or ARRSIZE('bomba_dress') > 0:'<center><a href="exec:$ward_list_store = ''bomba'' & gt ''clothing'', ''view_clothing_list'', ''<<$ward_list_page>>'', ''bomba''"><img src="images/locations/oldtown/bomba/shop_name.png"></a></center>'
- if ARRSIZE('exercise') > 0:'<center><a href="exec:$ward_list_store = ''sports'' & gt ''clothing'', ''view_clothing_list'', ''<<$ward_list_page>>'', ''sports''"><img src="images/locations/city/citycenter/mall/sports.png"></a></center>'
- else
- $bgcolor='#f3f4ee'
- if $ARGS[1] = 'sell':
- '<table border=0 cellspacing=0 cellpadding=5><TH></TH><TH>Strength</TH><TH>Hip size</TH><TH>Description</TH><TH>Bimbo</TH><TH>Prostitute</TH><TH>Actions</TH>'
- else
- '<table border=0 cellspacing=0 cellpadding=5><TH></TH><TH>Strength</TH><TH>Hip size</TH><TH>Description</TH><TH>Bimbo</TH><TH>Prostitute</TH><TH>Actions</TH><TH>Move to</TH>'
- end
- if $ARGS[1] = 'store':
- cloc = 1
- elseif $ARGS[1] = 'unwanted':
- cloc = 2
- else
- cloc = 0
- end
- if $ARGS[2] = 'gm':
- if ARRSIZE('gm_outfits') > 0:'<center><a href="exec:$ward_list_store = ''gm_outfits'' & gt ''clothing'', ''view_clothing_list'', ''<<$ward_list_page>>'', ''gm_outfits''">G&M Outfits</a></center>'
- if ARRSIZE('gm_dress') > 0:'<center><a href="exec:$ward_list_store = ''gm_dress'' & gt ''clothing'', ''view_clothing_list'', ''<<$ward_list_page>>'', ''gm_dress''">G&M Dresses</a></center>'
- if ARRSIZE('gm_office') > 0:'<center><a href="exec:$ward_list_store = ''gm_office'' & gt ''clothing'', ''view_clothing_list'', ''<<$ward_list_page>>'', ''gm_office''">Office wear</a></center>'
- if ARRSIZE('gm_school') > 0:'<center><a href="exec:$ward_list_store = ''gm_school'' & gt ''clothing'', ''view_clothing_list'', ''<<$ward_list_page>>'', ''gm_school''">School uniforms</a></center>'
- if ARRSIZE('gm_uniform') > 0:'<center><a href="exec:$ward_list_store = ''gm_uniform'' & gt ''clothing'', ''view_clothing_list'', ''<<$ward_list_page>>'', ''gm_uniform''">Work uniforms</a></center>'
- act 'Return': killvar '$ward_list_store' & gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
- end
- if $ARGS[2] = 'gm_outfits':
- $ward_list_store = $ARGS[2]
- i = 1
- :loopgm_outfits
- if gm_outfits[i] = 1 and gm_outfits_s[i] = cloc and ($clothingworntype ! 'gm_outfits' or clothingwornnumber ! i):*P dyneval($clothing_list_line, $ARGS[1], 'gm_outfits', i)
- i += 1
- if i <= ARRSIZE('gm_outfits'):jump 'loopgm_outfits'
- act 'Return': killvar '$ward_list_store' & gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
- gs 'clothing', 'clothwidth'
- end
- if $ARGS[2] = 'gm_dress':
- $ward_list_store = $ARGS[2]
- i = 1
- :loopgm_dress
- if gm_dress[i] = 1 and gm_dress_s[i] = cloc and ($clothingworntype ! 'gm_dress' or clothingwornnumber ! i):*P dyneval($clothing_list_line, $ARGS[1], 'gm_dress', i)
- i += 1
- if i <= ARRSIZE('gm_dress'):jump 'loopgm_dress'
- act 'Return': killvar '$ward_list_store' & gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
- gs 'clothing', 'clothwidth'
- end
- if $ARGS[2] = 'gm_office':
- $ward_list_store = $ARGS[2]
- i = 1
- :loopoffice
- if gm_office[i] = 1 and gm_office_s[i] = cloc and ($clothingworntype ! 'gm_office' or clothingwornnumber ! i):*P dyneval($clothing_list_line, $ARGS[1], 'gm_office', i)
- i += 1
- if i <= ARRSIZE('gm_office'):jump 'loopoffice'
- act 'Return': killvar '$ward_list_store' & gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
- gs 'clothing', 'clothwidth'
- end
- if $ARGS[2] = 'gm_school':
- $ward_list_store = $ARGS[2]
- if StoryLine = 1 and SchoolAtestat = 0 and SchoolBlock = 0 and gm_school_s[6] = cloc and ($clothingworntype ! 'gm_school' or clothingwornnumber ! 6):*P dyneval($clothing_list_line, $ARGS[1], 'gm_school', 6)
- i = 1
- :loopschool
- if gm_school[i] = 1 and gm_school_s[i] = cloc and ($clothingworntype ! 'gm_school' or clothingwornnumber ! i):*P dyneval($clothing_list_line, $ARGS[1], 'gm_school', i)
- i += 1
- if i = 6: i = 7
- if i <= ARRSIZE('gm_school'):jump 'loopschool'
- act 'Return': killvar '$ward_list_store' & gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
- gs 'clothing', 'clothwidth'
- end
- if $ARGS[2] = 'gm_uniform':
- $ward_list_store = $ARGS[2]
- i = 1
- :loopuniform
- if gm_uniform[i] = 1 and gm_uniform_s[i] = cloc and ($clothingworntype ! 'gm_uniform' or clothingwornnumber ! i):*P dyneval($clothing_list_line, $ARGS[1], 'gm_uniform', i)
- i += 1
- if i <= ARRSIZE('gm_uniform'):jump 'loopuniform'
- act 'Return': killvar '$ward_list_store' & gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
- gs 'clothing', 'clothwidth'
- end
- if $ARGS[2] = 'misc':
- $ward_list_store = $ARGS[2]
- i = 1
- :loopmisc_outfits
- if misc_outfits[i] = 1 and misc_outfits_s[i] = cloc and ($clothingworntype ! 'misc_outfits' or clothingwornnumber ! i):*P dyneval($clothing_list_line, $ARGS[1], 'misc_outfits', i)
- i += 1
- if i <= ARRSIZE('misc_outfits'):jump 'loopmisc_outfits'
- act 'Return': killvar '$ward_list_store' & gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
- gs 'clothing', 'clothwidth'
- end
- if $ARGS[2] = 'kats':
- $ward_list_store = $ARGS[2]
- i = 1
- :loopcats_dress
- if cats_dress[i] = 1 and cats_dress_s[i] = cloc and ($clothingworntype ! 'cats_dress' or clothingwornnumber ! i):*P dyneval($clothing_list_line, $ARGS[1], 'cats_dress', i)
- i += 1
- if i <= ARRSIZE('cats_dress'):jump 'loopcats_dress'
- i = 1
- :loopcats_outfits
- if cats_outfits[i] = 1 and cats_outfits_s[i] = cloc and ($clothingworntype ! 'cats_outfits' or clothingwornnumber ! i):*P dyneval($clothing_list_line, $ARGS[1], 'cats_outfits', i)
- i += 1
- if i <= ARRSIZE('cats_outfits'):jump 'loopcats_outfits'
- act 'Return': killvar '$ward_list_store' & gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
- gs 'clothing', 'clothwidth'
- end
- if $ARGS[2] = 'flamingos':
- $ward_list_store = $ARGS[2]
- i = 1
- :loopflamingos_dress
- if flamingos_dress[i] = 1 and flamingos_dress_s[i] = cloc and ($clothingworntype ! 'flamingos_dress' or clothingwornnumber ! i):*P dyneval($clothing_list_line, $ARGS[1], 'flamingos_dress', i)
- i += 1
- if i <= ARRSIZE('flamingos_dress'):jump 'loopflamingos_dress'
- i = 1
- :loopflamingos_outfits
- if flamingos_outfits[i] = 1 and flamingos_outfits_s[i] = cloc and ($clothingworntype ! 'flamingos_outfits' or clothingwornnumber ! i):*P dyneval($clothing_list_line, $ARGS[1], 'flamingos_outfits', i)
- i += 1
- if i <= ARRSIZE('flamingos_outfits'):jump 'loopflamingos_outfits'
- act 'Return': killvar '$ward_list_store' & gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
- gs 'clothing', 'clothwidth'
- end
- if $ARGS[2] = 'coco':
- $ward_list_store = $ARGS[2]
- i = 1
- :loopcoco_dress
- if coco_dress[i] = 1 and coco_dress_s[i] = cloc and ($clothingworntype ! 'coco_dress' or clothingwornnumber ! i):*P dyneval($clothing_list_line, $ARGS[1], 'coco_dress', i)
- i += 1
- if i <= ARRSIZE('coco_dress'):jump 'loopcoco_dress'
- i = 1
- :loopcoco_outfits
- if coco_outfits[i] = 1 and coco_outfits_s[i] = cloc and ($clothingworntype ! 'coco_outfits' or clothingwornnumber ! i):*P dyneval($clothing_list_line, $ARGS[1], 'coco_outfits', i)
- i += 1
- if i <= ARRSIZE('coco_outfits'):jump 'loopcoco_outfits'
- act 'Return': killvar '$ward_list_store' & gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
- gs 'clothing', 'clothwidth'
- end
- if $ARGS[2] = 'fashionista':
- $ward_list_store = $ARGS[2]
- i = 1
- :loopfashionista
- if fashionista[i] = 1 and fashionista_s[i] = cloc and ($clothingworntype ! 'fashionista' or clothingwornnumber ! i):*P dyneval($clothing_list_line, $ARGS[1], 'fashionista', i)
- i += 1
- if i <= ARRSIZE('fashionista'):jump 'loopfashionista'
- act 'Return': killvar '$ward_list_store' & gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
- gs 'clothing', 'clothwidth'
- end
- if $ARGS[2] = 'moncheri':
- $ward_list_store = $ARGS[2]
- i = 1
- :loopmoncheri
- if moncheri[i] = 1 and moncheri_s[i] = cloc and ($clothingworntype ! 'moncheri' or clothingwornnumber ! i):*P dyneval($clothing_list_line, $ARGS[1], 'moncheri', i)
- i += 1
- if i <= ARRSIZE('moncheri'):jump 'loopmoncheri'
- act 'Return': killvar '$ward_list_store' & gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
- gs 'clothing', 'clothwidth'
- end
- if $ARGS[2] = 'scandalicious':
- $ward_list_store = $ARGS[2]
- i = 1
- :loopbeach
- if beach[i] = 1 and beachS[i] = cloc and ($clothingworntype ! 'beach' or clothingwornnumber ! i):*P dyneval($clothing_list_line, $ARGS[1], 'beach', i)
- i += 1
- if i <= ARRSIZE('beach'):jump 'loopbeach'
- act 'Return': killvar '$ward_list_store' & gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
- gs 'clothing', 'clothwidth'
- end
- if $ARGS[2] = 'sexshop':
- $ward_list_store = $ARGS[2]
- i = 1
- :loopfetish
- if fetish[i] = 1 and fetish_s[i] = cloc and ($clothingworntype ! 'fetish' or clothingwornnumber ! i):*P dyneval($clothing_list_line, $ARGS[1], 'fetish', i)
- i += 1
- if i <= ARRSIZE('fetish'):jump 'loopfetish'
- act 'Return': killvar '$ward_list_store' & gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
- gs 'clothing', 'clothwidth'
- end
- if $ARGS[2] = 'exhibitshop':
- $ward_list_store = $ARGS[2]
- i = 1
- :loopexhibit
- if exhibit[i] = 1 and exhibit_s[i] = cloc and ($clothingworntype ! 'exhibit' or clothingwornnumber ! i):*P dyneval($clothing_list_line, $ARGS[1], 'exhibit', i)
- i += 1
- if i <= ARRSIZE('exhibit'):jump 'loopexhibit'
- act 'Return': killvar '$ward_list_store' & gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
- gs 'clothing', 'clothwidth'
- end
- if $ARGS[2] = 'fancypancy':
- $ward_list_store = $ARGS[2]
- i = 1
- :loopfancy_burlesque
- if fancy_burlesque[i] = 1 and fancy_burlesque_s[i] = cloc and ($clothingworntype ! 'fancy_burlesque' or clothingwornnumber ! i):*P dyneval($clothing_list_line, $ARGS[1], 'fancy_burlesque', i)
- i += 1
- if i <= ARRSIZE('fancy_burlesque'):jump 'loopfancy_burlesque'
- act 'Return': killvar '$ward_list_store' & gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
- gs 'clothing', 'clothwidth'
- end
- if $ARGS[2] = 'dolls':
- cla
- $ward_list_store = $ARGS[2]
- i = 1
- :loopdolls_outfits
- if dolls_outfits[i] = 1 and dolls_outfits_s[i] = cloc and ($clothingworntype ! 'dolls_outfits' or clothingwornnumber ! i):*P dyneval($clothing_list_line, $ARGS[1], 'dolls_outfits', i)
- i += 1
- if i <= ARRSIZE('dolls_outfits'):jump 'loopdolls_outfits'
- $ward_list_store = $ARGS[2]
- i = 1
- :loopdolls_dress
- if dolls_dress[i] = 1 and dolls_dress_s[i] = cloc and ($clothingworntype ! 'dolls_dress' or clothingwornnumber ! i):*P dyneval($clothing_list_line, $ARGS[1], 'dolls_dress', i)
- i += 1
- if i <= ARRSIZE('dolls_dress'):jump 'loopdolls_dress'
- act 'Return': killvar '$ward_list_store' & gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
- gs 'clothing', 'clothwidth'
- end
- if $ARGS[2] = 'bomba':
- cla
- $ward_list_store = $ARGS[2]
- i = 1
- :loopbomba_outfits
- if bomba_outfits[i] = 1 and bomba_outfits_s[i] = cloc and ($clothingworntype ! 'bomba_outfits' or clothingwornnumber ! i):*P dyneval($clothing_list_line, $ARGS[1], 'bomba_outfits', i)
- i += 1
- if i <= ARRSIZE('bomba_outfits'):jump 'loopbomba_outfits'
- i = 1
- :loopbomba_dress
- if bomba_dress[i] = 1 and bomba_dress_s[i] = cloc and ($clothingworntype ! 'bomba_dress' or clothingwornnumber ! i):*P dyneval($clothing_list_line, $ARGS[1], 'bomba_dress', i)
- i += 1
- if i <= ARRSIZE('bomba_dress'):jump 'loopbomba_dress'
- act 'Return': killvar '$ward_list_store' & gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
- gs 'clothing', 'clothwidth'
- end
- if $ARGS[2] = 'sports':
- $ward_list_store = $ARGS[2]
- i = 1
- :loopexercise
- if exercise[i] = 1 and exercise_s[i] = cloc and ($clothingworntype ! 'exercise' or clothingwornnumber ! i):*P dyneval($clothing_list_line, $ARGS[1], 'exercise', i)
- i += 1
- if i <= ARRSIZE('exercise'):jump 'loopexercise'
- i = 1
- :loopswimwear
- if swimwear[i] = 1 and swimwearS[i] = cloc :*P dyneval($clothing_list_line, $ARGS[1], 'swimwear', i)
- i += 1
- if i <= ARRSIZE('swimwear'):jump 'loopswimwear'
- act 'Return': killvar '$ward_list_store' & gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
- gs 'clothing', 'clothwidth'
- end
- '</table>'
- end
- end
- if $ARGS[0] = 'clothwidth':
- act 'Set image size for this view':
- Enable_clothwidth = input("Enter height in pixels you want for images on this page <br>(Default 150, min 50, max 500)")
- if Enable_clothwidth < 50:
- Enable_clothwidth = 50
- elseif Enable_clothwidth > 500:
- Enable_clothwidth = 500
- end
- gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>', '<<$ward_list_store>>'
- end
- end
- if $ARGS[0] = 'view_clothing_item':
- !! ARGS 0 - view_clothing_item
- !! ARGS 1 = action type (wardrobe, shop, sell, resize)
- !! ARGS 2 - clothing type
- !! ARGS 3 - clothing index
- !! ARGS 4 - price for shop
- cla
- '<center><img src="<<FUNC(''$clothing_image'', $ARGS[2], ARGS[3])>>"></center>'
- gs 'clothing_attributes', $ARGS[2], ARGS[3]
- $RESULT = FUNC('$short_description', $ARGS[2], CloStyle2)
- $RESULT += '<<ARGS[3]>>'
- '<<$RESULT>>'
- if $ARGS[1] = 'misc_outfits' and ARGS[2] = 1:
- 'A hessian sack the hunters gave you.'
- elseif $ARGS[2] ! 'coat' and $ARGS[2] ! 'swimwear' and $ARGS[2] ! 'beach':
- gs 'clothing_descriptions'
- '<<$description>>'
- else
- FUNC('$clothing_name', $ARGS[2], ARGS[3])
- end
- if CloBimbo = 1 and cheatbimbo = 0:'This item is considered bimbo clothing.'
- if CloStyle = 4:'This outfit can be used for prostitution.'
- if CloInhibit > 10:
- if CloInhibit + 10 > pcs_inhib and CloInhibit <= pcs_inhib: 'You find this outfit more revealing than you are completely comfortable with but that makes it quite exciting too.'
- end
- if $ARGS[2] = 'gm_uniform':
- if CloStyle2 = 1:
- 'This outfit is considered to be a maid uniform.'
- elseif CloStyle2 = 3:
- 'This is a stripper outfit.'
- else
- 'This outfit is a server uniform, suitable for jobs that require one.'
- end
- end
- if CloStyle2 = 4:
- if CloInhibit <= 10:
- '<font color="blue">This uniform is very conservative. Only the nerds would approve of you wearing it.</font>'
- elseif CloSkirt < 5 and CloThinness < 5 and CloBra = 0:
- if CloQuality = 4:
- '<font color="blue">This uniform complies with the regulations and is of good quality. It would certainly help you with your standing with the cool kids and jocks.</font>'
- else
- '<font color="blue">This uniform complies with the school regulations on skirt length. Nobody in school would be offended by you wearing it.</font>'
- end
- elseif CloSkirt = 5 and CloThinness < 5 and CloBra = 0:
- if CloQuality = 4:
- '<font color="blue">This uniform slightly breaches the school regulations on skirt length and is of good quality. Everybody apart from the nerds would approve of you wearing it.</font>'
- else
- '<font color="blue">This uniform slightly breaches the school regulations on skirt length. The gopnik would approve of you wearing it.</font>'
- end
- else
- '<font color="red">This uniform makes a mockery of the school uniform regulations. Everybody in school apart from the gopniks will think that you''re a slut.</font>'
- end
- end
- if $ARGS[1] ! 'shop' and ($ARGS[2] ! 'gm_school' or ARGS[3] ! 6):
- $RESULT = '(strength '
- dynamic '$RESULT += <<$ARGS[2]>>_h[<<ARGS[3]>>]'
- if $ARGS[2] ! 'exercise' and $ARGS[2] ! 'coat' and CloStyle ! 5:
- $RESULT += ', hip size '
- dynamic '$RESULT += <<$ARGS[2]>>_b[<<ARGS[3]>>]'
- end
- $RESULT += ')'
- '<<$RESULT>>'
- end
- if $ARGS[1] = 'shop':
- if dyneval('RESULT = <<$ARGS[2]>>[<<ARGS[3]>>]') = 1:
- 'You already own this item.'
- act 'Leave': gt $loc, $loc_arg
- else
- if $ARGS[2] = 'coat' and ARGS[3] = 5:
- price = ARGS[4]
- else
- price = ('<<ARGS[4]>>' * ((5 * CloQuality) + 100) / 100) * 1000 / (1250 - Clothingstock[ARGS[3]]) * 3 / 2
- price = price / 50 * 50
- end
- 'Price: <<price>> <b>₽</b>'
- act 'Leave': gt $loc, $loc_arg
- if CloInhibit > pcs_inhib:
- 'You don''t feel daring enough to wear an outfit this revealing and can''t bring yourself to buy it.'
- elseif karta + bankDebtLimit < Price and money < Price:
- 'You cannot afford this outfit.'
- else
- if money >= Price:
- act 'Buy (cash)':
- h = 0
- if CloStyle = 2:h = 10
- if CloStyle = 5:h = 20
- h += (3 * CloQuality)
- money -= price
- dynamic $ARGS[2] + '[<<ARGS[3]>>] = 1'
- if $ARGS[2] = 'gm_outfits' or $ARGS[2] = 'gm_dress' or $ARGS[2] = 'gm_office':
- dynamic $ARGS[2] + '_h[<<ARGS[3]>>] = 70 + <<h>>'
- elseif $ARGS[2] = 'cats_dress' or $ARGS[2] = 'cats_outfits' or $ARGS[2] = 'flamingos_dress' or $ARGS[2] = 'flamingos_outfits' or $ARGS[2] = 'coco_dress' or $ARGS[2] = 'coco_outfits':
- dynamic $ARGS[2] + '_h[<<ARGS[3]>>] = 90 + <<h>>'
- elseif $ARGS[2] = 'moncheri':
- dynamic $ARGS[2] + '_h[<<ARGS[3]>>] = 15 + <<h>>'
- elseif $ARGS[2] = 'fetish' or $ARGS[2] = 'exhibit' or $ARGS[2] = 'fancy_burlesque':
- dynamic $ARGS[2] + '_h[<<ARGS[3]>>] = 35 + <<h>>'
- elseif $ARGS[2] = 'gm_school' or $ARGS[2] = 'gm_uniform':
- dynamic $ARGS[2] + '_h[<<ARGS[3]>>] = 120 + <<h>>'
- elseif $ARGS[2] = 'exercise':
- dynamic $ARGS[2] + '_h[<<ARGS[3]>>] = 100 + <<h>>'
- elseif $ARGS[2] = 'coat':
- dynamic $ARGS[2] + '_h[<<ARGS[3]>>] = 250 + <<h>>'
- else
- dynamic $ARGS[2] + '_h[<<ARGS[3]>>] = 60 + <<h>>'
- end
- dynamic $ARGS[2] + '_b[<<ARGS[3]>>] = pcs_hips'
- dynamic $ARGS[2] + '_s[<<ARGS[3]>>] = 0'
- gs 'stat'
- gt $loc, $loc_arg
- end
- end
- if karta + bankDebtLimit >= Price:
- act 'Buy (card)':
- h = 0
- if CloStyle = 2:h = 10
- if CloStyle = 5:h = 20
- h += (3 * CloQuality)
- karta -= price
- dynamic $ARGS[2] + '[<<ARGS[3]>>] = 1'
- if $ARGS[2] = 'gm_outfits' or $ARGS[2] = 'gm_dress' or $ARGS[2] = 'gm_office':
- dynamic $ARGS[2] + '_h[<<ARGS[3]>>] = 70 + <<h>>'
- elseif $ARGS[2] = 'cats_dress' or $ARGS[2] = 'cats_outfits' or $ARGS[2] = 'flamingos_dress' or $ARGS[2] = 'flamingos_outfits' or $ARGS[2] = 'coco_dress' or $ARGS[2] = 'coco_outfits':
- dynamic $ARGS[2] + '_h[<<ARGS[3]>>] = 90 + <<h>>'
- elseif $ARGS[2] = 'moncheri':
- dynamic $ARGS[2] + '_h[<<ARGS[3]>>] = 15 + <<h>>'
- elseif $ARGS[2] = 'fetish' or $ARGS[2] = 'exhibit' or $ARGS[2] = 'fancy_burlesque':
- dynamic $ARGS[2] + '_h[<<ARGS[3]>>] = 35 + <<h>>'
- elseif $ARGS[2] = 'gm_school' or $ARGS[2] = 'gm_uniform':
- dynamic $ARGS[2] + '_h[<<ARGS[3]>>] = 120 + <<h>>'
- elseif $ARGS[2] = 'exercise':
- dynamic $ARGS[2] + '_h[<<ARGS[3]>>] = 100 + <<h>>'
- elseif $ARGS[2] = 'coat':
- dynamic $ARGS[2] + '_h[<<ARGS[3]>>] = 250 + <<h>>'
- else
- dynamic $ARGS[2] + '_h[<<ARGS[3]>>] = 60 + <<h>>'
- end
- dynamic $ARGS[2] + '_b[<<ARGS[3]>>] = pcs_hips'
- dynamic $ARGS[2] + '_s[<<ARGS[3]>>] = 0'
- gs 'stat'
- gt $loc, $loc_arg
- end
- end
- end
- end
- elseif $ARGS[1] = 'wardrobe':
- act 'Return':gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>', '<<$ward_list_store>>'
- if $ARGS[2] ! 'gm_school' or ARGS[3] ! 6:
- !! if the clothing is worn out
- if dyneval('RESULT = <<$ARGS[2]>>_h[<<ARGS[3]>>]') <= 0:
- 'This item is worn and is not suitable for further wear.'
- if pcs_sewng >= 60 and tkan > 0:
- cla
- 'You can repair this thanks to your sewing skill.'
- act 'Repair item':
- if rand (1, 100) < 30:
- *clr
- cla
- tkan -= 1
- minut += 30
- dynamic $ARGS[2] + '_h[<<ARGS[3]>>] += 30'
- '<center><img <<$set_imgh>> src="images/pc/activities/sewing/fix' + rand(1,2) + '.jpg"></center>'
- 'You spend 30 minutes fixing the outfit.'
- act 'Return':gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>', '<<$ward_list_store>>'
- else
- *clr
- cla
- tkan += 3
- minut += 30
- dynamic $ARGS[2] + '[<<ARGS[3]>>] = 0'
- '<center><img <<$set_imgh>> src="images/pc/activities/sewing/fix' + rand(1,2) + '.jpg"></center>'
- 'Despite your skill with a needle, this outfit has proved beyond repair. All that is left of it is only good for your cloth pile.'
- act 'Return':gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
- end
- end
- act 'Return': gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>', '<<$ward_list_store>>'
- end
- exit
- end
- !! if the clothing is a type that checks for hip size
- if $ARGS[2] ! 'exercise' and $ARGS[2] ! 'coat' and CloStyle ! 5:
- !! if the hipsize is too far from your hipsize
- dynamic 'RESULT = <<$ARGS[2]>>_b[<<ARGS[3]>>]'
- if RESULT < pcs_hips - 8 or RESULT > pcs_hips + 8:
- if RESULT < pcs_hips:
- 'This item is too small for you to wear.'
- else
- 'This item is too large for you to wear.'
- end
- if (pcs_sewng >= 50 and tkan > 0) or $loc_arg = 'tailor':
- cla & *nl
- if $loc_arg = 'tailor':
- 'You can pay to have this resized for (500 <b>₽</b>).'
- else
- 'You can resize this thanks to your sewing skill.'
- end
-
- act 'Return': gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>', '<<$ward_list_store>>'
-
- act 'Resize item':
- cla
- if $loc_arg = 'tailor':
- minut += 15
- money -= 500
- dynamic $ARGS[2] + '_b[<<ARGS[3]>>] = pcs_hips'
- *nl
- 'You hand the clothing over to the tailor who takes it into the back. Fifteen minutes later, he presents your clothing back to you, adjusted to fit you perfectly.'
- else
- tkan -= 1
- minut += 30
- dynamic $ARGS[2] + '_b[<<ARGS[3]>>] = pcs_hips'
- 'You spend 30 minutes resizing the outfit.'
- end
- act 'Return':gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>', '<<$ward_list_store>>'
- end
- end
- exit
- end
- end
- end
- if $ARGS[2] ! 'coat' and $ARGS[2] ! 'swimwear' and $ARGS[2] ! 'beach':
- if CloInhibit > pcs_inhib:
- 'You don''t feel daring enough to wear an outfit this revealing.'
- elseif ARRPOS('$CloLosTyp', $ARGS[2]) ! -1 and ARRPOS('CloLosNum',ARGS[3]) ! -1 :
- 'You lost these clothes somewhere, maybe you can find them again?.'
- else
- act 'Wear':
- gs 'clothing', 'wear', $ARGS[2], ARGS[3]
- gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>', '<<$ward_list_store>>'
- end
- end
- end
- elseif $ARGS[1] = 'store' or $ARGS[1] = 'unwanted':
- act 'Return':gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>', '<<$ward_list_store>>'
- if $ARGS[2] ! 'coat':
- act 'Move back to wardrobe':
- dynamic $ARGS[2] + 'S[<<ARGS[3]>>] = 0'
- gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>', '<<$ward_list_store>>'
- end
- end
- elseif $ARGS[1] = 'sell':
- $ward_list_page = $ARGS[1]
- act 'Keep item':gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>', '<<$ward_list_store>>'
- !! value is based on the strength remaining
- dynamic 'RESULT = <<$ARGS[2]>>_h[<<ARGS[3]>>]'
- if RESULT > 45:
- 'You can sell this item for 500 <b>₽</b>.'
- act 'Sell':
- dynamic '<<$ARGS[2]>>[<<ARGS[3]>>] = 0'
- money += 500
- gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>', '<<$ward_list_store>>'
- end
- elseif RESULT > 30:
- 'You can sell this item for 300 <b>₽</b>.'
- act 'Sell':
- dynamic '<<$ARGS[2]>>[<<ARGS[3]>>] = 0'
- money += 300
- gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>', '<<$ward_list_store>>'
- end
- elseif RESULT > 0:
- 'You can sell this item for 100 <b>₽</b>.'
- act 'Sell':
- dynamic '<<$ARGS[2]>>[<<ARGS[3]>>] = 0'
- money += 100
- gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>', '<<$ward_list_store>>'
- end
- else
- 'This item is too worn to have any sale value.'
- act 'Throw it away':
- dynamic '<<$ARGS[2]>>[<<ARGS[3]>>] = 0'
- gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>', '<<$ward_list_store>>'
- end
- end
- elseif $ARGS[1] = 'resize':
- act 'Leave item alone':gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>', '<<$ward_list_store>>'
- if $ARGS[2] ! 'exercise' and $ARGS[2] ! 'coat' and CloStyle ! 5:
- if dyneval('RESULT = <<$ARGS[2]>>_b[<<ARGS[3]>>]') ! pcs_hips and money >= 500:
- 'You can have this resized for 500 <b>₽</b>.'
- act 'Resize':
- money -= 500
- dynamic '<<$ARGS[2]>>_b[<<ARGS[3]>>] = pcs_hips'
- gt 'clothing', 'view_clothing_list', 'resize'
- end
- end
- end
- end
- end
- if $ARGS[0] = 'strip':
- !$ARGS[1] = location when stripping outdoors
- if $clothingworntype = 'nude': exit
- cumspclnt = 6
- gs 'cum_cleanup'
- if cloth_vid = 1:
- last_vid = 1
- else
- last_vid = 0
- end
- if PCloStyle2 = 4:
- $schbrand = $clothingworntype
- schtype = clothingwornnumber
- end
- if $ARGS[1] ! '' :
- DYNAMIC '$CloLos<<$clothingworntype>>[<<clothingwornnumber>>]=<<$ARGS[1]>>'
- $CloLosLoc[] = $ARGS[1]
- $CloLosTyp[$ARGS[1]] = $clothingworntype
- CloLosNum[$ARGS[1]] = clothingwornnumber
- CloLosDay[$ARGS[1]] = daystart
- KILLVAR '$lastwornclothingtype'
- KILLVAR 'lastwornclothingnumber'
- else
- $lastwornclothingtype = $clothingworntype
- lastwornclothingnumber = clothingwornnumber
- end
- $clothingworntype = 'nude'
- clothingwornnumber = 0
- CloQuality = 0
- CloThinness = 0
- CloTopCut = 0
- CloBra = 0
- CloPantsShortness = 0
- CloSkirtShortness = 0
- CloPanties = 0
- CloStyle = 0
- CloStyle2 = 0
- CloBimbo = 0
- CloOnePiece = 0
- PShoQuaility = 0
- PShoCut = 0
- PShoHeels = 0
- PShoStyle = 0
- PCloQuality = 0
- PCloThinness = 0
- PCloTopCut = 0
- PCloPants = 0
- PCloSkirt = 0
- PCloStyle = 0
- PCloStyle2 = 0
- PCloBimbo = 0
- PCloInhibit = 0
- PCloOnePiece = 0
- PXCloThinness = 0
- PXCloTopCut = 0
- PXCloBottomShortness = 0
- glamur = 0
- sport = 0
- ski = 0
- ofclo = 0
- sexual = 0
- odevnesh = 0
- ! WD: Bimbo look
- cloth_vid = 0
- exhibiHideNewCloth = 0
- end
- if $ARGS[0] = 'recover_lost_clothes':
- !$ARGS[1] = location
- !ARGS[2] = 1 : wear the clothes, ARGS[2] = 2 : Return to shop (lost FOREVAH!)
- $cloLoc = $ARGS[1]
- cloAction = ARGS[2]
- $clothType = $CloLosTyp[$cloLoc]
- clothNumber = CloLosNum[$cloLoc]
- dayLost = CloLosDay[$cloLoc]
- DYNAMIC 'KILLVAR ''$CloLos<<$clothingworntype>>'', <<clothingwornnumber>>'
- findLocInd = ARRPOS('$CloLosTyp', $clothType)
- KILLVAR '$CloLosTyp', findLocInd
- findLocInd = ARRPOS('CloLosNum', clothNumber)
- KILLVAR 'CloLosNum', findLocInd
- findLocInd = ARRPOS('CloLosDay', CloLosDay[$cloLoc])
- KILLVAR 'CloLosDay', findLocInd
- findLocInd = ARRPOS('$CloLosLoc', $cloLoc)
- KILLVAR '$CloLosLoc', findLocInd
- KILLVAR 'findLocInd'
- if cloAction = 1:
- gs 'clothing', 'wear', $clothType, clothNumber
- elseif cloAction = 2 :
- dynamic $clothType + '_s[<<clothNumber>>] = 1'
- end
- KILLVAR '$cloLoc'
- KILLVAR 'cloAction'
- KILLVAR '$clothType'
- KILLVAR 'clothNumber'
- end
- if $ARGS[0] = 'wear':
- !! ARGS 0 - action
- !! ARGS 1 - clothing type name
- !! ARGS 2 - clothing index
- gs 'clothing', 'strip'
- $clothingworntype = $ARGS[1]
- clothingwornnumber = ARGS[2]
- dynamic $ARGS[1] + '_w[<<ARGS[2]>>] = 1'
- gs 'clothing_attributes', $ARGS[1], ARGS[2]
- dynamic '<<$ARGS[1]>>_s[<<ARGS[2]>>] = 0'
- if CloStyle2 = 4:
- $schbrand = $clothingworntype
- schtype = clothingwornnumber
- end
- PCloQuality = CloQuality
- PCloThinness = CloThinness
- PCloTopCut = CloTopCut
- PCloBra = CloBra
- PCloOnePiece = CloOnePiece
- PCloPants = CloPantsShortness
- PCloSkirt = CloSkirtShortness
- PCloPanties = CloPanties
- PCloStyle = CloStyle
- PCloStyle2 = CloStyle2
- PCloInhibit = CloInhibit
- if cheatbimbo = 0:
- PCloBimbo = CloBimbo
- !! This is counter for setting bimbo points overnight, don''t change bimbocl setting unless changing that
- if CloBimbo = 1: bimbocl = 1
- else
- PCloBimbo = 0
- CloBimbo = 0
- bimbocl = 0
- end
- if PCloTopCut > 1:
- if tits = 2 or tits = 3: PCloTopCut += 1
- if tits >= 4: PCloTopCut += 2
- if PCloTopCut > 2 and tits >=6: PCloTopCut += 1
- end
- !Calculations for clothing beauty, multiplied by natural beauty
- if PCloThinness > 0:
- if PCloThinness = 1:
- PXCloThinness = 150
- elseif PCloThinness = 2:
- PXCloThinness = 200
- elseif PCloThinness = 3:
- PXCloThinness = 250
- elseif PCloThinness = 4:
- PXCloThinness = 300
- elseif PCloThinness = 5:
- PXCloThinness = 350
- elseif PCloThinness = 6:
- PXCloThinness = 400
- end
- end
- if PCloTopCut > 0:
- if PCloTopCut = 1:
- PXCloTopCut = 100
- elseif PCloTopCut = 2:
- PXCloTopCut = 150
- elseif PCloTopCut = 3:
- PXCloTopCut = 200
- elseif PCloTopCut = 4:
- PXCloTopCut = 250
- elseif PCloTopCut = 5:
- PXCloTopCut = 300
- elseif PCloTopCut = 6:
- PXCloTopCut = 350
- elseif PCloTopCut >= 7:
- PXCloTopCut = 400
- end
- end
- if PCloBra = 1:
- PXCloTopCut = 400
- $braworntype = 'none'
- elseif PCloBra = 2:
- PXCloTopCut = 500
- end
- if PCloSkirt > 0:
- if PCloSkirt = 1:
- PXCloBottomShortness = 100
- elseif PCloSkirt = 2:
- PXCloBottomShortness = 150
- elseif PCloSkirt = 3:
- PXCloBottomShortness = 200
- elseif PCloSkirt = 4:
- PXCloBottomShortness = 250
- elseif PCloSkirt = 5:
- PXCloBottomShortness = 300
- elseif PCloSkirt = 6:
- PXCloBottomShortness = 350
- elseif PCloSkirt >= 7:
- PXCloBottomShortness = 400
- end
- end
- if PCloPants > 0:
- if PCloPants = 1:
- PXCloBottomShortness = 100
- elseif PCloPants = 2:
- PXCloBottomShortness = 150
- elseif PCloPants = 3:
- PXCloBottomShortness = 200
- elseif PCloPants = 4:
- PXCloBottomShortness = 250
- elseif PCloPants = 5:
- PXCloBottomShortness = 300
- elseif PCloPants = 6:
- PXCloBottomShortness = 350
- elseif PCloPants >= 7:
- PXCloBottomShortness = 400
- end
- end
- if PCloPanties = 1: PXCloBottomShortness = 400
- end
- if $ARGS[0] = 'wear_last_worn':
- !!contingency
- if $lastwornclothingtype = '': $lastwornclothingtype = 'nude'
- gs 'clothing', 'wear', $lastwornclothingtype, lastwornclothingnumber
- end
- if $ARGS[0] = 'swamp_clothes':
- if ARGS[1] = 1:
- !hessian clothing to owned, sets size and equipped.
- misc_outfits[1] = 1
- misc_outfits_s[1] = 0
- misc_outfits_h[1] = 100
- misc_outfits_b[1] = pcs_hips
- swamp_clothes = 1
- gs 'clothing', 'wear', 'misc_outfits', 1
- end
- if ARGS[1] = 0:
- !hessian clothing no longer owned, but not unequipped.
- misc_outfits[1] = 0
- swamp_clothes = 0
- end
- end
- --- clothing ---------------------------------
|