clothing.qsrc 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948
  1. # clothing
  2. menu_off = 1
  3. $clothing_list_line = {
  4. !! a single line in a clothing list (wardrobe, etc)
  5. !! ARGS 0 - action type (wardrobe, sell, resize, store, forsale)
  6. !! ARGS 1 - clothing type
  7. !! ARGS 2 - clothing index
  8. gs 'themes', 'clothing', 1
  9. $RESULT = '<TR bgcolor='+$bgcolor+'>'
  10. if Enable_clothwidth > 0:
  11. clothing_temp = Enable_clothwidth - 1
  12. else
  13. clothing_temp = 150 & !clothing widdefault to 150
  14. end
  15. $RESULT +='<TD><a href="exec:gt ''clothing'', ''view_clothing_item'', ''<<$ARGS[0]>>'', ''<<$ARGS[1]>>'', <<ARGS[2]>>"><img src="<<FUNC(''$clothing_image'', $ARGS[1], ARGS[2])>>" width="<<clothing_temp>>"><p><<$ARGS[1]>> outfit</p></a></TD>'
  16. killvar 'clothing_temp'
  17. gs 'clothing_attributes', $ARGS[1], ARGS[2]
  18. if $ARGS[1] ! 'school' or ARGS[2] ! 6:
  19. $RESULT += '<TD>' + dyneval '$RESULT += <<$ARGS[1]>>H[<<ARGS[2]>>]' + '</TD>'
  20. if $ARGS[1] ! 'exercise' and $ARGS[1] ! 'coat' and CloStyle ! 5:
  21. $RESULT += '<TD>' + dyneval '$RESULT += <<$ARGS[1]>>B[<<ARGS[2]>>]' + '</TD>'
  22. else
  23. $RESULT += '<TD></TD>'
  24. end
  25. else
  26. $RESULT += '<TD colspan="2"></TD>'
  27. end
  28. if $ARGS[1] = 'cheap' and ARGS[2] = 414:
  29. $RESULT += '<TD>A hessian sack the hunters gave you.</TD>'
  30. elseif $ARGS[1] ! 'coat' and $ARGS[1] ! 'swimwear':
  31. gs 'clothing_descriptions'
  32. $RESULT += '<TD><<FUNC(''$short_description'', $ARGS[1])>> <<ARGS[2]>><br/><br/><<$description>></TD>'
  33. else
  34. $RESULT += '<TD>' + FUNC('$clothing_name', $ARGS[1], ARGS[2]) + '</TD>'
  35. end
  36. if CloBimbo = 1:
  37. $RESULT += '<TD>Yes</TD>'
  38. else
  39. $RESULT += '<TD>No</TD>'
  40. end
  41. if CloStyle = 4:
  42. $RESULT += '<TD>Yes</TD>'
  43. else
  44. $RESULT += '<TD>No</TD>'
  45. end
  46. $RESULT += '<TD><a href="exec:gt ''clothing'', ''view_clothing_item'', ''<<$ARGS[0]>>'', ''<<$ARGS[1]>>'', <<ARGS[2]>>">View</a>'
  47. if $ARGS[0] ! 'sell' and $ARGS[0] ! 'resize':
  48. if StoryLine = 1 and SchoolAtestat = 0 and SchoolBlock = 0 and $ARGS[1] = 'school' and ARGS[2] = 6:
  49. $RESULT += ' <a href="exec:gs ''clothing'', ''wear'', ''<<$ARGS[1]>>'', <<ARGS[2]>> & gt ''clothing'', ''view_clothing_list'', ''wardrobe'', ''<<$ward_list_store>>''">Wear</a></TD>'
  50. elseif ($ARGS[1] ! 'coat' and $ARGS[1] ! 'swimwear') and dyneval('RESULT = <<$ARGS[1]>>H[<<ARGS[2]>>]') > 0:
  51. if $ARGS[1] ! 'exercise' and CloStyle ! 5 and (dyneval('RESULT = <<$ARGS[1]>>B[<<ARGS[2]>>]') < (pcs_hips - 8) or dyneval('RESULT = <<$ARGS[1]>>B[<<ARGS[2]>>]') > (pcs_hips + 8)) or (ARRPOS('$CloLosTyp', $ARGS[1]) ! -1 and ARRPOS('CloLosNum',ARGS[2]) ! -1):
  52. $RESULT += '</TD>'
  53. else
  54. $RESULT += ' <a href="exec:gs ''clothing'', ''wear'', ''<<$ARGS[1]>>'', <<ARGS[2]>> & gt ''clothing'', ''view_clothing_list'', ''wardrobe'', ''<<$ward_list_store>>''">Wear</a></TD>'
  55. end
  56. else
  57. $RESULT += '</TD>'
  58. end
  59. $RESULT += '<TD>'
  60. if cloc ! 1:$RESULT += ' <a href="exec:gt ''clothing'', ''dest1'', ''<<$ARGS[0]>>'', ''<<$ARGS[1]>>'', <<ARGS[2]>> ">Storage</a><BR>'
  61. if cloc ! 0:$RESULT += ' <a href="exec:gt ''clothing'', ''dest0'', ''<<$ARGS[0]>>'', ''<<$ARGS[1]>>'', <<ARGS[2]>> ">Wardrobe</a><BR>'
  62. if $ARGS[1] ! 'school' or ARGS[2] ! 6:
  63. if cloc ! 2:$RESULT += ' <a href="exec:gt ''clothing'', ''dest2'', ''<<$ARGS[0]>>'', ''<<$ARGS[1]>>'', <<ARGS[2]>> ">Unwanted</a>'
  64. end
  65. $RESULT += '</TD>'
  66. end
  67. }
  68. !!cloc, 0 = wardrobe, 1 = storage, 2 = unwanted
  69. if $ARGS[0] = 'dest0':
  70. *clr
  71. dynamic '<<$ARGS[2]>>S[<<ARGS[3]>>] = 0'
  72. gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>', '<<$ward_list_store>>'
  73. end
  74. if $ARGS[0] = 'dest1':
  75. *clr
  76. dynamic '<<$ARGS[2]>>S[<<ARGS[3]>>] = 1'
  77. gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>', '<<$ward_list_store>>'
  78. end
  79. if $ARGS[0] = 'dest2':
  80. *clr
  81. dynamic '<<$ARGS[2]>>S[<<ARGS[3]>>] = 2'
  82. gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>', '<<$ward_list_store>>'
  83. end
  84. if $ARGS[0] = 'view_clothing_list':
  85. !! ARGS 0 - view_clothing_list
  86. !! ARGS 1 - action type (wardrobe, sell, resize, store, unwanted)
  87. !! ARGS 2 - Shop name (kats, moncheri, gm, fashionista, sexshop, exhibitshop, dolls, sports)
  88. if $pursepantytype ! '' or $pursebratype ! '' and $ARGS[1] ! 'resize' and $ARGS[1] ! 'sell':
  89. '<center><b>You put the '+iif($pursepantytype ! '','panties','')+iif($pursepantytype ! '' and $pursebratype ! '',' and ','')+iif($pursebratype ! '','bra','')+' from your purse back in the wardrobe.</b></center><br>'
  90. killvar '$pursepantytype' & killvar 'pursepantynumber'
  91. killvar '$pursebratype' & killvar 'pursebranumber'
  92. end
  93. if $ARGS[1] = 'wardrobe':
  94. $ward_list_page = $ARGS[1]
  95. '<h3><center><b><font color="maroon">Wardrobe list</font></b></center></h3>'
  96. elseif $ARGS[1] = 'store':
  97. $ward_list_page = $ARGS[1]
  98. '<h3><center><b><font color="maroon">Stored clothing list</font></b></center></h3>'
  99. elseif $ARGS[1] = 'unwanted':
  100. $ward_list_page = $ARGS[1]
  101. '<h3><center><b><font color="maroon">Unwanted clothing list</font></b></center></h3>'
  102. elseif $ARGS[1] = 'sell':
  103. $ward_list_page = $ARGS[1]
  104. '<h3><center><b><font color="maroon">Choose an item to sell</font></b></center></h3>'
  105. end
  106. if $ARGS[2] = 'gm' or $ARGS[2] = 'gm_cheap' or $ARGS[2] = 'gm_office' or $ARGS[2] = 'gm_school' or $ARGS[2] = 'gm_uniform':
  107. !'<center><b><font color="maroon">Viewing clothes from G&M</font></b></center>'
  108. '<center><img src="images/locations/city/citycenter/mall/gm.png"></center>'
  109. elseif $ARGS[2] = 'kats':
  110. !'<center><b><font color="maroon">Viewing clothes from PussyKats</font></b></center>'
  111. '<center><img src="images/locations/city/citycenter/mall/pussycat.png"></center>'
  112. elseif $ARGS[2] = 'fashionista':
  113. !'<center><b><font color="maroon">Viewing clothes from Fashionista</font></b></center>'
  114. '<center><img src="images/locations/city/citycenter/mall/fashionistat.png"></center>'
  115. elseif $ARGS[2] = 'moncheri':
  116. !'<center><b><font color="maroon">Viewing clothes from Mon Cheri</font></b></center>'
  117. '<center><img src="images/locations/city/citycenter/mall/moncheri.png"></center>'
  118. elseif $ARGS[2] = 'sexshop':
  119. !'<center><b><font color="maroon">Viewing clothes from the sex shop</font></b></center>'
  120. '<center><img src="images/locations/city/citycenter/sexshop/shop_name.png"></center>'
  121. elseif $ARGS[2] = 'exhibitshop':
  122. !'<center><b><font color="maroon">Viewing clothes from the Exhibitionist shop</font></b></center>'
  123. '<center><img src="images/locations/oldtown/exhibitshop/shop_name.png"></center>'
  124. elseif $ARGS[2] = 'dolls':
  125. !'<center><b><font color="maroon">Viewing clothes from Patchwork Dolls</font></b></center>'
  126. '<center><img src="images/locations/city/island/dolls.png"></center>'
  127. elseif $ARGS[2] = 'sports':
  128. !'<center><b><font color="maroon">Viewing sportswear from Danilovich</font></b></center>'
  129. '<center><img src="images/locations/city/citycenter/mall/sports.png"></center>'
  130. else
  131. '<center><b><font color="maroon">Click on a shop name to view clothes from that shop</font></b></center>'
  132. if $wloc = 'wardrobe':
  133. act 'Return': killvar '$ward_list_store' & gt 'wardrobe', 'start'
  134. elseif $ARGS[1] = 'sell' or $ARGS[1] = 'resize':
  135. act 'Leave': killvar '$ward_list_store' & gt $loc, $loc_arg
  136. else
  137. act 'Leave': killvar '$ward_list_store' & gt $loc, $loc_arg
  138. end
  139. end
  140. *nl
  141. if $ARGS[1] ! 'sell':
  142. $clothing_header = '<center><table border=1>'
  143. if $ARGS[1] ! 'wardrobe': $clothing_header += '<TH><a href="exec:gt ''clothing'', ''view_clothing_list'', ''wardrobe'', ''<<$ward_list_store>>''">Switch to wardrobe list</a></TH>'
  144. $clothing_header += '<TH><a href="exec:gt ''clothing_QV'', ''list'', ''<<$ward_list_store>>''">Switch to icons</a></TH>'
  145. if $ARGS[1] ! 'store': $clothing_header += '<TH><a href="exec:gt ''clothing'', ''view_clothing_list'', ''store'', ''<<$ward_list_store>>''">Switch to stored clothing list</a></TH>'
  146. if $ARGS[1] ! 'unwanted': $clothing_header += '<TH><a href="exec:gt ''clothing'', ''view_clothing_list'', ''unwanted'', ''<<$ward_list_store>>''">Switch to unwanted clothing list</a></TH></center>'
  147. $clothing_header
  148. if $ARGS[1] = 'wardrobe':
  149. '<center>These are the clothes that are currently available for you to wear.</center><br>'
  150. elseif $ARGS[1] = 'store':
  151. '<center>These are the clothes you have stored that do not show up in your wardrobe list and cannot be sold at the market.</center><br>'
  152. elseif $ARGS[1] = 'unwanted':
  153. '<center>These are the clothes you''ve marked to be sold at the market.</center><br>'
  154. end
  155. end
  156. if $ARGS[2] = '':
  157. '<center><a href="exec:$ward_list_store = ''gm'' & gt ''clothing'', ''view_clothing_list'', ''<<$ARGS[1]>>'', ''gm''"><img src="images/locations/city/citycenter/mall/gm.png"></a></center>'
  158. if ARRSIZE('average') > 0:'<center><a href="exec:$ward_list_store = ''kats'' & gt ''clothing'', ''view_clothing_list'', ''<<$ward_list_page>>'', ''kats''"><img src="images/locations/city/citycenter/mall/pussycat.png"></a></center>'
  159. if ARRSIZE('expensive') > 0:'<center><a href="exec:$ward_list_store = ''fashionista'' & gt ''clothing'', ''view_clothing_list'', ''<<$ward_list_page>>'', ''fashionista''"><img src="images/locations/city/citycenter/mall/fashionistat.png"></a></center>'
  160. if ARRSIZE('formal') > 0:'<center><a href="exec:$ward_list_store = ''moncheri'' & gt ''clothing'', ''view_clothing_list'', ''<<$ward_list_page>>'', ''moncheri''"><img src="images/locations/city/citycenter/mall/moncheri.png"></a></center>'
  161. if ARRSIZE('fetish') > 0 or ARRSIZE('burlesque') > 0:'<center><a href="exec:$ward_list_store = ''sexshop'' & gt ''clothing'', ''view_clothing_list'', ''<<$ward_list_page>>'', ''sexshop''"><img src="images/locations/city/citycenter/sexshop/shop_name.png"></a></center>'
  162. if ARRSIZE('exhibit') > 0:'<center><a href="exec:$ward_list_store = ''exhibitshop'' & gt ''clothing'', ''view_clothing_list'', ''<<$ward_list_page>>'', ''exhibitshop''"><img src="images/locations/oldtown/exhibitshop/shop_name.png"></a></center>'
  163. if ARRSIZE('alternative') > 0:'<center><a href="exec:$ward_list_store = ''dolls'' & gt ''clothing'', ''view_clothing_list'', ''<<$ward_list_page>>'', ''dolls''"><img src="images/locations/city/island/dolls.png"></a></center>'
  164. if ARRSIZE('exercise') > 0:'<center><a href="exec:$ward_list_store = ''sports'' & gt ''clothing'', ''view_clothing_list'', ''<<$ward_list_page>>'', ''sports''"><img src="images/locations/city/citycenter/mall/sports.png"></a></center>'
  165. else
  166. $bgcolor='#f3f4ee'
  167. if $ARGS[1] = 'sell':
  168. '<table border=0 cellspacing=0 cellpadding=5><TH></TH><TH>Strength</TH><TH>Hip size</TH><TH>Description</TH><TH>Bimbo</TH><TH>Prostitute</TH><TH>Actions</TH>'
  169. else
  170. '<table border=0 cellspacing=0 cellpadding=5><TH></TH><TH>Strength</TH><TH>Hip size</TH><TH>Description</TH><TH>Bimbo</TH><TH>Prostitute</TH><TH>Actions</TH><TH>Move to</TH>'
  171. end
  172. if $ARGS[1] = 'store':
  173. cloc = 1
  174. elseif $ARGS[1] = 'unwanted':
  175. cloc = 2
  176. else
  177. cloc = 0
  178. end
  179. if $ARGS[2] = 'gm':
  180. if ARRSIZE('cheap') > 0:'<center><a href="exec:$ward_list_store = ''gm_cheap'' & gt ''clothing'', ''view_clothing_list'', ''<<$ward_list_page>>'', ''gm_cheap''">Regular G&M clothing</a></center>'
  181. if ARRSIZE('office') > 0:'<center><a href="exec:$ward_list_store = ''gm_office'' & gt ''clothing'', ''view_clothing_list'', ''<<$ward_list_page>>'', ''gm_office''">Office wear</a></center>'
  182. if ARRSIZE('school') > 0:'<center><a href="exec:$ward_list_store = ''gm_school'' & gt ''clothing'', ''view_clothing_list'', ''<<$ward_list_page>>'', ''gm_school''">School uniforms</a></center>'
  183. if ARRSIZE('uniform') > 0:'<center><a href="exec:$ward_list_store = ''gm_uniform'' & gt ''clothing'', ''view_clothing_list'', ''<<$ward_list_page>>'', ''gm_uniform''">Work uniforms</a></center>'
  184. act 'Return': killvar '$ward_list_store' & gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
  185. end
  186. if $ARGS[2] = 'gm_cheap':
  187. $ward_list_store = $ARGS[2]
  188. i = 1
  189. :loopcheap
  190. if cheap[i] = 1 and cheapS[i] = cloc and ($clothingworntype ! 'cheap' or clothingwornnumber ! i):*P dyneval($clothing_list_line, $ARGS[1], 'cheap', i)
  191. i += 1
  192. if i <= ARRSIZE('cheap'):jump 'loopcheap'
  193. act 'Return': killvar '$ward_list_store' & gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
  194. gs 'clothing', 'clothwidth'
  195. end
  196. if $ARGS[2] = 'gm_office':
  197. $ward_list_store = $ARGS[2]
  198. i = 1
  199. :loopoffice
  200. if office[i] = 1 and officeS[i] = cloc and ($clothingworntype ! 'office' or clothingwornnumber ! i):*P dyneval($clothing_list_line, $ARGS[1], 'office', i)
  201. i += 1
  202. if i <= ARRSIZE('office'):jump 'loopoffice'
  203. act 'Return': killvar '$ward_list_store' & gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
  204. gs 'clothing', 'clothwidth'
  205. end
  206. if $ARGS[2] = 'gm_school':
  207. $ward_list_store = $ARGS[2]
  208. if StoryLine = 1 and SchoolAtestat = 0 and SchoolBlock = 0 and schoolS[6] = cloc and ($clothingworntype ! 'school' or clothingwornnumber ! 6):*P dyneval($clothing_list_line, $ARGS[1], 'school', 6)
  209. i = 1
  210. :loopschool
  211. if school[i] = 1 and schoolS[i] = cloc and ($clothingworntype ! 'school' or clothingwornnumber ! i):*P dyneval($clothing_list_line, $ARGS[1], 'school', i)
  212. i += 1
  213. if i = 6: i = 7
  214. if i <= ARRSIZE('school'):jump 'loopschool'
  215. act 'Return': killvar '$ward_list_store' & gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
  216. gs 'clothing', 'clothwidth'
  217. end
  218. if $ARGS[2] = 'gm_uniform':
  219. $ward_list_store = $ARGS[2]
  220. i = 1
  221. :loopuniform
  222. if uniform[i] = 1 and uniformS[i] = cloc and ($clothingworntype ! 'uniform' or clothingwornnumber ! i):*P dyneval($clothing_list_line, $ARGS[1], 'uniform', i)
  223. i += 1
  224. if i <= ARRSIZE('uniform'):jump 'loopuniform'
  225. act 'Return': killvar '$ward_list_store' & gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
  226. gs 'clothing', 'clothwidth'
  227. end
  228. if $ARGS[2] = 'kats':
  229. $ward_list_store = $ARGS[2]
  230. i = 1
  231. :loopaverage
  232. if average[i] = 1 and averageS[i] = cloc and ($clothingworntype ! 'average' or clothingwornnumber ! i):*P dyneval($clothing_list_line, $ARGS[1], 'average', i)
  233. i += 1
  234. if i <= ARRSIZE('average'):jump 'loopaverage'
  235. act 'Return': killvar '$ward_list_store' & gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
  236. gs 'clothing', 'clothwidth'
  237. end
  238. if $ARGS[2] = 'fashionista':
  239. $ward_list_store = $ARGS[2]
  240. i = 1
  241. :loopexpensive
  242. if expensive[i] = 1 and expensiveS[i] = cloc and ($clothingworntype ! 'expensive' or clothingwornnumber ! i):*P dyneval($clothing_list_line, $ARGS[1], 'expensive', i)
  243. i += 1
  244. if i <= ARRSIZE('expensive'):jump 'loopexpensive'
  245. act 'Return': killvar '$ward_list_store' & gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
  246. gs 'clothing', 'clothwidth'
  247. end
  248. if $ARGS[2] = 'moncheri':
  249. $ward_list_store = $ARGS[2]
  250. i = 1
  251. :loopformal
  252. if formal[i] = 1 and formalS[i] = cloc and ($clothingworntype ! 'formal' or clothingwornnumber ! i):*P dyneval($clothing_list_line, $ARGS[1], 'formal', i)
  253. i += 1
  254. if i <= ARRSIZE('formal'):jump 'loopformal'
  255. act 'Return': killvar '$ward_list_store' & gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
  256. gs 'clothing', 'clothwidth'
  257. end
  258. if $ARGS[2] = 'sexshop':
  259. $ward_list_store = $ARGS[2]
  260. i = 1
  261. :loopfetish
  262. if fetish[i] = 1 and fetishS[i] = cloc and ($clothingworntype ! 'fetish' or clothingwornnumber ! i):*P dyneval($clothing_list_line, $ARGS[1], 'fetish', i)
  263. i += 1
  264. if i <= ARRSIZE('fetish'):jump 'loopfetish'
  265. act 'Return': killvar '$ward_list_store' & gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
  266. gs 'clothing', 'clothwidth'
  267. i = 1
  268. :loopburlesque
  269. if burlesque[i] = 1 and burlesqueS[i] = cloc and ($clothingworntype ! 'burlesque' or clothingwornnumber ! i):*P dyneval($clothing_list_line, $ARGS[1], 'burlesque', i)
  270. i += 1
  271. if i <= ARRSIZE('burlesque'):jump 'loopburlesque'
  272. act 'Return': killvar '$ward_list_store' & gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
  273. gs 'clothing', 'clothwidth'
  274. end
  275. if $ARGS[2] = 'exhibitshop':
  276. $ward_list_store = $ARGS[2]
  277. i = 1
  278. :loopexhibit
  279. if exhibit[i] = 1 and exhibitS[i] = cloc and ($clothingworntype ! 'exhibit' or clothingwornnumber ! i):*P dyneval($clothing_list_line, $ARGS[1], 'exhibit', i)
  280. i += 1
  281. if i <= ARRSIZE('exhibit'):jump 'loopexhibit'
  282. act 'Return': killvar '$ward_list_store' & gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
  283. gs 'clothing', 'clothwidth'
  284. end
  285. if $ARGS[2] = 'dolls':
  286. cla
  287. $ward_list_store = $ARGS[2]
  288. i = 1
  289. :loopalternative
  290. if alternative[i] = 1 and alternativeS[i] = cloc and ($clothingworntype ! 'alternative' or clothingwornnumber ! i):*P dyneval($clothing_list_line, $ARGS[1], 'alternative', i)
  291. i += 1
  292. if i <= ARRSIZE('alternative'):jump 'loopalternative'
  293. act 'Return': killvar '$ward_list_store' & gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
  294. gs 'clothing', 'clothwidth'
  295. end
  296. if $ARGS[2] = 'sports':
  297. $ward_list_store = $ARGS[2]
  298. i = 1
  299. :loopexercise
  300. if exercise[i] = 1 and exerciseS[i] = cloc and ($clothingworntype ! 'exercise' or clothingwornnumber ! i):*P dyneval($clothing_list_line, $ARGS[1], 'exercise', i)
  301. i += 1
  302. if i <= ARRSIZE('exercise'):jump 'loopexercise'
  303. i = 1
  304. :loopswimwear
  305. if swimwear[i] = 1 and swimwearS[i] = cloc :*P dyneval($clothing_list_line, $ARGS[1], 'swimwear', i)
  306. i += 1
  307. if i <= ARRSIZE('swimwear'):jump 'loopswimwear'
  308. act 'Return': killvar '$ward_list_store' & gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
  309. gs 'clothing', 'clothwidth'
  310. end
  311. '</table>'
  312. end
  313. end
  314. if $ARGS[0] = 'clothwidth':
  315. act 'Set image size for this view':
  316. Enable_clothwidth = input("Enter height in pixels you want for images on this page <br>(Default 150, min 50, max 500)")
  317. if Enable_clothwidth < 50:
  318. Enable_clothwidth = 50
  319. elseif Enable_clothwidth > 500:
  320. Enable_clothwidth = 500
  321. end
  322. gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>', '<<$ward_list_store>>'
  323. end
  324. end
  325. if $ARGS[0] = 'view_clothing_item':
  326. !! ARGS 0 - view_clothing_item
  327. !! ARGS 1 = action type (wardrobe, shop, sell, resize)
  328. !! ARGS 2 - clothing type
  329. !! ARGS 3 - clothing index
  330. !! ARGS 4 - price for shop
  331. cla
  332. '<center><img src="<<FUNC(''$clothing_image'', $ARGS[2], ARGS[3])>>"></center>'
  333. gs 'clothing_attributes', $ARGS[2], ARGS[3]
  334. $RESULT = FUNC('$short_description', $ARGS[2], CloStyle2)
  335. $RESULT += '<<ARGS[3]>>'
  336. '<<$RESULT>>'
  337. if $ARGS[1] = 'cheap' and ARGS[2] = 414:
  338. 'A hessian sack the hunters gave you.'
  339. elseif $ARGS[2] ! 'coat' and $ARGS[2] ! 'swimwear':
  340. gs 'clothing_descriptions'
  341. '<<$description>>'
  342. else
  343. FUNC('$clothing_name', $ARGS[2], ARGS[3])
  344. end
  345. if CloBimbo = 1 and cheatbimbo = 0:'This item is considered bimbo clothing.'
  346. if CloStyle = 4:'This outfit can be used for prostitution.'
  347. if CloInhibit > 10:
  348. 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.'
  349. end
  350. if $ARGS[2] = 'uniform':
  351. if CloStyle2 = 1:
  352. 'This outfit is considered to be a maid uniform.'
  353. elseif CloStyle2 = 3:
  354. 'This is a stripper outfit.'
  355. else
  356. 'This outfit is a server uniform, suitable for jobs that require one.'
  357. end
  358. end
  359. if CloStyle2 = 4:
  360. if CloInhibit <= 10:
  361. '<font color="blue">This uniform is very conservative. Only the nerds would approve of you wearing it.</font>'
  362. elseif CloSkirt < 5 and CloThinness < 5 and CloBra = 0:
  363. if CloQuality = 4:
  364. '<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>'
  365. else
  366. '<font color="blue">This uniform complies with the school regulations on skirt length. Nobody in school would be offended by you wearing it.</font>'
  367. end
  368. elseif CloSkirt = 5 and CloThinness < 5 and CloBra = 0:
  369. if CloQuality = 4:
  370. '<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>'
  371. else
  372. '<font color="blue">This uniform slightly breaches the school regulations on skirt length. The gopnik would approve of you wearing it.</font>'
  373. end
  374. else
  375. '<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>'
  376. end
  377. end
  378. if $ARGS[1] ! 'shop' and ($ARGS[2] ! 'school' or ARGS[3] ! 6):
  379. $RESULT = '(strength '
  380. dynamic '$RESULT += <<$ARGS[2]>>H[<<ARGS[3]>>]'
  381. if $ARGS[2] ! 'exercise' and $ARGS[2] ! 'coat' and CloStyle ! 5:
  382. $RESULT += ', hip size '
  383. dynamic '$RESULT += <<$ARGS[2]>>B[<<ARGS[3]>>]'
  384. end
  385. $RESULT += ')'
  386. '<<$RESULT>>'
  387. end
  388. if $ARGS[1] = 'shop':
  389. if dyneval('RESULT = <<$ARGS[2]>>[<<ARGS[3]>>]') = 1:
  390. 'You already own this item.'
  391. act 'Leave': gt $loc, $loc_arg
  392. else
  393. if $ARGS[2] = 'coat' and ARGS[3] = 5:
  394. price = ARGS[4]
  395. else
  396. price = ('<<ARGS[4]>>' * ((5 * CloQuality) + 100) / 100) * 1000 / (1250 - Clothingstock[ARGS[3]]) * 3 / 2
  397. price = price / 50 * 50
  398. end
  399. 'Price: <<price>> <b>₽</b>'
  400. act 'Leave': gt $loc, $loc_arg
  401. if CloInhibit > pcs_inhib:
  402. 'You don''t feel daring enough to wear an outfit this revealing and can''t bring yourself to buy it.'
  403. elseif karta + bankDebtLimit < Price and money < Price:
  404. 'You cannot afford this outfit.'
  405. else
  406. if money >= Price:
  407. act 'Buy (cash)':
  408. h = 0
  409. if CloStyle = 2:h = 10
  410. if CloStyle = 5:h = 20
  411. h += (3 * CloQuality)
  412. money -= price
  413. dynamic $ARGS[2] + '[<<ARGS[3]>>] = 1'
  414. if $ARGS[2] = 'cheap' or $ARGS[2] = 'office':
  415. dynamic $ARGS[2] + 'H[<<ARGS[3]>>] = 70 + <<h>>'
  416. elseif $ARGS[2] = 'average':
  417. dynamic $ARGS[2] + 'H[<<ARGS[3]>>] = 90 + <<h>>'
  418. elseif $ARGS[2] = 'formal':
  419. dynamic $ARGS[2] + 'H[<<ARGS[3]>>] = 15 + <<h>>'
  420. elseif $ARGS[2] = 'fetish' or $ARGS[2] = 'exhibit' or $ARGS[2] = 'burlesque':
  421. dynamic $ARGS[2] + 'H[<<ARGS[3]>>] = 35 + <<h>>'
  422. elseif $ARGS[2] = 'school' or $ARGS[2] = 'uniform':
  423. dynamic $ARGS[2] + 'H[<<ARGS[3]>>] = 120 + <<h>>'
  424. elseif $ARGS[2] = 'exercise':
  425. dynamic $ARGS[2] + 'H[<<ARGS[3]>>] = 100 + <<h>>'
  426. elseif $ARGS[2] = 'coat':
  427. dynamic $ARGS[2] + 'H[<<ARGS[3]>>] = 250 + <<h>>'
  428. else
  429. dynamic $ARGS[2] + 'H[<<ARGS[3]>>] = 60 + <<h>>'
  430. end
  431. dynamic $ARGS[2] + 'B[<<ARGS[3]>>] = pcs_hips'
  432. dynamic $ARGS[2] + 'S[<<ARGS[3]>>] = 0'
  433. gs 'stat'
  434. gt $loc, $loc_arg
  435. end
  436. end
  437. if karta + bankDebtLimit >= Price:
  438. act 'Buy (card)':
  439. h = 0
  440. if CloStyle = 2:h = 10
  441. if CloStyle = 5:h = 20
  442. h += (3 * CloQuality)
  443. karta -= price
  444. dynamic $ARGS[2] + '[<<ARGS[3]>>] = 1'
  445. if $ARGS[2] = 'cheap' or $ARGS[2] = 'office':
  446. dynamic $ARGS[2] + 'H[<<ARGS[3]>>] = 70 + <<h>>'
  447. elseif $ARGS[2] = 'average':
  448. dynamic $ARGS[2] + 'H[<<ARGS[3]>>] = 90 + <<h>>'
  449. elseif $ARGS[2] = 'formal':
  450. dynamic $ARGS[2] + 'H[<<ARGS[3]>>] = 15 + <<h>>'
  451. elseif $ARGS[2] = 'fetish' or $ARGS[2] = 'exhibit' or $ARGS[2] = 'burlesque':
  452. dynamic $ARGS[2] + 'H[<<ARGS[3]>>] = 35 + <<h>>'
  453. elseif $ARGS[2] = 'school' or $ARGS[2] = 'uniform':
  454. dynamic $ARGS[2] + 'H[<<ARGS[3]>>] = 120 + <<h>>'
  455. elseif $ARGS[2] = 'exercise':
  456. dynamic $ARGS[2] + 'H[<<ARGS[3]>>] = 100 + <<h>>'
  457. elseif $ARGS[2] = 'coat':
  458. dynamic $ARGS[2] + 'H[<<ARGS[3]>>] = 250 + <<h>>'
  459. else
  460. dynamic $ARGS[2] + 'H[<<ARGS[3]>>] = 60 + <<h>>'
  461. end
  462. dynamic $ARGS[2] + 'B[<<ARGS[3]>>] = pcs_hips'
  463. dynamic $ARGS[2] + 'S[<<ARGS[3]>>] = 0'
  464. gs 'stat'
  465. gt $loc, $loc_arg
  466. end
  467. end
  468. end
  469. end
  470. elseif $ARGS[1] = 'wardrobe':
  471. act 'Return':gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>', '<<$ward_list_store>>'
  472. if $ARGS[2] ! 'school' or ARGS[3] ! 6:
  473. !! if the clothing is worn out
  474. if dyneval('RESULT = <<$ARGS[2]>>H[<<ARGS[3]>>]') <= 0:
  475. 'This item is worn and is not suitable for further wear.'
  476. if pcs_sewng >= 60 and tkan > 0:
  477. cla
  478. 'You can repair this thanks to your sewing skill.'
  479. act 'Repair item':
  480. if rand (1, 100) < 30:
  481. cla
  482. tkan -= 1
  483. minut += 30
  484. dynamic $ARGS[2] + 'H[<<ARGS[3]>>] += 30'
  485. 'You spend 30 minutes fixing the outfit.'
  486. act 'Return':gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>', '<<$ward_list_store>>'
  487. else
  488. cla
  489. tkan += 3
  490. minut += 30
  491. dynamic $ARGS[2] + '[<<ARGS[3]>>] = 0'
  492. '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.'
  493. act 'Return':gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
  494. end
  495. end
  496. act 'Return': gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>', '<<$ward_list_store>>'
  497. end
  498. exit
  499. end
  500. !! if the clothing is a type that checks for hip size
  501. if $ARGS[2] ! 'exercise' and $ARGS[2] ! 'coat' and CloStyle ! 5:
  502. !! if the hipsize is too far from your hipsize
  503. dynamic 'RESULT = <<$ARGS[2]>>B[<<ARGS[3]>>]'
  504. if RESULT < pcs_hips - 8 or RESULT > pcs_hips + 8:
  505. if RESULT < pcs_hips:
  506. 'This item is too small for you to wear.'
  507. else
  508. 'This item is too large for you to wear.'
  509. end
  510. if pcs_sewng >= 60 and tkan > 0:
  511. cla
  512. 'You can resize this thanks to your sewing skill.'
  513. act 'Resize item':
  514. cla
  515. tkan -= 1
  516. minut += 30
  517. dynamic $ARGS[2] + 'B[<<ARGS[3]>>] = pcs_hips'
  518. 'You spend 30 minutes resizing the outfit.'
  519. act 'Return':gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>', '<<$ward_list_store>>'
  520. end
  521. act 'Return': gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>', '<<$ward_list_store>>'
  522. end
  523. exit
  524. end
  525. end
  526. end
  527. if $ARGS[2] ! 'coat' and $ARGS[2] ! 'swimwear':
  528. if CloInhibit > pcs_inhib:
  529. 'You don''t feel daring enough to wear an outfit this revealing.'
  530. elseif ARRPOS('$CloLosTyp', $ARGS[2]) ! -1 and ARRPOS('CloLosNum',ARGS[3]) ! -1 :
  531. 'You lost these clothes somewhere, maybe you can find them again?.'
  532. else
  533. act 'Wear':
  534. gs 'clothing', 'wear', $ARGS[2], ARGS[3]
  535. gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>', '<<$ward_list_store>>'
  536. end
  537. end
  538. end
  539. elseif $ARGS[1] = 'store' or $ARGS[1] = 'unwanted':
  540. act 'Return':gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>', '<<$ward_list_store>>'
  541. if $ARGS[2] ! 'coat':
  542. act 'Move back to wardrobe':
  543. dynamic $ARGS[2] + 'S[<<ARGS[3]>>] = 0'
  544. gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>', '<<$ward_list_store>>'
  545. end
  546. end
  547. elseif $ARGS[1] = 'sell':
  548. $ward_list_page = $ARGS[1]
  549. act 'Keep item':gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>', '<<$ward_list_store>>'
  550. !! value is based on the strength remaining
  551. dynamic 'RESULT = <<$ARGS[2]>>H[<<ARGS[3]>>]'
  552. if RESULT > 45:
  553. 'You can sell this item for 500 <b>₽</b>.'
  554. act 'Sell':
  555. dynamic '<<$ARGS[2]>>[<<ARGS[3]>>] = 0'
  556. money += 500
  557. gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>', '<<$ward_list_store>>'
  558. end
  559. elseif RESULT > 30:
  560. 'You can sell this item for 300 <b>₽</b>.'
  561. act 'Sell':
  562. dynamic '<<$ARGS[2]>>[<<ARGS[3]>>] = 0'
  563. money += 300
  564. gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>', '<<$ward_list_store>>'
  565. end
  566. elseif RESULT > 0:
  567. 'You can sell this item for 100 <b>₽</b>.'
  568. act 'Sell':
  569. dynamic '<<$ARGS[2]>>[<<ARGS[3]>>] = 0'
  570. money += 100
  571. gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>', '<<$ward_list_store>>'
  572. end
  573. else
  574. 'This item is too worn to have any sale value.'
  575. act 'Throw it away':
  576. dynamic '<<$ARGS[2]>>[<<ARGS[3]>>] = 0'
  577. gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>', '<<$ward_list_store>>'
  578. end
  579. end
  580. elseif $ARGS[1] = 'resize':
  581. act 'Leave item alone':gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>', '<<$ward_list_store>>'
  582. if $ARGS[2] ! 'exercise' and $ARGS[2] ! 'coat' and CloStyle ! 5:
  583. if dyneval('RESULT = <<$ARGS[2]>>B[<<ARGS[3]>>]') ! pcs_hips and money >= 500:
  584. 'You can have this resized for 500 <b>₽</b>.'
  585. act 'Resize':
  586. money -= 500
  587. dynamic '<<$ARGS[2]>>B[<<ARGS[3]>>] = pcs_hips'
  588. gt 'clothing', 'view_clothing_list', 'resize'
  589. end
  590. end
  591. end
  592. end
  593. end
  594. if $ARGS[0] = 'strip':
  595. !$ARGS[1] = location when stripping outdoors
  596. if $clothingworntype = 'nude': exit
  597. cumspclnt = 6
  598. gs 'cum_cleanup'
  599. if cloth_vid = 1:
  600. last_vid = 1
  601. else
  602. last_vid = 0
  603. end
  604. if PCloStyle2 = 4:
  605. $schbrand = $clothingworntype
  606. schtype = clothingwornnumber
  607. end
  608. if $ARGS[1] ! '' :
  609. DYNAMIC '$CloLos<<$clothingworntype>>[<<clothingwornnumber>>]=<<$ARGS[1]>>'
  610. $CloLosLoc[] = $ARGS[1]
  611. $CloLosTyp[$ARGS[1]] = $clothingworntype
  612. CloLosNum[$ARGS[1]] = clothingwornnumber
  613. CloLosDay[$ARGS[1]] = daystart
  614. KILLVAR '$lastwornclothingtype'
  615. KILLVAR 'lastwornclothingnumber'
  616. else
  617. $lastwornclothingtype = $clothingworntype
  618. lastwornclothingnumber = clothingwornnumber
  619. end
  620. $clothingworntype = 'nude'
  621. clothingwornnumber = 0
  622. CloQuality = 0
  623. CloThinness = 0
  624. CloTopCut = 0
  625. CloBra = 0
  626. CloPantsShortness = 0
  627. CloSkirtShortness = 0
  628. CloPanties = 0
  629. CloStyle = 0
  630. CloStyle2 = 0
  631. CloBimbo = 0
  632. CloOnePiece = 0
  633. PShoQuaility = 0
  634. PShoCut = 0
  635. PShoHeels = 0
  636. PShoStyle = 0
  637. PCloQuality = 0
  638. PCloThinness = 0
  639. PCloTopCut = 0
  640. PCloPants = 0
  641. PCloSkirt = 0
  642. PCloStyle = 0
  643. PCloStyle2 = 0
  644. PCloBimbo = 0
  645. PCloInhibit = 0
  646. PCloOnePiece = 0
  647. PXCloThinness = 0
  648. PXCloTopCut = 0
  649. PXCloBottomShortness = 0
  650. glamur = 0
  651. sport = 0
  652. ski = 0
  653. ofclo = 0
  654. sexual = 0
  655. odevnesh = 0
  656. ! WD: Bimbo look
  657. cloth_vid = 0
  658. exhibiHideNewCloth = 0
  659. end
  660. if $ARGS[0] = 'recover_lost_clothes':
  661. !$ARGS[1] = location
  662. !ARGS[2] = 1 : wear the clothes, ARGS[2] = 2 : Return to shop (lost FOREVAH!)
  663. $cloLoc = $ARGS[1]
  664. cloAction = ARGS[2]
  665. $clothType = $CloLosTyp[$cloLoc]
  666. clothNumber = CloLosNum[$cloLoc]
  667. dayLost = CloLosDay[$cloLoc]
  668. DYNAMIC 'KILLVAR ''$CloLos<<$clothingworntype>>'', <<clothingwornnumber>>'
  669. findLocInd = ARRPOS('$CloLosTyp', $clothType)
  670. KILLVAR '$CloLosTyp', findLocInd
  671. findLocInd = ARRPOS('CloLosNum', clothNumber)
  672. KILLVAR 'CloLosNum', findLocInd
  673. findLocInd = ARRPOS('CloLosDay', CloLosDay[$cloLoc])
  674. KILLVAR 'CloLosDay', findLocInd
  675. findLocInd = ARRPOS('$CloLosLoc', $cloLoc)
  676. KILLVAR '$CloLosLoc', findLocInd
  677. KILLVAR 'findLocInd'
  678. if cloAction = 1:
  679. gs 'clothing', 'wear', $clothType, clothNumber
  680. elseif cloAction = 2 :
  681. dynamic $clothType + 'S[<<clothNumber>>] = 1'
  682. end
  683. KILLVAR '$cloLoc'
  684. KILLVAR 'cloAction'
  685. KILLVAR '$clothType'
  686. KILLVAR 'clothNumber'
  687. end
  688. if $ARGS[0] = 'wear':
  689. !! ARGS 0 - action
  690. !! ARGS 1 - clothing type name
  691. !! ARGS 2 - clothing index
  692. gs 'clothing', 'strip'
  693. $clothingworntype = $ARGS[1]
  694. clothingwornnumber = ARGS[2]
  695. dynamic $ARGS[1] + 'W[<<ARGS[2]>>] = 1'
  696. gs 'clothing_attributes', $ARGS[1], ARGS[2]
  697. dynamic '<<$ARGS[1]>>S[<<ARGS[2]>>] = 0'
  698. if CloStyle2 = 4:
  699. $schbrand = $clothingworntype
  700. schtype = clothingwornnumber
  701. end
  702. PCloQuality = CloQuality
  703. PCloThinness = CloThinness
  704. PCloTopCut = CloTopCut
  705. PCloBra = CloBra
  706. PCloOnePiece = CloOnePiece
  707. PCloPants = CloPantsShortness
  708. PCloSkirt = CloSkirtShortness
  709. PCloPanties = CloPanties
  710. PCloStyle = CloStyle
  711. PCloStyle2 = CloStyle2
  712. PCloInhibit = CloInhibit
  713. if cheatbimbo = 0:
  714. PCloBimbo = CloBimbo
  715. if CloBimbo = 1: bimbocl = 1
  716. if CloBimbo = 0: bimbocl = 0
  717. else
  718. PCloBimbo = 0
  719. CloBimbo = 0
  720. bimbocl = 0
  721. end
  722. if PCloTopCut > 1:
  723. if tits = 2 or tits = 3: PCloTopCut += 1
  724. if tits >= 4: PCloTopCut += 2
  725. if PCloTopCut > 2 and tits >=6: PCloTopCut += 1
  726. end
  727. !Calculations for clothing beauty, multiplied by natural beauty
  728. if PCloThinness > 0:
  729. if PCloThinness = 1:
  730. PXCloThinness = 150
  731. elseif PCloThinness = 2:
  732. PXCloThinness = 200
  733. elseif PCloThinness = 3:
  734. PXCloThinness = 250
  735. elseif PCloThinness = 4:
  736. PXCloThinness = 300
  737. elseif PCloThinness = 5:
  738. PXCloThinness = 350
  739. elseif PCloThinness = 6:
  740. PXCloThinness = 400
  741. end
  742. end
  743. if PCloTopCut > 0:
  744. if PCloTopCut = 1:
  745. PXCloTopCut = 100
  746. elseif PCloTopCut = 2:
  747. PXCloTopCut = 150
  748. elseif PCloTopCut = 3:
  749. PXCloTopCut = 200
  750. elseif PCloTopCut = 4:
  751. PXCloTopCut = 250
  752. elseif PCloTopCut = 5:
  753. PXCloTopCut = 300
  754. elseif PCloTopCut = 6:
  755. PXCloTopCut = 350
  756. elseif PCloTopCut >= 7:
  757. PXCloTopCut = 400
  758. end
  759. end
  760. if PCloBra = 1:
  761. PXCloTopCut = 400
  762. $braworntype = 'none'
  763. elseif PCloBra = 2:
  764. PXCloTopCut = 500
  765. end
  766. if PCloSkirt > 0:
  767. if PCloSkirt = 1:
  768. PXCloBottomShortness = 100
  769. elseif PCloSkirt = 2:
  770. PXCloBottomShortness = 150
  771. elseif PCloSkirt = 3:
  772. PXCloBottomShortness = 200
  773. elseif PCloSkirt = 4:
  774. PXCloBottomShortness = 250
  775. elseif PCloSkirt = 5:
  776. PXCloBottomShortness = 300
  777. elseif PCloSkirt = 6:
  778. PXCloBottomShortness = 350
  779. elseif PCloSkirt >= 7:
  780. PXCloBottomShortness = 400
  781. end
  782. end
  783. if PCloPants > 0:
  784. if PCloPants = 1:
  785. PXCloBottomShortness = 100
  786. elseif PCloPants = 2:
  787. PXCloBottomShortness = 150
  788. elseif PCloPants = 3:
  789. PXCloBottomShortness = 200
  790. elseif PCloPants = 4:
  791. PXCloBottomShortness = 250
  792. elseif PCloPants = 5:
  793. PXCloBottomShortness = 300
  794. elseif PCloPants = 6:
  795. PXCloBottomShortness = 350
  796. elseif PCloPants >= 7:
  797. PXCloBottomShortness = 400
  798. end
  799. end
  800. if PCloPanties = 1: PXCloBottomShortness = 400
  801. end
  802. if $ARGS[0] = 'wear_last_worn':
  803. !!contingency
  804. if $lastwornclothingtype = '': $lastwornclothingtype = 'nude'
  805. gs 'clothing', 'wear', $lastwornclothingtype, lastwornclothingnumber
  806. end
  807. if $ARGS[0] = 'swamp_clothes':
  808. if ARGS[1] = 1:
  809. !hessian clothing to owned, sets size and equipped.
  810. cheap[414] = 1
  811. cheapS[414] = 0
  812. cheapH[414] = 100
  813. cheapB[414] = pcs_hips
  814. swamp_clothes = 1
  815. gs 'clothing', 'wear', 'cheap', 414
  816. end
  817. if ARGS[1] = 0:
  818. !hessian clothing no longer owned, but not unequipped.
  819. cheap[414] = 0
  820. swamp_clothes = 0
  821. end
  822. end
  823. --- clothing ---------------------------------