clothing.qsrc 77 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990
  1. # clothing
  2. !!2021/05/06
  3. menu_off = 1
  4. $clothing_list_line = {
  5. !! a single line in a clothing list (wardrobe, etc)
  6. !! ARGS 0 - action type (wardrobe, sell, resize, store, forsale)
  7. !! ARGS 1 - clothing type
  8. !! ARGS 2 - clothing index
  9. gs 'themes', 'clothing', 1
  10. $RESULT = '<TR bgcolor='+$bgcolor+'>'
  11. if Enable_clothwidth > 0:
  12. clothing_temp = Enable_clothwidth - 1
  13. else
  14. clothing_temp = 100 & !clothing widdefault to 100
  15. end
  16. $RESULT +='<TD><a href="exec:gt ''clothing'', ''view_clothing_item'', ''<<$ARGS[1]>>'', <<ARGS[2]>>, ''0'', ''<<$ARGS[0]>>''"><img src="<<FUNC(''$clothing_image'', $ARGS[1], ARGS[2])>>" width="<<clothing_temp>>"></a></TD>'
  17. killvar 'clothing_temp'
  18. $swimwear_description = ''
  19. gs 'clothing_attributes', $ARGS[1], ARGS[2]
  20. if $ARGS[1] ! 'gm_school' or ARGS[2] ! 6:
  21. $RESULT += '<TD>' + dyneval '$RESULT += <<$ARGS[1]>>_h[<<ARGS[2]>>]' + '</TD>'
  22. if $ARGS[1] ! 'danilovich_outfits' and $ARGS[1] ! 'coat' and CloStyle ! 5:
  23. $RESULT += '<TD>' + dyneval '$RESULT += <<$ARGS[1]>>_b[<<ARGS[2]>>]' + '</TD>'
  24. else
  25. $RESULT += '<TD></TD>'
  26. end
  27. else
  28. $RESULT += '<TD colspan="2"></TD>'
  29. end
  30. if $ARGS[1] = 'misc_outfits' and ARGS[2] = 1:
  31. $RESULT += '<TD>A hessian sack the hunters gave you.</TD>'
  32. elseif $swimwear_description = '':
  33. gs 'clothing_descriptions'
  34. $RESULT += '<TD><<FUNC(''$short_description'', $ARGS[1])>> <<ARGS[2]>><BR/><<$description>></TD>'
  35. else
  36. $RESULT += '<TD>' + $swimwear_description + '</TD>'
  37. end
  38. $RESULT += '<TD>'
  39. if CloBimbo = 1: $RESULT += '<img src="images/system/icons/clothing/bimbo.png"><BR>'
  40. if CloStyle = 4: $RESULT += '<img src="images/system/icons/clothing/prostitute.png"><BR>'
  41. if CloStyle2 = 3: $RESULT += '<img src="images/system/icons/clothing/stripper.png">'
  42. $RESULT += '</TD>'
  43. if $ARGS[0] ! 'resize':
  44. if dyneval('RESULT = <<$ARGS[1]>>_s[<<ARGS[2]>>]') = 0:
  45. $RESULT += '<TD><center><img src="images/system/icons/clothing/wardrobe.png"></center></TD>'
  46. else
  47. $RESULT += '<TD><center><a href="exec:gt ''clothing'', ''dest0'', ''<<$ARGS[0]>>'', ''<<$ARGS[1]>>'', <<ARGS[2]>> "><img src="images/system/icons/clothing/wardrobe_off.png"></a></center></TD>'
  48. end
  49. if dyneval('RESULT = <<$ARGS[1]>>_s[<<ARGS[2]>>]') = 1:
  50. $RESULT += '<TD><center><img src="images/system/icons/clothing/storage.png"></center></TD>'
  51. else
  52. $RESULT += '<TD><center><a href="exec:gt ''clothing'', ''dest1'', ''<<$ARGS[0]>>'', ''<<$ARGS[1]>>'', <<ARGS[2]>> "><img src="images/system/icons/clothing/storage_off.png"></a></center></TD>'
  53. end
  54. if dyneval('RESULT = <<$ARGS[1]>>_s[<<ARGS[2]>>]') = 2:
  55. $RESULT += '<TD><center><img src="images/system/icons/clothing/unwanted.png"></center></TD>'
  56. else
  57. $RESULT += '<TD><center><a href="exec:gt ''clothing'', ''dest2'', ''<<$ARGS[0]>>'', ''<<$ARGS[1]>>'', <<ARGS[2]>> "><img src="images/system/icons/clothing/unwanted_off.png"></a></center></TD>'
  58. end
  59. if ($ARGS[1] ! 'gm_school' or ARGS[2] ! 6) and dyneval('RESULT = <<$ARGS[1]>>_h[<<ARGS[2]>>]') <= 0 and pcs_sewng >= 60 and tkan > 0:
  60. $RESULT += '<TD><center><a href="exec:gt ''clothing'', ''qrepair'', ''<<$ARGS[0]>>'', ''<<$ARGS[1]>>'', <<ARGS[2]>> "><img src="images/system/icons/clothing/repair.png"></a></center></TD>'
  61. else
  62. $RESULT += '<TD><center><img src="images/system/icons/clothing/repair_off.png"></center></TD>'
  63. end
  64. if pcs_sewng >= 50 and money >= 500 and (dyneval('RESULT = <<$ARGS[1]>>_b[<<ARGS[2]>>]') < pcs_hips - 8 or dyneval('RESULT = <<$ARGS[1]>>_b[<<ARGS[2]>>]') > pcs_hips + 8):
  65. $RESULT += '<TD><center><a href="exec:gt ''clothing'', ''qresize'', ''<<$ARGS[0]>>'', ''<<$ARGS[1]>>'', <<ARGS[2]>> "><img src="images/system/icons/clothing/resize.png"></a></center></TD>'
  66. else
  67. $RESULT += '<TD><center><img src="images/system/icons/clothing/resize_off.png"></center></TD>'
  68. end
  69. if ($ARGS[1] ! 'gm_school' or ARGS[2] ! 6):
  70. $RESULT += '<TD><center><a href="exec:gt ''clothing'', ''qdelete'', ''<<$ARGS[0]>>'', ''<<$ARGS[1]>>'', <<ARGS[2]>> "><img src="images/system/icons/clothing/delete_on.png"></a></center></TD>'
  71. end
  72. else
  73. $RESULT += '<TD></TD><TD></TD><TD></TD><TD></TD><TD></TD>'
  74. if pcs_sewng >= 50 and tkan > 0 and (dyneval('RESULT = <<$ARGS[1]>>_b[<<ARGS[2]>>]') < pcs_hips - 8 or dyneval('RESULT = <<$ARGS[1]>>_b[<<ARGS[2]>>]') > pcs_hips + 8):
  75. $RESULT += '<TD><center><a href="exec:gt ''clothing'', ''tresize'', ''<<$ARGS[0]>>'', ''<<$ARGS[1]>>'', <<ARGS[2]>> "><img src="images/system/icons/clothing/resize.png"></a></center></TD>'
  76. else
  77. $RESULT += '<TD><center><img src="images/system/icons/clothing/resize_off.png"></center></TD>'
  78. end
  79. end
  80. }
  81. !!_s, 0 = wardrobe, 1 = storage, 2 = unwanted
  82. if $ARGS[0] = 'dest0':
  83. *clr
  84. dynamic '<<$ARGS[2]>>_s[<<ARGS[3]>>] = 0'
  85. gt 'clothing', 'clothing_list', '<<$ward_list_store>>'
  86. end
  87. if $ARGS[0] = 'dest1':
  88. *clr
  89. dynamic '<<$ARGS[2]>>_s[<<ARGS[3]>>] = 1'
  90. gt 'clothing', 'clothing_list', '<<$ward_list_store>>'
  91. end
  92. if $ARGS[0] = 'dest2':
  93. *clr
  94. dynamic '<<$ARGS[2]>>_s[<<ARGS[3]>>] = 2'
  95. gt 'clothing', 'clothing_list', '<<$ward_list_store>>'
  96. end
  97. if $ARGS[0] = 'qresize':
  98. *clr
  99. tkan -= 1
  100. minut += 30
  101. dynamic '<<$ARGS[2]>>_b[<<ARGS[3]>>] = pcs_hips'
  102. gt 'clothing', 'clothing_list', '<<$ward_list_store>>'
  103. end
  104. if $ARGS[0] = 'qrepair':
  105. *clr
  106. if rand (1, 100) < 30:
  107. tkan -= 1
  108. minut += 30
  109. dynamic $ARGS[2] + '_h[<<ARGS[3]>>] += 30'
  110. else
  111. tkan += 3
  112. minut += 30
  113. dynamic $ARGS[2] + '[<<ARGS[3]>>] = 0'
  114. end
  115. gt 'clothing', 'clothing_list', '<<$ward_list_store>>'
  116. end
  117. if $ARGS[0] = 'qdelete':
  118. *clr
  119. dynamic '<<$ARGS[2]>>[<<ARGS[3]>>] = 0'
  120. gt 'clothing', 'clothing_list', '<<$ward_list_store>>'
  121. end
  122. if $ARGS[0] = 'tresize':
  123. *clr
  124. minut += 5
  125. money -= 500
  126. dynamic '<<$ARGS[2]>>_b[<<ARGS[3]>>] = pcs_hips'
  127. gt 'clothing', 'clothing_list', '<<$ward_list_store>>'
  128. end
  129. if $ARGS[0] = 'view_clothing_list':
  130. if $wloc = '': $wloc = 'default1'
  131. !! ARGS 0 - view_clothing_list
  132. !! ARGS 1 - action type (wardrobe, resize)
  133. !! ARGS 2 - Shop name (kats, moncheri, gm, etc)
  134. if $ARGS[1] = 'wardrobe':
  135. $ward_list_page = $ARGS[1]
  136. '<center><table><TH><a href="exec:gt ''wardrobe'', ''main''"><img src="images/system/icons/clothing/clothes.png" height="50"></TH><TH><a href="exec:gt ''wardrobe'', $wloc"><img src="images/system/icons/clothing/default.png" height="50"></a></TH><TH><b>Your Wardrobe</b></TH></table></center>'
  137. if $wardrobeDefaultPagePref = 'viewClothing':
  138. $wardrobeSetDefault = '<a href="exec: $wardrobeDefaultPagePref = '''' & gt ''clothing'', ''view_clothing_list'', ''wardrobe''">Unset as default wardrobe page</a>'
  139. else
  140. $wardrobeSetDefault = '<a href="exec: $wardrobeDefaultPagePref = ''viewClothing'' & gt ''clothing'', ''view_clothing_list'', ''wardrobe''">Set here as default wardrobe page</a>'
  141. end
  142. !! '''' Colour code correction for editor
  143. '<center><<$wardrobeSetDefault>></center>'
  144. killvar '$wardrobeSetDefault'
  145. elseif $ARGS[1] = 'resize':
  146. $ward_list_page = $ARGS[1]
  147. '<h3><center><b><font color="maroon">Choose item/s to resize</font></b></center></h3>'
  148. end
  149. '<center><b><font color="maroon">Choose to view all or select by shop</font></b></center>'
  150. *nl
  151. '<center><TH><a href="exec:gt ''clothing'', ''clothing_list'', ''all''"><img src="images/system/icons/clothing/all_outfits.png"></a></TH></center>'
  152. if ARRSIZE('gm_outfits') > 0 or ARRSIZE('gm_dress') > 0:'<center><a href="exec:$ward_list_store = ''gm'' & gt ''clothing'', ''clothing_list'', ''gm''"><img src="images/locations/city/citycenter/mall/gm.png"></a></center>'
  153. if ARRSIZE('gm_school') > 0:'<center><a href="exec:$ward_list_store = ''gm_school'' & gt ''clothing'', ''clothing_list'', ''gm_school''"><img src="images/pc/items/gm/school.png"></a></center>'
  154. if ARRSIZE('gm_office') > 0:'<center><a href="exec:$ward_list_store = ''gm_office'' & gt ''clothing'', ''clothing_list'', ''gm_office''"><img src="images/pc/items/gm/officewear.png"></a></center>'
  155. if ARRSIZE('gm_maid') > 0:'<center><a href="exec:$ward_list_store = ''gm_maid'' & gt ''clothing'', ''clothing_list'', ''gm_maid''"><img src="images/pc/items/gm/maid.png"></a></center>'
  156. if ARRSIZE('gm_server') > 0:'<center><a href="exec:$ward_list_store = ''gm_server'' & gt ''clothing'', ''clothing_list'', ''gm_server''"><img src="images/pc/items/gm/server.png"></a></center>'
  157. if ARRSIZE('misc_outfits') > 0:'<center><a href="exec:$ward_list_store = ''misc'' & gt ''clothing'', ''clothing_list'', ''misc''"><img src="images/pc/items/misc/misc.png"></a></center>'
  158. if ARRSIZE('cats_outfits') > 0 or ARRSIZE('cats_dress') > 0:'<center><a href="exec:$ward_list_store = ''cats'' & gt ''clothing'', ''clothing_list'', ''cats''"><img src="images/locations/city/citycenter/mall/pussycat.png"></a></center>'
  159. if ARRSIZE('flamingos_outfits') > 0 or ARRSIZE('flamingos_dress') > 0:'<center><a href="exec:$ward_list_store = ''flamingos'' & gt ''clothing'', ''clothing_list'', ''flamingos''"><img src="images/locations/city/island/flamingos/shop_name.png"></a></center>'
  160. if ARRSIZE('coco_outfits') > 0 or ARRSIZE('coco_dress') > 0:'<center><a href="exec:$ward_list_store = ''coco'' & gt ''clothing'', ''clothing_list'', ''coco''"><img src="images/locations/pavlovsk/coco/shop_name.png"></a></center>'
  161. if ARRSIZE('fashionista') > 0 or ARRSIZE('fashionista_outfits') > 0:'<center><a href="exec:$ward_list_store = ''fashionista'' & gt ''clothing'', ''clothing_list'', ''fashionista''"><img src="images/locations/city/citycenter/mall/fashionista.png"></a></center>'
  162. if ARRSIZE('moncheri_gown') > 0 or ARRSIZE('moncheri_dress') > 0:'<center><a href="exec:$ward_list_store = ''moncheri'' & gt ''clothing'', ''clothing_list'', ''moncheri''"><img src="images/locations/city/citycenter/mall/moncheri.png"></a></center>'
  163. if ARRSIZE('scandalicious_outfits') > 0 or ARRSIZE('scandalicious_dress') > 0:'<center><a href="exec:$ward_list_store = ''scandalicious'' & gt ''clothing'', ''clothing_list'', ''scandalicious''"><img src="images/locations/city/citycenter/mall/scandalicious.png"></a></center>'
  164. if ARRSIZE('scandalicious_bikinis') > 0 or ARRSIZE('scandalicious_swimsuit') > 0:'<center><a href="exec:$ward_list_store = ''scandalicious_swimwear'' & gt ''clothing'', ''clothing_list'', ''scandalicious_swimwear''"><img src="images/locations/city/citycenter/mall/scandalicious_swimwear.png"></a></center>'
  165. if ARRSIZE('allure_bikinis') > 0 or ARRSIZE('allure_swimsuit') > 0:'<center><a href="exec:$ward_list_store = ''allure'' & gt ''clothing'', ''clothing_list'', ''allure''"><img src="images/locations/pavlovsk/commercial/allure/shop_name.png"></a></center>'
  166. if ARRSIZE('fancy_burlesque') > 0:'<center><a href="exec:$ward_list_store = ''fancypancy'' & gt ''clothing'', ''clothing_list'', ''fancypancy''"><img src="images/locations/pushkin/fancypancy/shop_name.png"></a></center>'
  167. if ARRSIZE('eroto_dress') > 0 or ARRSIZE('eroto_outfits') > 0 or ARRSIZE('eroto_strip') > 0:'<center><a href="exec:$ward_list_store = ''sexshop'' & gt ''clothing'', ''clothing_list'', ''sexshop''"><img src="images/locations/city/redlight/erotomaniac/shop_name.png"></a></center>'
  168. if ARRSIZE('salacious_outfits') > 0 or ARRSIZE('salacious_dress') > 0:'<center><a href="exec:$ward_list_store = ''exhibitshop'' & gt ''clothing'', ''clothing_list'', ''exhibitshop''"><img src="images/locations/pushkin/exhibitshop/shop_name.png"></a></center>'
  169. if ARRSIZE('dolls_outfits') > 0 or ARRSIZE('dolls_dress') > 0:'<center><a href="exec:$ward_list_store = ''dolls'' & gt ''clothing'', ''clothing_list'', ''dolls''"><img src="images/locations/city/island/dolls/shop_name.png"></a></center>'
  170. if ARRSIZE('bomba_outfits') > 0 or ARRSIZE('bomba_dress') > 0:'<center><a href="exec:$ward_list_store = ''bomba'' & gt ''clothing'', ''clothing_list'', ''bomba''"><img src="images/locations/pushkin/bomba/shop_name.png"></a></center>'
  171. if ARRSIZE('nerdvana_outfits') > 0 or ARRSIZE('nerdvana_cosplay') > 0 or ARRSIZE('nerdvana_bikinis') > 0 or ARRSIZE('nerdvana_swimsuit') > 0:'<center><a href="exec:$ward_list_store = ''nerdvana'' & gt ''clothing'', ''clothing_list'', ''nerdvana''"><img src="images/locations/city/island/nerdvana/shop_name.png"></a></center>'
  172. if ARRSIZE('danilovich_outfits') > 0:'<center><a href="exec:$ward_list_store = ''sports'' & gt ''clothing'', ''clothing_list'', ''sports''"><img src="images/locations/city/citycenter/mall/sports.png"></a></center>'
  173. if ARRSIZE('materinstvo_dress') > 0:'<center><a href="exec:$ward_list_store = ''materinstvo'' & gt ''clothing'', ''clothing_list'', ''materinstvo''"><img src="images/locations/city/citycenter/mall/mommy.png"></a></center>'
  174. if ARRSIZE('market_outfits') > 0:'<center><a href="exec:$ward_list_store = ''market'' & gt ''clothing'', ''clothing_list'', ''market''"><img src="images/pc/items/market/market.png"></a></center>'
  175. act 'Leave': killvar '$ward_list_store' & gt $loc, $loc_arg
  176. act 'Your Clothes': gt 'wardrobe', 'main'
  177. act 'Your sets': gt 'wardrobe', $wloc
  178. end
  179. if $ARGS[0] = 'clothing_list':
  180. $ward_list_file = 'clothing'
  181. $bgcolor='#f3f4ee'
  182. if $args[1] = 'all':
  183. $ward_list_store = 'all'
  184. gs 'clothing_QV', 'filter_header'
  185. gs 'clothing', 'clothinglist_header'
  186. !!For filtering all clothes
  187. clo_i = 0
  188. :loopfilter_all
  189. end
  190. if $args[1] = 'gm' or $args[1] = 'all':
  191. if $args[1] ! 'all':
  192. $ward_list_store = $args[1]
  193. '<center><img src="images/locations/city/citycenter/mall/gm.png"></center>'
  194. gs 'clothing_QV', 'filter_header', 'store'
  195. if $ward_list_page = 'wardrobe':
  196. gs 'clothing', 'clothinglist_header'
  197. end
  198. !!To filter just this set
  199. clo_i = 0
  200. :loopgm_filter
  201. end
  202. i = 1
  203. :loopgm_outfits
  204. if gm_outfits[i] = 1 and ($clothingworntype ! 'gm_outfits' or clothingwornnumber ! i):
  205. gs 'clothing_attributes', 'gm_outfits', i
  206. gs 'clothing_QV', 'clo_filter'
  207. !!sort by filter
  208. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  209. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1 and clothingfilter['sport_only'] = 0 and clothingfilter['swim_only'] = 0:*P dyneval($clothing_list_line, $ward_list_page, 'gm_outfits', i)
  210. end
  211. end
  212. i += 1
  213. if i <= ARRSIZE('gm_outfits'):jump 'loopgm_outfits'
  214. i = 1
  215. :loopgm_dress
  216. if gm_dress[i] = 1 and ($clothingworntype ! 'gm_dress' or clothingwornnumber ! i):
  217. gs 'clothing_attributes', 'gm_dress', i
  218. gs 'clothing_QV', 'clo_filter'
  219. !!sort by filter
  220. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  221. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1 and clothingfilter['sport_only'] = 0 and clothingfilter['swim_only'] = 0:*P dyneval($clothing_list_line, $ward_list_page, 'gm_dress', i)
  222. end
  223. end
  224. i += 1
  225. if i <= ARRSIZE('gm_dress'):jump 'loopgm_dress'
  226. if $args[1] ! 'all':
  227. clo_i += 1
  228. if clothingfilter['quality'] = 0 and clo_i <= 7:
  229. jump 'loopgm_filter'
  230. elseif clothingfilter['inhibition'] = 0 and clo_i <= 40:
  231. jump 'loopgm_filter'
  232. end
  233. end
  234. act 'Return': killvar '$ward_list_store' & gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
  235. gs 'clothing', 'clothwidth'
  236. end
  237. if $args[1] = 'gm_office' or $args[1] = 'all':
  238. if $args[1] ! 'all':
  239. $ward_list_store = $args[1]
  240. '<center><img src="images/pc/items/gm/officewear.png"></center>'
  241. gs 'clothing_QV', 'filter_header', 'store'
  242. gs 'clothing', 'clothinglist_header'
  243. !!To filter just this set
  244. clo_i = 0
  245. :loopgm_office_filter
  246. end
  247. i = 1
  248. :loopoffice
  249. if gm_office[i] = 1 and ($clothingworntype ! 'gm_office' or clothingwornnumber ! i):
  250. gs 'clothing_attributes', 'gm_office', i
  251. gs 'clothing_QV', 'clo_filter'
  252. !!sort by filter
  253. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  254. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1 and clothingfilter['sport_only'] = 0 and clothingfilter['swim_only'] = 0:*P dyneval($clothing_list_line, $ward_list_page, 'gm_office', i)
  255. end
  256. end
  257. i += 1
  258. if i <= ARRSIZE('gm_office'):jump 'loopoffice'
  259. if $args[1] ! 'all':
  260. clo_i += 1
  261. if clothingfilter['quality'] = 0 and clo_i <= 7:
  262. jump 'loopgm_office_filter'
  263. elseif clothingfilter['inhibition'] = 0 and clo_i <= 40:
  264. jump 'loopgm_office_filter'
  265. end
  266. end
  267. act 'Return': killvar '$ward_list_store' & gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
  268. gs 'clothing', 'clothwidth'
  269. end
  270. if $args[1] = 'gm_maid' or $args[1] = 'all':
  271. if $args[1] ! 'all':
  272. $ward_list_store = $args[1]
  273. '<center><img src="images/pc/items/gm/maid.png"></center>'
  274. gs 'clothing_QV', 'filter_header', 'store'
  275. gs 'clothing', 'clothinglist_header'
  276. !!To filter just this set
  277. clo_i = 0
  278. :loopgm_maid_filter
  279. end
  280. i = 1
  281. :loopgm_maid
  282. if gm_maid[i] = 1 and ($clothingworntype ! 'gm_maid' or clothingwornnumber ! i):
  283. gs 'clothing_attributes', 'gm_maid', i
  284. gs 'clothing_QV', 'clo_filter'
  285. !!sort by filter
  286. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  287. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1 and clothingfilter['sport_only'] = 0 and clothingfilter['swim_only'] = 0:*P dyneval($clothing_list_line, $ward_list_page, 'gm_maid', i)
  288. end
  289. end
  290. i += 1
  291. if i <= ARRSIZE('gm_maid'):jump 'loopgm_maid'
  292. if $args[1] ! 'all':
  293. clo_i += 1
  294. if clothingfilter['quality'] = 0 and clo_i <= 7:
  295. jump 'loopgm_maid_filter'
  296. elseif clothingfilter['inhibition'] = 0 and clo_i <= 40:
  297. jump 'loopgm_maid_filter'
  298. end
  299. end
  300. act 'Return': killvar '$ward_list_store' & gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
  301. gs 'clothing', 'clothwidth'
  302. end
  303. if $args[1] = 'gm_server' or $args[1] = 'all':
  304. if $args[1] ! 'all':
  305. $ward_list_store = $args[1]
  306. '<center><img src="images/pc/items/gm/server.png"></center>'
  307. gs 'clothing_QV', 'filter_header', 'store'
  308. gs 'clothing', 'clothinglist_header'
  309. !!To filter just this set
  310. clo_i = 0
  311. :loopgm_server_filter
  312. end
  313. i = 1
  314. :loopgm_server
  315. if gm_server[i] = 1 and ($clothingworntype ! 'gm_server' or clothingwornnumber ! i):
  316. gs 'clothing_attributes', 'gm_server', i
  317. gs 'clothing_QV', 'clo_filter'
  318. !!sort by filter
  319. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  320. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1 and clothingfilter['sport_only'] = 0 and clothingfilter['swim_only'] = 0:*P dyneval($clothing_list_line, $ward_list_page, 'gm_server', i)
  321. end
  322. end
  323. i += 1
  324. if i <= ARRSIZE('gm_server'):jump 'loopgm_server'
  325. if $args[1] ! 'all':
  326. clo_i += 1
  327. if clothingfilter['quality'] = 0 and clo_i <= 7:
  328. jump 'loopgm_server_filter'
  329. elseif clothingfilter['inhibition'] = 0 and clo_i <= 40:
  330. jump 'loopgm_server_filter'
  331. end
  332. end
  333. act 'Return': killvar '$ward_list_store' & gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
  334. gs 'clothing', 'clothwidth'
  335. end
  336. if $args[1] = 'gm_school' or $args[1] = 'all':
  337. if $args[1] ! 'all':
  338. $ward_list_store = $args[1]
  339. '<center><img src="images/pc/items/gm/school.png"></center>'
  340. gs 'clothing_QV', 'filter_header', 'store'
  341. gs 'clothing', 'clothinglist_header'
  342. !!To filter just this set
  343. clo_i = 0
  344. :loopgm_school_filter
  345. end
  346. if mid($start_type,1,2) = 'sg' and SchoolAtestat = 0 and SchoolBlock = 0 and ($clothingworntype ! 'gm_school' or clothingwornnumber ! 6):
  347. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:*P dyneval($clothing_list_line, $ward_list_page, 'gm_school', 6)
  348. end
  349. i = 1
  350. :loopschool
  351. if gm_school[i] = 1 and ($clothingworntype ! 'gm_school' or clothingwornnumber ! i):
  352. gs 'clothing_attributes', 'gm_school', i
  353. gs 'clothing_QV', 'clo_filter'
  354. !!sort by filter
  355. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  356. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1 and clothingfilter['sport_only'] = 0 and clothingfilter['swim_only'] = 0:*P dyneval($clothing_list_line, $ward_list_page, 'gm_school', i)
  357. end
  358. end
  359. i += 1
  360. if i = 6: i = 7
  361. if i <= ARRSIZE('gm_school'):jump 'loopschool'
  362. if $args[1] ! 'all':
  363. clo_i += 1
  364. if clothingfilter['quality'] = 0 and clo_i <= 7:
  365. jump 'loopgm_school_filter'
  366. elseif clothingfilter['inhibition'] = 0 and clo_i <= 40:
  367. jump 'loopgm_school_filter'
  368. end
  369. end
  370. act 'Return': killvar '$ward_list_store' & gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
  371. gs 'clothing', 'clothwidth'
  372. end
  373. if $args[1] = 'misc' or $args[1] = 'all':
  374. if $args[1] ! 'all':
  375. $ward_list_store = $args[1]
  376. '<center><img src="img src="images/pc/items/misc/misc.png"></center>'
  377. gs 'clothing_QV', 'filter_header', 'store'
  378. gs 'clothing', 'clothinglist_header'
  379. !!To filter just this set
  380. clo_i = 0
  381. :loopmisc_filter
  382. end
  383. i = 1
  384. :loopmisc_outfits
  385. if misc_outfits[i] = 1 and ($clothingworntype ! 'misc_outfits' or clothingwornnumber ! i):
  386. gs 'clothing_attributes', 'misc_outfits', i
  387. gs 'clothing_QV', 'clo_filter'
  388. !!sort by filter
  389. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  390. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1 and clothingfilter['sport_only'] = 0 and clothingfilter['swim_only'] = 0:*P dyneval($clothing_list_line, $ward_list_page, 'misc_outfits', i)
  391. end
  392. end
  393. i += 1
  394. if i <= ARRSIZE('misc_outfits'):jump 'loopmisc_outfits'
  395. if $args[1] ! 'all':
  396. clo_i += 1
  397. if clothingfilter['quality'] = 0 and clo_i <= 7:
  398. jump 'loopmisc_filter'
  399. elseif clothingfilter['inhibition'] = 0 and clo_i <= 40:
  400. jump 'loopmisc_filter'
  401. end
  402. end
  403. act 'Return': killvar '$ward_list_store' & gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
  404. gs 'clothing', 'clothwidth'
  405. end
  406. if $args[1] = 'cats' or $args[1] = 'all':
  407. if $args[1] ! 'all':
  408. $ward_list_store = $args[1]
  409. '<center><img src="images/locations/city/citycenter/mall/pussycat.png"></center>'
  410. gs 'clothing_QV', 'filter_header', 'store'
  411. gs 'clothing', 'clothinglist_header'
  412. !!To filter just this set
  413. clo_i = 0
  414. :loopcats_filter
  415. end
  416. i = 1
  417. :loopcats_outfits
  418. if cats_outfits[i] = 1 and ($clothingworntype ! 'cats_outfits' or clothingwornnumber ! i):
  419. gs 'clothing_attributes', 'cats_outfits', i
  420. gs 'clothing_QV', 'clo_filter'
  421. !!sort by filter
  422. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  423. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1 and clothingfilter['sport_only'] = 0 and clothingfilter['swim_only'] = 0:*P dyneval($clothing_list_line, $ward_list_page, 'cats_outfits', i)
  424. end
  425. end
  426. i += 1
  427. if i <= ARRSIZE('cats_outfits'):jump 'loopcats_outfits'
  428. i = 1
  429. :loopcats_dress
  430. if cats_dress[i] = 1 and ($clothingworntype ! 'cats_dress' or clothingwornnumber ! i):
  431. gs 'clothing_attributes', 'cats_dress', i
  432. gs 'clothing_QV', 'clo_filter'
  433. !!sort by filter
  434. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  435. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1 and clothingfilter['sport_only'] = 0 and clothingfilter['swim_only'] = 0:*P dyneval($clothing_list_line, $ward_list_page, 'cats_dress', i)
  436. end
  437. end
  438. i += 1
  439. if i <= ARRSIZE('cats_dress'):jump 'loopcats_dress'
  440. if $args[1] ! 'all':
  441. clo_i += 1
  442. if clothingfilter['quality'] = 0 and clo_i <= 7:
  443. jump 'loopcats_filter'
  444. elseif clothingfilter['inhibition'] = 0 and clo_i <= 40:
  445. jump 'loopcats_filter'
  446. end
  447. end
  448. act 'Return': killvar '$ward_list_store' & gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
  449. gs 'clothing', 'clothwidth'
  450. end
  451. if $args[1] = 'flamingos' or $args[1] = 'all':
  452. if $args[1] ! 'all':
  453. $ward_list_store = $args[1]
  454. '<center><img src="images/locations/city/island/flamingos/shop_name.png"></center>'
  455. gs 'clothing_QV', 'filter_header', 'store'
  456. gs 'clothing', 'clothinglist_header'
  457. !!To filter just this set
  458. clo_i = 0
  459. :loopflamingos_filter
  460. end
  461. i = 1
  462. :loopflamingos_dress
  463. if flamingos_dress[i] = 1 and ($clothingworntype ! 'flamingos_dress' or clothingwornnumber ! i):
  464. gs 'clothing_attributes', 'flamingos_dress', i
  465. gs 'clothing_QV', 'clo_filter'
  466. !!sort by filter
  467. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  468. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1 and clothingfilter['sport_only'] = 0 and clothingfilter['swim_only'] = 0:*P dyneval($clothing_list_line, $ward_list_page, 'flamingos_dress', i)
  469. end
  470. end
  471. i += 1
  472. if i <= ARRSIZE('flamingos_dress'):jump 'loopflamingos_dress'
  473. i = 1
  474. :loopflamingos_outfits
  475. if flamingos_outfits[i] = 1 and ($clothingworntype ! 'flamingos_outfits' or clothingwornnumber ! i):
  476. gs 'clothing_attributes', 'flamingos_outfits', i
  477. gs 'clothing_QV', 'clo_filter'
  478. !!sort by filter
  479. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  480. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1 and clothingfilter['sport_only'] = 0 and clothingfilter['swim_only'] = 0:*P dyneval($clothing_list_line, $ward_list_page, 'flamingos_outfits', i)
  481. end
  482. end
  483. i += 1
  484. if i <= ARRSIZE('flamingos_outfits'):jump 'loopflamingos_outfits'
  485. if $args[1] ! 'all':
  486. clo_i += 1
  487. if clothingfilter['quality'] = 0 and clo_i <= 7:
  488. jump 'loopflamingos_filter'
  489. elseif clothingfilter['inhibition'] = 0 and clo_i <= 40:
  490. jump 'loopflamingos_filter'
  491. end
  492. end
  493. act 'Return': killvar '$ward_list_store' & gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
  494. gs 'clothing', 'clothwidth'
  495. end
  496. if $args[1] = 'coco' or $args[1] = 'all':
  497. if $args[1] ! 'all':
  498. $ward_list_store = $args[1]
  499. '<center><img src="images/locations/pavlovsk/coco/shop_name.png"></center>'
  500. gs 'clothing_QV', 'filter_header', 'store'
  501. gs 'clothing', 'clothinglist_header'
  502. !!To filter just this set
  503. clo_i = 0
  504. :loopcoco_filter
  505. end
  506. i = 1
  507. :loopcoco_dress
  508. if coco_dress[i] = 1 and ($clothingworntype ! 'coco_dress' or clothingwornnumber ! i):
  509. gs 'clothing_attributes', 'coco_dress', i
  510. gs 'clothing_QV', 'clo_filter'
  511. !!sort by filter
  512. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  513. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1 and clothingfilter['sport_only'] = 0 and clothingfilter['swim_only'] = 0:*P dyneval($clothing_list_line, $ward_list_page, 'coco_dress', i)
  514. end
  515. end
  516. i += 1
  517. if i <= ARRSIZE('coco_dress'):jump 'loopcoco_dress'
  518. i = 1
  519. :loopcoco_outfits
  520. if coco_outfits[i] = 1 and ($clothingworntype ! 'coco_outfits' or clothingwornnumber ! i):
  521. gs 'clothing_attributes', 'coco_outfits', i
  522. gs 'clothing_QV', 'clo_filter'
  523. !!sort by filter
  524. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  525. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1 and clothingfilter['sport_only'] = 0 and clothingfilter['swim_only'] = 0:*P dyneval($clothing_list_line, $ward_list_page, 'coco_outfits', i)
  526. end
  527. end
  528. i += 1
  529. if i <= ARRSIZE('coco_outfits'):jump 'loopcoco_outfits'
  530. if $args[1] ! 'all':
  531. clo_i += 1
  532. if clothingfilter['quality'] = 0 and clo_i <= 7:
  533. jump 'loopcoco_filter'
  534. elseif clothingfilter['inhibition'] = 0 and clo_i <= 40:
  535. jump 'loopcoco_filter'
  536. end
  537. end
  538. act 'Return': killvar '$ward_list_store' & gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
  539. gs 'clothing', 'clothwidth'
  540. end
  541. if $args[1] = 'fashionista' or $args[1] = 'all':
  542. if $args[1] ! 'all':
  543. $ward_list_store = $args[1]
  544. '<center><img src="images/locations/city/citycenter/mall/fashionista.png"></center>'
  545. gs 'clothing_QV', 'filter_header', 'store'
  546. gs 'clothing', 'clothinglist_header'
  547. !!To filter just this set
  548. clo_i = 0
  549. :loopfashionista_filter
  550. end
  551. i = 1
  552. :loopfashionista
  553. if fashionista[i] = 1 and ($clothingworntype ! 'fashionista' or clothingwornnumber ! i):
  554. gs 'clothing_attributes', 'fashionista', i
  555. gs 'clothing_QV', 'clo_filter'
  556. !!sort by filter
  557. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  558. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1 and clothingfilter['sport_only'] = 0 and clothingfilter['swim_only'] = 0:*P dyneval($clothing_list_line, $ward_list_page, 'fashionista', i)
  559. end
  560. end
  561. i += 1
  562. if i <= ARRSIZE('fashionista'):jump 'loopfashionista'
  563. i = 1
  564. :loopfashionista_outfits
  565. if fashionista_outfits[i] = 1 and ($clothingworntype ! 'fashionista_outfits' or clothingwornnumber ! i):
  566. gs 'clothing_attributes', 'fashionista_outfits', i
  567. gs 'clothing_QV', 'clo_filter'
  568. !!sort by filter
  569. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  570. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1 and clothingfilter['sport_only'] = 0 and clothingfilter['swim_only'] = 0:*P dyneval($clothing_list_line, $ward_list_page, 'fashionista_outfits', i)
  571. end
  572. end
  573. i += 1
  574. if i <= ARRSIZE('fashionista_outfits'):jump 'loopfashionista_outfits'
  575. if $args[1] ! 'all':
  576. clo_i += 1
  577. if clothingfilter['quality'] = 0 and clo_i <= 7:
  578. jump 'loopfashionista_filter'
  579. elseif clothingfilter['inhibition'] = 0 and clo_i <= 40:
  580. jump 'loopfashionista_filter'
  581. end
  582. end
  583. act 'Return': killvar '$ward_list_store' & gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
  584. gs 'clothing', 'clothwidth'
  585. end
  586. if $args[1] = 'moncheri' or $args[1] = 'all':
  587. if $args[1] ! 'all':
  588. $ward_list_store = $args[1]
  589. '<center><img src="images/locations/city/citycenter/mall/moncheri.png"></center>'
  590. gs 'clothing_QV', 'filter_header', 'store'
  591. gs 'clothing', 'clothinglist_header'
  592. !!To filter just this set
  593. clo_i = 0
  594. :loopmoncheri_filter
  595. end
  596. i = 1
  597. :loopmoncheri_dress
  598. if moncheri_dress[i] = 1 and ($clothingworntype ! 'moncheri_dress' or clothingwornnumber ! i):
  599. gs 'clothing_attributes', 'moncheri_dress', i
  600. gs 'clothing_QV', 'clo_filter'
  601. !!sort by filter
  602. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  603. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1 and clothingfilter['sport_only'] = 0 and clothingfilter['swim_only'] = 0:*P dyneval($clothing_list_line, $ward_list_page, 'moncheri_dress', i)
  604. end
  605. end
  606. i += 1
  607. if i <= ARRSIZE('moncheri_dress'):jump 'loopmoncheri_dress'
  608. i = 1
  609. :loopmoncheri_gown
  610. if moncheri_gown[i] = 1 and ($clothingworntype ! 'moncheri_gown' or clothingwornnumber ! i):
  611. gs 'clothing_attributes', 'moncheri_gown', i
  612. gs 'clothing_QV', 'clo_filter'
  613. !!sort by filter
  614. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  615. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1 and clothingfilter['sport_only'] = 0 and clothingfilter['swim_only'] = 0:*P dyneval($clothing_list_line, $ward_list_page, 'moncheri_gown', i)
  616. end
  617. end
  618. i += 1
  619. if i <= ARRSIZE('moncheri_gown'):jump 'loopmoncheri_gown'
  620. if $args[1] ! 'all':
  621. clo_i += 1
  622. if clothingfilter['quality'] = 0 and clo_i <= 7:
  623. jump 'loopmoncheri_filter'
  624. elseif clothingfilter['inhibition'] = 0 and clo_i <= 40:
  625. jump 'loopmoncheri_filter'
  626. end
  627. end
  628. act 'Return': killvar '$ward_list_store' & gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
  629. gs 'clothing', 'clothwidth'
  630. end
  631. if $args[1] = 'scandalicious' or $args[1] = 'all':
  632. if $args[1] ! 'all':
  633. $ward_list_store = $args[1]
  634. '<center><img src="images/locations/city/citycenter/mall/scandalicious.png"></center>'
  635. gs 'clothing_QV', 'filter_header', 'store'
  636. gs 'clothing', 'clothinglist_header'
  637. !!To filter just this set
  638. clo_i = 0
  639. :loopscandalicious_filter
  640. end
  641. i = 1
  642. :loopscandalicious_dress
  643. if scandalicious_dress[i] = 1 and ($clothingworntype ! 'scandalicious_dress' or clothingwornnumber ! i):
  644. gs 'clothing_attributes', 'scandalicious_dress', i
  645. gs 'clothing_QV', 'clo_filter'
  646. !!sort by filter
  647. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  648. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1 and clothingfilter['sport_only'] = 0 and clothingfilter['swim_only'] = 0:*P dyneval($clothing_list_line, $ward_list_page, 'scandalicious_dress', i)
  649. end
  650. end
  651. i += 1
  652. if i <= ARRSIZE('scandalicious_dress'):jump 'loopscandalicious_dress'
  653. i = 1
  654. :loopscandalicious_outfits
  655. if scandalicious_outfits[i] = 1 and ($clothingworntype ! 'scandalicious_outfits' or clothingwornnumber ! i):
  656. gs 'clothing_attributes', 'scandalicious_outfits', i
  657. gs 'clothing_QV', 'clo_filter'
  658. !!sort by filter
  659. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  660. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1 and clothingfilter['sport_only'] = 0 and clothingfilter['swim_only'] = 0:*P dyneval($clothing_list_line, $ward_list_page, 'scandalicious_outfits', i)
  661. end
  662. end
  663. i += 1
  664. if i <= ARRSIZE('scandalicious_outfits'):jump 'loopscandalicious_outfits'
  665. if $args[1] ! 'all':
  666. clo_i += 1
  667. if clothingfilter['quality'] = 0 and clo_i <= 7:
  668. jump 'loopscandalicious_filter'
  669. elseif clothingfilter['inhibition'] = 0 and clo_i <= 40:
  670. jump 'loopscandalicious_filter'
  671. end
  672. end
  673. act 'Return': killvar '$ward_list_store' & gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
  674. gs 'clothing', 'clothwidth'
  675. end
  676. if $args[1] = 'scandalicious_swimwear' or $args[1] = 'all':
  677. if $args[1] ! 'all':
  678. $ward_list_store = $args[1]
  679. '<center><img src="images/locations/city/citycenter/mall/gm.png"></center>'
  680. gs 'clothing_QV', 'filter_header', 'store'
  681. gs 'clothing', 'clothinglist_header'
  682. !!To filter just this set
  683. clo_i = 0
  684. :loopscandalicious_swim_filter
  685. end
  686. i = 1
  687. :loopscandalicious_bikinis
  688. if scandalicious_bikinis[i] = 1 and ($clothingworntype ! 'scandalicious_bikinis' or clothingwornnumber ! i):
  689. gs 'clothing_attributes', 'scandalicious_bikinis', i
  690. gs 'clothing_QV', 'clo_filter'
  691. !!sort by filter
  692. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  693. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1 and clothingfilter['sport_only'] = 0 and clothingfilter['swim'] = 0:*P dyneval($clothing_list_line, $ward_list_page, 'scandalicious_bikinis', i)
  694. end
  695. end
  696. i += 1
  697. if i <= ARRSIZE('scandalicious_bikinis'):jump 'loopscandalicious_bikinis'
  698. $ward_list_store = $args[1]
  699. i = 1
  700. :loopscandalicious_swimsuit
  701. if scandalicious_swimsuit[i] = 1 and ($clothingworntype ! 'scandalicious_swimsuit' or clothingwornnumber ! i):
  702. gs 'clothing_attributes', 'scandalicious_swimsuit', i
  703. gs 'clothing_QV', 'clo_filter'
  704. !!sort by filter
  705. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  706. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1 and clothingfilter['sport_only'] = 0 and clothingfilter['swim'] = 0:*P dyneval($clothing_list_line, $ward_list_page, 'scandalicious_swimsuit', i)
  707. end
  708. end
  709. i += 1
  710. if i <= ARRSIZE('scandalicious_swimsuit'):jump 'loopscandalicious_swimsuit'
  711. if $args[1] ! 'all':
  712. clo_i += 1
  713. if clothingfilter['quality'] = 0 and clo_i <= 7:
  714. jump 'loopscandalicious_swim_filter'
  715. elseif clothingfilter['inhibition'] = 0 and clo_i <= 40:
  716. jump 'loopscandalicious_swim_filter'
  717. end
  718. end
  719. act 'Return': killvar '$ward_list_store' & gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
  720. gs 'clothing', 'clothwidth'
  721. end
  722. if $args[1] = 'allure' or $args[1] = 'all':
  723. if $args[1] ! 'all':
  724. $ward_list_store = $args[1]
  725. '<center><img src="images/locations/city/citycenter/mall/gm.png"></center>'
  726. gs 'clothing_QV', 'filter_header', 'store'
  727. gs 'clothing', 'clothinglist_header'
  728. !!To filter just this set
  729. clo_i = 0
  730. :loopallure_filter
  731. end
  732. i = 1
  733. :loopallure_bikinis
  734. if allure_bikinis[i] = 1 and ($clothingworntype ! 'allure_bikinis' or clothingwornnumber ! i):
  735. gs 'clothing_attributes', 'allure_bikinis', i
  736. gs 'clothing_QV', 'clo_filter'
  737. !!sort by filter
  738. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  739. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1 and clothingfilter['sport_only'] = 0 and clothingfilter['swim'] = 0:*P dyneval($clothing_list_line, $ward_list_page, 'allure_bikinis', i)
  740. end
  741. end
  742. i += 1
  743. if i <= ARRSIZE('allure_bikinis'):jump 'loopallure_bikinis'
  744. $ward_list_store = $args[1]
  745. i = 1
  746. :loopallure_swimsuit
  747. if allure_swimsuit[i] = 1 and ($clothingworntype ! 'allure_swimsuit' or clothingwornnumber ! i):
  748. gs 'clothing_attributes', 'allure_swimsuit', i
  749. gs 'clothing_QV', 'clo_filter'
  750. !!sort by filter
  751. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  752. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1 and clothingfilter['sport_only'] = 0 and clothingfilter['swim'] = 0:*P dyneval($clothing_list_line, $ward_list_page, 'allure_swimsuit', i)
  753. end
  754. end
  755. i += 1
  756. if i <= ARRSIZE('allure_swimsuit'):jump 'loopallure_swimsuit'
  757. if $args[1] ! 'all':
  758. clo_i += 1
  759. if clothingfilter['quality'] = 0 and clo_i <= 7:
  760. jump 'loopallure_filter'
  761. elseif clothingfilter['inhibition'] = 0 and clo_i <= 40:
  762. jump 'loopallure_filter'
  763. end
  764. end
  765. act 'Return': killvar '$ward_list_store' & gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
  766. gs 'clothing', 'clothwidth'
  767. end
  768. if $args[1] = 'fancypancy' or $args[1] = 'all':
  769. if $args[1] ! 'all':
  770. $ward_list_store = $args[1]
  771. '<center><img src="images/locations/pushkin/fancypancy/shop_name.png"></center>'
  772. gs 'clothing_QV', 'filter_header', 'store'
  773. gs 'clothing', 'clothinglist_header'
  774. !!To filter just this set
  775. clo_i = 0
  776. :loopfancy_filter
  777. end
  778. i = 1
  779. :loopfancy_burlesque
  780. if fancy_burlesque[i] = 1 and ($clothingworntype ! 'fancy_burlesque' or clothingwornnumber ! i):
  781. gs 'clothing_attributes', 'fancy_burlesque', i
  782. gs 'clothing_QV', 'clo_filter'
  783. !!sort by filter
  784. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  785. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1 and clothingfilter['sport_only'] = 0 and clothingfilter['swim_only'] = 0:*P dyneval($clothing_list_line, $ward_list_page, 'fancy_burlesque', i)
  786. end
  787. end
  788. i += 1
  789. if i <= ARRSIZE('fancy_burlesque'):jump 'loopfancy_burlesque'
  790. if $args[1] ! 'all':
  791. clo_i += 1
  792. if clothingfilter['quality'] = 0 and clo_i <= 7:
  793. jump 'loopfancy_filter'
  794. elseif clothingfilter['inhibition'] = 0 and clo_i <= 40:
  795. jump 'loopfancy_filter'
  796. end
  797. end
  798. act 'Return': killvar '$ward_list_store' & gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
  799. gs 'clothing', 'clothwidth'
  800. end
  801. if $args[1] = 'sexshop' or $args[1] = 'all':
  802. if $args[1] ! 'all':
  803. $ward_list_store = $args[1]
  804. '<center><img src="images/locations/city/redlight/erotomaniac/shop_name.png"></center>'
  805. gs 'clothing_QV', 'filter_header', 'store'
  806. gs 'clothing', 'clothinglist_header'
  807. !!To filter just this set
  808. clo_i = 0
  809. :looperoto__filter
  810. end
  811. i = 1
  812. :looperoto_dress
  813. if eroto_dress[i] = 1 and ($clothingworntype ! 'eroto_dress' or clothingwornnumber ! i):
  814. gs 'clothing_attributes', 'eroto_dress', i
  815. gs 'clothing_QV', 'clo_filter'
  816. !!sort by filter
  817. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  818. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1 and clothingfilter['sport_only'] = 0 and clothingfilter['swim_only'] = 0:*P dyneval($clothing_list_line, $ward_list_page, 'eroto_dress', i)
  819. end
  820. end
  821. i += 1
  822. if i <= ARRSIZE('eroto_dress'):jump 'looperoto_dress'
  823. $ward_list_store = $args[1]
  824. i = 1
  825. :looperoto_outfits
  826. if eroto_outfits[i] = 1 and ($clothingworntype ! 'eroto_outfits' or clothingwornnumber ! i):
  827. gs 'clothing_attributes', 'eroto_outfits', i
  828. gs 'clothing_QV', 'clo_filter'
  829. !!sort by filter
  830. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  831. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1 and clothingfilter['sport_only'] = 0 and clothingfilter['swim_only'] = 0:*P dyneval($clothing_list_line, $ward_list_page, 'eroto_outfits', i)
  832. end
  833. end
  834. i += 1
  835. if i <= ARRSIZE('eroto_outfits'):jump 'looperoto_outfits'
  836. $ward_list_store = $args[1]
  837. i = 1
  838. :looperoto_strip
  839. if eroto_strip[i] = 1 and ($clothingworntype ! 'eroto_strip' or clothingwornnumber ! i):
  840. gs 'clothing_attributes', 'eroto_strip', i
  841. gs 'clothing_QV', 'clo_filter'
  842. !!sort by filter
  843. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  844. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1 and clothingfilter['sport_only'] = 0 and clothingfilter['swim_only'] = 0:*P dyneval($clothing_list_line, $ward_list_page, 'eroto_strip', i)
  845. end
  846. end
  847. i += 1
  848. if i <= ARRSIZE('eroto_strip'):jump 'looperoto_strip'
  849. if $args[1] ! 'all':
  850. clo_i += 1
  851. if clothingfilter['quality'] = 0 and clo_i <= 7:
  852. jump 'looperoto__filter'
  853. elseif clothingfilter['inhibition'] = 0 and clo_i <= 40:
  854. jump 'looperoto__filter'
  855. end
  856. end
  857. act 'Return': killvar '$ward_list_store' & gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
  858. gs 'clothing', 'clothwidth'
  859. end
  860. if $args[1] = 'exhibitshop' or $args[1] = 'all':
  861. if $args[1] ! 'all':
  862. $ward_list_store = $args[1]
  863. '<center><img src="images/locations/pushkin/exhibitshop/shop_name.png"></center>'
  864. gs 'clothing_QV', 'filter_header', 'store'
  865. gs 'clothing', 'clothinglist_header'
  866. !!To filter just this set
  867. clo_i = 0
  868. :loopsalacious_filter
  869. end
  870. i = 1
  871. :loopsalacious_dress
  872. if salacious_dress[i] = 1 and ($clothingworntype ! 'salacious_dress' or clothingwornnumber ! i):
  873. gs 'clothing_attributes', 'salacious_dress', i
  874. gs 'clothing_QV', 'clo_filter'
  875. !!sort by filter
  876. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  877. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1 and clothingfilter['sport_only'] = 0 and clothingfilter['swim_only'] = 0:*P dyneval($clothing_list_line, $ward_list_page, 'salacious_dress', i)
  878. end
  879. end
  880. i += 1
  881. if i <= ARRSIZE('salacious_dress'):jump 'loopsalacious_dress'
  882. $ward_list_store = $args[1]
  883. i = 1
  884. :loopsalacious_outfits
  885. if salacious_outfits[i] = 1 and ($clothingworntype ! 'salacious_outfits' or clothingwornnumber ! i):
  886. gs 'clothing_attributes', 'salacious_outfits', i
  887. gs 'clothing_QV', 'clo_filter'
  888. !!sort by filter
  889. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  890. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1 and clothingfilter['sport_only'] = 0 and clothingfilter['swim_only'] = 0:*P dyneval($clothing_list_line, $ward_list_page, 'salacious_outfits', i)
  891. end
  892. end
  893. i += 1
  894. if i <= ARRSIZE('salacious_outfits'):jump 'loopsalacious_outfits'
  895. if $args[1] ! 'all':
  896. clo_i += 1
  897. if clothingfilter['quality'] = 0 and clo_i <= 7:
  898. jump 'loopsalacious_filter'
  899. elseif clothingfilter['inhibition'] = 0 and clo_i <= 40:
  900. jump 'loopsalacious_filter'
  901. end
  902. end
  903. act 'Return': killvar '$ward_list_store' & gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
  904. gs 'clothing', 'clothwidth'
  905. end
  906. if $args[1] = 'dolls' or $args[1] = 'all':
  907. if $args[1] ! 'all':
  908. $ward_list_store = $args[1]
  909. '<center><img src="images/locations/city/island/dolls/shop_name.png"></center>'
  910. gs 'clothing_QV', 'filter_header', 'store'
  911. gs 'clothing', 'clothinglist_header'
  912. !!To filter just this set
  913. clo_i = 0
  914. :loopdolls_filter
  915. end
  916. i = 1
  917. :loopdolls_outfits
  918. if dolls_outfits[i] = 1 and ($clothingworntype ! 'dolls_outfits' or clothingwornnumber ! i):
  919. gs 'clothing_attributes', 'dolls_outfits', i
  920. gs 'clothing_QV', 'clo_filter'
  921. !!sort by filter
  922. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  923. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1 and clothingfilter['sport_only'] = 0 and clothingfilter['swim_only'] = 0:*P dyneval($clothing_list_line, $ward_list_page, 'dolls_outfits', i)
  924. end
  925. end
  926. i += 1
  927. if i <= ARRSIZE('dolls_outfits'):jump 'loopdolls_outfits'
  928. $ward_list_store = $args[1]
  929. i = 1
  930. :loopdolls_dress
  931. if dolls_dress[i] = 1 and ($clothingworntype ! 'dolls_dress' or clothingwornnumber ! i):
  932. gs 'clothing_attributes', 'dolls_dress', i
  933. gs 'clothing_QV', 'clo_filter'
  934. !!sort by filter
  935. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  936. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1 and clothingfilter['sport_only'] = 0 and clothingfilter['swim_only'] = 0:*P dyneval($clothing_list_line, $ward_list_page, 'dolls_dress', i)
  937. end
  938. end
  939. i += 1
  940. if i <= ARRSIZE('dolls_dress'):jump 'loopdolls_dress'
  941. if $args[1] ! 'all':
  942. clo_i += 1
  943. if clothingfilter['quality'] = 0 and clo_i <= 7:
  944. jump 'loopdolls_filter'
  945. elseif clothingfilter['inhibition'] = 0 and clo_i <= 40:
  946. jump 'loopdolls_filter'
  947. end
  948. end
  949. act 'Return': killvar '$ward_list_store' & gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
  950. gs 'clothing', 'clothwidth'
  951. end
  952. if $args[1] = 'bomba' or $args[1] = 'all':
  953. if $args[1] ! 'all':
  954. $ward_list_store = $args[1]
  955. '<center><img src="images/locations/pushkin/bomba/shop_name.png"></center>'
  956. gs 'clothing_QV', 'filter_header', 'store'
  957. gs 'clothing', 'clothinglist_header'
  958. !!To filter just this set
  959. clo_i = 0
  960. :loopbomba_filter
  961. end
  962. i = 1
  963. :loopbomba_outfits
  964. if bomba_outfits[i] = 1 and ($clothingworntype ! 'bomba_outfits' or clothingwornnumber ! i):
  965. gs 'clothing_attributes', 'bomba_outfits', i
  966. gs 'clothing_QV', 'clo_filter'
  967. !!sort by filter
  968. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  969. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1 and clothingfilter['sport_only'] = 0 and clothingfilter['swim_only'] = 0:*P dyneval($clothing_list_line, $ward_list_page, 'bomba_outfits', i)
  970. end
  971. end
  972. i += 1
  973. if i <= ARRSIZE('bomba_outfits'):jump 'loopbomba_outfits'
  974. i = 1
  975. :loopbomba_dress
  976. if bomba_dress[i] = 1 and ($clothingworntype ! 'bomba_dress' or clothingwornnumber ! i):
  977. gs 'clothing_attributes', 'bomba_dress', i
  978. gs 'clothing_QV', 'clo_filter'
  979. !!sort by filter
  980. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  981. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1 and clothingfilter['sport_only'] = 0 and clothingfilter['swim_only'] = 0:*P dyneval($clothing_list_line, $ward_list_page, 'bomba_dress', i)
  982. end
  983. end
  984. i += 1
  985. if i <= ARRSIZE('bomba_dress'):jump 'loopbomba_dress'
  986. if $args[1] ! 'all':
  987. clo_i += 1
  988. if clothingfilter['quality'] = 0 and clo_i <= 7:
  989. jump 'loopbomba_filter'
  990. elseif clothingfilter['inhibition'] = 0 and clo_i <= 40:
  991. jump 'loopbomba_filter'
  992. end
  993. end
  994. act 'Return': killvar '$ward_list_store' & gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
  995. gs 'clothing', 'clothwidth'
  996. end
  997. if $args[1] = 'nerdvana' or $args[1] = 'all':
  998. if $args[1] ! 'all':
  999. $ward_list_store = $args[1]
  1000. '<center><img src="images/locations/city/island/nerdvana/shop_name.png"></center>'
  1001. gs 'clothing_QV', 'filter_header', 'store'
  1002. gs 'clothing', 'clothinglist_header'
  1003. !!To filter just this set
  1004. clo_i = 0
  1005. :loopnerdvana_filter
  1006. end
  1007. i = 1
  1008. :loopnerdvana_outfits
  1009. if nerdvana_outfits[i] = 1 and ($clothingworntype ! 'nerdvana_outfits' or clothingwornnumber ! i):
  1010. gs 'clothing_attributes', 'nerdvana_outfits', i
  1011. gs 'clothing_QV', 'clo_filter'
  1012. !!sort by filter
  1013. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  1014. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1 and clothingfilter['sport_only'] = 0 and clothingfilter['swim_only'] = 0:*P dyneval($clothing_list_line, $ward_list_page, 'nerdvana_outfits', i)
  1015. end
  1016. end
  1017. i += 1
  1018. if i <= ARRSIZE('nerdvana_outfits'):jump 'loopnerdvana_outfits'
  1019. i = 1
  1020. :loopnerdvana_cosplay
  1021. if nerdvana_cosplay[i] = 1 and ($clothingworntype ! 'nerdvana_cosplay' or clothingwornnumber ! i):
  1022. gs 'clothing_attributes', 'nerdvana_cosplay', i
  1023. gs 'clothing_QV', 'clo_filter'
  1024. !!sort by filter
  1025. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  1026. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1 and clothingfilter['sport_only'] = 0 and clothingfilter['swim_only'] = 0:*P dyneval($clothing_list_line, $ward_list_page, 'nerdvana_cosplay', i)
  1027. end
  1028. end
  1029. i += 1
  1030. if i <= ARRSIZE('nerdvana_cosplay'):jump 'loopnerdvana_cosplay'
  1031. i = 1
  1032. :loopnerdvana_bikinis
  1033. if nerdvana_bikinis[i] = 1 and ($clothingworntype ! 'nerdvana_bikinis' or clothingwornnumber ! i):
  1034. gs 'clothing_attributes', 'nerdvana_bikinis', i
  1035. gs 'clothing_QV', 'clo_filter'
  1036. !!sort by filter
  1037. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  1038. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1 and clothingfilter['sport_only'] = 0 and clothingfilter['swim'] = 0:*P dyneval($clothing_list_line, $ward_list_page, 'nerdvana_bikinis', i)
  1039. end
  1040. end
  1041. i += 1
  1042. if i <= ARRSIZE('nerdvana_bikinis'):jump 'loopnerdvana_bikinis'
  1043. $ward_list_store = $args[1]
  1044. i = 1
  1045. :loopnerdvana_swimsuit
  1046. if nerdvana_swimsuit[i] = 1 and ($clothingworntype ! 'nerdvana_swimsuit' or clothingwornnumber ! i):
  1047. gs 'clothing_attributes', 'nerdvana_swimsuit', i
  1048. gs 'clothing_QV', 'clo_filter'
  1049. !!sort by filter
  1050. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  1051. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1 and clothingfilter['sport_only'] = 0 and clothingfilter['swim'] = 0:*P dyneval($clothing_list_line, $ward_list_page, 'nerdvana_swimsuit', i)
  1052. end
  1053. end
  1054. i += 1
  1055. if i <= ARRSIZE('nerdvana_swimsuit'):jump 'loopnerdvana_swimsuit'
  1056. if $args[1] ! 'all':
  1057. clo_i += 1
  1058. if clothingfilter['quality'] = 0 and clo_i <= 7:
  1059. jump 'loopnerdvana_filter'
  1060. elseif clothingfilter['inhibition'] = 0 and clo_i <= 40:
  1061. jump 'loopnerdvana_filter'
  1062. end
  1063. end
  1064. act 'Return': killvar '$ward_list_store' & gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
  1065. gs 'clothing', 'clothwidth'
  1066. end
  1067. if $args[1] = 'sports' or $args[1] = 'all':
  1068. if $args[1] ! 'all':
  1069. $ward_list_store = $args[1]
  1070. if clothingfilter['sport'] = 1: '<center>Displaying despite sport filter being active</center>'
  1071. '<center><img src="images/locations/city/citycenter/mall/sports.png"></center>'
  1072. gs 'clothing_QV', 'filter_header', 'store'
  1073. gs 'clothing', 'clothinglist_header'
  1074. !!To filter just this set
  1075. clo_i = 0
  1076. :loopdanilovich_outfits_filter
  1077. end
  1078. i = 1
  1079. :loopdanilovich_outfits
  1080. if danilovich_outfits[i] = 1 and ($clothingworntype ! 'danilovich_outfits' or clothingwornnumber ! i):
  1081. gs 'clothing_attributes', 'danilovich_outfits', i
  1082. gs 'clothing_QV', 'clo_filter'
  1083. !!sort by filter
  1084. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  1085. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1 and clothingfilter['sport'] = 0 and clothingfilter['swim_only'] = 0:*P dyneval($clothing_list_line, $ward_list_page, 'danilovich_outfits', i)
  1086. end
  1087. end
  1088. i += 1
  1089. if i <= ARRSIZE('danilovich_outfits'):jump 'loopdanilovich_outfits'
  1090. i = 1
  1091. :loopdanilovich_swimsuit
  1092. if danilovich_swimsuit[i] = 1:
  1093. gs 'clothing_attributes', 'danilovich_swimsuit', i
  1094. gs 'clothing_QV', 'clo_filter'
  1095. !!sort by filter
  1096. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  1097. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1 and clothingfilter['sport_only'] = 0 and clothingfilter['swim'] = 0:*P dyneval($clothing_list_line, $ward_list_page, 'danilovich_swimsuit', i)
  1098. end
  1099. end
  1100. i += 1
  1101. if i <= ARRSIZE('danilovich_swimsuit'):jump 'loopdanilovich_swimsuit'
  1102. if $args[1] ! 'all':
  1103. clo_i += 1
  1104. if clothingfilter['quality'] = 0 and clo_i <= 7:
  1105. jump 'loopdanilovich_outfits_filter'
  1106. elseif clothingfilter['inhibition'] = 0 and clo_i <= 40:
  1107. jump 'loopdanilovich_outfits_filter'
  1108. end
  1109. end
  1110. act 'Return': killvar '$ward_list_store' & gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
  1111. gs 'clothing', 'clothwidth'
  1112. end
  1113. if $args[1] = 'market' or $args[1] = 'all':
  1114. if $args[1] ! 'all':
  1115. $ward_list_store = $args[1]
  1116. '<center><img src="images/pc/items/market/market.png"></center>'
  1117. gs 'clothing_QV', 'filter_header', 'store'
  1118. gs 'clothing', 'clothinglist_header'
  1119. !!To filter just this set
  1120. clo_i = 0
  1121. :loopmarket_outfits_filter
  1122. end
  1123. i = 1
  1124. :loopmarket_outfits
  1125. if market_outfits[i] = 1 and ($clothingworntype ! 'market_outfits' or clothingwornnumber ! i):
  1126. gs 'clothing_attributes', 'market_outfits', i
  1127. gs 'clothing_QV', 'clo_filter'
  1128. !!sort by filter
  1129. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  1130. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1 and clothingfilter['sport_only'] = 0 and clothingfilter['swim_only'] = 0:*P dyneval($clothing_list_line, $ward_list_page, 'market_outfits', i)
  1131. end
  1132. end
  1133. i += 1
  1134. if i <= ARRSIZE('market_outfits'):jump 'loopmarket_outfits'
  1135. if $args[1] ! 'all':
  1136. clo_i += 1
  1137. if clothingfilter['quality'] = 0 and clo_i <= 7:
  1138. jump 'loopmarket_outfits_filter'
  1139. elseif clothingfilter['inhibition'] = 0 and clo_i <= 40:
  1140. jump 'loopmarket_outfits_filter'
  1141. end
  1142. end
  1143. act 'Return': killvar '$ward_list_store' & gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
  1144. gs 'clothing', 'clothwidth'
  1145. end
  1146. if $args[1] = 'materinstvo' or $args[1] = 'all':
  1147. if $args[1] ! 'all':
  1148. $ward_list_store = $args[1]
  1149. '<center><img src="images/locations/city/citycenter/mall/mommy.png"></center>'
  1150. gs 'clothing_QV', 'filter_header', 'store'
  1151. gs 'clothing', 'clothinglist_header'
  1152. !!To filter just this set
  1153. clo_i = 0
  1154. :loopmaterinstvo_dress_filter
  1155. end
  1156. i = 1
  1157. :loopmaterinstvo_dress
  1158. if materinstvo_dress[i] = 1 and ($clothingworntype ! 'materinstvo_dress' or clothingwornnumber ! i):
  1159. gs 'clothing_attributes', 'materinstvo_dress', i
  1160. gs 'clothing_QV', 'clo_filter'
  1161. !!sort by filter
  1162. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  1163. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1 and clothingfilter['sport_only'] = 0 and clothingfilter['swim_only'] = 0:*P dyneval($clothing_list_line, $ward_list_page, 'materinstvo_dress', i)
  1164. end
  1165. end
  1166. i += 1
  1167. if i <= ARRSIZE('materinstvo_dress'):jump 'loopmaterinstvo_dress'
  1168. if $args[1] ! 'all':
  1169. clo_i += 1
  1170. if clothingfilter['quality'] = 0 and clo_i <= 7:
  1171. jump 'loopmaterinstvo_dress_filter'
  1172. elseif clothingfilter['inhibition'] = 0 and clo_i <= 40:
  1173. jump 'loopmaterinstvo_dress_filter'
  1174. end
  1175. end
  1176. act 'Return': killvar '$ward_list_store' & gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
  1177. gs 'clothing', 'clothwidth'
  1178. end
  1179. if $args[1] = 'all':
  1180. clo_i += 1
  1181. if clothingfilter['quality'] = 0 and clo_i <= 7:
  1182. jump 'loopfilter_all'
  1183. elseif clothingfilter['inhibition'] = 0 and clo_i <= 40:
  1184. jump 'loopfilter_all'
  1185. end
  1186. act 'Return': killvar '$ward_list_store' & gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
  1187. gs 'clothing', 'clothwidth'
  1188. end
  1189. '</table>'
  1190. end
  1191. if $ARGS[0] = 'clothinglist_header':
  1192. '<table border=0 cellspacing=0 cellpadding=5><TH></TH><TH>Strength</TH><TH>Hip size</TH><TH>Description</TH><TH>Specials</TH><TH>Wardrobe</TH><TH>Storage</TH><TH>Unwanted (Sell)</TH><TH>Attempt Repair (0:30)</TH><TH>Resize(0:30)</TH><TH>Throw Out</TH>'
  1193. end
  1194. if $ARGS[0] = 'clothwidth':
  1195. act 'Set image size for this view':
  1196. Enable_clothwidth = input("Enter height in pixels you want for images on this page <br>(Default 150, min 50, max 500)")
  1197. if Enable_clothwidth < 50:
  1198. Enable_clothwidth = 50
  1199. elseif Enable_clothwidth > 500:
  1200. Enable_clothwidth = 500
  1201. end
  1202. gt 'clothing', 'clothing_list', '<<$ward_list_store>>'
  1203. end
  1204. end
  1205. if $ARGS[0] = 'view_clothing_item':
  1206. !! ARGS 0 - view_clothing_item
  1207. !! ARGS 1 - clothing type
  1208. !! ARGS 2 - clothing index
  1209. !! ARGS 3 - price for shop
  1210. !! ARGS 4 = action type (wardrobe, shop, sell, resize)
  1211. $swimwear_description = ''
  1212. cla
  1213. '<center><img src="<<FUNC(''$clothing_image'', $ARGS[1], ARGS[2])>>"></center>'
  1214. gs 'clothing_attributes', $ARGS[1], ARGS[2]
  1215. $RESULT = FUNC('$short_description', $ARGS[1], CloStyle2)
  1216. $RESULT += '<<ARGS[2]>>'
  1217. '<<$RESULT>>'
  1218. if $ARGS[1] = 'misc_outfits' and ARGS[2] = 1:
  1219. 'A hessian sack the hunters gave you.'
  1220. elseif $swimwear_description = '':
  1221. gs 'clothing_descriptions'
  1222. '<<$description>>'
  1223. else
  1224. $swimwear_description
  1225. end
  1226. if CloBimbo = 1 and cheatbimbo = 0:'This item is considered bimbo clothing.'
  1227. if CloStyle = 4:'This outfit can be used for prostitution.'
  1228. if CloInhibit > 10:
  1229. 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.'
  1230. end
  1231. !!CloStyle2: 1 Maid, 2 Server, 3 Stripper, 4 School
  1232. if CloStyle2 = 1: 'This is a maid outfit.'
  1233. if CloStyle2 = 2: 'This outfit is a server uniform.'
  1234. if CloStyle2 = 3: 'This outfit is a stripper uniform, suitable for jobs that require one.'
  1235. if CloStyle2 = 4: gs 'clothing', 'school_check'
  1236. if $ARGS[4] ! 'shop' and ($ARGS[1] ! 'gm_school' or ARGS[2] ! 6):
  1237. $RESULT = '(strength '
  1238. dynamic '$RESULT += <<$ARGS[1]>>_h[<<ARGS[2]>>]'
  1239. if $ARGS[1] ! 'danilovich_outfits' and $ARGS[1] ! 'coat' and CloStyle ! 5:
  1240. $RESULT += ', hip size '
  1241. dynamic '$RESULT += <<$ARGS[1]>>_b[<<ARGS[2]>>]'
  1242. end
  1243. $RESULT += ')'
  1244. '<<$RESULT>>'
  1245. end
  1246. if $ARGS[4] = 'shop':
  1247. if dyneval('RESULT = <<$ARGS[1]>>[<<ARGS[2]>>]') = 1:
  1248. 'You already own this item.'
  1249. act 'Leave': gt $loc, $loc_arg
  1250. else
  1251. if $ARGS[1] = 'coat' and ARGS[2] = 5:
  1252. price = ARGS[3]
  1253. else
  1254. price = ('<<ARGS[3]>>' * ((5 * CloQuality) + 100) / 100) * 1000 / (1250 - Clothingstock[ARGS[2]]) * 3 / 2
  1255. price = price / 50 * 50
  1256. end
  1257. 'Price: <<price>> <b>₽</b>'
  1258. act 'Leave': gt $loc, $loc_arg
  1259. if CloInhibit > pcs_inhib:
  1260. 'You don''t feel daring enough to wear an outfit this revealing and can''t bring yourself to buy it.'
  1261. elseif karta + bankDebtLimit < Price and money < Price:
  1262. 'You cannot afford this outfit.'
  1263. else
  1264. if money >= Price:
  1265. act 'Buy (cash)':
  1266. h = 0
  1267. if CloStyle = 2:h = 10
  1268. if CloStyle = 5:h = 20
  1269. h += (3 * CloQuality)
  1270. money -= price
  1271. gs 'clothing', 'view_clothing_item_buy', $ARGS[4], $ARGS[1], ARGS[2], ARGS[3]
  1272. end
  1273. end
  1274. if karta + bankDebtLimit >= Price:
  1275. act 'Buy (card)':
  1276. h = 0
  1277. if CloStyle = 2:h = 10
  1278. if CloStyle = 5:h = 20
  1279. h += (3 * CloQuality)
  1280. karta -= price
  1281. gs 'clothing', 'view_clothing_item_buy', $ARGS[4], $ARGS[1], ARGS[2], ARGS[3]
  1282. end
  1283. end
  1284. end
  1285. end
  1286. elseif $ARGS[4] = 'wardrobe':
  1287. act 'Return':gt 'clothing', 'clothing_list', '<<$ward_list_store>>'
  1288. if $ARGS[1] ! 'gm_school' or ARGS[2] ! 6:
  1289. !! if the clothing is worn out
  1290. if dyneval('RESULT = <<$ARGS[1]>>_h[<<ARGS[2]>>]') <= 0:
  1291. 'This item is worn and is not suitable for further wear.'
  1292. if pcs_sewng >= 60 and tkan > 0:
  1293. cla
  1294. 'You can repair this thanks to your sewing skill.'
  1295. act 'Repair item':
  1296. if rand (1, 100) < 30:
  1297. *clr
  1298. cla
  1299. tkan -= 1
  1300. minut += 30
  1301. dynamic $ARGS[1] + '_h[<<ARGS[2]>>] += 30'
  1302. '<center><img <<$set_imgh>> src="images/pc/activities/sewing/fix' + rand(1,2) + '.jpg"></center>'
  1303. 'You spend 30 minutes fixing the outfit.'
  1304. act 'Return':gt 'clothing', 'clothing_list', '<<$ward_list_store>>'
  1305. else
  1306. *clr
  1307. cla
  1308. tkan += 3
  1309. minut += 30
  1310. dynamic $ARGS[1] + '[<<ARGS[2]>>] = 0'
  1311. '<center><img <<$set_imgh>> src="images/pc/activities/sewing/fix' + rand(1,2) + '.jpg"></center>'
  1312. '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.'
  1313. act 'Return': gt 'clothing', 'clothing_list', '<<$ward_list_store>>'
  1314. end
  1315. end
  1316. act 'Return': gt 'clothing', 'clothing_list', '<<$ward_list_store>>'
  1317. end
  1318. exit
  1319. end
  1320. !! if the clothing is a type that checks for hip size
  1321. if $ARGS[1] ! 'danilovich_outfits' and CloStyle ! 5:
  1322. !! if the hipsize is too far from your hipsize
  1323. dynamic 'RESULT = <<$ARGS[1]>>_b[<<ARGS[2]>>]'
  1324. if RESULT < pcs_hips - 8 or RESULT > pcs_hips + 8:
  1325. if RESULT < pcs_hips:
  1326. 'This item is too small for you to wear.'
  1327. else
  1328. 'This item is too large for you to wear.'
  1329. end
  1330. if pcs_sewng >= 50 and tkan > 0:
  1331. cla & *nl
  1332. 'You can resize this thanks to your sewing skill.'
  1333. act 'Resize item':
  1334. cla
  1335. tkan -= 1
  1336. minut += 30
  1337. dynamic $ARGS[1] + '_b[<<ARGS[2]>>] = pcs_hips'
  1338. 'You spend 30 minutes resizing the outfit.'
  1339. act 'Return':gt 'clothing', 'clothing_list', '<<$ward_list_store>>'
  1340. end
  1341. elseif $loc_arg = 'tailor':
  1342. cla & *nl
  1343. if money >= 500:
  1344. 'You can pay to have this resized for (500 <b>₽</b>).'
  1345. act 'Resize item':
  1346. minut += 15
  1347. money -= 500
  1348. dynamic $ARGS[1] + '_b[<<ARGS[2]>>] = pcs_hips'
  1349. *nl
  1350. '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.'
  1351. act 'Return':gt 'clothing', 'clothing_list', '<<$ward_list_store>>'
  1352. end
  1353. else
  1354. 'You cannot afford to have this resized.'
  1355. end
  1356. end
  1357. exit
  1358. end
  1359. end
  1360. end
  1361. if $ARGS[1] ! 'danilovich_swimsuit' and $ARGS[1] ! 'scandalicious_bikinis' and $ARGS[1] ! 'scandalicious_swimsuit' and $ARGS[1] ! 'allure_bikinis' and $ARGS[1] ! 'allure_bikinis':
  1362. if CloInhibit > pcs_inhib:
  1363. 'You don''t feel daring enough to wear an outfit this revealing.'
  1364. elseif ARRPOS('$CloLosTyp', $ARGS[1]) ! -1 and ARRPOS('CloLosNum',ARGS[2]) ! -1 :
  1365. 'You lost these clothes somewhere, maybe you can find them again?.'
  1366. else
  1367. act 'Wear':
  1368. gs 'clothing', 'wear', $ARGS[1], ARGS[2]
  1369. gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>', '<<$ward_list_store>>'
  1370. end
  1371. end
  1372. end
  1373. elseif $ARGS[4] = 'store' or $ARGS[4] = 'unwanted':
  1374. act 'Return':gt 'clothing', 'clothing_list', '<<$ward_list_store>>'
  1375. if $ARGS[1] ! 'coat':
  1376. act 'Move back to wardrobe':
  1377. dynamic $ARGS[1] + '_s[<<ARGS[2]>>] = 0'
  1378. gt 'clothing', 'clothing_list', '<<$ward_list_store>>'
  1379. end
  1380. end
  1381. elseif $ARGS[4] = 'sell':
  1382. $ward_list_page = $ARGS[4]
  1383. act 'Keep item':gt 'clothing', 'clothing_list', '<<$ward_list_store>>'
  1384. !! value is based on the strength remaining
  1385. dynamic 'RESULT = <<$ARGS[1]>>_h[<<ARGS[2]>>]'
  1386. if RESULT > 45:
  1387. 'You can sell this item for 500 <b>₽</b>.'
  1388. act 'Sell':
  1389. dynamic '<<$ARGS[1]>>[<<ARGS[2]>>] = 0'
  1390. money += 500
  1391. gt 'clothing', 'clothing_list', '<<$ward_list_store>>'
  1392. end
  1393. elseif RESULT > 30:
  1394. 'You can sell this item for 300 <b>₽</b>.'
  1395. act 'Sell':
  1396. dynamic '<<$ARGS[1]>>[<<ARGS[2]>>] = 0'
  1397. money += 300
  1398. gt 'clothing', 'clothing_list', '<<$ward_list_store>>'
  1399. end
  1400. elseif RESULT > 0:
  1401. 'You can sell this item for 100 <b>₽</b>.'
  1402. act 'Sell':
  1403. dynamic '<<$ARGS[1]>>[<<ARGS[2]>>] = 0'
  1404. money += 100
  1405. gt 'clothing', 'clothing_list', '<<$ward_list_store>>'
  1406. end
  1407. else
  1408. 'This item is too worn to have any sale value.'
  1409. act 'Throw it away':
  1410. dynamic '<<$ARGS[1]>>[<<ARGS[2]>>] = 0'
  1411. gt 'clothing', 'clothing_list', '<<$ward_list_store>>'
  1412. end
  1413. end
  1414. elseif $ARGS[4] = 'resize':
  1415. act 'Leave item alone':gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>', '<<$ward_list_store>>'
  1416. if $ARGS[1] ! 'danilovich_outfits' and $ARGS[1] ! 'coat' and CloStyle ! 5:
  1417. if dyneval('RESULT = <<$ARGS[1]>>_b[<<ARGS[2]>>]') ! pcs_hips and money >= 500:
  1418. 'You can have this resized for 500 <b>₽</b>.'
  1419. act 'Resize':
  1420. money -= 500
  1421. dynamic '<<$ARGS[1]>>_b[<<ARGS[2]>>] = pcs_hips'
  1422. gt 'clothing', 'view_clothing_list', 'resize'
  1423. end
  1424. end
  1425. end
  1426. end
  1427. end
  1428. if $args[0] = 'school_check':
  1429. if CloInhibit <= 10:
  1430. '<font color="blue">This uniform is very conservative. Only the nerds would approve of you wearing it.</font>'
  1431. elseif CloSkirtShortness < 5 and CloThinness < 5 and CloBra = 0:
  1432. if CloInhibit >= 30 or CloTopCut = 4:
  1433. '<font color="red">This uniform, despite meeting the school uniform regulations, is too risqué. Everybody in school will think that you''re a slut apart from the gopniks who will respect you for beating the school rules.</font>'
  1434. elseif CloStyle = 2:
  1435. '<font color="blue">This uniform follows the school regulation on skirt length but is of a style that appeals to Gopniks.</font>'
  1436. elseif CloQuality >= 4:
  1437. '<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>'
  1438. else
  1439. '<font color="blue">This uniform complies with the school regulations on skirt length. Nobody in school would be offended by you wearing it.</font>'
  1440. end
  1441. elseif CloSkirtShortness = 5 and CloThinness < 5 and CloBra = 0:
  1442. if CloInhibit >= 35:
  1443. '<font color="red">This uniform slightly breaches the school uniform regulations and it is too risqué. Everybody in school apart from the gopniks will think that you''re a slut.</font>'
  1444. elseif CloStyle = 2:
  1445. '<font color="blue">This uniform slightly breaches the school regulations on skirt length and is of a style that appeals to Gopniks.</font>'
  1446. elseif CloQuality >= 4:
  1447. '<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>'
  1448. else
  1449. '<font color="blue">This uniform slightly breaches the school regulations on skirt length. The gopnik would approve of you wearing it and they will respect you for beating the school rules.</font>'
  1450. end
  1451. else
  1452. '<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>'
  1453. end
  1454. end
  1455. if $ARGS[0] = 'view_clothing_item_buy':
  1456. dynamic $ARGS[2] + '[<<ARGS[3]>>] = 1'
  1457. if $ARGS[2] = 'gm_outfits' or $ARGS[2] = 'gm_dress' or $ARGS[2] = 'gm_office':
  1458. dynamic $ARGS[2] + '_h[<<ARGS[3]>>] = 70 + <<h>>'
  1459. 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' or $ARGS[2] = 'nerdvana_cosplay' or $ARGS[2] = 'nerdvana_outfits':
  1460. dynamic $ARGS[2] + '_h[<<ARGS[3]>>] = 90 + <<h>>'
  1461. elseif $ARGS[2] = 'moncheri_gown' or $ARGS[2] = 'moncheri_dress':
  1462. dynamic $ARGS[2] + '_h[<<ARGS[3]>>] = 25 + <<h>>'
  1463. elseif $ARGS[2] = 'eroto_dress' or $ARGS[2] = 'eroto_outfits' or $ARGS[2] = 'eroto_strip' or $ARGS[2] = 'salacious_outfits' or $ARGS[2] = 'salacious_dress' or $ARGS[2] = 'fancy_burlesque':
  1464. dynamic $ARGS[2] + '_h[<<ARGS[3]>>] = 40 + <<h>>'
  1465. elseif $ARGS[2] = 'gm_school' or $ARGS[2] = 'gm_maid' or $ARGS[2] = 'gm_server':
  1466. dynamic $ARGS[2] + '_h[<<ARGS[3]>>] = 120 + <<h>>'
  1467. elseif $ARGS[2] = 'danilovich_outfits':
  1468. dynamic $ARGS[2] + '_h[<<ARGS[3]>>] = 100 + <<h>>'
  1469. else
  1470. dynamic $ARGS[2] + '_h[<<ARGS[3]>>] = 60 + <<h>>'
  1471. end
  1472. dynamic $ARGS[2] + '_b[<<ARGS[3]>>] = pcs_hips'
  1473. dynamic $ARGS[2] + '_s[<<ARGS[3]>>] = 0'
  1474. gs 'stat'
  1475. if $ARGS[1] ! 'skip': gt $loc, $loc_arg
  1476. end
  1477. if $ARGS[0] = 'strip_all':
  1478. $strip_loc = $ARGS[1]
  1479. gs 'underwear', 'remove'
  1480. gs 'clothing', 'strip', $strip_loc
  1481. end
  1482. if $ARGS[0] = 'dispose':
  1483. dynamic $clothingworntype + '[<<clothingwornnumber>>] = 0'
  1484. $lastwornclothingtype = 'none'
  1485. lastwornclothingnumber = 0
  1486. gs 'clothing', 'strip_code'
  1487. end
  1488. if $ARGS[0] = 'strip':
  1489. !$strip_loc = location when stripping outdoors
  1490. $strip_loc = $ARGS[1]
  1491. if $clothingworntype = 'nude': exit
  1492. cumspclnt = 6
  1493. gs 'cum_cleanup'
  1494. if PCloStyle2 = 4:
  1495. $schbrand = $clothingworntype
  1496. schtype = clothingwornnumber
  1497. end
  1498. if $strip_loc ! '' :
  1499. DYNAMIC '$CloLos<<$clothingworntype>>[<<clothingwornnumber>>]=<<$strip_loc>>'
  1500. $CloLosLoc[] = $strip_loc
  1501. $CloLosTyp[$strip_loc] = $clothingworntype
  1502. CloLosNum[$strip_loc] = clothingwornnumber
  1503. CloLosDay[$strip_loc] = daystart
  1504. KILLVAR '$lastwornclothingtype'
  1505. KILLVAR 'lastwornclothingnumber'
  1506. else
  1507. $lastwornclothingtype = $clothingworntype
  1508. lastwornclothingnumber = clothingwornnumber
  1509. end
  1510. killvar '$strip_loc'
  1511. gs 'clothing', 'strip_code'
  1512. end
  1513. if $ARGS[0] = 'strip_code':
  1514. $clothingworntype = 'nude'
  1515. clothingwornnumber = 0
  1516. CloQuality = 0
  1517. CloThinness = 0
  1518. CloTopCut = 0
  1519. CloBra = 0
  1520. CloPantsShortness = 0
  1521. CloSkirtShortness = 0
  1522. CloPanties = 0
  1523. CloStyle = 0
  1524. CloStyle2 = 0
  1525. CloBimbo = 0
  1526. CloOnePiece = 0
  1527. PShoQuaility = 0
  1528. PShoCut = 0
  1529. PShoHeels = 0
  1530. PShoStyle = 0
  1531. PCloDress = 0
  1532. PCloPanties = 0
  1533. PCloBra = 0
  1534. PCloQuality = 0
  1535. PCloThinness = 0
  1536. PCloTopCut = 0
  1537. PCloPants = 0
  1538. PCloSkirt = 0
  1539. PCloStyle = 0
  1540. PCloStyle2 = 0
  1541. PCloStyle3 = 0
  1542. PCloBimbo = 0
  1543. PCloInhibit = 0
  1544. PCloOnePiece = 0
  1545. PCloswimwear = 0
  1546. PXCloThinness = 0
  1547. PXCloTopCut = 0
  1548. PXCloBottomShortness = 0
  1549. PCloCoverTop = 4
  1550. PCloCoverBack = 4
  1551. PCloCoverFront = 4
  1552. gs 'clothing', 'exposure_calc'
  1553. end
  1554. if $ARGS[0] = 'recover_lost_clothes':
  1555. !$ARGS[1] = location
  1556. !ARGS[2] = 1 : wear the clothes, ARGS[2] = 2 : Return to shop (lost FOREVAH!)
  1557. $cloLoc = $ARGS[1]
  1558. cloAction = ARGS[2]
  1559. $clothType = $CloLosTyp[$cloLoc]
  1560. clothNumber = CloLosNum[$cloLoc]
  1561. dayLost = CloLosDay[$cloLoc]
  1562. DYNAMIC 'KILLVAR ''$CloLos<<$clothingworntype>>'', <<clothingwornnumber>>'
  1563. findLocInd = ARRPOS('$CloLosTyp', $clothType)
  1564. KILLVAR '$CloLosTyp', findLocInd
  1565. findLocInd = ARRPOS('CloLosNum', clothNumber)
  1566. KILLVAR 'CloLosNum', findLocInd
  1567. findLocInd = ARRPOS('CloLosDay', CloLosDay[$cloLoc])
  1568. KILLVAR 'CloLosDay', findLocInd
  1569. findLocInd = ARRPOS('$CloLosLoc', $cloLoc)
  1570. KILLVAR '$CloLosLoc', findLocInd
  1571. KILLVAR 'findLocInd'
  1572. if cloAction = 1:
  1573. gs 'clothing', 'wear', $clothType, clothNumber
  1574. elseif cloAction = 2 :
  1575. dynamic $clothType + '_s[<<clothNumber>>] = 1'
  1576. end
  1577. KILLVAR '$cloLoc'
  1578. KILLVAR 'cloAction'
  1579. KILLVAR '$clothType'
  1580. KILLVAR 'clothNumber'
  1581. end
  1582. if $ARGS[0] = 'wear':
  1583. !! ARGS 0 - action
  1584. !! ARGS 1 - clothing type name
  1585. !! ARGS 2 - clothing index
  1586. gs 'clothing', 'strip'
  1587. $clothingworntype = $ARGS[1]
  1588. clothingwornnumber = ARGS[2]
  1589. dynamic $ARGS[1] + '_w[<<ARGS[2]>>] = 1'
  1590. gs 'clothing_attributes', $ARGS[1], ARGS[2]
  1591. dynamic '<<$ARGS[1]>>_s[<<ARGS[2]>>] = 0'
  1592. if CloStyle2 = 4:
  1593. $schbrand = $clothingworntype
  1594. schtype = clothingwornnumber
  1595. end
  1596. PCloQuality = CloQuality
  1597. PCloThinness = CloThinness
  1598. PCloTopCut = CloTopCut
  1599. PCloBra = CloBra
  1600. PCloOnePiece = CloOnePiece
  1601. PCloPants = CloPantsShortness
  1602. PCloSkirt = CloSkirtShortness
  1603. PCloPanties = CloPanties
  1604. PCloDress = CloDress
  1605. PCloStyle = CloStyle
  1606. PCloStyle2 = CloStyle2
  1607. PCloStyle3 = CloStyle3
  1608. PCloInhibit = CloInhibit
  1609. if cheatbimbo = 0:
  1610. PCloBimbo = CloBimbo
  1611. end
  1612. PCloCoverTop = CloCoverTop
  1613. PCloCoverBack = CloCoverBack
  1614. PCloCoverFront = CloCoverFront
  1615. gs 'clothing', 'exposure_calc'
  1616. if PCloTopCut > 1:
  1617. if tits = 2 or tits = 3: PCloTopCut += 1
  1618. if tits >= 4: PCloTopCut += 2
  1619. if PCloTopCut > 2 and tits >=6: PCloTopCut += 1
  1620. end
  1621. !Calculations for clothing beauty, multiplied by natural beauty
  1622. if PCloThinness > 0:
  1623. if PCloThinness = 1:
  1624. PXCloThinness = 150
  1625. elseif PCloThinness = 2:
  1626. PXCloThinness = 200
  1627. elseif PCloThinness = 3:
  1628. PXCloThinness = 250
  1629. elseif PCloThinness = 4:
  1630. PXCloThinness = 300
  1631. elseif PCloThinness = 5:
  1632. PXCloThinness = 350
  1633. elseif PCloThinness = 6:
  1634. PXCloThinness = 400
  1635. end
  1636. end
  1637. if PCloTopCut > 0:
  1638. if PCloTopCut = 1:
  1639. PXCloTopCut = 100
  1640. elseif PCloTopCut = 2:
  1641. PXCloTopCut = 150
  1642. elseif PCloTopCut = 3:
  1643. PXCloTopCut = 200
  1644. elseif PCloTopCut = 4:
  1645. PXCloTopCut = 250
  1646. elseif PCloTopCut = 5:
  1647. PXCloTopCut = 300
  1648. elseif PCloTopCut = 6:
  1649. PXCloTopCut = 350
  1650. elseif PCloTopCut >= 7:
  1651. PXCloTopCut = 400
  1652. end
  1653. end
  1654. if PCloBra = 1:
  1655. PXCloTopCut = 400
  1656. $braworntype = 'none'
  1657. elseif PCloBra = 2:
  1658. PXCloTopCut = 500
  1659. end
  1660. if PCloSkirt > 0:
  1661. if PCloSkirt = 1:
  1662. PXCloBottomShortness = 100
  1663. elseif PCloSkirt = 2:
  1664. PXCloBottomShortness = 150
  1665. elseif PCloSkirt = 3:
  1666. PXCloBottomShortness = 200
  1667. elseif PCloSkirt = 4:
  1668. PXCloBottomShortness = 250
  1669. elseif PCloSkirt = 5:
  1670. PXCloBottomShortness = 300
  1671. elseif PCloSkirt = 6:
  1672. PXCloBottomShortness = 350
  1673. elseif PCloSkirt >= 7:
  1674. PXCloBottomShortness = 400
  1675. end
  1676. end
  1677. if PCloPants > 0:
  1678. if PCloPants = 1:
  1679. PXCloBottomShortness = 100
  1680. elseif PCloPants = 2:
  1681. PXCloBottomShortness = 150
  1682. elseif PCloPants = 3:
  1683. PXCloBottomShortness = 200
  1684. elseif PCloPants = 4:
  1685. PXCloBottomShortness = 250
  1686. elseif PCloPants = 5:
  1687. PXCloBottomShortness = 300
  1688. elseif PCloPants = 6:
  1689. PXCloBottomShortness = 350
  1690. elseif PCloPants >= 7:
  1691. PXCloBottomShortness = 400
  1692. end
  1693. end
  1694. if PCloPanties = 1: PXCloBottomShortness = 400
  1695. if $clothingworntype = 'danilovich_swimsuit' or $clothingworntype = 'scandalicious_swimsuit' or $clothingworntype = 'scandalicious_bikinis' or $clothingworntype = 'allure_swimsuit' or $clothingworntype = 'allure_bikinis' or $clothingworntype = 'nerdvana_swimsuit' or $clothingworntype = 'nerdvana_bikinis': PCloswimwear = 1
  1696. end
  1697. if $ARGS[0] = 'exposure_calc':
  1698. CoverTop = (PCloCoverTop + PBraCover)
  1699. CoverTop = CoverTop - 4
  1700. if CoverTop < 0: CoverTop = 0
  1701. CoverBack = (PCloCoverBack + PPanCoverBack)
  1702. CoverBack = CoverBack - 4
  1703. if CoverBack < 0: CoverBack = 0
  1704. CoverFront = (PCloCoverFront + PPanCoverFront)
  1705. CoverFront = CoverFront - 4
  1706. if CoverFront < 0: CoverFront = 0
  1707. end
  1708. if $ARGS[0] = 'wear_last_worn':
  1709. !!contingency
  1710. if $lastwornclothingtype = '': $lastwornclothingtype = 'nude'
  1711. gs 'clothing', 'wear', $lastwornclothingtype, lastwornclothingnumber
  1712. end
  1713. if $ARGS[0] = 'swamp_clothes':
  1714. if ARGS[1] = 1:
  1715. !hessian clothing to owned, sets size and equipped.
  1716. misc_outfits[1] = 1
  1717. misc_outfits_s[1] = 0
  1718. misc_outfits_h[1] = 100
  1719. misc_outfits_b[1] = pcs_hips
  1720. swamp_clothes = 1
  1721. gs 'clothing', 'wear', 'misc_outfits', 1
  1722. end
  1723. if ARGS[1] = 0:
  1724. !hessian clothing no longer owned, but not unequipped.
  1725. misc_outfits[1] = 0
  1726. swamp_clothes = 0
  1727. end
  1728. end
  1729. !! Used to get price of an outfit uses the variable "price"
  1730. !! $ARGS[1] set to outfit type
  1731. !! ARGS[2] for outfit number
  1732. !! ARGS[3] the store base price
  1733. if $ARGS[0] = 'get_price':
  1734. gs 'clothing_attributes', '$ARGS[1]', ARGS[2]
  1735. price = (ARGS[3] * ((5 * CloQuality) + 100) / 100) * 1000 / (1250 - Clothingstock[ARGS[2]]) * 3 / 2
  1736. price = price / 50 * 50
  1737. end
  1738. !! use to buy outfit automatically, use with gosub
  1739. !! $ARGS[1] = item_type
  1740. !! ARGS[2] = item number
  1741. !! ARGS[3] = store price
  1742. !! $ARGS[4] = 'money' or 'karta' for payment type
  1743. if $ARGS[0] = 'quick_buy':
  1744. price = (ARGS[3] * ((5 * CloQuality) + 100) / 100) * 1000 / (1250 - Clothingstock[ARGS[2]]) * 3 / 2
  1745. price = price / 50 * 50
  1746. h = 0
  1747. if CloStyle = 2:h = 10
  1748. if CloStyle = 5:h = 20
  1749. h += (3 * CloQuality)
  1750. dynamic '<<$ARGS[4]>> -= price'
  1751. gs 'clothing', 'view_clothing_item_buy', 'skip', $ARGS[1], ARGS[2], ARGS[3]
  1752. end
  1753. --- clothing ---------------------------------