sportShop.qsrc 5.1 KB

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