sportShop.qsrc 7.0 KB

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