wardrobe.qsrc 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935
  1. # wardrobe
  2. if $ARGS[0] = 'start':
  3. if $wardrobeDefaultPagePref = '': $wardrobeDefaultPagePref = 'default1'
  4. killvar 'clothingfilter'
  5. '<center><font color="maroon">Please select an option</font></center>'
  6. *nl
  7. *nl
  8. *nl
  9. !! current outfit
  10. '<center><a href="exec:gt ''wardrobe'', ''main''"><img src="images/system/icons/clothing/clothes.png" height="150"></a></center>'
  11. *nl
  12. *nl
  13. *nl
  14. !! Clothing sets
  15. '<center><a href="exec:gt ''wardrobe'', $wloc"><img src="images/system/icons/clothing/default.png" height="150"></a></center>'
  16. *nl
  17. *nl
  18. *nl
  19. !! outfit list
  20. '<center><a href="exec:gt ''clothing'', ''view_clothing_list'', ''wardrobe''"><img src="images/system/icons/clothing/organize.png" height="150"></a></center>'
  21. if $pursepantytype ! '' or $pursebratype ! '':
  22. '<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>'
  23. killvar '$pursepantytype' & killvar 'pursepantynumber'
  24. killvar '$pursebratype' & killvar 'pursebranumber'
  25. end
  26. if $wardrobeDefaultPagePref = 'currentOutfit':
  27. gt 'wardrobe', 'main'
  28. elseif $wardrobeDefaultPagePref = 'viewClothing':
  29. gt 'clothing', 'view_clothing_list', 'wardrobe'
  30. elseif $wardrobeDefaultPagePref ! '':
  31. gt 'wardrobe', $wardrobeDefaultPagePref
  32. end
  33. act 'Return': gt $loc, $loc_arg
  34. act 'Current outfit': gt 'wardrobe', 'main'
  35. act 'Saved outfit sets':
  36. if $wardrobeDefaultPagePref ! 'currentOutfit' and $wardrobeDefaultPagePref ! 'viewClothing':
  37. gt 'wardrobe', $wardrobeDefaultPagePref
  38. else
  39. gt 'wardrobe', $wloc
  40. end
  41. end
  42. act 'Open wardrobe': gt 'clothing', 'view_clothing_list'
  43. end
  44. if $ARGS[0] = 'main':
  45. PShoQuality = ShoQuality
  46. PShoHeels = ShoHeels
  47. PShoCut = ShoCut
  48. PShoStyle = ShoStyle
  49. default_sport_number[1] = 0
  50. menu_off = 1
  51. gs 'stat'
  52. if CloBra = 1: gs 'bras', 'remove'
  53. if CloPanties = 1: gs 'panties','remove'
  54. if $sports_clothing_name = '':$sports_clothing_name = 'default sports outfit'
  55. if $clothingworntype = 'misc_outfits' and clothingwornnumber = '1':
  56. gs 'clothing', 'swamp_clothes', 0
  57. gs 'clothing', 'strip'
  58. end
  59. if ward_img_hgt = 0:ward_img_hgt = 150
  60. '<center><table><TH><b>Your Clothes</b></TH><TH><a href="exec:gt ''wardrobe'', $wloc"><img src="images/system/icons/clothing/default.png" height="50"></a></TH><TH><a href="exec:gt ''clothing'', ''view_clothing_list'', ''wardrobe''"><img src="images/system/icons/clothing/organize.png" height="50"></a></TH></table></center>'
  61. if $wardrobeDefaultPagePref = 'currentOutfit':
  62. $wardrobeSetDefault = '<a href="exec: killvar ''$wardrobeDefaultPagePref'' & gt ''wardrobe'', ''main''">Remove saved default wardrobe page</a>'
  63. else
  64. $wardrobeSetDefault = '<a href="exec: $wardrobeDefaultPagePref = ''currentOutfit'' & gt ''wardrobe'', ''main''">Set here as default wardrobe page</a>'
  65. end
  66. '<center><<$wardrobeSetDefault>></center>'
  67. killvar '$wardrobeSetDefault'
  68. if $pursepantytype ! '' or $pursebratype ! '':
  69. '<center>You put the '+iif($pursepantytype ! '','panties','')+iif($pursepantytype ! '' and $pursebratype ! '',' and ','')+iif($pursebratype ! '','bra','')+' from your purse back in the wardrobe.</center><br>'
  70. killvar '$pursepantytype' & killvar 'pursepantynumber'
  71. killvar '$pursebratype' & killvar 'pursebranumber'
  72. end
  73. '<center><font color="maroon">These are the clothes you are currently wearing - Click on an item to change it</font></center><center><table border=0 cellspacing=<<ward_img_hgt/25>> cellpadding=5>'
  74. if underwear['type'] = 0:
  75. *p '<TH>Bra worn</TH><TH>Outfit worn</TH><TH>Coat (only worn outside when cold)</TH>'
  76. *P '<TR><TD><center><a href="exec:gt ''wardrobe'', ''underwear_options'', ''bra''"><img Height = <<ward_img_hgt>> src="<<FUNC(''$body_image'',''bra'')>>"></a></center></TD><TD><center><a href="exec:gt ''clothing_QV'', ''list''"><img Height = <<ward_img_hgt * 2>> src="<<FUNC(''$body_image'',''clothes'')>>"></a></center></TD><TD><center>'
  77. else
  78. *p '<TH>Bodysuit worn</TH><TH>Outfit worn</TH><TH>Coat (only worn outside when cold)</TH>'
  79. *P '<TR><TD ROWSPAN=4><center><a href="exec:gt ''wardrobe'', ''underwear_options'', ''full''"><img Height = <<ward_img_hgt>>*2 src="<<FUNC(''$body_image'',''bodysuit'')>>"></a></center></TD><TD><center><a href="exec:gt ''clothing_QV'', ''list''"><img Height = <<ward_img_hgt * 2>> src="<<FUNC(''$body_image'',''clothes'')>>"></a></center></TD><TD><center>'
  80. end
  81. if $coatworntype = 'none':
  82. '<a href="exec:gt ''coats'', ''view_coat_list'', ''wardrobe''">Search the wardrobe</a>'
  83. else
  84. '<a href="exec:gt ''coats'', ''view_coat_list'', ''wardrobe''"><img Height = <<ward_img_hgt * 2>> src="<<FUNC(''$body_image'', ''coat'')>>"></a>'
  85. end
  86. if underwear['type'] = 0:
  87. '</center></TD><TR><TD><center>'
  88. if $braworntype ! 'none':
  89. '<a href="exec:gs ''bras'', ''remove'' & gt ''wardrobe'', ''main''">Remove</a>'
  90. else
  91. 'Remove'
  92. end
  93. '</center></TD><TD><center>'
  94. else
  95. '</center></TD><TR><TD><center>'
  96. end
  97. if $clothingworntype ! 'nude':
  98. '<a href="exec:gs ''clothing'', ''strip'' & gt ''wardrobe'', ''main''">Remove</a>'
  99. else
  100. 'Remove'
  101. end
  102. '</center></TD><TD><center>'
  103. if $coatworntype ! 'none':
  104. '<a href="exec:gs ''coats'', ''remove'' & gt ''wardrobe'', ''main''">Remove</a>'
  105. else
  106. 'Remove'
  107. end
  108. '</center></TD>'
  109. if underwear['type'] = 0:
  110. *p '<TR><TH>Panties worn</TH><TH>Shoes (Only worn outside)</TH><TH>Purse worn</TH>'
  111. *P '<TR><TD><center><a href="exec:gt ''wardrobe'', ''underwear_options'', ''panties''"><img Height = <<ward_img_hgt>> src="<<FUNC(''$body_image'',''panties'')>>"></a></center></TD><TD><center><a href="exec:gt ''shoes'', ''view_shoe_list'', ''wardrobe''"><img Height = <<ward_img_hgt>> src="<<FUNC(''$body_image'', ''shoes'')>>"></a></center></TD><TD><center>'
  112. else
  113. *p '<TR><TH>Shoes (Only worn outside)</TH><TH>Purse worn</TH>'
  114. *P '<TR><TD><center><a href="exec:gt ''shoes'', ''view_shoe_list'', ''wardrobe''"><img Height = <<ward_img_hgt>> src="<<FUNC(''$body_image'', ''shoes'')>>"></a></center></TD><TD><center>'
  115. end
  116. if bag = 1:
  117. '<a href="exec:gt ''purses'', ''view_purse_list'',''wardrobe''"><img Height = <<ward_img_hgt>> src="<<FUNC(''$purse_image'', $currentpursetype, currentpursenumber)>>"></a>'
  118. else
  119. '<a href="exec:gt ''purses'', ''view_purse_list'',''wardrobe''">Search the wardrobe</a>'
  120. end
  121. if underwear['type'] = 0:
  122. '</center></TD><TR><TD><center>'
  123. if $pantyworntype ! 'none':
  124. '<a href="exec:gs ''panties'', ''remove'' & gt ''wardrobe'', ''main''">Remove</a>'
  125. else
  126. 'Remove'
  127. end
  128. '</center></TD><TD><center>'
  129. else
  130. '</center></TD><TR><TD><center>'
  131. '<a href="exec:gs ''underwear_bodysuits'', ''remove'' & underwear[''type''] = 0 & gt ''wardrobe'', ''main''">Remove</a>'
  132. '</center></TD><TD><center>'
  133. end
  134. if $shoeworntype ! 'none':
  135. '<a href="exec:gs ''shoes'', ''strip'' & gt ''wardrobe'', ''main''">Remove</a>'
  136. else
  137. 'Remove'
  138. end
  139. '</center></TD><TD><center>'
  140. if bag = 1:
  141. '<a href="exec:gs ''purses'', ''remove'' & gt ''wardrobe'', ''main''">Remove</a>'
  142. else
  143. 'Remove'
  144. end
  145. '</center></TD><TR><TD><TD><center>'
  146. if ($clothingworntype ! 'nude' and ($coatworntype ! 'none' or bag > 0)) or ($coatworntype ! 'none' and bag > 0):
  147. '<a href="exec:gs ''wardrobe'', ''removeall'' & gt ''wardrobe'', ''main''">Remove all items</a>'
  148. else
  149. 'Remove all items'
  150. end
  151. *nl
  152. '<center><font color="grey">Save/load outfits with "Managed saved clothing sets".</font></center>'
  153. '<TD></center></TD></table></center>'
  154. act 'Close wardrobe': gt $loc, $loc_arg
  155. act 'Strip all clothing':
  156. gs 'bras', 'remove'
  157. gs 'clothing', 'strip'
  158. gs 'panties', 'remove'
  159. gs 'shoes', 'strip'
  160. gt 'wardrobe', 'main'
  161. end
  162. act 'Set image size for this view':
  163. ward_img_hgt = input("Enter height in pixels you want for images on this page <br>(Default 150, min 50, max 500)")
  164. if ward_img_hgt < 50:
  165. ward_img_hgt = 50
  166. elseif ward_img_hgt > 500:
  167. ward_img_hgt = 500
  168. end
  169. gt 'wardrobe', 'main'
  170. end
  171. end
  172. if $ARGS[0] = 'underwear_options':
  173. '<center><font color="maroon">Please select an option</font></center>'
  174. *nl
  175. *nl
  176. *nl
  177. '<center><a href="exec:gt ''underwear_bodysuits'', ''view_bodysuit_list'', ''wardrobe''"><img src="images/system/icons/clothing/bodysuits.png" height="150"></a></center>'
  178. if $ARGS[1] = 'bra' or $ARGS[1] = 'full':
  179. *nl
  180. *nl
  181. *nl
  182. '<center><a href="exec:gt ''bras'', ''view_bra_list'', ''wardrobe''"><img src="images/system/icons/clothing/bras.png" height="150"></a></center>'
  183. end
  184. if $ARGS[1] = 'panties' or $ARGS[1] = 'full':
  185. *nl
  186. *nl
  187. *nl
  188. '<center><a href="exec:gt ''panties'', ''view_panty_list'', ''wardrobe''"><img src="images/system/icons/clothing/panties.png" height="150"></a></center>'
  189. end
  190. act 'Return': gt 'wardrobe', 'main'
  191. end
  192. if $ARGS[0] = 'removeall':
  193. gs 'bras', 'remove'
  194. gs 'clothing', 'strip'
  195. gs 'panties', 'remove'
  196. gs 'shoes', 'strip'
  197. gs 'purses', 'remove'
  198. gs 'coats', 'remove'
  199. end
  200. !!---------------------------Oufit stuff----------------------------------
  201. $default_clothing_suma = {
  202. RESULT = defclothingnumber[ARGS[0]]+ defbranumber[ARGS[0]] + defpantynumber[ARGS[0]] + defshoenumber[ARGS[0]] + defpursenumber[ARGS[0]] + defcoatnumber[ARGS[0]]
  203. }
  204. $default_clothing_line = {
  205. !! a single line in a clothing list (wardrobe, etc)
  206. !! ARGS 0 - action type (wardrobe, sell, resize, store, forsale)
  207. !! ARGS 1 - clothing type
  208. !! ARGS 2 - clothing index
  209. gs 'themes', 'clothing', 1
  210. gs 'clothing_attributes', $defclothingtype[default_entry], defclothingnumber[default_entry]
  211. $RESULT = '<TR bgcolor='+$bgcolor+'>'
  212. $RESULT +='<TD><b><<$def_clothing_name[default_entry]>></b></TD>'
  213. if defclothingnumber[default_entry] = 0:
  214. $RESULT +='<TD><img width="100" src="images/pc/items/blank.jpg"></TD>'
  215. else
  216. $RESULT +='<TD><img width="100" src="<<FUNC(''$clothing_image'', $defclothingtype[default_entry], defclothingnumber[default_entry])>>"></TD>'
  217. end
  218. if defunderwear[default_entry] = 2:
  219. if defbodysuitnumber[default_entry] = 0:
  220. $RESULT +='<TD><img width="100" src="images/pc/items/blank.jpg"></TD>'
  221. else
  222. $RESULT +='<TD><img width="100" src="<<FUNC(''$pcs_outfit_image'', $defbodysuittype[default_entry]+''_bodysuits'', defbodysuitnumber[default_entry])>>"></TD>'
  223. end
  224. $RESULT +='<TD><img width="100" src="images/pc/items/blank.jpg"></TD>'
  225. else
  226. if defbranumber[default_entry] = 0:
  227. $RESULT +='<TD><img width="100" src="images/pc/items/blank.jpg"></TD>'
  228. else
  229. $RESULT +='<TD><img width="100" src="<<FUNC(''$bra_image'', $defbratype[default_entry], defbranumber[default_entry])>>"></TD>'
  230. end
  231. if defpantynumber[default_entry] = 0:
  232. $RESULT +='<TD><img width="100" src="images/pc/items/blank.jpg"></TD>'
  233. else
  234. $RESULT +='<TD><img width="100" src="<<FUNC(''$panty_image'', $defpantytype[default_entry], defpantynumber[default_entry])>>"></TD>'
  235. end
  236. end
  237. if defshoenumber[default_entry] = 0:
  238. $RESULT +='<TD><img width="100" src="images/pc/items/blank.jpg"></TD>'
  239. else
  240. $RESULT +='<TD><img width="100" src="<<FUNC(''$shoe_image'', $defshoetype[default_entry], defshoenumber[default_entry])>>"></TD>'
  241. end
  242. if defcoatnumber[default_entry] = 0:
  243. $RESULT +='<TD><img width="100" src="images/pc/items/blank.jpg"></TD>'
  244. else
  245. $RESULT +='<TD><img width="100" src="<<FUNC(''$coat_image'', $defcoattype[default_entry], defcoatnumber[default_entry])>>"</TD>'
  246. end
  247. if defpursenumber[default_entry] = 0:
  248. $RESULT +='<TD><img width="100" src="images/pc/items/blank.jpg"></TD>'
  249. else
  250. $RESULT +='<TD><img width="100" src="<<FUNC(''$purse_image'', $defpursetype[default_entry], defpursenumber[default_entry])>>"></TD>'
  251. end
  252. $RESULT +='<TD><a href="exec:gs ''wardrobe'', ''default_entry_wear'', <<default_entry>>"><img src="images/system/icons/clothing/wear.png"></a></TD>'
  253. $RESULT +='<TD><a href="exec:gs ''wardrobe'', ''default_entry_set'', <<default_entry>>"><img src="images/system/icons/clothing/overwrite.png"></a></TD>'
  254. $RESULT +='<TD><a href="exec:gs ''wardrobe'', ''default_entry_rename'', <<default_entry>>"><img src="images/system/icons/clothing/rename.png"></a></TD>'
  255. $RESULT +='<TD><a href="exec:gs ''wardrobe'', ''default_entry_delete'', <<default_entry>>"><img src="images/system/icons/clothing/delete_on.png"></a></TD>'
  256. if $defshoetype[default_entry] = 'danilovich' and $defclothingtype[default_entry] = 'danilovich_outfits':
  257. if default_sport_number ! default_entry:
  258. $RESULT += '<TD><a href="exec:gs ''wardrobe'', ''default_sport_set'', <<default_entry>>"><img src="images/system/icons/clothing/sport_off.png"></a></TD><TR>'
  259. else
  260. $RESULT += '<TD><img src="images/system/icons/clothing/sport.png"></TD><TR>'
  261. end
  262. elseif SchoolAtestat = 0 and CloStyle2 = 4:
  263. if default_school_number ! default_entry:
  264. $RESULT += '<TD><a href="exec:gs ''wardrobe'', ''default_school_set'', <<default_entry>>"><img src="images/system/icons/clothing/school_off.png"></a></TD><TR>'
  265. else
  266. $RESULT += '<TD><img src="images/system/icons/clothing/school.png"></TD><TR>'
  267. end
  268. else
  269. $RESULT += '<TD></TD><TR>'
  270. end
  271. }
  272. if $ARGS[0] = 'default_name_initialise':
  273. if $clothing_default_page[1] = '':$clothing_default_page[1] = 'Set 1'
  274. if $clothing_default_page[2] = '':$clothing_default_page[2] = 'Set 2'
  275. if $clothing_default_page[3] = '':$clothing_default_page[3] = 'Set 3'
  276. if $clothing_default_page[4] = '':$clothing_default_page[4] = 'Set 4'
  277. if $clothing_default_page[5] = '':$clothing_default_page[5] = 'Set 5'
  278. if $clothing_default_page[6] = '':$clothing_default_page[6] = 'Set 6'
  279. if $clothing_default_page[7] = '':$clothing_default_page[7] = 'Set 7'
  280. if $clothing_default_page[8] = '':$clothing_default_page[8] = 'Set 8'
  281. if $clothing_default_page[9] = '':$clothing_default_page[9] = 'Set 9'
  282. if $clothing_default_page[10] = '':$clothing_default_page[10] = 'Set 10'
  283. end
  284. if $ARGS[0] = 'default_template':
  285. killvar '$temp1'
  286. killvar 'temp2'
  287. clothing_default_page = ARGS[1]
  288. gs 'wardrobe', 'default_name_initialise'
  289. gs 'stat'
  290. '<center><table><tr><td><a href="exec:gt ''wardrobe'', ''main''"><img src="images/system/icons/clothing/clothes.png" height="50"></td><td><center><B>Current set: <<$default_entry[2]>></B><br><a href="exec: gs ''wardrobe'', ''default_set_name''">Rename set</a></center></td><td><a href="exec:gt ''clothing'', ''view_clothing_list'', ''wardrobe''"><img src="images/system/icons/clothing/organize.png" height="50"></td></tr><TR><TD></TD></table></center>'
  291. if $wardrobeDefaultPagePref = $wloc:
  292. $wardrobeSetDefault = '<a href="exec: killvar ''$wardrobeDefaultPagePref'' & gt ''wardrobe'', ''<<$wloc>>''">Remove saved default wardrobe page</a>'
  293. else
  294. $wardrobeSetDefault = '<a href="exec: $wardrobeDefaultPagePref = $wloc & gt ''wardrobe'', ''<<$wloc>>''">Set here as default wardrobe page</a>'
  295. end
  296. '<center><<$wardrobeSetDefault>></center>'
  297. killvar '$wardrobeSetDefault'
  298. '<center><table><TH>Name</TH><TH>Outfit</TH><TH>Bra/Bodysuit</TH><TH>Panties</TH><TH>Shoes</TH><TH>Coat</TH><TH>Purse</TH><TH></TH><TH></TH><TH></TH><TH></TH><TH></TH><TR>'
  299. temp = default_entry
  300. :loopdefault_entry_set
  301. if dyneval($default_clothing_suma,default_entry) ! 0: *p dyneval($default_clothing_line)
  302. default_entry += 1
  303. if default_entry <= default_entry[1]:jump 'loopdefault_entry_set'
  304. default_entry = temp
  305. :loopdefault_entry_empty
  306. if dyneval($default_clothing_suma,default_entry) = 0: *p dyneval($default_clothing_line)
  307. default_entry += 1
  308. if default_entry <= default_entry[1]:jump 'loopdefault_entry_empty'
  309. '</table></center>'
  310. end
  311. if $ARGS[0] = 'default_set_name':
  312. *clr & cla
  313. $clothing_default_page[clothing_default_page] = input('Enter new name for this set')
  314. act 'Return': gt 'wardrobe', 'default<<clothing_default_page>>'
  315. end
  316. if $ARGS[0] = 'default_actions':
  317. act 'Return':
  318. gt $loc, $loc_arg
  319. end
  320. act 'Select outfit to wear':
  321. cla
  322. gs 'wardrobe', 'default_actions_wear'
  323. end
  324. act 'Choose another page':
  325. cla
  326. gs 'wardrobe', 'default_actions_page'
  327. end
  328. act 'Rename this set': gs 'wardrobe', 'default_set_name'
  329. end
  330. if $ARGS[0] = 'default_actions_page':
  331. if ARGS[1] ! 1: act 'See <<$clothing_default_page[1]>> set': gt 'wardrobe', 'default1'
  332. if ARGS[1] ! 2: act 'See <<$clothing_default_page[2]>> set': gt 'wardrobe', 'default2'
  333. if ARGS[1] ! 3: act 'See <<$clothing_default_page[3]>> set': gt 'wardrobe', 'default3'
  334. if ARGS[1] ! 4: act 'See <<$clothing_default_page[4]>> set': gt 'wardrobe', 'default4'
  335. if ARGS[1] ! 5: act 'See <<$clothing_default_page[5]>> set': gt 'wardrobe', 'default5'
  336. if ARGS[1] ! 6: act 'See <<$clothing_default_page[6]>> set': gt 'wardrobe', 'default6'
  337. if ARGS[1] ! 7: act 'See <<$clothing_default_page[7]>> set': gt 'wardrobe', 'default7'
  338. if ARGS[1] ! 8: act 'See <<$clothing_default_page[8]>> set': gt 'wardrobe', 'default8'
  339. if ARGS[1] ! 9: act 'See <<$clothing_default_page[9]>> set': gt 'wardrobe', 'default9'
  340. if ARGS[1] ! 10: act 'See <<$clothing_default_page[10]>> set': gt 'wardrobe', 'default10'
  341. end
  342. if $ARGS[0] = 'default_actions_wear':
  343. default_entry -= 10
  344. i = default_entry
  345. :loop_default_actions_wear
  346. if dyneval($default_clothing_suma, i) ! 0:
  347. $var_default_actions_wear = dyneval('$result = "act ''Wear <<$def_clothing_name[i]>>'': gs ''wardrobe'', ''default_entry_wear'', <<i>>"')
  348. dynamic $var_default_actions_wear
  349. end
  350. i += 1
  351. if i <= default_entry[1]: jump 'loop_default_actions_wear'
  352. killvar 'i'
  353. killvar '$var_default_actions_wear'
  354. end
  355. if $ARGS[0] = 'default1':
  356. $wloc = 'default1'
  357. default_entry = 1
  358. default_entry[1] = 10
  359. $default_entry[2] = $clothing_default_page[1]
  360. !! gs default_actions *before* gs default_template
  361. !! as default_template modifies variable default_entry.
  362. gs 'wardrobe', 'default_actions', 1
  363. gs 'wardrobe', 'default_template', 1
  364. end
  365. if $ARGS[0] = 'default2':
  366. $wloc = 'default2'
  367. default_entry = 11
  368. default_entry[1] = 20
  369. $default_entry[2] = $clothing_default_page[2]
  370. gs 'wardrobe', 'default_actions', 2
  371. gs 'wardrobe', 'default_template', 2
  372. end
  373. if $ARGS[0] = 'default3':
  374. $wloc = 'default3'
  375. default_entry = 21
  376. default_entry[1] = 30
  377. $default_entry[2] = $clothing_default_page[3]
  378. gs 'wardrobe', 'default_actions', 3
  379. gs 'wardrobe', 'default_template', 3
  380. end
  381. if $ARGS[0] = 'default4':
  382. $wloc = 'default4'
  383. default_entry = 31
  384. default_entry[1] = 40
  385. $default_entry[2] = $clothing_default_page[4]
  386. gs 'wardrobe', 'default_actions', 4
  387. gs 'wardrobe', 'default_template', 4
  388. end
  389. if $ARGS[0] = 'default5':
  390. $wloc = 'default5'
  391. default_entry = 41
  392. default_entry[1] = 50
  393. $default_entry[2] = $clothing_default_page[5]
  394. gs 'wardrobe', 'default_actions', 5
  395. gs 'wardrobe', 'default_template', 5
  396. end
  397. if $ARGS[0] = 'default6':
  398. $wloc = 'default6'
  399. default_entry = 51
  400. default_entry[1] = 60
  401. $default_entry[2] = $clothing_default_page[6]
  402. gs 'wardrobe', 'default_actions', 6
  403. gs 'wardrobe', 'default_template', 6
  404. end
  405. if $ARGS[0] = 'default7':
  406. $wloc = 'default7'
  407. default_entry = 61
  408. default_entry[1] = 70
  409. $default_entry[2] = $clothing_default_page[7]
  410. gs 'wardrobe', 'default_actions', 7
  411. gs 'wardrobe', 'default_template', 7
  412. end
  413. if $ARGS[0] = 'default8':
  414. $wloc = 'default8'
  415. default_entry = 71
  416. default_entry[1] = 80
  417. $default_entry[2] = $clothing_default_page[8]
  418. gs 'wardrobe', 'default_actions', 8
  419. gs 'wardrobe', 'default_template', 8
  420. end
  421. if $ARGS[0] = 'default9':
  422. $wloc = 'default9'
  423. default_entry = 81
  424. default_entry[1] = 90
  425. $default_entry[2] = $clothing_default_page[9]
  426. gs 'wardrobe', 'default_actions', 9
  427. gs 'wardrobe', 'default_template', 9
  428. end
  429. if $ARGS[0] = 'default10':
  430. $wloc = 'default10'
  431. default_entry = 91
  432. default_entry[1] = 100
  433. $default_entry[2] = $clothing_default_page[10]
  434. gs 'wardrobe', 'default_actions', 10
  435. gs 'wardrobe', 'default_template', 10
  436. end
  437. if $ARGS[0] = 'default_entry_wear':
  438. gs 'stat'
  439. default_entry = ARGS[1]
  440. $temp1 = $defclothingtype[default_entry]
  441. temp2 = defclothingnumber[default_entry]
  442. gs 'clothing_attributes', $temp1, temp2
  443. if ARRPOS('$CloLosTyp', $temp1) ! -1 and ARRPOS('CloLosNum', temp2) ! -1:
  444. msg '<center>You''ve lost part of this set, and are unable to wear all items.<br>Maybe you can find the missing clothes somewhere?</center>'
  445. gt 'wardrobe', $wloc
  446. else
  447. gs 'clothing', 'wear', $temp1, temp2
  448. end
  449. if defunderwear[default_entry] = 2:
  450. if hypnoPanty = 1 or hypnoBra = 1:
  451. !! removal of underwear from set if therapist has prohibited it
  452. $defbodysuittype[default_entry] = 'none' & defbodysuitnumber[default_entry] = 0
  453. defunderwear[default_entry] = 0
  454. msg '<center>You feel like something about this set has changed but you cannot workout what it is.</center>'
  455. elseif dyneval('RESULT = <<$defbodysuittype[default_entry]>>_bodysuits[<<defbodysuitnumber[default_entry]>>]') = 0:
  456. $defbodysuittype[default_entry] = 'none' & defbodysuitnumber[default_entry] = 0
  457. end
  458. if $defbodysuittype[default_entry] = 'none':
  459. if $bodysuitworntype ! 'none': gs 'underwear_bodysuits', 'remove'
  460. else
  461. gs 'underwear_bodysuits', 'wear2', $defbodysuittype[default_entry], defbodysuitnumber[default_entry]
  462. end
  463. end
  464. if defunderwear[default_entry] = 0:
  465. if (hypnoPanty = 1 and $pantyworntype ! 'none') or (hypnoBra = 1 and $braworntype ! 'none'):
  466. !! removal of underwear from set if therapist has prohibited it
  467. if hypnoPanty = 1 and $pantyworntype ! 'none': $defpantytype[default_entry] = 'none' & defpantynumber[default_entry] = 0
  468. if hypnoBra = 1 and $braworntype ! 'none': $defbratype[default_entry] = 'none' & defbranumber[default_entry] = 0
  469. msg '<center>You feel like something about this set has changed but you cannot workout what it is.</center>'
  470. end
  471. if dyneval('RESULT = <<$defpantytype[default_entry]>>_panties[<<defpantynumber[default_entry]>>]') = 0:
  472. $defpantytype[default_entry] = 'none' & defpantynumber[default_entry] = 0
  473. end
  474. if $defpantytype[default_entry] = 'none':
  475. if $pantyworntype ! 'none': gs 'panties', 'remove'
  476. else
  477. gs 'panties', 'wear', $defpantytype[default_entry], defpantynumber[default_entry]
  478. end
  479. if dyneval('RESULT = <<$defbratype[default_entry]>>_bras[<<defbranumber[default_entry]>>]') = 0:
  480. $defbratype[default_entry] = 'none' & defbranumber[default_entry] = 0
  481. end
  482. if $defbratype[default_entry] = 'none':
  483. if $braworntype ! 'none': gs 'bras', 'remove'
  484. else
  485. gs 'bras', 'wear', $defbratype[default_entry], defbranumber[default_entry]
  486. end
  487. end
  488. if dyneval('RESULT = <<$defshoetype[default_entry]>>_shoe[<<defshoenumber[default_entry]>>]') = 0:
  489. $defshoetype[default_entry] = 'none' & defshoenumber[default_entry] = 0
  490. else
  491. gs 'shoes', 'wear', $defshoetype[default_entry], defshoenumber[default_entry]
  492. end
  493. if dyneval('RESULT = <<$defpursetype[default_entry]>>_purses[<<defpursenumber[default_entry]>>]') = 0:
  494. $defpursetype[default_entry] = 'none' & defpursenumber[default_entry] = 0
  495. else
  496. $currentpursetype = $defpursetype[default_entry]
  497. currentpursenumber = defpursenumber[default_entry]
  498. end
  499. if $currentpursetype = 'none':
  500. bag = 0
  501. else
  502. bag = 1
  503. end
  504. if dyneval('RESULT = <<$defcoattype[default_entry]>>_coats[<<defcoatnumber[default_entry]>>]') = 0:
  505. $defcoattype[default_entry] = 'none' & defcoatnumber[default_entry] = 0
  506. else
  507. gs 'coats', 'wear', $defcoattype[default_entry], defcoatnumber[default_entry]
  508. end
  509. !! default school girl uniform is always allowed to be worn if still in school
  510. if mid($start_type,1,2) = 'sg' and SchoolAtestat = 0 and SchoolBlock = 0 and $temp1 = 'gm_school' and temp2 = 6:
  511. cls
  512. '<center><video autoplay loop src="images/pc/activities/misc/dress_1.mp4"></video></center>'
  513. 'Your put on your <<$def_clothing_name[default_entry]>> outfit without any problems.'
  514. act 'Return': gt 'wardrobe', $wloc
  515. !! do not own this clothing anymore
  516. elseif dyneval('RESULT = <<$temp1>>[<<temp2>>]') = 0 and temp2 ! 0:
  517. cls
  518. '<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/boy/niko/nikoev/school/strip/strip2.jpg"></center>'
  519. 'As you go to pull your <<$def_clothing_name[default_entry]>> outfit out of your wardrobe you remember you don''t own that piece of clothing anymore. Maybe you should buy it again? Guess you will have to find something else to wear.'
  520. act 'Return': gt 'wardrobe', $wloc
  521. !! strength of clothing is less than or equal to 0
  522. elseif dyneval('RESULT = <<$temp1>>_h[<<temp2>>]') <= 0 and $temp1 ! 'nude':
  523. cls
  524. '<center><video autoplay loop src="images/characters/pavlovsk/school/girl/vicky/event/vika_game_strip16.mp4"></video></center>'
  525. 'Your <<$def_clothing_name[default_entry]>> outfit has worn out and can''t be used anymore. Guess you will have to find something else to wear.'
  526. act 'Strip out of worn out clothing':
  527. cla
  528. gs 'clothing', 'strip'
  529. gs 'wardrobe', 'default_entry_delete'
  530. gs 'stat'
  531. act 'Return': gt 'wardrobe', $wloc
  532. end
  533. !! clothing exhibition is greater than player exhibition
  534. elseif CloInhibit > pcs_inhib:
  535. cls
  536. '<center><video autoplay loop src="images/locations/pavlovsk/trainstation/bimbo.strip6.mp4"></video></center>'
  537. 'You don''t feel daring enough to wear your <<$def_clothing_name[default_entry]>> outfit. Maybe you will be confident enough in the future? Guess you will have to find something else to wear.'
  538. act 'Strip out of revealing clothing':
  539. cla
  540. gs 'clothing', 'strip'
  541. gs 'stat'
  542. act 'Return': gt 'wardrobe', $wloc
  543. end
  544. !! not exercise clothing, and not loose fitting
  545. elseif $temp1 ! 'danilovich_outfits' and CloStyle ! 5:
  546. !! check for if the hipsize is too far from your hipsize
  547. dynamic 'RESULT = <<$temp1>>_b[<<temp2>>]'
  548. if RESULT < pcs_hips - 8 or RESULT > pcs_hips + 8:
  549. cls
  550. iif(RESULT < pcs_hips - 8,'<center><video autoplay loop src="images/locations/pavlovsk/clinic/therapist/dressup.mp4"></video></center>','<center><video autoplay loop src="images/locations/pavlovsk/clinic/therapist/stripping<<rand(1,4)>>.mp4"></video></center>')
  551. 'As you put on your <<$def_clothing_name[default_entry]>> outfit you notice it doesn''t fit correctly anymore. It''s ' + iif(RESULT < pcs_hips - 8,'unbearably tight and uncomfortable to wear.','extremely loose and won''t stay in place no matter how hard you try.') + ' You must have ' + iif(RESULT < pcs_hips - 8,'gained','lost') + ' some weight since this was purchased or last tailored. You will have to get this clothing resized before you can wear it again.'
  552. act 'Strip out of ill-fitting clothing':
  553. cla
  554. gs 'clothing', 'strip'
  555. gs 'stat'
  556. act 'Return': gt 'wardrobe', $wloc
  557. end
  558. !! clothing ok to wear after passing hip check
  559. else
  560. cls
  561. '<center><video autoplay loop src="images/pc/activities/misc/dress_1.mp4"></video></center>'
  562. 'Your put on your <<$def_clothing_name[default_entry]>> outfit without any problems.'
  563. act 'Return': gt 'wardrobe', $wloc
  564. end
  565. !! clothing ok to wear without needing hip check and passing all other checks
  566. else
  567. cls
  568. '<center><video autoplay loop src="images/pc/activities/misc/dress_1.mp4"></video></center>'
  569. 'Your put on your <<$def_clothing_name[default_entry]>> outfit without any problems.'
  570. act 'Return': gt 'wardrobe', $wloc
  571. end
  572. end
  573. if $ARGS[0] = 'default_entry_set':
  574. gs 'stat'
  575. i = ARGS[1]
  576. $defclothingtype[i] = $clothingworntype
  577. defclothingnumber[i] = clothingwornnumber
  578. defunderwear[i] = underwear['type']
  579. if underwear['type'] = 2:
  580. $defbodysuittype[i] = $bodysuitworntype
  581. defbodysuitnumber[i] = bodysuitwornnumber
  582. else
  583. $defbratype[i] = $braworntype
  584. defbranumber[i] = brawornnumber
  585. $defpantytype[i] = $pantyworntype
  586. defpantynumber[i] = pantywornnumber
  587. end
  588. $defshoetype[i] = $shoeworntype
  589. defshoenumber[i] = shoewornnumber
  590. if bag = 1:
  591. $defpursetype[i] = $currentpursetype
  592. defpursenumber[i] = currentpursenumber
  593. else
  594. $defpursetype[i] = 'none'
  595. end
  596. $defcoattype[i] = $coatworntype
  597. defcoatnumber[i] = coatwornnumber
  598. $def_clothing_temp = '<<$def_clothing_name[i]>>'
  599. $def_clothing_name[i] = input ('<center>Enter a name for this outfit set<br><font color="grey">Leaving blank will reuse current name.</font></center>')
  600. if $def_clothing_name[i] = '' and $def_clothing_temp = '':
  601. $def_clothing_name[i] = 'Custom <<i>>'
  602. elseif $def_clothing_name[i] = '':
  603. $def_clothing_name[i] = '<<$def_clothing_temp>>'
  604. end
  605. gt 'wardrobe', $wloc
  606. end
  607. if $ARGS[0] = 'default_entry_rename':
  608. gs 'stat'
  609. i = ARGS[1]
  610. $def_clothing_temp = '<<$def_clothing_name[i]>>'
  611. $def_clothing_name[i] = input ('<center>Enter a name for this outfit set<br><font color="grey">Leaving blank will reuse current name.</font></center>')
  612. if $def_clothing_name[i] = '' and $def_clothing_temp = '':
  613. $def_clothing_name[i] = 'Custom <<i>>'
  614. elseif $def_clothing_name[i] = '':
  615. $def_clothing_name[i] = '<<$def_clothing_temp>>'
  616. end
  617. gt 'wardrobe', $wloc
  618. end
  619. if $ARGS[0] = 'default_entry_up':
  620. gs 'stat'
  621. i = ARGS[1]
  622. if i = 0:
  623. j = ARRSIZE('defclothingnumber') - 1
  624. else
  625. j = i - 1
  626. end
  627. $tempclothingworntype = $defclothingtype[i]
  628. tempclothingwornnumber = defclothingnumber[i]
  629. if underwear['type'] = 2:
  630. $tempbodysuittype[i] = $defbodysuittype[i]
  631. tempbodysuitnumber[i] = defbodysuitnumber[i]
  632. else
  633. $tempbraworntype = $defbratype[i]
  634. tempbrawornnumber = defbranumber[i]
  635. $temppantyworntype = $defpantytype[i]
  636. temppantywornnumber = defpantynumber[i]
  637. end
  638. $tempshoeworntype = $defshoetype[i]
  639. tempshoewornnumber = defshoenumber[i]
  640. $tempcurrentpursetype = $defpursetype[i]
  641. tempcurrentpursenumber = defpursenumber[i]
  642. $tempcurrentcoattype = $defcoattype[i]
  643. tempcurrentcoatnumber = defcoatnumber[i]
  644. $def_clothing_temp = '<<$def_clothing_name[i]>>'
  645. $defclothingtype[i] = $defclothingtype[j]
  646. defclothingnumber[i] = defclothingnumber[j]
  647. if underwear['type'] = 2:
  648. $defbodysuittype[i] = $defbodysuittype[j]
  649. defbodysuitnumber[i] = defbodysuitnumber[j]
  650. else
  651. $defbratype[i] = $defbratype[j]
  652. defbranumber[i] = defbranumber[j]
  653. $defpantytype[i] = $defpantytype[j]
  654. defpantynumber[i] = defpantynumber[j]
  655. end
  656. $defbratype[i] = $defbratype[j]
  657. defbranumber[i] = defbranumber[j]
  658. $defpantytype[i] = $defpantytype[j]
  659. defpantynumber[i] = defpantynumber[j]
  660. $defshoetype[i] = $defshoetype[j]
  661. defshoenumber[i] = defshoenumber[j]
  662. $defpursetype[i] = $defpursetype[j]
  663. defpursenumber[i] = defpursenumber[j]
  664. $defcoattype[i] = $defcoattype[j]
  665. defcoatnumber[i] = defcoatnumber[j]
  666. $def_clothing_name[i] = '<<$def_clothing_name[j]>>'
  667. $defclothingtype[j] = $tempclothingworntype
  668. defclothingnumber[j] = tempclothingwornnumber
  669. if underwear['type'] = 2:
  670. $defbodysuittype[j] = $tempbodysuittype
  671. defbodysuitnumber[j] = tempbodysuitnumber
  672. else
  673. $defbratype[j] = $tempbraworntype
  674. defbranumber[j] = tempbrawornnumber
  675. $defpantytype[j] = $temppantyworntype
  676. defpantynumber[j] = temppantywornnumber
  677. end
  678. $defshoetype[j] = $tempshoeworntype
  679. defshoenumber[j] = tempshoewornnumber
  680. $defpursetype[j] = $tempcurrentpursetype
  681. defpursenumber[j] = tempcurrentpursenumber
  682. $defcoattype[j] = $tempcurrentcoattype
  683. defcoatnumber[j] = tempcurrentcoatnumber
  684. $def_clothing_name[j] = '<<$def_clothing_temp>>'
  685. gt 'wardrobe', $wloc
  686. end
  687. if $ARGS[0] = 'default_entry_down':
  688. gs 'stat'
  689. i = ARGS[1]
  690. if i = ARRSIZE('defclothingnumber') - 1:
  691. j = 0
  692. else
  693. j = i + 1
  694. end
  695. $tempclothingworntype = $defclothingtype[i]
  696. tempclothingwornnumber = defclothingnumber[i]
  697. $tempbraworntype = $defbratype[i]
  698. tempbrawornnumber = defbranumber[i]
  699. $temppantyworntype = $defpantytype[i]
  700. temppantywornnumber = defpantynumber[i]
  701. $tempshoeworntype = $defshoetype[i]
  702. tempshoewornnumber = defshoenumber[i]
  703. $tempcurrentpursetype = $defpursetype[i]
  704. tempcurrentpursenumber = defpursenumber[i]
  705. $tempcurrentcoattype = $defcoattype[i]
  706. tempcurrentcoatnumber = defcoatnumber[i]
  707. $def_clothing_temp = '<<$def_clothing_name[i]>>'
  708. $defclothingtype[i] = $defclothingtype[j]
  709. defclothingnumber[i] = defclothingnumber[j]
  710. $defbratype[i] = $defbratype[j]
  711. defbranumber[i] = defbranumber[j]
  712. $defpantytype[i] = $defpantytype[j]
  713. defpantynumber[i] = defpantynumber[j]
  714. $defshoetype[i] = $defshoetype[j]
  715. defshoenumber[i] = defshoenumber[j]
  716. $defpursetype[i] = $defpursetype[j]
  717. defpursenumber[i] = defpursenumber[j]
  718. $defcoattype[i] = $defcoattype[j]
  719. defcoatnumber[i] = defcoatnumber[j]
  720. $def_clothing_name[i] = '<<$def_clothing_name[j]>>'
  721. $defclothingtype[j] = $tempclothingworntype
  722. defclothingnumber[j] = tempclothingwornnumber
  723. $defbratype[j] = $tempbraworntype
  724. defbranumber[j] = tempbrawornnumber
  725. $defpantytype[j] = $temppantyworntype
  726. defpantynumber[j] = temppantywornnumber
  727. $defshoetype[j] = $tempshoeworntype
  728. defshoenumber[j] = tempshoewornnumber
  729. $defpursetype[j] = $tempcurrentpursetype
  730. defpursenumber[j] = tempcurrentpursenumber
  731. $defcoattype[j] = $tempcurrentcoattype
  732. defcoatnumber[j] = tempcurrentcoatnumber
  733. $def_clothing_name[j] = '<<$def_clothing_temp>>'
  734. gt 'wardrobe', $wloc
  735. end
  736. if $ARGS[0] = 'default_entry_delete':
  737. gs 'stat'
  738. i = ARGS[1]
  739. $defclothingtype[i] = ''
  740. defclothingnumber[i] = ''
  741. defunderwear[i] = ''
  742. $defbodysuittype[i] = ''
  743. defbodysuitnumber[i] = ''
  744. $defbratype[i] = ''
  745. defbranumber[i] = ''
  746. $defpantytype[i] = ''
  747. defpantynumber[i] = ''
  748. $defshoetype[i] = ''
  749. defshoenumber[i] = ''
  750. $defpursetype[i] = ''
  751. defpursenumber[i] = ''
  752. $defcoattype[i] = ''
  753. defcoatnumber[i] = ''
  754. $def_clothing_name[i] = ''
  755. if default_sport_number = i:
  756. default_sport_number = 0
  757. end
  758. gt 'wardrobe', $wloc
  759. end
  760. if $ARGS[0] = 'default_sport_set':
  761. gs 'stat'
  762. default_sport_number = ARGS[1]
  763. gt 'wardrobe', $wloc
  764. end
  765. if $ARGS[0] = 'default_school_set':
  766. gs 'stat'
  767. default_school_number = ARGS[1]
  768. gt 'wardrobe', $wloc
  769. end
  770. if $ARGS[0] = 'school_outfit':
  771. ! if they have worn a uniform recently we will use that rather than the one in the outfit
  772. if default_school_number = 0:
  773. clothingwornnumber = schtype
  774. $clothingworntype = $schbrand
  775. gs 'wardrobe', 'school_outfit_end'
  776. else
  777. gs 'wardrobe', 'default_entry_wear', default_school_number
  778. end
  779. end
  780. if $ARGS[0] = 'school_outfit_end':
  781. ! if no uniform found or the one selected is worn out, use the default one
  782. if schtype = 0 or dyneval('RESULT = <<$schbrand>>_h[<<schtype>>]') <= 0:
  783. schtype = 6
  784. $schbrand = 'gm_school'
  785. end
  786. gs 'clothing', 'wear', $schbrand, schtype
  787. gs 'panties', 'wear', $lastwornpantytype['bed'], lastwornpantynumber['bed']
  788. gs 'bras', 'wear', $lastwornbratype['bed'], lastwornbranumber['bed']
  789. if $bed['shoetype'] ! 'none':
  790. gs 'shoes', 'wear', $bed['shoetype'], bed['shoenumber']
  791. end
  792. end
  793. if $ARGS[0] = 'default_sport_options':
  794. if default_sport_number = 0:
  795. 'We have no default sports clothing set, you can set this in your wardrobe.'
  796. else
  797. if default_sport_number[1] = 0:
  798. act'Put on your sports clothes':
  799. default_sport_number[1] = 1
  800. $lastwornclothingtype['sport'] = $clothingworntype
  801. lastwornclothingnumber['sport'] = clothingwornnumber
  802. lastwornunderwear['sport'] = underwear['type']
  803. if defunderwear[default_sport_number] = 2:
  804. $defbodysuittype['sport'] = $bodysuitworntype
  805. defbodysuitnumber['sport'] = bodysuitwornnumber
  806. else
  807. $lastwornpantytype['sport'] = $pantyworntype
  808. lastwornpantynumber['sport'] = pantywornnumber
  809. $lastwornbratype['sport'] = $braworntype
  810. lastwornbranumber['sport'] = brawornnumber
  811. end
  812. $shoelastworntype['sport'] = $shoeworntype
  813. shoelastwornnumber['sport'] = shoewornnumber
  814. $lastwornpursetype['sport'] = $currentpursetype
  815. lastworndefpursenumber['sport'] = currentpursenumber
  816. $lastworncoattype['sport'] = $coatworntype
  817. lastworndefcoatnumber['sport'] = coatwornnumber
  818. gs 'wardrobe', 'default_entry_wear', default_sport_number
  819. gt $loc, $loc_arg
  820. end
  821. else
  822. act'Put your regular clothes back on':
  823. default_sport_number[1] = 0
  824. gs 'clothing', 'wear', $lastwornclothingtype['sport'], lastwornclothingnumber['sport']
  825. if lastwornunderwear['sport'] = 2:
  826. gs 'underwear_bodysuits', 'wear', $defbodysuittype['sport'], defbodysuitnumber['sport']
  827. else
  828. gs 'panties', 'wear', $lastwornpantytype['sport'], lastwornpantynumber['sport']
  829. gs 'bras', 'wear', $lastwornbratype['sport'], lastwornbranumber['sport']
  830. end
  831. gs 'shoes', 'wear', $shoelastworntype['sport'], shoelastwornnumber['sport']
  832. gs 'purses', 'wear', $shoelastworntype['sport'], shoelastwornnumber['sport']
  833. gs 'coats', 'wear', $lastworncoattype['sport'], lastworndefcoatnumber['sport']
  834. gt $loc, $loc_arg
  835. end
  836. end
  837. end
  838. end
  839. --- wardrobe ---------------------------------