sportShop.qsrc 5.1 KB

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