sportShop.qsrc 7.9 KB

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