sportShop.qsrc 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303
  1. # sportShop
  2. !2021/04/29
  3. if $ARGS[0] = 'start':
  4. $location_type = 'public_indoors'
  5. cls
  6. menu_off = 1
  7. gs 'stat'
  8. gs 'themes', 'indoors'
  9. '<center><b><font color="maroon">Danilovich sporting goods</font></b></center>'
  10. '<center><img src="images/locations/city/citycenter/mall/sportshop/sportshop.jpg"></center>'
  11. *nl
  12. 'As soon as you enter, a high energy song with a thumping baseline fills your eardrums, making you feel pumped and awake. The store is sleek and professional, the walls and floors advertising all different kinds of sporting equipment and attire. The room is filled with beautifully fit people shopping, their bodies varying from big and muscular to lean and trim. If they don''t inspire you to want to work out, the posters advertising past and present famous athletes are motivating as hell.'
  13. *nl
  14. if refillable_bottle = 0 and money >= 1000 and bag > 0:
  15. 'You could buy a high-quality <a href="exec:minut += 5 & money -= 1000 & refillable_bottle = 1 & gt ''sportShop'', ''start''">water bottle (1000 <b>₽</b>)</a> that you can carry around in your purse.'
  16. elseif refillable_bottle = 0 and (money < 1000 or bag = 0):
  17. 'The shop sells high-quality water bottles for 1,000 <b>₽</b>. You could carry one around in '+iif(bag > 0, 'your', 'a')+' purse.'
  18. end
  19. act 'Leave':minut += 3 & gt 'torgcentr'
  20. act 'View sports clothing':minut += 5 & gt 'sportshop', 'clo'
  21. act 'View sports bras':minut += 5 & gt 'sportshop', 'bras'
  22. act 'View sports panties':minut += 5 & gt 'sportshop', 'panties'
  23. act 'View exercise shoes':minut += 5 & gt 'sportshop', 'shoes'
  24. act 'View swimwear':minut += 5 & gt 'sportshop', 'swim'
  25. act 'View purses': minut += 5 & gt 'sportshop', 'purses'
  26. act 'View coats': minut += 5 & gt 'sportshop', 'coats'
  27. if skak = 0 and money >= 500:
  28. act 'Buy a skipping rope (500 <b>₽</b>)':
  29. cla
  30. minut += 5
  31. money -= 500
  32. skak = 1
  33. act 'Pick up a package':gt 'sportshop', 'start'
  34. end
  35. elseif skak = 0:
  36. act 'Buy a skipping rope (<font color="red">500 <b>₽</b></font>)': '<br><font color="red">You don''t have enough money to buy that.</font>'
  37. end
  38. if obruch = 0 and money >= 1500:
  39. act 'Buy a hula hoop (1,500 <b>₽</b>)':
  40. cla
  41. minut += 5
  42. money -= 1500
  43. obruch = 1
  44. act 'Pick up a package':gt 'sportshop', 'start'
  45. end
  46. elseif obruch = 0:
  47. act 'Buy a hula hoop (<font color="red">1500 <b>₽</b></font>)': '<br><font color="red">You don''t have enough money to buy that.</font>'
  48. end
  49. if bookYog = 0 and money >= 1500:
  50. act 'Buy "Benefits of yoga" (1,500 <b>₽</b>)':
  51. cla
  52. minut += 5
  53. money -= 1500
  54. bookYog = 1
  55. act 'Pick up a package':gt 'sportshop', 'start'
  56. end
  57. elseif bookYog = 0:
  58. act 'Buy "Benefits of yoga" (<font color="red">1500 <b>₽</b></font>)': '<br><font color="red">You don''t have enough money to buy that.</font>'
  59. end
  60. if konki = 0 and money >= 3000:
  61. act 'Buy some ice skates (3000 <b>₽</b>)':
  62. cla
  63. minut += 5
  64. money -= 3000
  65. konki = 1
  66. act 'Pick up a package':gt 'sportshop', 'start'
  67. end
  68. elseif konki = 0:
  69. act 'Buy some ice skates (<font color="red">3000 <b>₽</b></font>)': '<br><font color="red">You don''t have enough money to buy that.</font>'
  70. end
  71. end
  72. if $ARGS[0] = 'clo':
  73. $loc_arg = 'clo'
  74. $loc = 'sportShop'
  75. cls
  76. gs'stat'
  77. '<center><b><font color="maroon">Sportswear - one size fits all</font></b></center>'
  78. *nl
  79. gs 'clothing_QV', 'shop_header'
  80. act 'Return':
  81. cla
  82. minut += 1
  83. gt 'sportshop', 'start'
  84. end
  85. clothingfilter['qualitycheck'] = 7
  86. :loopquality2
  87. if Clothingstock > 16:
  88. i = 1
  89. elseif Clothingstock > 8:
  90. i = 2
  91. else
  92. i = 3
  93. end
  94. :loopdanilovich
  95. if danilovich[i] = 0:
  96. gs 'clothing_attributes', 'danilovich_outfits', i
  97. gs 'clothing_QV', 'shop_filter'
  98. if clothingfilter['quality'] = 0 or clothingfilter['qualitycheck'] = CloQuality:
  99. if clothingfilter_risk = 1 and clothingfilter_pandb = 1 and clothingfilter_norm2 = 1: *p '<a href="exec: i = <<i>> & gt ''sportshop'', ''danilovich''"><img src="images/pc/items/danilovich/outfits/<<i>>.jpg" height="250" /></a>'
  100. end
  101. end
  102. i += 3
  103. if i <= 170:jump 'loopdanilovich'
  104. if clothingfilter['quality'] = 1 and clothingfilter['qualitycheck'] > 0: clothingfilter['qualitycheck'] -=1 & jump 'loopquality2'
  105. end
  106. if $ARGS[0] = 'danilovich': gt 'clothing', 'view_clothing_item', 'shop', 'danilovich',i, 2000
  107. if $ARGS[0] = 'shoes':
  108. $loc_arg = 'shoes'
  109. $loc = 'sportShop'
  110. cls
  111. gs'stat'
  112. act 'Return':
  113. cla
  114. minut += 1
  115. gt 'sportShop', 'start'
  116. end
  117. i = 1
  118. :loopdanilovich_shoes
  119. if danilovich_shoe[i] = 0:*p '<a href="exec: i = <<i>> & gt ''sportShop'', ''training_shoes''"><img src="images/pc/items/danilovich/shoes/<<i>>.jpg" height="250" /></a>'
  120. i += 1
  121. if i <= 40:jump 'loopdanilovich_shoes'
  122. end
  123. if $ARGS[0] = 'training_shoes': gt 'shoes', 'view_shoe_item', 'shop', 'danilovich',i, 1500
  124. if $ARGS[0] = 'swim':
  125. $loc_arg = 'swim'
  126. $loc = 'sportShop'
  127. cls
  128. gs'stat'
  129. '<center><b><font color="maroon">Swimwear - one size fits all</font></b></center>'
  130. *nl
  131. gs 'clothing_QV', 'shop_header'
  132. act 'Return':
  133. cla
  134. minut += 1
  135. gt 'sportshop', 'start'
  136. end
  137. clothingfilter['qualitycheck'] = 7
  138. :loopquality
  139. !!4 is in he supermarket, so skipped
  140. i = 1
  141. :loopswim
  142. if danilovich_swimsuit[i] = 0:
  143. gs 'clothing_attributes', 'danilovich_swimsuit', i
  144. gs 'clothing_QV', 'shop_filter'
  145. if clothingfilter['quality'] = 0 or clothingfilter['qualitycheck'] = CloQuality:
  146. if clothingfilter_risk = 1 and clothingfilter_pandb = 1 and clothingfilter_norm2 = 1: *p '<a href="exec: i = <<i>> & gt ''sportshop'', ''swim1''"><img src="images/pc/items/danilovich/swimwear/<<i>>.jpg" height="250" /></a>'
  147. end
  148. end
  149. i += 4
  150. if i <= 30:jump 'loopswim'
  151. if clothingfilter['quality'] = 1 and clothingfilter['qualitycheck'] > 0: clothingfilter['qualitycheck'] -=1 & jump 'loopquality'
  152. end
  153. if $ARGS[0] = 'swim1': gt 'clothing', 'view_clothing_item', 'shop', 'danilovich_swimsuit',i, 1750
  154. if $ARGS[0] = 'panties':
  155. $loc_arg = 'panties'
  156. $loc = 'sportShop'
  157. cls
  158. gs'stat'
  159. act 'Return':
  160. cla
  161. minut += 1
  162. gt 'sportShop', 'start'
  163. end
  164. i = 1
  165. :loopsport_panties
  166. if sport_panties[i] = 0:*p '<a href="exec: i = <<i>> & gt ''sportShop'', ''panties2''"><img src="images/pc/panties/sport/<<i>>.jpg" height="150" /></a> '
  167. i += 1
  168. if i <= 8:jump 'loopsport_panties'
  169. end
  170. if $ARGS[0] = 'panties2':
  171. cla
  172. if sport_panties[i] ! 0:
  173. msg 'You already own these panties.'
  174. gt 'sportShop', 'panties'
  175. end
  176. gt 'panties', 'view_panty_item', 'shop', 'sport',i, 1000
  177. end
  178. if $ARGS[0] = 'bras':
  179. $loc_arg = 'bras'
  180. $loc = 'sportShop'
  181. cls
  182. gs'stat'
  183. act 'Return':
  184. cla
  185. minut += 1
  186. gt 'sportShop', 'start'
  187. end
  188. i = 1
  189. :loopsport_bras
  190. if sport_bras[i] = 0:*p '<a href="exec: i = <<i>> & gt ''sportShop'', ''bras2''"><img src="images/pc/bras/sport/<<i>>.jpg" height="150" /></a> '
  191. i += 1
  192. if i <= 8:jump 'loopsport_bras'
  193. end
  194. if $ARGS[0] = 'bras2':
  195. cla
  196. if sport_bras[i] ! 0:
  197. msg 'You already own this bra.'
  198. gt 'sportShop', 'bras'
  199. end
  200. gt 'bras', 'view_bra_item', 'shop', 'sport',i, 1000
  201. end
  202. if $ARGS[0] = 'purses':
  203. $loc_arg = 'purses'
  204. $loc = 'sportShop'
  205. menu_off = 1
  206. *clr & cla
  207. gs'stat'
  208. act 'Return':
  209. cla
  210. minut += 1
  211. gt 'sportShop', 'start'
  212. end
  213. i = 1
  214. :loopdanilovich_purses
  215. if danilovich_purses[i] = 0:*p '<a href="exec: i = <<i>> & gt ''sportShop'', ''purses2''"><img src="images/pc/items/danilovich/purses/<<i>>.jpg" height="150" /></a> '
  216. i += 1
  217. if i <= 20:jump 'loopdanilovich_purses'
  218. end
  219. if $ARGS[0] = 'purses2': gt 'purses', 'view_purse_item', 'shop', 'danilovich',i, 1500
  220. if $ARGS[0] = 'coats':
  221. $loc_arg = 'coats'
  222. $loc = 'sportShop'
  223. menu_off = 1
  224. *clr & cla
  225. gs'stat'
  226. act 'Return':
  227. cla
  228. minut += 1
  229. gt 'sportShop', 'start'
  230. end
  231. i = 1
  232. :loopdanilovich_coats
  233. if danilovich_coats[i] = 0:*p '<a href="exec: i = <<i>> & gt ''sportShop'', ''coats2''"><img src="images/pc/items/danilovich/coats/<<i>>.jpg" height="150" /></a> '
  234. i += 1
  235. if i <= 20:jump 'loopdanilovich_coats'
  236. end
  237. if $ARGS[0] = 'coats2': gt 'coats', 'view_coat_item', 'shop', 'danilovich',i, 1500
  238. --- sportShop ---------------------------------