clothing 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563
  1. # clothing
  2. $clothing_list_line = {
  3. !! a single line in a clothing list (wardrobe, etc)
  4. !! ARGS 0 - action type (wardrobe, sell, resize, store, forsale)
  5. !! ARGS 1 - clothing type
  6. !! ARGS 2 - clothing index
  7. $bgcolor = iif($bgcolor='#f3f4ee','#ffffff','#f3f4ee')
  8. $RESULT = '<TR bgcolor='+$bgcolor+'>'
  9. if Enable_clothwidth > 0:
  10. clothing_temp = Enable_clothwidth - 1
  11. else
  12. clothing_temp = 75 & !clothing widdefault to 75
  13. end
  14. $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>>"></a></TD>'
  15. killvar 'clothing_temp'
  16. gs 'clothing_attributes', $ARGS[1], ARGS[2]
  17. if $ARGS[1] ! 'school' or ARGS[2] ! 6:
  18. $RESULT += '<TD>' + dyneval '$RESULT += <<$ARGS[1]>>H[<<ARGS[2]>>]' + '</TD>'
  19. if $ARGS[1] ! 'exercise' and $ARGS[1] ! 'coat' and CloStyle ! 5:
  20. $RESULT += '<TD>' + dyneval '$RESULT += <<$ARGS[1]>>B[<<ARGS[2]>>]' + '</TD>'
  21. else
  22. $RESULT += '<TD></TD>'
  23. end
  24. else
  25. $RESULT += '<TD colspan="2"></TD>'
  26. end
  27. if $ARGS[1] ! 'coat' and $ARGS[1] ! 'swimwear':
  28. gs 'clothing_descriptions'
  29. $RESULT += '<TD><<FUNC(''$short_description'', $ARGS[1])>> <<ARGS[2]>><br/><br/><<$description>></TD>'
  30. else
  31. $RESULT += '<TD>' + FUNC('$clothing_name', $ARGS[1], ARGS[2]) + '</TD>'
  32. end
  33. if CloBimbo = 1:
  34. $RESULT += '<TD>Yes</TD>'
  35. else
  36. $RESULT += '<TD>No</TD>'
  37. end
  38. if $ARGS[1] = 'naughty' and CloQuality < 4:
  39. $RESULT += '<TD>Yes</TD>'
  40. else
  41. $RESULT += '<TD>No</TD>'
  42. end
  43. $RESULT += '<TD><a href="exec:gt ''clothing'', ''view_clothing_item'', ''<<$ARGS[0]>>'', ''<<$ARGS[1]>>'', <<ARGS[2]>>">View</a>'
  44. if $ARGS[0] ! 'sell':
  45. if StoryLine = 1 and SchoolAtestat = 0 and SchoolBlock = 0 and ($clothingworntype ! 'school' or clothingwornnumber ! 6):
  46. $RESULT += ' <a href="exec:gs ''clothing'', ''wear'', ''<<$ARGS[1]>>'', <<ARGS[2]>> & gt ''clothing'', ''view_clothing_list'', ''wardrobe''">Wear</a></TD>'
  47. elseif ($ARGS[1] ! 'coat' and $ARGS[1] ! 'swimwear') and dyneval('RESULT = <<$ARGS[1]>>H[<<ARGS[2]>>]') > 0:
  48. if $ARGS[1] ! 'exercise' and CloStyle ! 5 and (dyneval('RESULT = <<$ARGS[1]>>B[<<ARGS[2]>>]') < (bedra - 8) or dyneval('RESULT = <<$ARGS[1]>>B[<<ARGS[2]>>]') > (bedra + 8)):
  49. $RESULT += '</TD>'
  50. else
  51. $RESULT += ' <a href="exec:gs ''clothing'', ''wear'', ''<<$ARGS[1]>>'', <<ARGS[2]>> & gt ''clothing'', ''view_clothing_list'', ''wardrobe''">Wear</a></TD>'
  52. end
  53. else
  54. $RESULT += '</TD>'
  55. end
  56. if $ARGS[1] ! 'school' or ARGS[2] ! 6:
  57. $RESULT += '<TD>'
  58. if cloc ! 1:$RESULT += ' <a href="exec:gt ''clothing'', ''dest1'', ''<<$ARGS[0]>>'', ''<<$ARGS[1]>>'', <<ARGS[2]>>">Storage</a><BR>'
  59. if cloc ! 0:$RESULT += ' <a href="exec:gt ''clothing'', ''dest0'', ''<<$ARGS[0]>>'', ''<<$ARGS[1]>>'', <<ARGS[2]>>">Wardrobe</a><BR>'
  60. if cloc ! 2:$RESULT += ' <a href="exec:gt ''clothing'', ''dest2'', ''<<$ARGS[0]>>'', ''<<$ARGS[1]>>'', <<ARGS[2]>>">Unwanted</a>'
  61. $RESULT += '</TD>'
  62. end
  63. end
  64. }
  65. if $ARGS[0] = 'dest0':
  66. *clr
  67. dynamic '<<$ARGS[2]>>S[<<ARGS[3]>>] = 0'
  68. gt 'clothing', 'view_clothing_list', $ARGS[1]
  69. end
  70. if $ARGS[0] = 'dest1':
  71. *clr
  72. dynamic '<<$ARGS[2]>>S[<<ARGS[3]>>] = 1'
  73. gt 'clothing', 'view_clothing_list', $ARGS[1]
  74. end
  75. if $ARGS[0] = 'dest2':
  76. *clr
  77. dynamic '<<$ARGS[2]>>S[<<ARGS[3]>>] = 2'
  78. gt 'clothing', 'view_clothing_list', $ARGS[1]
  79. end
  80. if $ARGS[0] = 'view_clothing_list':
  81. !! ARGS 0 - view_clothing_list
  82. !! ARGS 1 - action type (wardrobe, sell, resize, store, unwanted)
  83. !! ARGS 2 - brothel flag (brothel)
  84. act 'Leave':gt $loc, $metka
  85. if $ARGS[1] ! 'sell' :'<center><table border=1><TH><a href="exec:gt ''clothing'', ''view_clothing_list'', ''wardrobe''">Wardrobe </a></TH><TH><a href="exec:gt ''clothing'', ''view_clothing_list'', ''store''">Storage</a></TH><TH><a href="exec:gt ''clothing'', ''view_clothing_list'', ''unwanted''">Unwanted</a></TH><TH><a href="exec:gt ''clothing_QV'', ''list''">Pick something to wear</a></TH></center>'
  86. $bgcolor='#f3f4ee'
  87. if $ARGS[1] = 'sell' :
  88. '<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>'
  89. else
  90. '<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>'
  91. end
  92. if $ARGS[1] = 'wardrobe':
  93. cloc = 0
  94. if $clothingworntype ! 'nude':act 'Strip':gs 'clothing', 'strip' & gt $loc, $metka
  95. if StoryLine = 1 and SchoolAtestat = 0 and SchoolBlock = 0 and ($clothingworntype ! 'school' or clothingwornnumber ! 6):*P dyneval($clothing_list_line, $ARGS[1], 'school', 6)
  96. end
  97. if $ARGS[1] = 'store':
  98. cloc = 1
  99. end
  100. if $ARGS[1] = 'unwanted':
  101. cloc = 2
  102. end
  103. i = 1
  104. :loopcheap
  105. if cheap[i] = 1 and cheapS[i] = cloc and ($clothingworntype ! 'cheap' or clothingwornnumber ! i):*P dyneval($clothing_list_line, $ARGS[1], 'cheap', i)
  106. i += 1
  107. if i <= 85:jump 'loopcheap'
  108. i = 1
  109. :loopaverage
  110. if average[i] = 1 and averageS[i] = cloc and ($clothingworntype ! 'average' or clothingwornnumber ! i):*P dyneval($clothing_list_line, $ARGS[1], 'average', i)
  111. i += 1
  112. if i <= 125:jump 'loopaverage'
  113. i = 1
  114. :loopexpensive
  115. if expensive[i] = 1 and expensiveS[i] = cloc and ($clothingworntype ! 'expensive' or clothingwornnumber ! i):*P dyneval($clothing_list_line, $ARGS[1], 'expensive', i)
  116. i += 1
  117. if i <= 147:jump 'loopexpensive'
  118. i = 1
  119. :loopformal
  120. if formal[i] = 1 and formalS[i] = cloc and ($clothingworntype ! 'formal' or clothingwornnumber ! i):*P dyneval($clothing_list_line, $ARGS[1], 'formal', i)
  121. i += 1
  122. if i <= 14:jump 'loopformal'
  123. i = 1
  124. :loopoffice
  125. if office[i] = 1 and officeS[i] = cloc and ($clothingworntype ! 'office' or clothingwornnumber ! i):*P dyneval($clothing_list_line, $ARGS[1], 'office', i)
  126. i += 1
  127. if i <= 30:jump 'loopoffice'
  128. i = 1
  129. :loopschool
  130. if school[i] = 1 and schoolS[i] = cloc and ($clothingworntype ! 'school' or clothingwornnumber ! i):*P dyneval($clothing_list_line, $ARGS[1], 'school', i)
  131. i += 1
  132. if i = 6: i = 7
  133. if i <= 14:jump 'loopschool'
  134. i = 1
  135. :loopexercise
  136. if exercise[i] = 1 and exerciseS[i] = cloc and ($clothingworntype ! 'exercise' or clothingwornnumber ! i):*P dyneval($clothing_list_line, $ARGS[1], 'exercise', i)
  137. i += 1
  138. if i <= 26:jump 'loopexercise'
  139. i = 1
  140. :loopnaughty
  141. if naughty[i] = 1 and naughtyS[i] = cloc and ($clothingworntype ! 'naughty' or clothingwornnumber ! i):*P dyneval($clothing_list_line, $ARGS[1], 'naughty', i)
  142. i += 1
  143. if i <= 67:jump 'loopnaughty'
  144. i = 1
  145. :loopexhibit
  146. if exhibit[i] = 1 and exhibitS[i] = cloc and ($clothingworntype ! 'exhibit' or clothingwornnumber ! i):*P dyneval($clothing_list_line, $ARGS[1], 'exhibit', i)
  147. i += 1
  148. if i <= 30:jump 'loopexhibit'
  149. i = 1
  150. :loopuniform
  151. if uniform[i] = 1 and uniformS[i] = cloc and ($clothingworntype ! 'uniform' or clothingwornnumber ! i):*P dyneval($clothing_list_line, $ARGS[1], 'uniform', i)
  152. i += 1
  153. if i <= 24:jump 'loopuniform'
  154. i = 1
  155. :loopswimwear
  156. if swimwear[i] = 1 and swimwearS[i] = cloc :*P dyneval($clothing_list_line, $ARGS[1], 'swimwear', i)
  157. i += 1
  158. if i <= 30:jump 'loopswimwear'
  159. '</table>'
  160. end
  161. if $ARGS[0] = 'view_clothing_item':
  162. !! ARGS 0 - view_clothing_item
  163. !! ARGS 1 = action type (wardrobe, shop, sell, resize)
  164. !! ARGS 2 - clothing type
  165. !! ARGS 3 - clothing index
  166. !! ARGS 4 - price for shop
  167. cla
  168. '<center><img src="<<FUNC(''$clothing_image'', $ARGS[2], ARGS[3])>>"></center>'
  169. $RESULT = FUNC('$short_description', $ARGS[2])
  170. $RESULT += '<<ARGS[3]>>'
  171. '<<$RESULT>>'
  172. gs 'clothing_attributes', $ARGS[2], ARGS[3]
  173. if $ARGS[2] ! 'coat' and $ARGS[2] ! 'swimwear':
  174. gs 'clothing_descriptions'
  175. '<<$description>>'
  176. else
  177. FUNC('$clothing_name', $ARGS[2], ARGS[3])
  178. end
  179. if CloBimbo = 1:'This item is considered bimbo clothing.'
  180. if $ARGS[2] = 'naughty' and CloQuality < 4:'This outfit can be used for prostitution.'
  181. if $ARGS[2] = 'uniform':
  182. if CloStyle2 = 1:
  183. 'This outfit is considered to be a maid uniform.'
  184. else
  185. 'This outfit is a server uniform, suitable for jobs that require one.'
  186. end
  187. end
  188. if $ARGS[1] ! 'shop' and ($ARGS[2] ! 'school' or $ARGS[3] ! 6):
  189. $RESULT = '(strength '
  190. dynamic '$RESULT += <<$ARGS[2]>>H[<<ARGS[3]>>]'
  191. if $ARGS[2] ! 'exercise' and $ARGS[2] ! 'coat' and CloStyle ! 5:
  192. $RESULT += ', hip size '
  193. dynamic '$RESULT += <<$ARGS[2]>>B[<<ARGS[3]>>]'
  194. end
  195. $RESULT += ')'
  196. '<<$RESULT>>'
  197. end
  198. if $ARGS[1] = 'shop':
  199. if dyneval('RESULT = <<$ARGS[2]>>[<<ARGS[3]>>]') = 1:
  200. 'You already own this item.'
  201. act 'Leave': gt $loc, $metka
  202. else
  203. if $ARGS[2] = 'coat' and ARGS[3] = 5:
  204. price = ARGS[4]
  205. else
  206. price = ('<<ARGS[4]>>' * ((5 * CloQuality) + 100) / 100) * 1000 / (1250 - Clothingstock[ARGS[3]])
  207. end
  208. 'Price: <<price>>'
  209. act 'Leave': gt $loc, $metka
  210. if money >= Price:
  211. act 'Buy':
  212. h = 0
  213. if CloStyle = 2:h = 10
  214. if CloStyle = 5:h = 20
  215. h += (3 * CloQuality)
  216. money -= price
  217. dynamic $ARGS[2] + '[<<ARGS[3]>>] = 1'
  218. if $ARGS[2] = 'cheap' or $ARGS[2] = 'office':
  219. dynamic $ARGS[2] + 'H[<<ARGS[3]>>] = 70 + <<h>>'
  220. elseif $ARGS[2] = 'average':
  221. dynamic $ARGS[2] + 'H[<<ARGS[3]>>] = 90 + <<h>>'
  222. elseif $ARGS[2] = 'formal':
  223. dynamic $ARGS[2] + 'H[<<ARGS[3]>>] = 15 + <<h>>'
  224. elseif $ARGS[2] = 'naughty' or $ARGS[2] = 'exhibit':
  225. dynamic $ARGS[2] + 'H[<<ARGS[3]>>] = 35 + <<h>>'
  226. elseif $ARGS[2] = 'school' or $ARGS[2] = 'uniform':
  227. dynamic $ARGS[2] + 'H[<<ARGS[3]>>] = 120 + <<h>>'
  228. elseif $ARGS[2] = 'exercise':
  229. dynamic $ARGS[2] + 'H[<<ARGS[3]>>] = 100 + <<h>>'
  230. elseif $ARGS[2] = 'coat':
  231. dynamic $ARGS[2] + 'H[<<ARGS[3]>>] = 250 + <<h>>'
  232. else
  233. dynamic $ARGS[2] + 'H[<<ARGS[3]>>] = 60 + <<h>>'
  234. end
  235. dynamic $ARGS[2] + 'B[<<ARGS[3]>>] = bedra'
  236. gt $loc, $metka
  237. end
  238. else
  239. 'You cannot afford this outfit.'
  240. end
  241. end
  242. elseif $ARGS[1] = 'wardrobe':
  243. act 'Leave in closet':gt 'clothing', 'view_clothing_list', $ARGS[1]
  244. if $ARGS[2] ! 'school' and $ARGS[3] ! 6:
  245. !! if the clothing is worn out
  246. if dyneval('RESULT = <<$ARGS[2]>>H[<<ARGS[3]>>]') <= 0:
  247. 'This item is worn and is not suitable for further wear.'
  248. exit
  249. end
  250. !! if the clothing is a type that checks for hip size
  251. if $ARGS[2] ! 'exercise' and $ARGS[2] ! 'coat' and CloStyle ! 5:
  252. !! if the hipsize is too far from your hipsize
  253. dynamic 'RESULT = <<$ARGS[2]>>B[<<ARGS[3]>>]'
  254. if RESULT < bedra - 8:
  255. 'This item is too small for you to wear.'
  256. if poSkill >= 100:
  257. cla
  258. 'You can resize this thanks to your sewing skill.'
  259. minut += 15
  260. act 'Resize':
  261. dynamic '<<$ARGS[2]>>B[<<ARGS[3]>>] = bedra'
  262. gt 'clothing', 'view_clothing_list', $ARGS[1]
  263. end
  264. act 'Leave in closet':
  265. gt 'clothing', 'view_clothing_list', $ARGS[1]
  266. end
  267. end
  268. exit
  269. elseif RESULT > bedra + 8:
  270. 'This item is too large for you to wear.'
  271. if poSkill >= 100:
  272. cla
  273. 'You can resize this thanks to your sewing skill.'
  274. minut += 15
  275. act 'Resize':
  276. dynamic '<<$ARGS[2]>>B[<<ARGS[3]>>] = bedra'
  277. gt 'clothing', 'view_clothing_list', $ARGS[1]
  278. end
  279. act 'Leave in closet':
  280. gt 'clothing', 'view_clothing_list', $ARGS[1]
  281. end
  282. end
  283. exit
  284. end
  285. end
  286. end
  287. ! WD: Bimbo look
  288. if $ARGS[2] ! 'coat' and $ARGS[2] ! 'swimwear':
  289. act 'Wear':
  290. gs 'clothing', 'wear', $ARGS[2], ARGS[3]
  291. dynamic $ARGS[2] + 'W[<<ARGS[3]>>] = 1'
  292. gt 'clothing', 'view_clothing_list', $ARGS[1]
  293. end
  294. end
  295. if dyneval('RESULT = <<$ARGS[2]>>H[<<ARGS[3]>>]') < 5 and poSkill >= 200 and tkan > 0:
  296. act 'Repair item':
  297. if rand (1, 100) < 30:
  298. cla
  299. tkan -= 1
  300. minut += 30
  301. dynamic $ARGS[2] + 'H[<<ARGS[3]>>] += 30'
  302. 'You spend 30 minutes fixing the outfit.'
  303. act 'Return':gt 'clothing', 'view_clothing_list', $ARGS[1]
  304. else
  305. cla
  306. tkan += 3
  307. minut += 30
  308. dynamic $ARGS[2] + '[<<ARGS[3]>>] = 0'
  309. '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.'
  310. act 'Return':gt 'clothing', 'view_clothing_list', $ARGS[1]
  311. end
  312. end
  313. end
  314. elseif $ARGS[1] = 'sell':
  315. act 'Keep item':gt 'clothing', 'view_clothing_list', $ARGS[1]
  316. !! value is based on the strength remaining
  317. dynamic 'RESULT = <<$ARGS[2]>>H[<<ARGS[3]>>]'
  318. if RESULT > 45:
  319. 'You can sell this item for 500 <b>₽</b>.'
  320. act 'Sell':
  321. dynamic '<<$ARGS[2]>>[<<ARGS[3]>>] = 0'
  322. money += 500
  323. gt 'clothing', 'view_clothing_list', $ARGS[1]
  324. end
  325. elseif RESULT > 30:
  326. 'You can sell this item for 300 <b>₽</b>.'
  327. act 'Sell':
  328. dynamic '<<$ARGS[2]>>[<<ARGS[3]>>] = 0'
  329. money += 300
  330. gt 'clothing', 'view_clothing_list', $ARGS[1]
  331. end
  332. elseif RESULT > 0:
  333. 'You can sell this item for 100 <b>₽</b>.'
  334. act 'Sell':
  335. dynamic '<<$ARGS[2]>>[<<ARGS[3]>>] = 0'
  336. money += 100
  337. gt 'clothing', 'view_clothing_list', $ARGS[1]
  338. end
  339. else
  340. 'This item is too worn to have any sale value.'
  341. act 'Throw it away':
  342. dynamic '<<$ARGS[2]>>[<<ARGS[3]>>] = 0'
  343. gt 'clothing', 'view_clothing_list', $ARGS[1]
  344. end
  345. end
  346. elseif $ARGS[1] = 'resize':
  347. act 'Leave item alone':gt 'clothing', 'view_clothing_list', $ARGS[1]
  348. if $ARGS[2] ! 'exercise' and $ARGS[2] ! 'coat' and CloStyle ! 5:
  349. if dyneval('RESULT = <<$ARGS[2]>>B[<<ARGS[3]>>]') ! bedra and money >= 500:
  350. 'You can have this resized for 500 <b>₽</b>.'
  351. act 'Resize':
  352. money -= 500
  353. dynamic '<<$ARGS[2]>>B[<<ARGS[3]>>] = bedra'
  354. gt 'clothing', 'view_clothing_list', $ARGS[1]
  355. end
  356. end
  357. end
  358. end
  359. end
  360. if $ARGS[0] = 'strip':
  361. cumspclnt = 6
  362. gs 'cum_cleanup'
  363. if cloth_vid = 1:
  364. last_vid = 1
  365. else
  366. last_vid = 0
  367. end
  368. if $clothingworntype = 'school':schtype = clothingwornnumber
  369. $lastwornclothingtype = $clothingworntype
  370. lastwornclothingnumber = clothingwornnumber
  371. $clothingworntype = 'nude'
  372. clothingwornnumber = 0
  373. CloQuality = 0
  374. CloThinness = 0
  375. CloTopCut = 0
  376. CloPantsShortness = 0
  377. CloSkirtShortness = 0
  378. CloStyle = 0
  379. CloBimbo = 0
  380. PCloQuality = 0
  381. PCloThinness = 0
  382. PCloTopCut = 0
  383. PCloPants = 0
  384. PCloSkirt = 0
  385. PCloStyle = 0
  386. PCloBimbo = 0
  387. glamur = 0
  388. sport = 0
  389. ski = 0
  390. ofclo = 0
  391. sexual = 0
  392. odevnesh = 0
  393. ! WD: Bimbo look
  394. cloth_vid = 0
  395. exhibiHideNewCloth = 0
  396. end
  397. if $ARGS[0] = 'wear':
  398. !! ARGS 0 - action
  399. !! ARGS 1 - clothing type name
  400. !! ARGS 2 - clothing index
  401. gs 'clothing', 'strip'
  402. $clothingworntype = $ARGS[1]
  403. clothingwornnumber = ARGS[2]
  404. if $ARGS[1] ! 'coat' and $ARGS[1] ! 'swimwear':
  405. gs 'clothing_descriptions'
  406. else
  407. FUNC('$clothing_name', $ARGS[1], ARGS[2])
  408. end
  409. gs 'clothing_attributes', $ARGS[1], ARGS[2]
  410. PCloQuality = CloQuality
  411. PCloThinness = CloThinness
  412. PCloTopCut = CloTopCut
  413. PCloPants = CloPantsShortness
  414. PCloSkirt = CloSkirtShortness
  415. PCloStyle = CloStyle
  416. PCloStyle2 = CloStyle2
  417. PCloBimbo = CloBimbo
  418. if CloBimbo = 1:bimbocl = 1
  419. if PCloTopCut > 1:
  420. if tits = 2 or tits = 3:PCloTopCut += 1
  421. if tits = 4 or tits = 5:PCloTopCut += 2
  422. if tits >= 6:PCloTopCut += 3
  423. end
  424. !Calculations for clothing beauty, multiplied by natural beauty
  425. if PCloThinness > 0:
  426. if PCloThinness = 1:
  427. PXCloThinness = 25
  428. elseif PCloThinness = 2:
  429. PXCloThinness = 50
  430. elseif PCloThinness = 3:
  431. PXCloThinness = 100
  432. elseif PCloThinness = 4:
  433. PXCloThinness = 150
  434. elseif PCloThinness = 5:
  435. PXCloThinness = 200
  436. elseif PCloThinness = 6:
  437. PXCloThinness = 300
  438. elseif PCloThinness >= 7:
  439. PXCloThinness = 400
  440. end
  441. end
  442. if PCloTopCut > 0:
  443. if PCloTopCut = 1:
  444. PXCloTopCut = 25
  445. elseif PCloTopCut = 2:
  446. PXCloTopCut = 50
  447. elseif PCloTopCut = 3:
  448. PXCloTopCut = 100
  449. elseif PCloTopCut = 4:
  450. PXCloTopCut = 150
  451. elseif PCloTopCut = 5:
  452. PXCloTopCut = 200
  453. elseif PCloTopCut = 6:
  454. PXCloTopCut = 300
  455. elseif PCloTopCut >= 7:
  456. PXCloTopCut = 400
  457. end
  458. end
  459. if PCloSkirt > 0:
  460. if PCloSkirt = 1:
  461. PXCloSkirtShortness = 25
  462. elseif PCloSkirt = 2:
  463. PXCloSkirtShortness = 50
  464. elseif PCloSkirt = 3:
  465. PXCloSkirtShortness = 100
  466. elseif PCloSkirt = 4:
  467. PXCloSkirtShortness = 150
  468. elseif PCloSkirt = 5:
  469. PXCloSkirtShortness = 200
  470. elseif PCloSkirt = 6:
  471. PXCloSkirtShortness = 300
  472. elseif PCloSkirt >= 7:
  473. PXCloSkirtShortness = 400
  474. end
  475. end
  476. if PCloPants > 0:
  477. if PCloPants = 1:
  478. PXCloPantsShortness = 25
  479. elseif PCloPants = 2:
  480. PXCloPantsShortness = 50
  481. elseif PCloPants = 3:
  482. PXCloPantsShortness = 100
  483. elseif PCloPants = 4:
  484. PXCloPantsShortness = 150
  485. elseif PCloPants = 5:
  486. PXCloPantsShortness = 200
  487. elseif PCloPants = 6:
  488. PXCloPantsShortness = 300
  489. elseif PCloPants >= 7:
  490. PXCloPantsShortness = 400
  491. end
  492. end
  493. end
  494. if $ARGS[0] = 'wear_last_worn':
  495. gs 'clothing', 'wear', $lastwornclothingtype, lastwornclothingnumber
  496. end
  497. --- clothing ---------------------------------