shoes 11 KB

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