sportShop.qsrc 5.2 KB

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