shoes 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335
  1. # shoes
  2. !!This is the main file for shoes, like clothes but for your feet.
  3. $shoe_list_line = {
  4. !! a single line in a shoe list (shoe rack, etc)
  5. !! ARGS 0 - action type (shoe rack, sell, resize, store, forsale)
  6. !! ARGS 1 - shoe type
  7. !! ARGS 2 - shoe index
  8. $bgcolor = iif($bgcolor='#f3f4ee','#ffffff','#f3f4ee')
  9. $RESULT = '<TR bgcolor='+$bgcolor+'>'
  10. if Enable_clothwidth > 0:
  11. shoe_temp = Enable_clothwidth - 1
  12. else
  13. shoe_temp = 75 & !shoe widdefault to 75
  14. end
  15. $RESULT +='<TD><a href="exec:gt ''shoes'', ''view_shoe_item'', ''<<$ARGS[0]>>'', ''<<$ARGS[1]>>'', <<ARGS[2]>>"><img src="<<FUNC(''$shoe_image'', $ARGS[1], ARGS[2])>>" width="<<shoe_temp>>"></a></TD>'
  16. killvar 'shoe_temp'
  17. gs 'shoe_attributes', $ARGS[1], ARGS[2]
  18. gs 'shoe_description2', $ARGS[2]
  19. $RESULT += '<TD><<FUNC(''$shoe_description'', $ARGS[1])>> <<ARGS[2]>></TD><TD><<$description>></TD>'
  20. if ShoStyle = 2:
  21. $RESULT += '<TD>Yes</TD>'
  22. else
  23. $RESULT += '<TD>No</TD>'
  24. end
  25. if ShoStyle = 1:
  26. $RESULT += '<TD>Yes</TD>'
  27. else
  28. $RESULT += '<TD>No</TD>'
  29. end
  30. $RESULT += '<TD><a href="exec:gt ''shoes'', ''view_shoe_item'', ''<<$ARGS[0]>>'', ''<<$ARGS[1]>>'', <<ARGS[2]>>">View</a></TD>'
  31. }
  32. if $ARGS[0] = 'select':
  33. cla
  34. *clr
  35. *nl
  36. *nl
  37. 'Click the link for the clothing type of which you would like to change the accompanying shoes.'
  38. *nl
  39. *nl
  40. *nl
  41. '<center><table border=1><TH>Clothing type</TH><TH>Shoes worn</TH>'
  42. *P '<tr><TD><a href="exec:$cloType = ''cheap'' & gt ''shoes'', ''view_shoe_list'', ''wardrobe''">Cheap</a></TD><TD>' + FUNC('$shoe_description', $cheapshoetype) + ' <<cheapshoenumber>></TD></tr>'
  43. *P '<tr><TD><a href="exec:$cloType = ''average'' & gt ''shoes'', ''view_shoe_list'', ''wardrobe''">Average</a></TD><TD>' + FUNC('$shoe_description', $averageshoetype) + ' <<averageshoenumber>></TD></tr>'
  44. *P '<tr><TD><a href="exec:$cloType = ''expensive'' & gt ''shoes'', ''view_shoe_list'', ''wardrobe''">Expensive</a></TD><TD>' + FUNC('$shoe_description', $expensiveshoetype) + ' <<expensiveshoenumber>></TD></tr>'
  45. *P '<tr><TD><a href="exec:$cloType = ''formal'' & gt ''shoes'', ''view_shoe_list'', ''wardrobe''">Formal</a></TD><TD>' + FUNC('$shoe_description', $formalshoetype) + ' <<formalshoenumber>></TD></tr>'
  46. *P '<tr><TD><a href="exec:$cloType = ''office'' & gt ''shoes'', ''view_shoe_list'', ''wardrobe''">Office</a></TD><TD>' + FUNC('$shoe_description', $officeshoetype) + ' <<officeshoenumber>></TD></tr>'
  47. *P '<tr><TD><a href="exec:$cloType = ''school'' & gt ''shoes'', ''view_shoe_list'', ''wardrobe''">School</a></TD><TD>' + FUNC('$shoe_description', $schoolshoetype) + ' <<schoolshoenumber>></TD></tr>'
  48. *P '<tr><TD><a href="exec:$cloType = ''exercise'' & gt ''shoes'', ''view_shoe_list'', ''wardrobe''">Exercise</a></TD><TD>' + FUNC('$shoe_description', $exerciseshoetype) + ' <<exerciseshoenumber>></TD></tr>'
  49. *P '<tr><TD><a href="exec:$cloType = ''fetish'' & gt ''shoes'', ''view_shoe_list'', ''wardrobe''">Fetish</a></TD><TD>' + FUNC('$shoe_description', $fetishshoetype) + ' <<fetishshoenumber>></TD></tr>'
  50. *P '<tr><TD><a href="exec:$cloType = ''exhibit'' & gt ''shoes'', ''view_shoe_list'', ''wardrobe''">Exhibitionist</a></TD><TD>' + FUNC('$shoe_description', $exhibitshoetype) + ' <<exhibitshoenumber>></TD></tr>'
  51. *P '<tr><TD><a href="exec:$cloType = ''uniform'' & gt ''shoes'', ''view_shoe_list'', ''wardrobe''">Uniform</a></TD><TD>' + FUNC('$shoe_description', $uniformshoetype) + ' <<uniformshoenumber>></TD></tr>'
  52. *P '<tr><TD><a href="exec:$cloType = ''burlesque'' & gt ''shoes'', ''view_shoe_list'', ''wardrobe''">Burlesque</a></TD><TD>' + FUNC('$shoe_description', $burlesqueshoetype) + ' <<burlesqueshoenumber>></TD></tr>'
  53. *P '<tr><TD><a href="exec:$cloType = ''alternative'' & gt ''shoes'', ''view_shoe_list'', ''wardrobe''">Alternative</a></TD><TD>' + FUNC('$shoe_description', $alternativeshoetype) + ' <<alternativeshoenumber>></TD></center></tr>'
  54. '</table>'
  55. act 'Leave':
  56. if $clothingworntype = $cloType:
  57. gs 'shoes', 'setup'
  58. gs 'shoes', 'wear', $shoeworntype, shoewornnumber
  59. end
  60. gt $loc, $metka
  61. end
  62. end
  63. if $ARGS[0] = 'view_shoe_list':
  64. !! ARGS 0 - view_shoe_list
  65. !! ARGS 1 - action type (wardrobe, sell, resize, store, unwanted)
  66. !! ARGS 2 - brothel flag (brothel)
  67. act 'Leave':gt 'shoes', 'select'
  68. if $ARGS[1] ! 'sell' :
  69. '<center><b>Selecting shoes to wear with <<$cloType>> outfit</b></center>'
  70. end
  71. $bgcolor='#f3f4ee'
  72. if $ARGS[1] = 'sell':
  73. '<table border=0 cellspacing=0 cellpadding=5><TH></TH><TH>Shoe</TH><TH>Description</TH><TH>Bimbo</TH><TH>Stripper</TH><TH>Actions</TH>'
  74. else
  75. '<table border=0 cellspacing=0 cellpadding=5><TH></TH><TH>Shoe</TH><TH>Description</TH><TH>Bimbo</TH><TH>Stripper</TH><TH>Actions</TH>'
  76. end
  77. if $cloType ! 'exercise':
  78. i = 1
  79. :loopsboutique
  80. if sboutique[i] = 1:*P dyneval($shoe_list_line, $ARGS[1], 'boutique', i)
  81. i += 1
  82. if i <= 37:jump 'loopsboutique'
  83. i = 1
  84. :loopspussy
  85. if spussy[i] = 1:*P dyneval($shoe_list_line, $ARGS[1], 'pussy', i)
  86. i += 1
  87. if i <= 38:jump 'loopspussy'
  88. i = 1
  89. :loopsdolls
  90. if sdolls[i] = 1:*P dyneval($shoe_list_line, $ARGS[1], 'dolls', i)
  91. i += 1
  92. if i <= 27:jump 'loopsdolls'
  93. i = 1
  94. :loopsfetish
  95. if sfetish[i] = 1:*P dyneval($shoe_list_line, $ARGS[1], 'fetish', i)
  96. i += 1
  97. if i <= 27:jump 'loopsfetish'
  98. i = 1
  99. :loopsgandm
  100. if sgandm[i] = 1:*P dyneval($shoe_list_line, $ARGS[1], 'gandm', i)
  101. i += 1
  102. if i <= 51:jump 'loopsgandm'
  103. end
  104. i = 1
  105. :loopstrainers
  106. if strainers[i] = 1:*P dyneval($shoe_list_line, $ARGS[1], 'trainers', i)
  107. i += 1
  108. if i <= 29:jump 'loopstrainers'
  109. '</table>'
  110. end
  111. if $ARGS[0] = 'view_shoe_item':
  112. !! ARGS 0 - view_shoe_item
  113. !! ARGS 1 = action type (wardrobe, shop, sell)
  114. !! ARGS 2 - shoes type
  115. !! ARGS 3 - shoes index
  116. !! ARGS 4 - price for shop
  117. cla
  118. '<center><img src="<<FUNC(''$shoe_image'', $ARGS[2], ARGS[3])>>"></center>'
  119. gs 'shoe_attributes', $ARGS[2], ARGS[3]
  120. FUNC('$shoe_description', $ARGS[2]) + '<<ARGS[3]>>'
  121. *nl
  122. gs 'shoe_description2', $ARGS[2]
  123. '<<$description>>'
  124. *nl
  125. if ShoStyle = 1:'This shoe is considered stripper style and most suitable for stripping or whoring.'
  126. if ShoStyle = 2:'This shoe is considered bimbo style and makes your mind drift toward sexual thoughts.'
  127. if ShoStyle = 3:'This shoe is considered alternative style and makes you feel more assertive and aggressive.'
  128. if $ARGS[1] = 'shop':
  129. if dyneval('RESULT = s<<$ARGS[2]>>[<<ARGS[3]>>]') = 1:
  130. 'You already own these shoes.'
  131. act 'Leave': gt $loc, $metka
  132. else
  133. price = ('<<ARGS[4]>>' * ((5 * ShoQuality) + 100) / 100) * 1000 / (1250 - Clothingstock[ARGS[3]]) * 3 / 2
  134. price = price / 50 * 50
  135. 'Price: <<price>> <b>₽</b>'
  136. act 'Leave': gt $loc, $metka
  137. if money >= Price:
  138. act 'Buy':
  139. h = 0
  140. if ShoStyle = 2:h = 10
  141. if ShoStyle = 5:h = 20
  142. h += (3 * ShoQuality)
  143. money -= price
  144. dynamic 's<<$ARGS[2]>>[<<ARGS[3]>>] = 1'
  145. gt $loc, $metka
  146. end
  147. else
  148. 'You cannot afford these shoes.'
  149. end
  150. end
  151. elseif $ARGS[1] = 'wardrobe':
  152. act 'Leave in closet':gt 'shoes', 'view_shoe_list', $ARGS[1]
  153. act 'Set as default for <<$cloType>> outfit':
  154. if $cloType = 'cheap':
  155. $cheapshoetype = $ARGS[2]
  156. elseif $cloType = 'average':
  157. $averageshoetype = $ARGS[2]
  158. elseif $cloType = 'expensive':
  159. $expensiveshoetype = $ARGS[2]
  160. elseif $cloType = 'formal':
  161. $formalshoetype = $ARGS[2]
  162. elseif $cloType = 'office':
  163. $officeshoetype = $ARGS[2]
  164. elseif $cloType = 'school':
  165. $schoolshoetype = $ARGS[2]
  166. elseif $cloType = 'exercise':
  167. $exerciseshoetype = $ARGS[2]
  168. elseif $cloType = 'fetish':
  169. $fetishshoetype = $ARGS[2]
  170. elseif $cloType = 'exhibit':
  171. $exhibitshoetype = $ARGS[2]
  172. elseif $cloType = 'uniform':
  173. $uniformshoetype = $ARGS[2]
  174. elseif $cloType = 'burlesque':
  175. $burlesqueshoetype = $ARGS[2]
  176. elseif $cloType = 'alternative':
  177. $alternativeshoetype = $ARGS[2]
  178. end
  179. dynamic '<<$cloType>>shoenumber = <<ARGS[3]>>'
  180. gt 'shoes', 'view_shoe_list', $ARGS[1]
  181. end
  182. elseif $ARGS[1] = 'store' or $ARGS[1] = 'unwanted':
  183. act 'Return':gt 'shoes', 'view_shoe_list', $ARGS[1]
  184. act 'Move back to wardrobe':
  185. dynamic $ARGS[2] + 'W[<<ARGS[3]>>] = 1'
  186. gt 'shoes', 'view_shoe_list', $ARGS[1]
  187. end
  188. elseif $ARGS[1] = 'sell':
  189. act 'Keep item':gt 'shoes', 'view_shoe_list', $ARGS[1]
  190. !! value is based on the strength remaining
  191. 'You can sell this item for 300 <b>₽</b>.'
  192. act 'Sell':
  193. dynamic '<<$ARGS[2]>>[<<ARGS[3]>>] = 0'
  194. money += 300
  195. gt 'shoes', 'view_shoe_list', $ARGS[1]
  196. end
  197. if RESULT > 0:
  198. 'You can sell this item for 100 <b>₽</b>.'
  199. act 'Sell':
  200. dynamic '<<$ARGS[2]>>[<<ARGS[3]>>] = 0'
  201. money += 100
  202. gt 'shoes', 'view_shoe_list', $ARGS[1]
  203. end
  204. end
  205. end
  206. end
  207. if $ARGS[0] = 'strip':
  208. if $shoesworntype = 'none': exit
  209. $shoeworntype = 'none'
  210. shoewornnumber = 0
  211. ShoQuality = 0
  212. ShoHeels = 0
  213. ShoCut = 0
  214. ShoStyle = 0
  215. PShoQuality = 0
  216. PShoHeels = 0
  217. PShoCut = 0
  218. PShoStyle = 0
  219. end
  220. if $ARGS[0] = 'setup':
  221. if $cloType = 'cheap':
  222. $shoeworntype = $cheapshoetype
  223. elseif $cloType = 'average':
  224. $shoeworntype = $averageshoetype
  225. elseif $cloType = 'expensive':
  226. $shoeworntype = $expensiveshoetype
  227. elseif $cloType = 'formal':
  228. $shoeworntype = $formalshoetype
  229. elseif $cloType = 'office':
  230. $shoeworntype = $officeshoetype
  231. elseif $cloType = 'school':
  232. $shoeworntype = $schoolshoetype
  233. elseif $cloType = 'exercise':
  234. $shoeworntype = $exerciseshoetype
  235. elseif $cloType = 'fetish':
  236. $shoeworntype = $fetishshoetype
  237. elseif $cloType = 'exhibit':
  238. $shoeworntype = $exhibitshoetype
  239. elseif $cloType = 'uniform':
  240. $shoeworntype = $uniformshoetype
  241. elseif $cloType = 'burlesque':
  242. $shoeworntype = $burlesqueshoetype
  243. elseif $cloType = 'alternative':
  244. $shoeworntype = $alternativeshoetype
  245. else
  246. $shoeworntype = 'none'
  247. end
  248. dynamic 'shoewornnumber = <<$cloType>>shoenumber'
  249. end
  250. if $ARGS[0] = 'wear':
  251. !! ARGS 0 - action
  252. !! ARGS 1 - shoe type name
  253. !! ARGS 2 - shoe index
  254. $shoeworntype = $ARGS[1]
  255. shoewornnumber = ARGS[2]
  256. if $shoeworntype = 'none':
  257. PShoQuaility = 0
  258. PShoCut = 0
  259. PShoHeels = 0
  260. PShoStyle = 0
  261. exit
  262. end
  263. gs 'shoe_attributes', $ARGS[1], ARGS[2]
  264. dynamic '<<$ARGS[1]>>S[<<ARGS[2]>>] = 0'
  265. PShoQuality = ShoQuality
  266. PShoHeels = ShoHeels
  267. PShoCut = ShoCut
  268. PShoStyle = ShoStyle
  269. !Calculations for shoes beauty, multiplied by natural beauty
  270. if PShoHeels > 0:
  271. if PShoHeels = 1:
  272. PXShoHeels = 25
  273. elseif PShoHeels = 2:
  274. PXShoHeels = 50
  275. elseif PShoHeels = 3:
  276. PXShoHeels = 100
  277. elseif PShoHeels = 4:
  278. PXShoHeels = 150
  279. elseif PShoHeels = 5:
  280. PXShoHeels = 200
  281. elseif PShoHeels = 6:
  282. PXShoHeels = 300
  283. elseif PShoHeels >= 7:
  284. PXShoHeels = 400
  285. end
  286. end
  287. end
  288. --- shoes ---------------------------------