sportShop.qsrc 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  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 can buy a high-quality <a href="exec:minut += 5 & money -= 1000 & refillable_bottle = 1 & gt ''sportShop'', ''start''">water bottle</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 panties':
  29. cla
  30. minut += 5
  31. gt 'sportshop', 'panties'
  32. end
  33. act 'View sports bras':
  34. cla
  35. minut += 5
  36. gt 'sportshop', 'bras'
  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 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. end
  56. if obruch = 0 and money >= 1500:
  57. act 'Buy hoop (1,500 <b>₽</b>)':
  58. cla
  59. minut += 5
  60. money -= 1500
  61. obruch = 1
  62. act 'Pick up a package':gt 'sportshop', 'start'
  63. end
  64. end
  65. if bookYog = 0 and money >= 1500:
  66. act 'Buy benefits of yoga (1,500 <b>₽</b>)':
  67. cla
  68. minut += 5
  69. money -= 1500
  70. bookYog = 1
  71. act 'Pick up a package':gt 'sportshop', 'start'
  72. end
  73. end
  74. end
  75. if $ARGS[0] = 'clo':
  76. $metka = 'clo'
  77. $loc = 'sportShop'
  78. cls
  79. gs'stat'
  80. '<center><b><font color="maroon">Sportswear - one size fits all</font></b></center>'
  81. *nl
  82. gs 'clothing_QV', 'shop_header'
  83. act 'Return':
  84. cla
  85. minut += 1
  86. gt 'sportshop', 'start'
  87. end
  88. if Clothingstock > 16:
  89. i = 1
  90. elseif Clothingstock > 8:
  91. i = 2
  92. else
  93. i = 3
  94. end
  95. :loopexercise
  96. if exercise[i] = 0:
  97. gs 'clothing_attributes', 'exercise', i
  98. gs 'clothing_QV', 'shop_filter'
  99. 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>'
  100. end
  101. i += 3
  102. if i <= 113:jump 'loopexercise'
  103. end
  104. if $ARGS[0] = 'exercise': gt 'clothing', 'view_clothing_item', 'shop', 'exercise',i, 2000
  105. if $ARGS[0] = 'trainers':
  106. $metka = 'trainers'
  107. $loc = 'sportShop'
  108. cls
  109. gs'stat'
  110. act 'Return':
  111. cla
  112. minut += 1
  113. gt 'sportShop', 'start'
  114. end
  115. i = 1
  116. :looptrainers_shoes
  117. 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>'
  118. i += 1
  119. if i <= 29:jump 'looptrainers_shoes'
  120. end
  121. if $ARGS[0] = 'training_shoes': gt 'shoes', 'view_shoe_item', 'shop', 'trainers',i, 1500
  122. if $ARGS[0] = 'swim':
  123. $metka = 'swim'
  124. $loc = 'sportShop'
  125. cls
  126. gs'stat'
  127. '<center><b><font color="maroon">Swimwear - one size fits all</font></b></center>'
  128. *nl
  129. gs 'clothing_QV', 'shop_header'
  130. act 'Return':
  131. cla
  132. minut += 1
  133. gt 'sportshop', 'start'
  134. end
  135. !!4 is in he supermarket, so skipped
  136. if Clothingstock > 18:
  137. i = 1
  138. elseif Clothingstock > 12:
  139. i = 2
  140. elseif Clothingstock > 6:
  141. i = 3
  142. else
  143. i = 8
  144. end
  145. :loopswim
  146. if swimwear[i] = 0:
  147. gs 'clothing_attributes', 'swimwear', i
  148. gs 'clothing_QV', 'shop_filter'
  149. 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>'
  150. end
  151. i += 4
  152. if i <= 135:jump 'loopswim'
  153. end
  154. if $ARGS[0] = 'swim1': gt 'clothing', 'view_clothing_item', 'shop', 'swimwear',i, 1750
  155. if $ARGS[0] = 'panties':
  156. $metka = 'panties'
  157. $loc = 'sportShop'
  158. cls
  159. gs'stat'
  160. act 'Return':
  161. cla
  162. minut += 1
  163. gt 'sportShop', 'start'
  164. end
  165. i = 1
  166. :loopsport_panties
  167. 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> '
  168. i += 1
  169. if i <= 8:jump 'loopsport_panties'
  170. end
  171. if $ARGS[0] = 'panties2':
  172. cla
  173. if sport_panties[i] ! 0:
  174. msg 'You already own these panties.'
  175. gt 'sportShop', 'panties'
  176. end
  177. gt 'panties', 'view_panty_item', 'shop', 'sport',i, 1000
  178. end
  179. if $ARGS[0] = 'bras':
  180. $metka = 'bras'
  181. $loc = 'sportShop'
  182. cls
  183. gs'stat'
  184. act 'Return':
  185. cla
  186. minut += 1
  187. gt 'sportShop', 'start'
  188. end
  189. i = 1
  190. :loopsport_bras
  191. 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> '
  192. i += 1
  193. if i <= 8:jump 'loopsport_bras'
  194. end
  195. if $ARGS[0] = 'bras2':
  196. cla
  197. if sport_bras[i] ! 0:
  198. msg 'You already own this bra.'
  199. gt 'sportShop', 'bras'
  200. end
  201. gt 'bras', 'view_bra_item', 'shop', 'sport',i, 1000
  202. end
  203. --- sportShop ---------------------------------